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

Skill Macro with multiple outcomes in chat output.

1664401903

Edited 1664401931
Cosmic
Sheet Author
Is it possible in roll20 to create a skill Macro for Constitution Survival (in my game survival is CON based) and with the outcome list the result. 10- 15  Character finds enough food to feed a Medium-sized creature for one day. 16- 20  Character finds a common herb. Roll on the appropriate environment’s common herb table to determine the result. 21+  Character finds a rare herb. Roll on the appropriate environment’s rare herb table to determine the result.
1664410472
GiGs
Pro
Sheet Author
API Scripter
Unfortunately no. You should print out the whole table as you have before after each roll, but you can't print the specific result for the success. Since you're a Pro user, you can use Mod Scripts so there are ways to do this. I'd recommend looking into the Recursive table or ScriptCards mods.
1664418631
timmaugh
Pro
API Scripter
Muler is a metascript that can do this. It lets you create reference tables in abilities: 10-15=Character find enough food to feed a Medium-sized creature for one day. 16-20=Character finds a common herb. Roll on the appropriate environment's common herb table to determine the result. >=21=Character finds a rare herb. Roll on the appropriate environment's rare herb table to determine the result. Then you can access the appropriate data by number. If you use a die roll, you can report the die roll, too, and you can use the result of the roll elsewhere in your macro. Since metascripts operate in a loop until there isn't any more meta-work to be done, you could automate those herb rolls as they were encountered from your table (automatically rolling against the appropriate table -- or automatically retrieving data from another mule). There are lots of ways to approach it, depending on your setup, so if you're interested in this sort of thing, post back and I'll break an example down.
1664453217

Edited 1664453698
Cosmic
Sheet Author
I do have recursive scripts enabled and not script cards. Yes I am interested to know more I suppose the big goal would be to have Select biome A survival check Output of success (none, commong or rare) Roll in biome table ( two tables, rare or common table) Output gm whisper of result of herb acquired from table in biome. And anature check to determine identification The problem being is when characters get a help bonus. I've homebrewed the help action to be. 5+proficiency skills bonus and 1 fudge die Rather than just advantage It's going to be a bit of a big script if anyone is up to the challeng e  I'd also need to share the handout of the rules I am using
1664484090
David M.
Pro
API Scripter
This sounds right up Scriptcards' alley