MV YEP Auto Passive States Used for Cooking

Hi everyone,

I'm trying to come up with most optimal way of putting together a system by which an actor consumes an item outside of battle, and then gains a temporary status effect in battle. Instead of the state's duration being counted in turns, I wanted it to be counted by actor actions in battle - let's say for example, 10.

I know there's probably a few ways to do this, but because I'll be dealing with a fair few states, I want to make sure I do it in the most streamlined way possible. By this I mean, the ability to copy and paste and only make minor changes, and not to use too many variables / switches that aren't self-referencing inside the state itself.

I have a few ideas of my own but I'd rather just start fresh than go too far down that rabbit hole. Anyone care to chime in with the best, most streamlined way of doing this?

Cheers.

Original thread: https://forums.rpgmakerweb.com/threads/yep-auto-passive-states-used-for-cooking.125806/