Series: Guide to Custom Roll Parsing
It’s possible to expand on Sheet Workers and RollTemplates to make more powerful and complex rolls, and make rolls that aren’t otherwise possible without the API.
THIS SECTION WILL BE ADDED AFTER TRANSLATIONS
(though because it is so useful, it might be moved up in the schedule)
Introduction to Custom Roll Parsing
The start of a new series, possibly the most important I will ever write.
The Structure of a Custom Roll Parsing Function
How a CRP worker is constructed, and an idea of what future posts will cover.
The CRP Roll String And Many Buttons
How to manage multiple buttons with a single sheet worker.
startRoll and Analysing Your Dice
How to extract values from the dice roll object.
Changing Attributes with Custom Roll Parsing
Change attributes and roll dice at the same time.
Using Queries in Custom Roll Parsing
How to handle branching in custom roll parsing, through queries and nesting startRolls.
Computed Properties and CRP Roll Templates
One of the special things about CRP is calulating things that aren’t included in the roll.
Callbacks and Promises with startRoll
How to use asynchronous promises with startRoll, maybe the start of something big.
Action Buttons and the MacroBar
You can’t drag action buttons to the quick macro bar. Now you can!
Visit the Sheet Author Master List