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

API killer tables for solo play?

ok... purchased the pro license... loving everything I am seeing but need some help to get started. For playing solo, i use a lot of tables.  I am getting the hang of macros that can pull from different tables, but I got the pro version because I would like it to do even more.  Here is what I am going for at the moment: &{template:npcaction} {{rname=Terrain Encounter}} {{description=[[ 1t[?{Type|Wilderness,EncounterWilderness|Urban,EncounterUrban|Dungeon,EncounterDungeon}] ]]}} this one is wonderful because of the dropdown that pulls from a different tables, depending on what you choose.  Problem is, I want it to do even more.  Within those tables, there are times where it will say something like this:  Something occurs, or you find something, that requires a (roll d10) 1: acrobatics / dex check or save, 2: strength or athletics check, 3: stealth check, 4: con check or save, 5: int check, 6: investigation check, 7: arcana check, 8: history check, 9: nature check, 10: religion check. Use Q/A rolls or Story Element Interaction tables (chapter 14) to find out what. Can I get it to automatically "roll" and display the corresponding option? the second part is this - sometimes, the table option refers to another macro i have made, such as my Quest generator.  Can the table option automatically generate a quest from that macro?  The table option reads like this: NPC gives you information about possible quest. Go to Chapter 7 and generate a quest, which you may or may not accept. Can I get it to automatically say: NPC with stats listed below (pull info from macro for my NPC generator) gives you the following information about a quest (result from macro quest generator).  I know it is a bit much... well, for me, but am hoping it is relatively simple for some of you on here!
1613083126
GiGs
Pro
Sheet Author
API Scripter
If you want tables that generate random items fin specific rows, or tables that trigger rolls on subtables, you need to investigate the RecursiveTables script.
1613083141
timmaugh
Roll20 Production Team
API Scripter
RecursiveTables can do what you're looking for, I think. =D If not, post back, there might be other options.
Ok, My head just isn't working or something... Let me try to walk before I run.  I have a Macro called "Disturbance".  It pulls from one table called "WhatWakesYou".  I have about 9 items that could be selected.  For one, I entered the name "NPC Generator" and in the weight box, I entered 20.  I am wanting it to pull from my NPC-Generator macro (which pulls info from about 4 separate tables) if this option comes up.  How would I enter it in the item table name box?  
Got it!  I was trying to do it like this "&{template:default}..." finally realized to just take that off and start with the "!rt You encounter a [[ 1t[SettlementType] ]]".  so much easier than what I was thinking!