Stat Food?

Hey there gang. I was just wanting to hear some thoughts on Stat Food in RPG Maker, if there would be anyone interested in chiming in.🙂 So I played Everquest and in it they had food which, depending on quality, would go down at different rates. So a full meal would last you say 5 minutes until the next meal was automatically consumed. And a snack would last a minute, just for example. I am thinking about trying to add a system like this to my game, but only if there's a way to make the food also be able to add stats, but I've been digging and haven't been able to find a method to make it work properly.

What I am hoping for is, say you have 2 stacks of food in your inventory. One stack apples with +1 Agility and a stack of Steaks with + 5 HP. What I would like is for while apples are in the higher slot, or however, You get a constant boost to your Agility of +1 and when it all gets consumed you switch to the Steak and get the +5 HP now and lose the +1 Agility. If anyone has thoughts on how to make this work I would love to hear them. Thanks all and have a great day.🙂
Instead of time how about turns. Make items that apply states when consumed, then have a state apply the stats you want for a set time in battle. So like the snack stat gives +1% agility for 2 tuurns but a meal gives you +15% agility, for the entire battle.
There's no way to get static ie +2, + 20 stat increase using states, instead use percents, This way this system can last through the game, no matter how strong the player gets.
To change parameters using states, click the inside of the traits box.
Go to the second tab, and now you have all the parameters, x-parameters and s-parameters.
To change the param, just increase it over 100 to make the stat bigger and decrease to make it smaller.
Ex:
If Max MP is set to Max MP* 115% then your Max MP has increase 15% (115-100 = +15)
However if it was If Max MP is set to Max MP* 80%, then your Max MP has decrease by 20% (80-100 = -20).


You could do the stacking system you want, but you'll need states,(as stated above) and YEP_SkillCore & YEP_Buff&StatesCore. You can use the lunatic modes of theese programs to create stacking states(there's a few tips & tricks on it on Yanfly's Youtube.) which can be used to create a stacking effect.
Thank you very much for the info I hadn't really though about running it through a state. I'll take a look at this method and the yanfly plugins to see if I can get it to do what I want. Much appreciated Zarsla🙂

Original thread: https://forums.rpgmakerweb.com/threads/stat-food.78657/