Item Drops based on Monster Levels using yanfly's monster level scale script.

When the engine evaluates drops, it will only pick drops from one set.

The sets are evaluated in a particular order based on highest-priority first.

Once a set is picked, it will then go through each drop within the set and determine whether you will receive it or not.

So if you want w1 and w2 to both be available when the enemy is level 2, then it would look like

Code:
<set level: 2><drop-item set>     priority: 7     condition: b.level >= 1     drop: w1 1.0</drop-item set><drop-item set>     priority: 7     condition: b.level >= 2     drop: w1 1.0     drop: w2 1.0</drop-item set>
This design is not optimal because if you have a lot of different conditions, it becomes unfeasible, but for "simple" cases where it's just "level 1 get this, level 5 get these, level 10 get these, etc" it's not too bad.
Ah, that's not going to work, because By the time your at a certain level, there could be around 20 different items dropping.

EDIT: Would there be an easy edit to the script to make it a bit more optimal for the way I want to do it?

Id o only want level conditions, however having to do it over and over again, it could become increasingly difficult. I could have it have different shop when you get to a certain level and just have a condition to have it drop at which level you are at now, and the shop sell previous stuff you have been getting. That is a way I could do it, but hmm, perhaps.
I can provide a script that looks like this

<drop item> item: w1 prob: 1.0 cond: b.level >= 1</drop item><drop item> item: w2 prob: 1.0 cond: b.level >= 2</drop item>Which basically means you're setting up each drop one by one.I don't know if yanfly's drop script does the same thing.
Well I need it to do what your script does, have multiple drop compatibility within the set. Yanfly's script does provide this by itself, the script you have above.

Can you just tweak the set drop slightly to enable(or disable) it dropping all items if conditions are met? Like the snippet I posted, it would drop both w1 and w2 and any others I include is the level 1, and 2 set. 

Yanfl'ys script does what you posted above, except for priority and condition, if it did condition that would be wonderful and this post wouldn't exist. lol
I've updated the script so that instead of just picking one set, it will simply pool together all drops from any set that meets the condition.


Which kind of defeats the point of the priority, so I've created a separate script here


http://himeworks.com/redirect2.php?type=script&name=drop_item_sets_all


I'd have to provide a way to allow you to specify whether the drop sets are mutually exclusive or not in order to preserve the intended functionality.
Mmm I think what I need to use it for, it doesn't matter. Thank you for the edit though!

although, couldn't you a true false statement instead of two separate scripts?
The separate script is just temporary specifically for you because it's not a final solution.


But ya it would just be another option with a true/false to indicate whether it's mutually exclusive or not.
Oh okay, well, if you ever add that let me know.

Thank you so much for your help, I hope it wasn't too big of a problem.

Original thread: https://forums.rpgmakerweb.com/threads/item-drops-based-on-monster-levels-using-yanflys-monster-level-scale-script.30224/