better-rolltables is Module for FoundryVTT to improve and add functionality to Rollable tables Implementing for example the Treasure Hoard" Tables from the Dungeon master manual becomes possible!
For every BRT Rolltable there is a specific sheet for manage the many use cases, so make sure to check if you see these before open any issues.
- Weight normalization: Generates appropriate weight value to results based on range, as opposed to doing the inverse with base sheet.
- Drag & drop re-ordering: Allows drag & dropping results to re-order them. This involves above weight normalization being called automatically as ordering is based on ranges, and doing it without weights is unnecessarily difficult, so make sure this is intended.
- Text result rich editor: Allows editing a text result in ProseMirror.
- Enhance your RollTables with Drag and Drop, Generate Loot, Encounters and and build your NPC Generator!
- Roll on multiple tables with roll formulas
- Auto create a loot actor to store generated loot
- (REMOVED) Automatically select a random spells when a scroll item is selected
- A table can specify multiple currencies (with roll formulas) to always be awarded
- Adds an option to change the table roll to GM only.
- Adds the option to automatically import rolled items in controlled actors
- Red colored background for broken references to a document on the specific row of the results table
- Use percentages instead of the mechanism with the range and weight to retrieve objects from a rolltable. Values range from 1 to 100 with a step of 0.1, so values such as 27.1 or 0.5 are accepted.
- Inline roll for text table result with the prefix
/roll
(e.g./roll (1d4)+5
)
Integration with the module Better Harvesting and Looting
In the BRT Harvest Rolltable sheet, the "Source Reference" field is the one used by the Better Harvesting and Looting module to connect the monster to the rolltable ! So "Source Reference" === "Name of The Monster" , and REMEMBER YOU MUST PUT THE NEW ROLLTABLE IN THE BRT COMPENDIUM "better-rolltables.brt-harvest-harvester" or in the Rolltable directory of the world itself (for now).
NOTE: This module is under maintenance, I have no plans to update or add features. However, I will try to fix any bugs as possible. Any contribution is welcome.
At the moment the documentation is in progress, any help on this front is more than welcomed, the module is intuitive enough.
Is there a way to from a rolltable to call another roll table and have it roll 4d4 times?
The use case you told me is very general, but to roll an inner (or child ) rolltable 4d4 times of you just need to set in the quantity field the string "4d4" and an amount roll of at least 1.
All informations about the api can be found here API
npm install
dev
will let you develop you own code with hot reloading on the browser
npm run dev
build
will build and set up a symlink between dist
and your dataPath
.
npm run build
build:watch
will build and watch for changes, rebuilding automatically.
npm run build:watch
prettier-format
launch the prettier plugin based on the configuration here
npm run-script prettier-format
lint
launch the eslint process based on the configuration here
npm run-script lint
lint:fix
launch the eslint process with the fix argument
npm run-script lint:fix
Any issues, bugs, or feature requests are always welcome to be reported directly to the Issue Tracker, or using the Bug Reporter Module.
- Enhanced RollTable Sheet : MIT
- sortable : Code Boxx
- Roll Table Importer : ???
- Inline Roll Commands: MIT
This package is under an MIT license and the Foundry Virtual Tabletop Limited License Agreement for module development.
The module was updated for the 10 by elizeuangelo on commission and then perfected by sasquach45932 with some updates and bug fixing . Finally p4535992 applied some code best practices (module id as prefix of i18n and css rules, etc.) and taking over maintenance of the module.
A special ty to the original authors Ultrakorne#6240, JackPrince#0494 and DanielBöttner.
- code-boxxKoboldworks and the module Enhanced RollTable Sheet
- code-boxx and the module sortable
- ClipplerBlood and the module Roll Table Importer
- kaelad02 and the module Inline Roll Commands