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

Looking for a LOOT Api scrit for 5E

So I have seen Loot pile, Recursive table, Minor/Major Loot, and few others. All of those posts seems to be 2-3 years ago.. I am uncertain which is the better one. What I would like is a loot script for random loot (tendies + potion), preset loot (weapons/armor the npc is currently wearing that I set up), & Suprise Loot (potential magic items, expensive items, mysterious items). I also liked the concept, I think it was from loot pile - The players can click on what loot they want to take and add it to their inventory / loot handout page so I know what is left behind.  So - what loot script DO YOU USE and WHY DO YOU LIKE IT?
1509638207
The Aaron
Pro
API Scripter
I like RecursiveTable, but I'm biased. =D Loot Pile is a neat idea. =D
<a href="https://github.com/Roll20/roll20-api-scripts/tree/" rel="nofollow">https://github.com/Roll20/roll20-api-scripts/tree/</a>... so when I see this - I dont know what it does. I hear about it. But when I look at the files - I am lost on what I need to do. No instruction, do I ignore the js and click the 2.1 folder and use that one? Also what do I do with the json file?&nbsp; Im used to the one click installment, so this area I am lost :(
1509638786
The Aaron
Pro
API Scripter
Just grab the RecursiveTable.js in the root there, next to the script.json.&nbsp; You can ignore the script.json. Paste that into a new tab in the API and save it.&nbsp; Here's the best place for instructions:&nbsp; <a href="https://app.roll20.net/forum/post/4954818/script-u" rel="nofollow">https://app.roll20.net/forum/post/4954818/script-u</a>...
so I assume I need to still create rollable macro tables to use with Recursive? I am uncertain what Recursive does than? I just finished watching this -&nbsp; <a href="https://www.youtube.com/watch?v=8RxRODcMRRo" rel="nofollow">https://www.youtube.com/watch?v=8RxRODcMRRo</a> - I literally thought that was recursive table. Anyways one of the concepts I was thinking of is something like this: level 2 players finished a map clearing 13 out of 15 bandits. I will have a pre-made handout of the weapons and armor they had. Now I want one of the players (or myself) to click on a "Loot" button. This will prompt a box asking the player - how many enemies have they killed (roll query). They put in 13. Next Question is - type of Loot "Mundane, Minor, Major, Suprise". Let's say we clicked Minor. What will happen is - the first part, it will roll a 1d13, let's say the answer is 7. The second part will trigger the loot table list. So now it will generate 7 random items from the Minor loot table.&nbsp; which is the best way to go about this?
1509643744
The Aaron
Pro
API Scripter
RecursiveTable lets you create tables with rolls in them that get expanded.&nbsp; The general use for this might be that you have a table called LootA which contains several rolls like: Weight 30 - "Nothing." Weight 50 - "[[ [[1d2]]t[common] ]]" weight 20 - "[[ [[1d4]]t[common] ]] [[ [[1d3]]t[rare] ]]" Then a common table: Weight 5 - "[[1d8]]pp [[2d12]]gp [[10d4]]sp [[2d100]]cp" Weight 1 - "[[4d8]]pp [[10d6]]gp" Then a rare table: Weight 90 - "The lost toilet seat of alphonso" Weight 10 - "[[1d20]] tribbles" You can then roll [[1t[LootA] ]] and get something from "Nothing" all the way to several rare and common results.
[common] & [rare] are rollable tables that I still need to create for it to call upon, correct?
1509645133
The Aaron
Pro
API Scripter
Right.&nbsp; Take a look at the dwarf name example in the prior thread:&nbsp; <a href="https://app.roll20.net/forum/permalink/2845481/" rel="nofollow">https://app.roll20.net/forum/permalink/2845481/</a>
i use a table for weapons,money,gems,potions all in a macro one click gets me what i need. placing a number before the t also tells it to roll the table xt times [[ 3t [common] ]] so one click in the macro gives me 3 rolls from the common table :D&nbsp;