Unlock equip slots

There are certain item types within my game that I don't want the player to know about until they reach a certain point in the game. Would it be possible to use a plugin command (or script) within an event that adds that equip slot to the appropriate class or character? So for example:


A character in chapter 1 cannot equip the item type Talisman, because (according to the game lore), in order to equip a Talisman one must first undergo a ritual that binds the character to the 'Astral Plane' - before doing that, Talismans cannot be equipped. Unfortunately, equipment slots can only be defined using the Database, and as far as I can tell, can't be changed once the game is running. This means that should a character in Chapter 1 somehow obtain a Talisman, they would be able to equip it because the character would have a Talisman slot, even before the Astral Plane event occurred. Ideally, I would be able to add a plugin command to the Astral Plane event that adds the Talisman equip slot to the character, say: "Equipslot Add 1 9", which would add Equip Slot 9 (talisman) to Character 1.


Is this possible? 


Thanks for any help you can give!
http://yanfly.moe/2015/10/15/yep-10-equip-core/


Unless your game allows the player to change the character's class, you could use this.


You would make two instances of the character's class, one with the Talisman and one without (This would be done by putting notetags in each class. One class would have <Equip Slot: 1, 2, 3, 4, 5, 6, 7, 8>, or whatever your slots are as long as it doesn't add the talisman slot. The other class would have the same notetag, but add another slot for your talisman, i.e., <Equip Slot: 1, 2, 3, 4, 5, 6, 7, 8, 9>.


Then you would have the character start as the class that cannot use the Talismans, and when the player gets to the part where they finish the trial, the event at the end (where you would put all the cutscene parts), just add the line "Change Class: (Actor), (Class), true". To get that line, you'd need to go to the first page of the event commands and look for "Change Class..." Set the actor to the actor you want to add the talisman slot to, and check the "Save Level" box.


If that isn't clear, let me know and I'll include pictures. I'm shoddy at giving instructions.
if you don't want to mess around with changing classes (which can cause a lot of problems), you'll need a dynamic equip system.


Yanfly usually does his equip slots in static format only, so I suggest you look for Tsukihime's plugins instead.
I did think about using class changes, but since I've got more classes than I can already keep track of, that's rather impractical (I also have a class change system) so while it would theoretically be possible to change the character's unlocked class sets to the Talisman unlocked versions, also maintaining their levels, and keeping track of everything else going on, that's a little unrealistic. But yeah, if there isn't an easier option that is a possibility, just a lot of work and very long event scenes with a hell of a lot of conditionals 😀  Thanks anyway, though.


I checked out Tsukihime's equipment plugin but it looks like it does the same thing as yanfly's in regards to item slots... 
@dombo813 Then you didn't read the entire description of the plugin. it has the same basics as yanfly, but if you continue on to the more advanced options descrtibed at the later parts of the description, you'll find a header


Adding and Removing Equip Slots Dynamically
@dombo813 Then you didn't read the entire description of the plugin. it has the same basics as yanfly, but if you continue on to the more advanced options descrtibed at the later parts of the description, you'll find a header


Adding and Removing Equip Slots Dynamically

Well, now I feel stupid 😛 It wasnt mentioned in the description so I figured it wouldn't be there. In that case, that's perfect. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/unlock-equip-slots.66438/