Hi, friends! I'd like to build a module

Hi, friends! I'd like to build a module and I could use a shove in the right part of the docs to go looking first.

The goal is to modify the default roll dialog to add an additional button. Alongside "Advantage," "Disadvantage," and "Normal," I'd like to add a button to trigger the "Emphasis" roll, a mechanic which rolls 2d20 and takes the result farthest from 10. It's a mechanic my players really enjoy for high-risk situations.

I have a macro working as a quick proof-of-concept which emulates the behaviour, but I'm not sure where to start in terms of modifying the built-in roll dialog so I can do it in a less hacky way. Any ideas?
image.png
Was this page helpful?