Indie Dev

Hello Guest!. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, sell your games, upload content, as well as connect with other members through your own private inbox!

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

Animebryan

Villager
Xy$
0.00
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.
 
I am no programmer so I couldn't write you a plugin but you could probably achieve this with eventing using random variables and conditional branches. If interested let me know and I will see if I can help you. However, being the long weekend (Easter weekend) I will be out of town until Tuesday.
 

Animebryan

Villager
Xy$
0.00
I've already tried doing it that way & it's extremely repetitive. MV is already testing my patience with it's bugs & glitches & having a plugin do this would make it so much easier, especially if it can handle displaying the notification of received items as well.
 

Alkmayix

Villager
Xy$
0.00
There's a video on youtube where somebody did just this and he scripted it lemme find that link really quick...

Okay I found it, this would need to be modified a bit but this is what you'd be doing basically minus a few steps and such:
 

Animebryan

Villager
Xy$
0.00
Actually, it doesn't do what I need it to do. That was focused on distributing items only once until you have them all. I actually did something like this for a set of 10 items on my VX Ace version of my project to prevent duplicates of unique items, but what I need is a item pool system where you open a chest or any other event that would give you a item & then have it randomly choose from a preset item pool (like; Common items, Rare items, Tier 1/2/3 etc.).

The method still uses eventing, which gets pretty repetitive, hence why I'm asking for a plugin that lets you label items with a numbered or named item pool & when it needs to pick an item at random, you simply tell it from which item pool to choose from. I don't plan on making the items unique either, so restricting them would be bad.
 

Alkmayix

Villager
Xy$
0.00
Actually, it doesn't do what I need it to do. That was focused on distributing items only once until you have them all. I actually did something like this for a set of 10 items on my VX Ace version of my project to prevent duplicates of unique items, but what I need is a item pool system where you open a chest or any other event that would give you a item & then have it randomly choose from a preset item pool (like; Common items, Rare items, Tier 1/2/3 etc.).

The method still uses eventing, which gets pretty repetitive, hence why I'm asking for a plugin that lets you label items with a numbered or named item pool & when it needs to pick an item at random, you simply tell it from which item pool to choose from. I don't plan on making the items unique either, so restricting them would be bad.
I did say you'd have to modify it a bit but it still has the same basic idea.
 
Top