tamagotchis now feed and wash each other
This commit is contained in:
5
util.py
5
util.py
@@ -1,4 +1,4 @@
|
||||
#! /usr/bin/python
|
||||
#!/usr/bin/python
|
||||
|
||||
from tamagotchi import Tamagotchi
|
||||
import random
|
||||
@@ -13,5 +13,6 @@ class Util:
|
||||
hygiene = random.randrange(80,120,1)
|
||||
sleep = random.randrange(80,120,1)
|
||||
decayspeed = random.randrange(1,3,1)
|
||||
potential = random.randrange(1,5,1)
|
||||
|
||||
return Tamagotchi(name,hunger,happiness,hygiene,sleep,decayspeed)
|
||||
return Tamagotchi(name,hunger,happiness,hygiene,sleep,decayspeed,potential)
|
||||
|
||||
Reference in New Issue
Block a user