MV Additional weapon slots

I'd like to have "primary" and "secondary" weapon slots, where a character can equip any weapon they could equip to either slot. The primary slot would function normally, and the secondary would not contribute stats, abilities, or anything else you would gain from equipping the weapon. Then I want to be able to swap between the two with an ability in battle (which I think I can figure out).

1) How would I make an extra equipment slot that you can equip weapons to?
2) Is there an easy way to "disable" the secondary slot so the equipped weapons won't affect stats?
Are you asking how to accomplish that yourself by coding, or are you asking for a plugin to achieve what you're looking for?

If it's the former, you'd have to create a new equip slot, and you'd then have to modify how parameters are calculated. By default they add all the parameters from all equip, but you'd have to make it ignore a single slot. Then to swap weapons, you'd have to make a script call for that and inverse the primary and secondary weapon. There are multiple ways to do that, but that's what I'd do.
Where in the base game are these parameters determined from an actor's current equipment? I tried looking through my project's existing js files but I must not be looking for the right thing.
It is technically defined in Game_BattlerBase, but it Game_Actor (its child) redefines the parameters from equipment for actors:
JavaScript:
Game_Actor.prototype.paramPlus = function(paramId) {
    let value = Game_Battler.prototype.paramPlus.call(this, paramId);
    for (const item of this.equips()) {
        if (item) {
            value += item.params[paramId];
        }
    }
    return value;
};
paramPlus refers to the bonus to parameters your actor gets from equipment.

Original thread: https://forums.rpgmakerweb.com/threads/additional-weapon-slots.135995/