Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences .
×
Create a free account

Ranked rollable tables

January 21 (4 years ago)

Is there a way to create rollable tables where the order, rather than just the weight, matters; and with which it would be possible to add modifiers?

To clarify my question, I am looking to have something like this:


Roll a d20 and add your Hat modifier

Less than 0: bare-headed

1-5: Showercap

6-10: Flat cap

11-15: Trilby

16+: Top Hat


with the outcome displayed automatically by macro without me referencing my hat table.

Thanks in advance!

January 21 (4 years ago)
The Aaron
Roll20 Production Team
API Scripter

Not directly.  There's an old script that can do this: https://app.roll20.net/forum/permalink/1408851/

January 21 (4 years ago)
keithcurtis
Forum Champion
Marketplace Creator
API Scripter

Isn't !rt the command used by Recursive Tables? The old script might need a tweak there, to !rrt, for example.

January 21 (4 years ago)
The Aaron
Roll20 Production Team
API Scripter

yeah, for sure.

January 21 (4 years ago)


The Aaron said:

Not directly.  There's an old script that can do this: https://app.roll20.net/forum/permalink/1408851/


Thank you! This accomplished exactly what I was trying to do.