Can I add a weapon type to a class?

I have a class that I want to be proficient in multiple weapon types (i.e. to be able to equip various weapons) as he learns them later in the game. I have searched all the MZ options and Visustella options I have, and I cannot find anything to add a weapon type to an actor.

Is this possible? If so, has anyone done it, or have any advice on how I can do it?

Thank you for your time.
??
no need for any plugin, that is a basic trait option.
and it doesn't matter to the engine if traits are added to actor, class, state or equipment.

so simply add the weapon type trait to the actor


EDIT:
if you want to add a trait later (didn't read that part at first) you'll need a plugin for dynamic traits
You don't really need a Plugin for all that. If you want to go full Vanilla with that one, make a clone of the character's assigned class => give the clone the extra trait and then change the character's class into the clone in the game's event where he "learns" to wield said weapon type.
I did it in MV, but works the same in MZ, just the window might look a little different:
1697894795094.png

1697894945657.png


I see what went wrong, though... You're looking for weapon type, but here it is just called weapon. But what you select, is actually the weapon type.
You can create a duplicated class with the additional traits, as above. You can also use a dynamic trait plugin, which I think is the most complex option.

I would probably use a passive state, such as from VisuStella Skills & States. Put the weapon trait on the state, then grant it to the actor - you can attach a passive state to a skill, for instance, so learning the skill will activate the new weapon type.

Or you can always have the state but make it be dependent on a switch or variable, if you gaining access to the weapon is based on a certain point in the story.
Oh... Like some others, I missed that you want to add them later on... In that case, it is an idea to add those traits to equipment. Like a badge.

1697897556339.png
Thank you all for your kind and helpful replies. ATT_Turan had the closest suggestion to what I want (I think). What I'm doing is having the player obtain an key item (non-equipment) that will "activate" a new weapon type for the class. I had already thought to do it through a permanent passive state, but I wanted to see if there was a less-complicated method. It seems that's the way I'll have to do it.

Thank you all for your time. I couldn't have gotten as far with my game as I have without the help from the RPMaker Forum Community.
A sneaky way would actually be to clone the weapons, and when they "learn" the skill, just replace any owned weapons with versions that are a type they can already use.
A sneaky way would actually be to clone the weapons, and when they "learn" the skill, just replace any owned weapons with versions that are a type they can already use.
That only really works if they're the only party member that can use these weapon types.

If they're learning, say, how to use swords, and other actors in the party can use swords, changing the items would affect those other actors (and potentially skills that require a sword to use, or skills that buff your sword proficiency, etc.).

Not to mention that you then need to create two versions of all your shops that can carry these two weapon types and...
Well, if everyone is going to be learning weapon skills left and right, nothing out-of-the-box is going to work.
I'm not worried about the shop, that's a cut and paste deal.
The badge thing works, but unless there's an in-game rationale, just makes it obvious it's a Maker game and you're fighting the engine.
Cloning the classes is probably the cleanest solution, inside the engine, but you'll have to precisely align stat advancements, and practically speaking you can only have maybe six learnable weapon types before you need dozens of copies of each class.

Honestly, I would probably handle the character "learning" the weapon by just only making that weapon type available after the in-game event of learning that skill. You could do stuff with skills, too, but the weapon requirement for a skill only gives you two slots.

Original thread: https://forums.rpgmakerweb.com/threads/can-i-add-a-weapon-type-to-a-class.162343/