MV Hiding skills with 0 available uses with Yanfly plugins

As the title suggests, I am working on a project using the Yanfly Limited Skill Uses plugin, and am looking for a way to hide skills with 0 max uses from being visible in the skill menus.

The reason for this is that the game is designed to have skills unlocked/have available uses increased through use of specific items, but only one of the two characters learning any skill. As I do not want to have to set up a common event for each skill to ensure the correct character learns it, I am looking at other ways to deal with the situation, and came up with the plan to have all skills set as 'learned', with uses set to 0, and have the items simply increase the uses by one.

The problem is that this would leave all skills revealed from the start if I can't find a way to hide them until the use limit is increased.

Any ideas?
on line 647 you read this line:
Code:
if (this.skillLimitedUseCurrent(skill.id) <= 0) return true;

// make it:
if (this.skillLimitedUseCurrent(skill.id) <= 0) return false;

// or

if (this.skillLimitedUseCurrent(skill.id) <= 0) return;
I cannot tell if this hide it or not.
but further down, there is a draw text for this, which could
also be modified, but I have no idea how though.
Where does this code go precisely?
Where does this code go precisely?
on line 647

if youre using the skill core, you could also use a <Custom show Eval> to hide skills if theres no uses remaining
Code:
<Custom Show Eval>
visible = user.skillLimitedUseCurrent(item.id) >= 1;
</Custom Show Eval>
but if every skill in the game is supposed to function this way itd be easier editing the plugin
Thanks, I knew there had to a way to do it with the custom show eval, I just couldn't find the variable identifier.

And adding it to each skill isn't too much of an issue, given the need to copy and paste the limited uses code to each anyway.
just be careful not to make a a typo (depending on the amount of skills ^^
It seems to be working, but reacting badly with the equip battle skills plugin.

So while the 'test' skill isn't appearing in the standard skill menu, it is still available in the equip skill menu, and while the equip battle skills plugin gives an <unequippable> notetag, it doesn't give a way to use it in the 'lunatic mode' programming.

Any suggestions?
Skills Window is different than the equip window.
even if my way worked inside the plugin modification (to do it cleaner).
patching for the equipScene (or whatever window is used for it) and
the plugin(s) used, the modification to link/patch the skills could also
be slightly easier (if it was still showing).

just keep in mind that skills lunatic code doesn't affect ingame windows
outside of battles 😉

Original thread: https://forums.rpgmakerweb.com/threads/hiding-skills-with-0-available-uses-with-yanfly-plugins.173932/