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 .
×

Help with a Macro using two Rollable Tables

I'm attempting to display the information from critical injury tables (in cyberpunk red) using the default template. I have set up the different rows of information (Title, Description, Etc) into their own rollable tables, and am attempting to call the different tables to fill the different sections of the template &{template:default}  {{name=[[1t[injuryTitles]]]}} {{Description=[[1t[InjuryDescriptions]]}} However I have realised this type of system would call a random title, and a random description - which may not necessarily sync with one another. Is there a way of selecting a specific entry in each table (e.g. doing an inline roll, and then using the number from said roll to select the corresponding table entry -> roll of 4 = entry 4)? Or is there a more efficient way to display what I want? Thanks in advance
There's no way to reference a specific entry on a rollable table.  I don't believe that is even possible through Mod scripts as table items don't have a reference number listed in the API wiki . So to get a good output that you're looking for, you have two good options that I can think of: 1. A custom Mod script (requires a Pro subscription) that has all of the titles and descriptions hard-coded and can be referenced from a macro. 2. Combine the Injury Title and Description into a single entry in a rollable table.  You won't be able to get the nice separation of the title on the left and description on the right, but it is a free option that should be fairly straightforward to implement.  Create a table named "Injuries" with items like:  Bruise:  You take 5 additional  damage directly to your  Hit Points And you would call it like this: &{template:default}  {{=[[1t[injuries]]]}}