MV Extra Lives / Death Defy Mechanic

Hi! I'm looking into hoping someone could make an Extra Lives system. I tried looking at Cv2 Common Death Event but I wasn't sure if it would precisely do as exactly what I'm looking for in an extra lives system.

When a party member or actor dies, I would want the game to quickly check if the player has a specific item (this case being a 1-UP). If it detects that the specific item is in the player's inventory, it will immediately be consumed and the person will be revived automatically without needing to select the party member and use it as long as it has a Death removal state and an HP recovery parameter.

Not only that, I would like it if there was a way to allow this to be used on a charm or piece of equipment. Like for an example, if the actor is using a specific piece of equipment that allows them to be revived automatically a set number of times and never again unless they reach a restoration / save point without using the item previously mentioned. If possible, I would appreciate it if it could have an image graphic that changes whether or not it has been used yet so the player can reliably have a way to tell if they should back out of a tough battle or not.

Some extra notes:
  • I would prefer if the image graphic can be transitioned with an X and Y coordinate, that way I can align it better with the menus and able to use any size graphic appropriate.
  • It doesn't have to be focused on multiple people, I would just appreciate it if it focused on a single actor as the game I'm creating operates with the "MOG_BattleHud" plugin (Marshmallow variant) and focused on one party member only.
  • It would be appreciated if there is a True or False parameter in the plugin database so I can set whether the player is given the choice to retry or quit to the Save Point for both the item and the charm.
  • I would prefer if I am able to set a Plugin Command for an event to restore the charm usages as well to allow me to better balance the charm and not allow players to run back and forth between small areas or hug save points all the time.
  • I would appreciate it if the graphic would disappear and reappear if in a separate menu or at the very least function hand in hand with the "MOG_BattleHud" plugin.
I provided a chart to better explain my request and a screenshot of the Marshmallow variant of the BattleHud plugin, as well as a link to the aforementioned plugin. Right here!

(Edit: Forgot to mention that I'm willing to answer any extra questions or specifics! 😅)
while this can be checked by a common event, and refill is automatically
like that if you re-load the latest savepoint as this isn't saved in the savefile,
unless those are remembered as persistent data item 🙂

you can if you have buff and statecore I believe, and make an invisible state,
that has a custom death state. (require lunitic code)
which checks if the player has the item, and if it does, revive with x% HP
if it doesn't, it's dead.

someone with lunatic can help you with it. but it's defenitly doable 🙂
(or you need to know lunatic code).
while this can be checked by a common event, and refill is automatically
like that if you re-load the latest savepoint as this isn't saved in the savefile,
unless those are remembered as persistent data item 🙂

you can if you have buff and statecore I believe, and make an invisible state,
that has a custom death state. (require lunitic code)
which checks if the player has the item, and if it does, revive with x% HP
if it doesn't, it's dead.

someone with lunatic can help you with it. but it's defenitly doable 🙂
(or you need to know lunatic code).
Oh! Does this also apply to the equipment part as I mentioned before? If so I'll definitely look into it and see if someone can help me with the Lunatic code on a more appropriate board or try to figure it out one way or another, I'm not very good at coding in general which is why I ask for help on major stuff!
idk if you have YEP_Buff&StateCore and probably another one required,
but lunatic code is something I dont know either, but this can be a request
and or plugin support, there is one that knows lunatic very well, he got a
forum for this kind of stuff too, but maybe it's on the list of tip and tricks
or similar.

I got a specific lunatic code, and I dont understand even half of it.
did you check YEP tips and tricks if there is something close to it?
otherwise I hope @Trihan might be able to help you with this lunatic
code 🙂
Oh yeah, for sure I probably can. 🙂
Oh yeah, for sure I probably can. 🙂
I don't have Yanfly's Buffs & States Core plugin put into my game yet, but I would be happy to have any kind of help to recreate this idea! I greatly appreciate the help!

Original thread: https://forums.rpgmakerweb.com/threads/extra-lives-death-defy-mechanic.134993/