Restrict equipment based on class, actor, other equipment, level, variables, switches, and evals.
Allows you to restrict a piece of equipment by actor ID, class ID, stat (mhp, atk, cri, pdr, etc) minimum value, stat maximum value, other weapon equipped, other armor equipped, switch on/off, variable minimum value, variable maximum value, and a custom Eval option.
Restrict equipment based on a multitude of factors! Set multiple restriction groups on a single item. If one of the groups' restrictions is met, the item can be equipped!
Request the opposite of any setting! Instead of equipment being limited to Actor #1, it can be any actor except Actor #1! Just prefix your restriction with an ! Eval any ID, Variable, or Switch value by surrounding it with $()! Use a custom Eval command to check for a true or false result!
How to Use
Add the plugin in your game and view the help information. It describes the notetags and all the crazy modifiers you can use. See the examples section for more information.
A group of restrictions is contained between the
If desired, you can prefix any Restriction with an !. This will cause it to check the opposite of what you specify. If you use it with Actor: 1, for example, anyone but Actor 1 can equip the item.
You can even combine the two: !Actor: $(yourFunction() ;)
Below is all of the available options:
For more information on eval, check the plugin's help documentation.
Examples Let's make an Evil Sword that anyone but our Paladin, Actor#1, can equip:
Next, let's make a piece of armor that someone can only wear at level 5, 6, 7, 8, 9, and 10:
Building on that, let's go all out. The following example will allow any class but class#1 to equip it as long as their atk is high enough, variable#6 is at least 10, and switch#4 is turned off: