Second Weapon Set with Switch Command

There's something that I'd like to set up in several games that I'm working on, but I've yet to find a script which can provide the kind of functionality I'm looking for. Each character has two sets of weapon slots, which can be switched in (and possibly out of) battle via a command.

There would be settings in the script to determine whether characters need to use a turn-using command to switch sets during battle, or if they can use either set via separate attack commands.

Additional settings could be configured via override tags that are placed on items and actors, with several priority levels. The lowest priority level being the settings in the script itself.

There would be a visually distinguishing UI element on the equip screen to tell the two sets apart, such as a slight separation between the sets with "Set 1" and "Set 2" next to each.

This script would need to be moderately compatible with Yanfly Ace Equip Engine and Fomar's Dual Wield -> Free Hands for the projects that I would like to use it with.
I've simplified the original post, as this was all I really needed to include.

Original thread: https://forums.rpgmakerweb.com/threads/second-weapon-set-with-switch-command.21187/