mob
Login()
Hunger_Check()
Thirst_Check()
Stat()
statpanel("Character")
stat("Thirst: ","[usr.thirst]")
var
health = 100
thirst = 10
proc
Thirst_Check()
spawn(600)
usr.thirst -= 5
Dehydration_Check()
return Thirst_Check()
Dehydration_Check()
if(usr.thirst <= 0)
usr.health = 0
Death_Check()
Death_Check()
if(usr.health <= 0)
usr << "<strong>You have died..."
usr.loc = (locate(30,27,1))
usr.health = 100
usr.hunger = 100
usr.thirst = 100
usr.endurance = 100
usr.tool = null
usr.thirst = 100
Problem description:
I get no errors or warnings on Dream Maker, and I personally belive this is not my fault, but when I run the game, the thirst counter does not go down on the stat panel. It is exactly the same as my hunger system, which works, execept of course the varibles. Am I missing something?
If you need more information, I'll be happy to provide that...