MV YEP_EquipCore: Add Equip Slot by event

Heyho again!

I am using Yanfly's EquipCore to give my actors different equip slots. Those are added via notetag in the class database. Now I am wondering if their is a way to hide those equip slots until a (for example) a switch is activated.

Like, the option to equip say a quiver is only available after the character learned how to use bows.

In a lot of Yanfly's other plugins there is the possibility to bind certain notetag entries to switches or variables, but I could'nt find anything in the help file, so I wonder if this is not possible at all here?

Thanks in advance!

EDIT: I just figured that I can just change the characters class, having it keeping the same name, stats etc.

I'd still be interested in the answer though 🙂
not that I know of.
Yanfly always had scripts for static effects only in the past, even that partial binding to switches is new i the MV plugins after it was requested many times.

It is one of the reasons why I didn't like using yanfly scripts/plugins and preferred Tsukihime's work which has allowed for dynamic changes even in Ace.
Unfortunately Tsukihime isn't as active in MV as she was in Ace...
I did just a cursory read, so I could be mistaken, but it looks like the notetag info is read into the $data objects when the game starts up. Those are in turn used to initialize all of the objects in the game, so you don't want to try to modify them during play.
you don't want to try to modify them during play.
Not the notetags itselfs, no. I am aware that this won't work. But some plugins allow to add conditions to the notetags, when setting them up in the database, so that the info is already there to read, when the game starts.

For example the More Status Pages Plugin from Yanfly allows something like this as a notetag:
<Status Menu Page Backstoy Switch: 123>
The page would show up in the status menu only after the switch is activated. I just imagined that there could have been something similar for my case.

It is one of the reasons why I didn't like using yanfly scripts/plugins
Yeah, I often think about changing to other creators in case of single plugins, but there are a lot of Yanflys Plugins I'd like to keep and I am always worried about compatibility issues.

Thanks nontheless! When I have an issue like that again, I'll try checking other plugins out first.
Not the notetags itselfs, no. I am aware that this won't work
That's not what I said 😛 I said you don't want to try to modify the objects constructed using the notetag instructions during play.

What one should be able to do is write a plugin extension that would toggle the visibility of a given equipment slot during the game. Also, just to mention it...

Like, the option to equip say a quiver is only available after the character learned how to use bows.
This already exists in the Equip Requirements plugin. You'd give the quiver
Code:
<Equip Requirement>
skill: x
</Equip Requirement>
where x is the ID of your bow skill.
That's not what I said 😛 I said you don't want to try to modify the objects constructed using the notetag instructions during play.
Sorry, I don't get it xD If you don't mean to change the information in the notetag during play, what is the difference to the example with the switch I talked about? Isn't this modifying the object?

This already exists in the Equip Requirements plugin
I somehow missed that this plugin exists all the time :0 Thanks, that's exactly what I was asking for 😀
I just thought it would be part of the original Equip Core Plugin.
Sorry, I don't get it
It is a technical difference that has to do with how programs work.
You only have to keep that in mind if you want to either program yourself or request a plugin that does something.

Because no, adding a notetag that points to a switch is not the same as changing the data object - the notetag is just telling the program to handle the identical data object in different ways depending on the switch. But it does not change the dataobject itself.
adding a notetag that points to a switch
This is what I was initially asking for, that's why I was confused. I never wanted to change the data object. Sorry, if my question was worded wrongly and thanks for the explanation.

Original thread: https://forums.rpgmakerweb.com/threads/yep_equipcore-add-equip-slot-by-event.140930/