buffed fatigue

This commit is contained in:
Marcin Kostrzewski 2020-05-16 11:01:01 +02:00
parent 233ce2462c
commit 15babde728

View File

@ -45,13 +45,11 @@ class Player(Entity):
Lowers player's statistics. Applied every few steps.
"""
# looses hunger every 10 steps taken
if self.movePoints % 15 == 0:
# looses hunger
self.statistics.set_hunger(1)
# gets more thirsty every 5 steps
if self.movePoints % 10 == 0:
# gets more thirsty
self.statistics.set_thirst(2)
# gets tired every step
# gets tired
self.statistics.set_stamina(-1.5)
def applyTimeFatigue(self, tickTime):