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