create-rolltable
Create a RollTable for random encounter, loot, or treasure tables using items from premium D&D books. Assign weights or explicit ranges, and include text or UUID references.
Instructions
Create a RollTable from a list of results. Each result is literal text and/or a uuid referencing a REAL premium-book item (rendered as a clickable @UUID link — the way the published loot tables are built; SRD refs are refused). Ranges are auto-assigned from weights (and the formula defaults to 1d) unless you provide explicit ranges/formula. Use for random encounter/loot/rumour/treasure tables. GM-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Table name. | |
| formula | No | Roll formula (default 1d<total weight>), e.g. "1d20". | |
| results | Yes | Table entries. | |
| folderName | No | Optional folder to place the table in (created if absent). | |
| description | No | Optional table description. | |
| displayRoll | No | Show the roll when drawing (default true). | |
| replacement | No | Draw with replacement (default true). |