How to restrict generic equipment slots?

Let's say I want to give my characters 3 generic "accessory" equipment slots.

Is there a way I could set it up so that a character could wear two rings and a pendant, but not two pendants?
the default method would be to make the slots different, two ring-slots and one pendant-slot.
no one requires you to name a slot "accessory".

Anything beyond that will require a plugin and javascript.
Let me rephrase.

I give a character 5 equipment slots that any piece of equipment can be put into.

Would there be a way to restrict what can be equipped so that the character in question can only wear one shirt, but is able to wear two rings (and no more than two), or they could fill all five slots with equipment that are neither a shirt nor rings.
It's an old plugin, but the quickest way of doing it would be to use equipment points

https://forums.rpgmakerweb.com/index.php?threads/nemv-actor-equip-points.59951/

Just make each piece of equipment 1 point, have your normal restricted ring/shirt/miscellaneous slots - presto, characters can only equip 5 items total, and they're limited to however many slots you gave to that type of equipment. Mechanically identical (but, admitttedly, a little ugly).

Alternatively, since you'd have the Equip Requirements plugin anyway, at that point you could just write in a quick check that loops through the active character's slots, and checks to see if they are allowed to equip the new item. But for doing a prototype test pass, I think weight is probably easiest.

If you want to just use something free, Waynee has the WAY_YEP_EquipCore plugin to extend yanfly's equip core. This plugin lets you say that (for instance) shirts can only go into slot 1, but rings can only go into slots 4 or 5.

Depending on how many items you have, this might or might not work as a system for you. I'd suggest splitting everything into three categories - big, medium, and small items, and letting items work in any slot that's bigger than them. So you can put a small amulet into a big slot, but can't put a big shirt into a small slot, for instance. Color code your item names to make it easy to see what goes in what slots, and it'll be easy for the player to figure out what's compatible (instead of wondering what a vambrace conflicts with).
Would there be a way to restrict what can be equipped so that the character in question can only wear one shirt, but is able to wear two rings (and no more than two), or they could fill all five slots with equipment that are neither a shirt nor rings.
not by default.

you would have to use plugins and program your dependencies with javascript to create such a system.
If you don't know javascript then it's almost impossible because no plugin works exactly like your description, but there are several ways to program in your restrictions with them.

It is doable, but will require some work that way.

Original thread: https://forums.rpgmakerweb.com/threads/how-to-restrict-generic-equipment-slots.114742/