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

Linking images and descriptions to roll tables

Hi Guys  So I'm starting a Final fantasy roleplay session and one of my players has chosen to play and Astrologian, which has a neat mechanic of being able to draw upon 6 different cards at random to buff their allies, which is done throw rolling a d6, now what I'm wondering is if it's in anyway possible API or otherwise to have it so he can just click a macro to not only draw the card, but for it's image and buff description to appear in the chat log for all to see, I've seen a few forum threads about roll tables and custom decks but It's all really confusing, please help.
1610492652

Edited 1610492686
David M.
Pro
API Scripter
Check out this thread . TheAaron modified Nathaniel's RollableTableMacro script to output both the item name and icon. If you leave the name blank in your table, only the icon will show. You can play with the size of the image in chat by finding row 73 where the image parameters are hardcoded. Change the max-height & max-width to something that works best for you. The syntax would just be !rtm TableName Another option is to create a custom card deck. If you mouse over the top portion of the deck until the ToolTip "Click to Draw, Drag to Deal" shows up, you can drag a random card directly to the table top (face up).
1610493401
The Aaron
Roll20 Production Team
API Scripter
I have actually added image support to RecursiveTable now, so you could use that.  However, it would have the properties of a table and not a deck (in either case, actually). Something specific to draw and show cards could be written, or if you needed to choose a subset of table entries with no repeats, that could also be done.
 So I was able to get the system as I wanted it, thank you both so much! Was able to add a little flair too with some basic HTML. 
1610504761
David M.
Pro
API Scripter
Looks great!