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. Lowers player's statistics. Applied every few steps.
""" """
# looses hunger every 10 steps taken # looses hunger
if self.movePoints % 15 == 0:
self.statistics.set_hunger(1) self.statistics.set_hunger(1)
# gets more thirsty every 5 steps # gets more thirsty
if self.movePoints % 10 == 0:
self.statistics.set_thirst(2) self.statistics.set_thirst(2)
# gets tired every step # gets tired
self.statistics.set_stamina(-1.5) self.statistics.set_stamina(-1.5)
def applyTimeFatigue(self, tickTime): def applyTimeFatigue(self, tickTime):