MZ Revive Item not locking out if no dead actors

Using MZ...

So I'm using full VisuStella library which may be a bad idea as it's hard to find plugins that are compatible with it...

Ok, I have a revive item that should target only dead actors. However I'm still able to use this item even if there's no dead actors therefore consuming the revive item. How can I fix this?

Is there a way for the item to gray-out so it isnt used if there's no dead actors?

In MV, as long as an item is labelled to target only dead actors then it wont let you use it if there isn't dead actors....
You can try using YEP Item Requirements, it has a bunch of options for this exact sort of thing.
AFAIK, neither default MV nor MZ will gray the name of a revive item if no party members are dead. You won't be able to use the item, but it won't be grayed out. You say MV does it, so here is default MV:

Game_OIu55v6PN3.gif

RPGMV_tLuKXhji73.png


Since you're using the VisuStella library for MZ, you should refer to their documentation re: item accessibility. I don't have or use their plugins so I'm uncertain of their notetag syntax and I'm not interested in testing, but there are some avid VS users here on the forums who can likely help.

Original thread: https://forums.rpgmakerweb.com/threads/revive-item-not-locking-out-if-no-dead-actors.156796/