roll-table-create
Create a new roll table with results. Specify a dice formula and result entries with ranges. Example: formula "1d6" with 6 results having ranges [1,1], [2,2], ..., [6,6].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| img | No | Table icon path | |
| name | Yes | Table name | |
| folder | No | Folder ID to place table in | |
| formula | No | Dice formula (e.g., "1d6", "1d100", "2d6"). Default: "1d20" | |
| results | No | Array of result entries with text, range [low, high], optional weight | |
| description | No | HTML description of the table | |
| displayRoll | No | Show roll in Foundry chat (default: true) | |
| replacement | No | Draw with replacement? true = results can repeat (default: true) |