I am currently using RPGM2K, and I want to know how to make a hunger system.
By this, I mean after a certain amount of steps, your character's status changes to "Hungry", and HP is deducted during battles, and while walking.
The status would be curable with items like "Meat" or "Apple".
I also wanted to make another system similar, only make it for Thirst.
Can anyone help??
hi i carnt script but ill try and find somethink for you and when i do ill post it or pm you ok
~live4eva~
that's easy lol
scripting my ass...
here is what you do, make a variable named hunger and make a common parallel process going:
wait 5 frames
hunger: +1
if hunger = 800 then
-message: you should find something to eat asap
if hunger >= 1000 then
-switch (hungry) = on
else
-switch (hungry) = off
if switch(hungry) is on then
-change hp: entire party : -10 (ouch 10 hp damage per 5 frames, feel free to change it though)
and in battles, trigger it so that in every turn the battle event will work, and the battle event looks like:
if switch(hungry) = on then
-change hp:entire party: - 100
now make food items, link them to common events
say you make an apple, it's common event will be:
variable (hungry) : -500
and meat will reduce 1k or something and so on
Quote from: live4evahi i carnt script but ill try and find somethink for you and when i do ill post it or pm you ok
~live4eva~
Did you miss the RPGM2k of the post? :whoa: :O_o:
blue you beat me to it
you could also use the poisned status for if the food was poisened