-
November 16th, 2021, 20:03 #1
How to code in a table rolling a amount of on a random item from another table.
Sorry Question was worded wrong.. chalk it up to being late and brain fried.
Not sure if this has been asked before (found nothing in search).
I want to create a table that has x many types of items off another table (i.e. random gear), but also have a random # of said selection.
[1d8+1][Random gear] will select 2-9 random items.
Say it rolls 3 items
Lantern
Bedroll
Iron Ration
Is there a way to tell it how many of the item selected such as 4 lanterns instead of just Lantern without having it in the selection rolled in the table called such as "Radom Gear"?
Otherwise I need to make a different table for each of the population sizes (thorp, village, etc.)Last edited by Shogar; November 16th, 2021 at 20:07.
A nice meal, A good drink and a bar fight..... It's a good day.
-
November 16th, 2021, 20:33 #2
Supreme Deity
- Join Date
- Mar 2007
- Posts
- 20,559
There's no way to pass a variable between tables as you're rolling. You can only specify how many times to roll on the next table, or how many items on the current table.
Regards,
JPG
-
November 16th, 2021, 21:12 #3
You might find story templates are a better fit for what you want to do. Details here https://fantasygroundsunity.atlassia...dom+Storiesand see this video https://www.fantasygrounds.com/forum...tory-Templates and video Twenty Two here https://www.fantasygrounds.com/forum...112#post492112
If there is something that you would like to see in Fantasy Grounds that isn't currently part of the software or if there is something you think would improve a ruleset then add your idea here https://www.fantasygrounds.com/featu...rerequests.php
-
November 16th, 2021, 21:54 #4
OK, Thanks all
A nice meal, A good drink and a bar fight..... It's a good day.
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks