Need plugin for Randomized Loot from chests using 'Item Pools'

What I need is a plugin for randomizing loot from chests using 'Item Pools', similar to the item pools used in The Binding of Isaac. The idea would be to use notetags with either numbers or names to designate which item pool an item is apart of, with the possibility to be part of more than 1 item pool.


Here's an example:


Potion Notetag:


<item pool: 1, 2, 5> or <item pool: common items, healing items, potions>


Sword Notetag:


<item pool: 3, 10> or <item pool: common weapons, swords>


Then, with a chest event, use either a script/plugin command to designate which item pool to choose from, then it would randomly choose an item from all the items, weapons & armor that have that item pool listed in their notetag.


If anybody could help me with this I'd greatly appreciate it.
This can be easily made with events, no need for scripting. I have a complete loot system in my game, much like diablo, all through events.
This can be easily made with events, no need for scripting. I have a complete loot system in my game, much like diablo, all through events.

I agree, this seems like you could just do it with common events.
But it's extremely repetitive to do with eventing. A plugin to handle all the work would simplify the whole process & take less time, and give me more time to deal with other pressing matters.
I would suggest using a json file instead of the database. That way the plugin wouldn't have to go through every database entry. Are you interested in that?
I would suggest using a json file instead of the database. That way the plugin wouldn't have to go through every database entry. Are you interested in that?

How would I go about that though? I'm not familiar with advance coding techniques.
How would I go about that though? I'm not familiar with advance coding techniques.

I was suggesting making the plugin and having users customize a json file. Json files aren't really coding and therefore can be used by people who don't know how to code. There are a few plugins already that json files to load data and it's really convenient for the programmer.
I was suggesting making the plugin and having users customize a json file. Json files aren't really coding and therefore can be used by people who don't know how to code. There are a few plugins already that json files to load data and it's really convenient for the programmer.

I would suggest using a json file instead of the database. That way the plugin wouldn't have to go through every database entry. Are you interested in that?

In that case, that would be great!

Original thread: https://forums.rpgmakerweb.com/threads/need-plugin-for-randomized-loot-from-chests-using-item-pools.58807/