added variable to control recovery speed
This commit is contained in:
3
util.py
3
util.py
@@ -15,5 +15,6 @@ class Util:
|
||||
sleep = random.randrange(min_stat,max_stat,1)
|
||||
decayspeed = random.randrange(min_decay,max_decay,1)
|
||||
potential = random.randrange(min_workpower, max_workpower,1)
|
||||
recovery = random.randrange(min_recovery, max_recovery, 1)
|
||||
|
||||
return Tamagotchi(name,hunger,happiness,hygiene,sleep,decayspeed,potential)
|
||||
return Tamagotchi(name,hunger,happiness,hygiene,sleep,decayspeed,potential,recovery)
|
||||
|
||||
Reference in New Issue
Block a user