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

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
444
Reaction score
226
First Language
English
Primarily Uses
RMMZ
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.
 

exnem

Veteran
Veteran
Joined
Sep 13, 2015
Messages
62
Reaction score
8
First Language
english
Primarily Uses
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.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
826
First Language
English
Primarily Uses
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.
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
444
Reaction score
226
First Language
English
Primarily Uses
RMMZ
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.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
826
First Language
English
Primarily Uses
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?
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
444
Reaction score
226
First Language
English
Primarily Uses
RMMZ
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.
 

DreamX

Veteran
Veteran
Joined
May 30, 2015
Messages
816
Reaction score
826
First Language
English
Primarily Uses
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.
 

Animebryan

Need more resources!
Veteran
Joined
Jul 31, 2012
Messages
444
Reaction score
226
First Language
English
Primarily Uses
RMMZ
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!
 
Last edited by a moderator:

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Are we allowed to post about non-RPG Maker games?
I should realize that error was produced by a outdated version of MZ so that's why it pop up like that
Ami
i can't wait to drink some ice after struggling with my illness in 9 days. 9 days is really bad for me,i can't focus with my shop and even can't do something with my project
How many hours have you got in mz so far?

A bit of a "sparkle" update to the lower portion of the world map. :LZSexcite:

Forum statistics

Threads
105,883
Messages
1,017,236
Members
137,608
Latest member
Arm9
Top