MZ Way to add Item battle command via subclass

i am using VisuStella's class change system, and I am making a Chemist class, which is the only class that can use consumable items in battle. I would like to be able to make it so that activating the Chemist class as one's subclass allows them to use items, like how normally if the class had skills the actor would able to use them if they set it as the subclass. Is there a simple way to do this i am overlooking? Does this require certain notetags? What is the solution? Thanks.
I haven't used the plugin, but from reading the documentation it seems this is a setting in the plugin parameters. Under Multiclass -> Inherit Traits > Skills?
I
I haven't used the plugin, but from reading the documentation it seems this is a setting in the plugin parameters. Under Multiclass -> Inherit Traits > Skills?
I have that setting set to inherit, but it only works with skill types, not battle commands, to my knowledge. To clarify, i have custom battle commands for each class. The Chemist is the only one who gets the Item command.
I have that setting set to inherit, but it only works with skill types, not battle commands, to my knowledge. To clarify, i have custom battle commands for each class.
Ah...you didn't say that before. For most people, the two are synonymous - you get the Magic battle command because your class uses the skill type Magic.

If you're using a plugin that customizes your battle commands in a different way, I believe Visustella includes in the documentation script calls that you can use to check whether a specific class is set to an actor.

If you still need help, you should link the plugin for the battle commands and show the code that you're using to configure them.
Ah...you didn't say that before. For most people, the two are synonymous - you get the Magic battle command because your class uses the skill type Magic.

If you're using a plugin that customizes your battle commands in a different way, I believe Visustella includes in the documentation script calls that you can use to check whether a specific class is set to an actor.

If you still need help, you should link the plugin for the battle commands and show the code that you're using to configure them.
I am using the VS battle core plugin to change the battle commands. I attached an image of the battle command list for my Chemist class.
It's worth following the instructions to send a help request to Visustella asking about this - because they obfuscate their plugin code, other people are very limited in the help they can give, and can't tweak the Battle Core for you to make sure it's looking at Multiclasses.

If they say no, these notetags are only compatible with the primary class, you'll have to configure your commands another way.

One option is to turn the items into skills with item costs, and then your Item skill type would display normally from inherited skill traits as per my first suggestion.

Another option would be to use a different plugin for customizing battle commands that allows JavaScript evaluations. Victor Engine had one for MV, it might work in MZ via FOSSIL or there might be an equivalent written by someone else.
It's worth following the instructions to send a help request to Visustella asking about this - because they obfuscate their plugin code, other people are very limited in the help they can give, and can't tweak the Battle Core for you to make sure it's looking at Multiclasses.

If they say no, these notetags are only compatible with the primary class, you'll have to configure your commands another way.

One option is to turn the items into skills with item costs, and then your Item skill type would display normally from inherited skill traits as per my first suggestion.

Another option would be to use a different plugin for customizing battle commands that allows JavaScript evaluations. Victor Engine had one for MV, it might work in MZ via FOSSIL or there might be an equivalent written by someone else.
What would be the difference in doing JS evals? Like you could code it so that a class gets the item command if their subclass is Chemist?
What would be the difference in doing JS evals? Like you could code it so that a class gets the item command if their subclass is Chemist?
JavaScript is what the entire game is written in, so in places where you have access to it you can do whatever you want.

So yes, exactly. For example, in my game using the above-mentioned Victor Engine plugin, I have lots of classes you can change between. I use JavaScript to say "if you know any skills of the Magic type, display the Magic command" regardless of their current class.
Ah ok, that makes sense. I will do some digging then!
JavaScript is what the entire game is written in, so in places where you have access to it you can do whatever you want.

So yes, exactly. For example, in my game using the above-mentioned Victor Engine plugin, I have lots of classes you can change between. I use JavaScript to say "if you know any skills of the Magic type, display the Magic command" regardless of their current class.
I did some searching, and I read more about the Battle Core command notetags, and I couldn't find anything :\ Is there possibly a way to make a skill that would open the in-battle item menu via a script?

Original thread: https://forums.rpgmakerweb.com/threads/way-to-add-item-battle-command-via-subclass.146278/