I actually just extended one of my plugins after reading your comment. So, how I would do this is:
- Download my Weapon Stats Restriction plugin from my plugin generator.
- For the weapons you want to restrict us the following note tag:
<SirL.notEqualSR:{"a.equips()[1] ? a.equips()[1].wtypeId : -1": "a.equips()[0] ? a.equips()[0].wtypeId : -2"}>
This basically says this item can only be equipped when the weapon type ID of slot 1 is not equal to the weapon type Id of slot 2 of the given actor.
There is a strange issue I couldn't resolve but shouldn't be too big of a concern if it is let me know. But Slot 2 has priority over Slot 1. In other words, if you try to add the same weapon type in Slot 2, it will unequip from Slot 1, then equip the new weapon in Slot 2.
If you have questions you can always ask, here is the link to the plugin generator!
generator
sirlegna.itch.io