Item Restrictions Gray Out Instead of Remove

Hey everyone, this is hopefully a quick and easy problem for someone.

So I'm trying to do a small card game-type project, where all of the combat is done by selecting and use items from your "deck"

For one of the "decks" I'm trying to use MP as a resource for some of the stronger cards. There are plugins like Yanfly's Item Restrictions or Bobstah has a similar plugin. Both do what I need in terms of making an item unusable if you do not have enough MP.

However the small problem is that I still want the item to be present in the item list. Both of these plugins remove the item entirely from the list.

For a visual example:

rsSNr1g.jpg


Here I use the Fireball card. I have 6 copies of it and it takes 6 of my 10 mana.

02IGzVk.jpg


After using it, the card is completely gone from my options despite still having 5 copies of it. The card reappears if I gain mana, but I want it to be visible at all times even if you can't select if because of the mana requirement.

Can anyone help with this? I'll use either Yanfly's script or Bobstah's or a completely different one, it doesn't matter as long as I can get this ironed out.
just as a quick check-up, change that card's mana consumption to 1.
if the selection is still there after using it, then the menu is not loading anything that has a mana consumption greater than the available mana.

I don't have access to the code at the moment, but it's the equivalent of the Ace instruction include?(item), where include?() watches for item being valid and being "item" (as opposed to "weapon" or "key item").
in this case it could have been changed to "exists, is 'item' and actors' mp > item's mp value?"
I don't know the javascript code for that by memory.

Original thread: https://forums.rpgmakerweb.com/threads/item-restrictions-gray-out-instead-of-remove.91866/