Temporary Health

Hello all, I've just begun making my first game and have decided to use RPG Maker MZ as my engine, inspired by how the game Lisa: The Painful used the engine in a creative subversive way. I'm attempting to implement a "temporary health" system where a bar can be replenished, but will then decrease slowly over time, 1 point per second to be exact.

For example:
TempHP.gif
When does that happen in the Lisa game? Do you mean the "Joy" bar?

Do you want to do this inside or outside battle?

Inside battle consider creating a Battle Event for the Troops that is executed each turn, and that event would remove a bit of the HP of the character with the Event Command / Actor / Change HP...

Outside battle consider creating an event with Parallel Trigger that removes HP from the character with the Event Command / Actor / Change HP... (same as above) AND does that after each minute (or however fast you want) using the Timing / Wait.. event command. Basically you wait one minute, remove HP, wait another minute, remove HP again, forever. This infinite repetition can be done with an Event Command of type Flow Control / Loop.
Welcome!

I'm attempting to implement a "temporary health" system where a bar can be replenished, but will then decrease slowly over time
And...what? What's the question? What do you need help with?

What work have you already done, and which part of it doesn't function?
When does that happen in the Lisa game? Do you mean the "Joy" bar?

Do you want to do this inside or outside battle?

Inside battle consider creating a Battle Event for the Troops that is executed each turn, and that event would remove a bit of the HP of the character with the Event Command / Actor / Change HP...

Outside battle consider creating an event with Parallel Trigger that removes HP from the character with the Event Command / Actor / Change HP... (same as above) AND does that after each minute (or however fast you want) using the Timing / Wait.. event command. Basically you wait one minute, remove HP, wait another minute, remove HP again, forever. This infinite repetition can be done with an Event Command of type Flow Control / Loop.
I meant I was inspired by Lisa to use RPG maker at all, sorry if I was unclear!
Welcome!


And...what? What's the question? What do you need help with?

What work have you already done, and which part of it doesn't function?
My question is how do I do this, at all. I'm very new and am not sure how I'd implement it.

Original thread: https://forums.rpgmakerweb.com/threads/temporary-health.154478/