Hunger now rises instead of falling

This commit is contained in:
Marcin Kostrzewski 2020-04-06 00:53:51 +02:00
parent 49666ee664
commit d45eb55b28

View File

@ -33,7 +33,7 @@ class Player(Entity):
def applyFatigue(self): def applyFatigue(self):
# looses hunger every 10 steps taken # looses hunger every 10 steps taken
if self.movePoints % 10 == 0: if self.movePoints % 10 == 0:
self.statistics.set_hunger(-10) self.statistics.set_hunger(10)
# gets more thirsty every 5 steps # gets more thirsty every 5 steps
if self.movePoints % 5 == 0: if self.movePoints % 5 == 0:
self.statistics.set_thirst(10) self.statistics.set_thirst(10)