Problems with Dual Wield and Lock Equip

Hi there!

I'm working on a game where the main character can equip either one handed sword on each hand or one two-handed sword only. However, two-handed swords (using the Lock Equip - Shield method) are still treated as one handed swords. Trying to lock Weapon doesn't work.

How do I fix that?
I think you'd need a plugin for that. The issue with sealing shields is that on a dualwielding actor, the shield hand becomes another weapon hand. So a single wielder loses shield access, but nothing changes for a dualwielder.

Id imagine plugin-wise, you could suppress the dualwield trait if the actor has a weapon with a certain notetag in it, but I can't think of a way to do it cleanly with just the default engine.
I think you'd need a plugin for that.
You can do it with Yanfly's Equip Requirements; I'm a personal fan of Ramza's Dual Wield plugin, which offers a number of neat features including a Two-handed notetag.
Many thanks guys. I think I'll try to figure a plugin of my own. Otherwise, I'll handle the main character special traits in a different way than I originally intended.

Original thread: https://forums.rpgmakerweb.com/threads/problems-with-dual-wield-and-lock-equip.169411/