I want to make some equipment in my game useable only if you have a positive or negative reputation, which is tracked with a variable. Does anyone know how to do this? Preferably any equipped equipment would unequip itself as well if your party's reputation suddenly switched from being positive to negative and vice-versa too.
Making Reputation Locked Equipment
RPG Maker MV SupportYanfly's Equip Requirements http://yanfly.moe/2016/02/27/yep-75-equip-requirements/ can make that possible. It requires his Equip Core http://yanfly.moe/2015/10/15/yep-10-equip-core/.
Assuming that your 'Party's Reputation' is set to a single variable (rather than variables for each member), then you simply need to add a custom condition notetag to the piece of equipment like so:
Replace x with the variable number for your party's rep & replace n with the value required (it checks if the variable is equal or greater than n).
Assuming that your 'Party's Reputation' is set to a single variable (rather than variables for each member), then you simply need to add a custom condition notetag to the piece of equipment like so:
Code:
<Custom Equip Requirement Condition>
* if ($gameVariables.value(x) >= n) {
* condition = true;
* } else {
* condition = false;
* }
* </Custom Equip Requirement Condition>
Replace x with the variable number for your party's rep & replace n with the value required (it checks if the variable is equal or greater than n).
Thank you very much, that should work perfectly!
Original thread: https://forums.rpgmakerweb.com/threads/making-reputation-locked-equipment.109114/