Skip to content

README: document commands, report output, method and limitations - #2

Merged
ooshhub merged 1 commit into
mainfrom
docs/readme-commands-and-limitations
Dec 1, 2026
Merged

ooshhub merged 1 commit into
mainfrom
docs/readme-commands-and-limitations

Conversation

@ooshhub

@ooshhub ooshhub commented Dec 1, 2026 •

Copy link
Copy Markdown
Owner

Follow-up to #1, which merged before this commit was pushed. README only; no code changes.

The old README had the basic command, the access note and the isLitBy typedef. This adds:

  • Commands: a table of !checklight and !checklight --dmOnly, who can run each, and what happens with nothing or a non-token selected.
  • What the report says: global light, direct bright light, sources of dim light, darkness, and what "partially" means.
  • How the light level is worked out: which tokens count as lights, how walls block, bright versus dim, and that dim lights add together.
  • Limitations: centre-to-centre line of sight, doors and windows not considered, directional lights treated as full circles, night vision not considered.
  • Meta Toolbox plugin usage, including that it is not affected by --dmOnly.
  • A 0.6.0 changelog.

The same text is the readme.md in the one-click draft, Roll20/roll20-api-scripts#2386.

Worth a read before merging

Two statements were derived from the code and not observed on a live table:

  • A token carrying its own light counts as lit by it.
  • Directional lights are treated as full circles.

🤖 Generated by Claudia

Covers the command list and who may use it, what each line of the report
means, how the light level is calculated, known limitations, the Meta
Toolbox plugin, the isLitBy() API and a 0.6.0 changelog.

Co-Authored-By: Claudia <noreply@anthropic.com>
@ooshhub
ooshhub force-pushed the docs/readme-commands-and-limitations branch from 31af7be to 18f5258 Compare December 1, 2026 23:24
@ooshhub
ooshhub merged commit 4a3a555 into main Dec 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant