Yanfly's Hide Menu Skills Question?

So, in my game, I'm using a class item mechanic that, when equipped, gives the player access to that class' abilities (after they've unlocked said skill by leveling up the class). In order to reduce ability bloat, I started using his Hide Menu Skills script. However, when I use hide until usable, I can't even see the abilities until they're ready to be cast (which makes sense), but I want to make it so that, regardless of cost, I can see the abilities, but only if I have the right class item equipped.


Basically,


Class Item A grants access to (with the correct class level) Ability B.


Ability B shows in battle menu all the time when Class Item A is equipped, regardless of whether it can be used with currently available resources.


Ability B does not show in battle menu if Class Item A is not equipped.
I want to help, but your question is...what is it? I am very confused about what you are asking.


Do you want the ability to be visible if they have the item, but not usable because they do not know it?
Sorry I wasn't clear!


Lemme try and clear it up.


What I want is for the ability to be visible if the character has the item equipped, and invisible if they do not. The problem is, with the "Hide Until Usable" command from Yanfly's Hide Menu Skill script, the abilities are hidden if the character does not have the resource (MP or TP) available to use that skill. I want the ability, assuming the item is equipped, to be visible regardless of whether or not they have the resource to cast it.


An example would be one of my abilities uses 45 TP. If the character does not have the correct item equipped, or has the item equipped but is not a high enough level to have unlocked it, the skill is invisible. If the character has the item equipped and is a high enough level, the skill is visible, as long as they have the resource to cast it (in this case, 45 TP). I want the skill to be visible as long as the character has the item equipped, not based on available resource.
If this still isn't clear enough, lemme know. I just want to get this to work right, since it would very much improve the game. 🙂
Ya know? I just realized that this should be in the Scripts Support. I'm sorry! 🙁

Original thread: https://forums.rpgmakerweb.com/threads/yanflys-hide-menu-skills-question.56796/