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

[Script] Treasure - Automatically import and generate Magic Items and Loot

This script works by importing the random loot tables from the Magic Item Compendium (copy/paste the relevant pages in to a Handout, then run an import command - Not too demanding on the server, since the import process is one-time, and only a few hundred lines of text need to be processed). After the import process is complete, a set of 45 rollable tables (Assuming standard D&D 3.5 Magic Item compendium random tables) are created.

Git: https://github.com/defamai/Roll20/blob/master/Trea...

Usage is simple:
!treasure import all // Read over the "Treasure Import", "Item Import", and "Item Description Import" handouts, and import a list of all magical items found. See "example-formatting.txt" for an example of formatting. The regular expressions used to process this list are intended to process raw text directly copy/pasted out of the Magic Item Compendium - No manual data entry should be required.

/roll 3t[Treasure_5] // Generate three CR5 sets of magic loot / money.



The book/page can be middle clicked to open up a google query of the item. The [?] button displays script statistics, [+] shows the item again (Moving it to the end of the chat log), and [P] displays the formatted item entry to all players.

this seems interesting might give it a try and add the info from 5e.

So is this for magic items or just the tables?
is there a way a video tutorial or a walkthrough with pictures to install and build the table?

Not at the moment. I can provide one in a few days, though!

@Saevar L: This is a script which automates the process of importing loot tables + magic item tables + magic item descriptions. It is designed for usage with the magic item compendium from D&D 3.5.

@Richard M: You might be able to get it to work with 5.0 content, might not: I haven't looked at the formatting of the tables from that edition.