Create a roll table
create-roll-tableCreate a roll table from a list of text results, auto-assigning ranges and dice formula. Detects overlapping ranges and warns about gaps or unrollable numbers.
Instructions
Create a roll table from a list of text results. Ranges are assigned consecutively when omitted (first entry 1, second 2, and so on) and the dice formula is derived from the highest range, so a six-entry table becomes 1d6 by itself. Overlapping ranges are refused; gaps, and numbers the formula can roll without an entry, are reported as warnings.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | Name of the new table | |
| formula | No | Dice formula such as "1d6"; derived from the highest range when left out | |
| results | Yes | The entries in order | |
| folderPath | No | Folder for the table; nested levels separated by "/" are created | |
| description | No | Optional description shown with the table |