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

Rollable Table Query

1639003235

Edited 1639003505
Hi, I'm using the &{template:default} to format character generation options and I have {{Siblings=[[1t[Family-Siblings]]]}} as part of it. The table has as its entries: None, 1d4 Brothers & Sisters, 1d6 Brothers & Sisters, 1d8 Brothers & Sisters & 2d6 Brothers & Sisters each with equal weight. The output only shows the result of the die roll if anything other than "None" is rolled. Can I combine the text & die roll somehow? I've tried using [[ ]], { }, ' ', " " around the die roll but it outputs as [[1d4]] Brothers & Sisters (or whatever quote marks were put around the roll).
1639004260

Edited 1639004271
timmaugh
Forum Champion
API Scripter
Unfortunately tables don't expand recursively like that short of an API. I've even tried doing a button as the return so that I have something to click to generate the next step of processing, but no dice for that either. If scripts are possible, Aaron's RecursiveTables does exactly what you want. Or the MetaToolbox will also expand constructions as many times as you need.
Thanks Tim, I'll just leave it as is then, when you mouse over the result the additional text is shown, i.e. # Brothers & Sisters. I'm not that good with macros and stuff, I'm sure I'm doing all this the 'hard way'.