Food System like Persona 2

Hello guys.

As the tittle says, I'm trying to make a food system like the game Persona 2 where characters can buy a food dish that can give them some small stat boosts that disappear after walking certain number of steps. I have figured a way of doing this with states, but I want to make it so you can't eat a new dish until the last one was digested.

My basic skills are pretty bad and I'm having some problems on how to do it. Thank you for your time.
You could have the food apply an extra state "Sated" with the same duration and then have your food store check if the player is affected by sated and refuse to sell or whatever you have set up, I don't know persona 2.
Never played Persona 2 but other games like Rune Factory and The World Ends with You have similar mechanics
I forgot to explain... The player can store the food he buys/prepares (he can also cook) and eat them to gain the boost, but I don't want him to eat different dishes to gain all the boosts, only one at a time.
Use a plugin like
  • v1.0 Cae_ConsumeEval
    Items won't consume on use if their ConsumeEval notetag condition is not met.
I generally try to avoid recommending paid plugins unless a free alternative exists, but since others have provided free options to achieve your goal, I will go ahead and rec a plugin that I think will fit your needs.
Use a plugin like
  • v1.0 Cae_ConsumeEval
    Items won't consume on use if their ConsumeEval notetag condition is not met.
This one seems intriguing, but I don't know how can I apply the effect... My coding skills even at basic are pretty bad.
You could Google "rpg maker mv script call has state," or reference the pinned thread of MV script calls:

Your notetag would be:
Code:
<ConsumeEval: !user.isStateAffected(69)>
where 69 is your Sated state that prevents them from eating more.
This one seems intriguing, but I don't know how can I apply the effect... My coding skills even at basic are pretty bad.
If you don't feel like using code, you can try the plugin I linked. I'm willing to gift it to you, as it seems that's a thing on itch, as it's only $2.79 right now.

Original thread: https://forums.rpgmakerweb.com/threads/food-system-like-persona-2.162503/