MZ Make skill only available and visible in battle menus if item exists in inventory. Possible?

Context - I'm on a nutty trip trying to create a dual wielding, ammo system with skills learnable from weapons.
Amazingly, I'm actually cracking this nut! Sooo cool!

I'm using the VisuStella Core thingys, with Formar0153_APSystem and Formar_EquipmentSkills.
VisuStella's Battle Core is doing my ammo system, Formar is doing my "learning skills from weapons" shinanigans.

Each type of bullet comes with one shot, double tap and showdown (a random triple shot) abilities. Everything looks like it's going to work, but unfortunately if I equip a weapon, the battle hud will display shot types that the character has no ammo for. This means that even before the player has ever picked up a type of ammunition (e.g. an armour piercing bullet) they can see it in the battle menu.

So I hope the question makes sense. How do I create a skill that is only visible in the battle hud, if at least 1 instance of a particular item exists in the inventory? It would be even cooler if the double tap and triple shot were hidden when I had less than 2 or 3 bullets of the required type, but that's getting ambitious.
The instructions for VisuStella's Skills and States Core has a whole section of notetags for "skill accessibility," with hide/show tags.

So you can just use those in conjunction with the script call for checking for an item. For example, if your armor-piercing rounds are item ID 42, you'd put in the skill
Code:
<JS Skill Visible>
visible = $gameParty.hasItem($dataItems[42]);
</JS Skill Visible>
The instructions for VisuStella's Skills and States Core has a whole section of notetags for "skill accessibility," with hide/show tags.

So you can just use those in conjunction with the script call for checking for an item. For example, if your armor-piercing rounds are item ID 42, you'd put in the skill
Code:
<JS Skill Visible>
visible = $gameParty.hasItem($dataItems[42]);
</JS Skill Visible>
Sounds like a good avenue. Can't test now because I'm working through other stuff. It seems I've been looking in the wrong place (as usual). As soon as I'm done tagging up various weapons and skills with all the other bits and bats I'll check that out.

P.S. you were much cuter as a cat girl, but I won't complain.
The instructions for VisuStella's Skills and States Core has a whole section of notetags for "skill accessibility," with hide/show tags.

So you can just use those in conjunction with the script call for checking for an item. For example, if your armor-piercing rounds are item ID 42, you'd put in the skill
Code:
<JS Skill Visible>
visible = $gameParty.hasItem($dataItems[42]);
</JS Skill Visible>
Finally got to testing this! Got side tracked with broken menus and a world of tagging.
IT WORLKED LIKE A CHARM! No Hassle at all! Thanks as always.
This thread is being closed due to being solved. If you need it reopened, report it to let us know why. Thank you!

Original thread: https://forums.rpgmakerweb.com/threads/make-skill-only-available-and-visible-in-battle-menus-if-item-exists-in-inventory-possible.167437/