Sealing specific equipment?

Hi guys. In my game each party member has 3 accessory slots where they can equip rings, pendants, cloaks, etc. I was wondering if there was a way to make it so they if a character has a cloak equipped, I can seal all other cloaks so they can't equip two cloaks at once while also being able to replace a currently equipped cloak with another one instead of having to unequip the current one first to undo the seal before equipping a different cloak. I realize i could just have a "cloak" slot but I would much rather have 3 accessory slots rather than 2 accessory slots and a cloak slot.

If anyone could let me know how this can be done or perhaps suggest a script that could allow this then it would be of much help to me. 🙂
What you'll need is Yanfly's Ace Equip Engine. This will allow you to make each equipment its own category and do what you need it to do.
I actually made something like this for my game, but it might need a little reworking (since I have 2 accessory slots). How many slots do you have overall?

Original thread: https://forums.rpgmakerweb.com/threads/sealing-specific-equipment.105245/