- Joined
- Jan 5, 2016
- Messages
- 734
- Reaction score
- 605
- First Language
- French
- Primarily Uses
Astfgl's Random loot
I've seen the request for such a system pop up a few times and, although this can be evented to a certain degree, I thought a plugin could help.
Features:
- From user defined loot tables, give random loot.
- Use items as bags of loot via notetags, without using a common event.
- Handles weapons, armors, items and gold.
- Use the parameters to automate the item gain message via variables.
- V1.2: Trigger monster encounters. Only tested on the map screen. Use at your own risk for items in menu or during battle.
- V1.2: Return the loot table, deleting the item the player just got. This allows you to remove randomly gained items from the loot table so that your player doesn't get the same possibility twice from the same loot table. You'll have to store the loot table in a variable beforehand.
- V1.3: Loot bags are now purchasable and can instantly open upon purchase, just add <LTPurchase> to your item.
- V1.4: Items can now have several loot tables, just add more loot tables like this: <lootTable:>, <lootTable2:>, <lootTable3:>,... Please note that the variables defined in parameters will only contain info for the last obtained item.
- V1.5: Loot tables can now roll for other loot tables
Download:
Terms of use: Find them in the plugin file for reference. Pasted below:
Code:
// Free to use both commercially and non commercially.
// Edits allowed, but the product must be released with the same license.
// Credits required: any of Astfgl/Pierre MATEO/Pierre MATEO (Astfgl)
// Reposts allowed.
Setup:
- Download the plugin, name the file AstfglLT save it as a .js .
- Setup parameters as you see fit.
Example:
Excuse the MS Paint editing:

Known Bugs:
- None
- Astfgl66
Last edited: