I am using Yanfly's EquipRequirement plugin (see below) and I am having trouble creating a equip requirement that would lock the user from equipping a particular armor piece if another equipment is already equipped. This is similar to another post from 6 years ago (also linked below) but I wasn't able to get the code working for my usecase. Any help would be greatly appreciated. Thank you in advance!
Plugin:
www.yanfly.moe
Similar Post:
forums.rpgmakerweb.com
Here's the snippet of the notetag I've attempted thus far
More detail on what I'm trying to accomplish with screenshots:
If the user has "Blazing Thunder Ring" equipped than "Scorched Ground Ring" will become locked.
Database type:
Armor:
Plugin:
Equip Requirements (YEP) - Yanfly.moe Wiki
Similar Post:
Yanfly's EquipReqirements Check if Item ID is equip, NOT slot id.
Hello again. I'm here with another JS question. This time using Yanfly's EquipRequirements Plugin. I have armors 2-15 that equip to armor slot 2. I have armors 77-91 that equip to armor slot 7. I am trying to set a requirement on armors 77-91 that is dependent on 2-15. E.g. Armor 77 requires...
forums.rpgmakerweb.com
Here's the snippet of the notetag I've attempted thus far
Code:
<Custom Equip Requirement Condition>
if (user.equips()[1].id == 3) {
condition = false;
}
else {
condition = true;
}
</Custom Equip Requirement Condition>
More detail on what I'm trying to accomplish with screenshots:
If the user has "Blazing Thunder Ring" equipped than "Scorched Ground Ring" will become locked.
Database type:
Armor: