Conditional equipment

Hi there, I need help how to achieve this.

Character in my game has 2 slots accesories with help of VS plugin, and then I make acc A and acc B.
How to prevent acc A can not be equipped together with acc B.

sorry for my bad English
Code:
<Equip Copy Limit: x>

- Used for: Weapon, Armor Notetags
- Sets a maximum number of copies that the actor can wear of this equipment.
- Replace 'x' with a number value to determine the copy limit.
- This can be bypassed using Event Commands and/or Script Calls.
- Usage Example: Actors can only equip one copy of the "One-of-a-Kind Ring"
  on at any time despite having empty accessory slots because the ring has a
  <Equip Copy Limit: 1> notetag.

---

<Equip Weapon Type Limit: x>

- Used for: Weapon
- This weapon cannot be equipped with other weapons of the same type once
  the limited amount has been reached.
- Replace 'x' with a number value to determine the weapon type limit.
- This can be bypassed using Event Commands and/or Script Calls.
- Usage Example: A dualwielding warrior who can only equip one sword and a
  dagger but never two swords or two daggers because the swords and daggers
  all have the <Equip Weapon Type Limit: 1> notetags on them.

---

<Equip Armor Type Limit: x>

- Used for: Armor
- This armor cannot be equipped with other armors of the same type once the
  limited amount has been reached.
- Replace 'x' with a number value to determine the armor type limit.
- This can be bypassed using Event Commands and/or Script Calls.
- Usage Example: People cannot equip more than two glove accessories on at a
  time because the glove is a "Glove" armor-type and each glove item has the
  <Equip Armor Type Limit: 2> notetags on them.
@Silenity In addition to the quoted passage from the documentation, can you explain how it's helpful?

Just to my reading:
- Equip Copy Limit doesn't apply because the OP wants to prevent the actor from equipping two different accessories at the same time.

- Equip Weapon Type Limit doesn't apply because the gear in question isn't a weapon.

- Equip Armor Type Limit doesn't necessarily help. It might, if the OP is talking about the given example of Glove-type accessories, but we don't have that information.

Personally, I think the first response needs to be regardless of language barrier, we need more details to give a good answer. The Equip Armor Type Limit might be the answer, but it might also not be applicable.
@ATT_Turan Meh, mainly I'm just lazy.

But yes, it's the third option. Prevent Accessory A from being equipped with Accessory B while having 2+ Accessory slots.

Make an equip slot called Accessory. Make an armor type called Accessory.
Mark both items as Accessory/Accessory, notetag them with <equip armor type limit: 1>, now only 1 can be equipped at a time.

Sometimes I have the time to type out a more detailed answer. Sometimes I copy and paste the information they're looking for from the plugin help file. Sometimes I just point them in the right direction to what they're looking for.
sorry for late response from me

I mean that I want to make certain equipment cannot be equipped at the same time, and bot item is Armor type is armor and Equipment type is accessory.

1664409213403.png
sorry for late response from me

I mean that I want to make certain equipment cannot be equipped at the same time, and bot item is Armor type is armor and Equipment type is accessory.

View attachment 241556
Right, so you'd use <Equip Armor Type Limit: 1> on the accessories you want to restrict.
Right, so you'd use <Equip Armor Type Limit: 1> on the accessories you want to restrict.
But if I use that note tag, it mean other accesorries cannot be equip? I just want only equip A and B.
But if I use that note tag, it mean other accesorries cannot be equip? I just want only equip A and B.
Then give A and B their own unique armour type.
Then give A and B their own unique armour type.
It will conflict with my current game settings, but I think the problem solved.

Both A and B have the same effect, if it equipped then the actor have a new skill. The skill is the same effect but skill from Acc B have better damage and traits than Acc A. So the problem solved by hid skill from Acc A when Acc B is equipped.

I use this notetags from Skills and States Core VS and put it on skill Acc A.

<Hide if has Skill: x>

thankyou all for the help. 🙏

Original thread: https://forums.rpgmakerweb.com/threads/conditional-equipment.151605/