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 .
×
May your rolls be merry + bright! 🎄
Create a free account

How to Create Rollable Table for my Star Trek Adventures Game

I am setting up to Gm a Star Trek Adventures game and when I set up the character sheets it said teh following: This sheet is based off the release version of Star Trek Adventures (6/30/2017) and the GM will need to make a rollable table you need to create a rollable table called "Challenge-Dice" with name values of "1","2","1 plus Effect","1 plus Effect","0","0"" I am having difficulty figuring out how to do this for my players, I tried the Wiki, but maybe I didn't find it.  Can someone explain this to me like I am child?
1509395184
Bast L.
Pro
API Scripter
In your collections tab, scroll down to rollable tables, and add a new one. Then click it, and fill in like the picture below:
1509396142

Edited 1509396214
Bast L.
Pro
API Scripter
Alternatively, you can use this script I just made to do it. Save the script, and enter the command from the top comment. Then go ahead and delete the script, as it's pointless afterwards. Also, ignore the image access errors. I'm not sure what that's about. It worked for me anyways. edit: but make sure you don't already have a table named "Challenge-Dice" if you're going to use this script. <a href="https://gist.github.com/Bastlifa/6afdf6fc8370121e5b70e3107bd4f68e" rel="nofollow">https://gist.github.com/Bastlifa/6afdf6fc8370121e5b70e3107bd4f68e</a>
1509396296
Scott C.
Forum Champion
Sheet Author
API Scripter
Compendium Curator
Bast L. said: Alternatively, you can use this script I just made to do it. Save the script, and enter the command from the top comment. Then go ahead and delete the script, as it's pointless afterwards. Also, ignore the image access errors. I'm not sure what that's about. It worked for me anyways. <a href="https://gist.github.com/Bastlifa/6afdf6fc8370121e5b70e3107bd4f68e" rel="nofollow">https://gist.github.com/Bastlifa/6afdf6fc8370121e5b70e3107bd4f68e</a> The image access errors are because whenever creating a VTT entity that has an image attribute, the system checks the link that is being referenced to make sure it is from a valid location. Since an empty image parses as "", it is not read as a valid location. It is a meaningless error.
OK, so I copy and pasted the script into the API as new. Then went to the chat and entered&nbsp;!MakeChallengeDiceTable and hit enter.&nbsp; A couple of time if I'm honest because nothing happened, not sure what I was expecting.&nbsp; After that....what should I look for? How do I know if I did it good?
If I did it good? Struggling with this is, in fact, making me dumber.&nbsp;
1509396712
Bast L.
Pro
API Scripter
Ah, I thought it odd, since I wasn't assigning any images. Makes sense, thanks.
Wait, I found the Rollable Tables and hit it. But it keeps coming up as a zero? What am I not doing?
1509396825

Edited 1509396858
Bast L.
Pro
API Scripter
Hey Quinn, on the character sheet, there should be a section near the bottom for weapons. Go ahead and add a test weapon, then enter some number in the right area where the starfleet symbol is. Then click the starfleet symbol. Go through the queries, and check the chat. Also, check in your collections tab that the table is there. Alternatively, invite me to check it out :)
The above is what occcurs.&nbsp;
Wait! Is this because currently there is no information in the character sheets to provide a value?
1509396992
Bast L.
Pro
API Scripter
When you click the little starfleet symbol here?
1509397245
Bast L.
Pro
API Scripter
Also, if you have some other, empty challenge dice tables, you may want to delete them all and enter the command again. I'm not sure of another reason they would all come up as: 0.
I think it works now that I have data in the character sheet for it to pull.&nbsp;
1509397739
Bast L.
Pro
API Scripter
Output like so?&nbsp;
1509418867

Edited 1509418881
I think so, just finished character creation with the group, so I have to do some testing.&nbsp;