Reset more thingS
authorNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 21:32:02 +0000 (23:32 +0200)
committerNeil <neil@dip.sun.ac.za>
Sat, 10 Sep 2016 21:32:30 +0000 (23:32 +0200)
tabakrolletjie/gamestate.py

index afe842dde40a2d01ba696c6ccf2e487ba6697751..0713537208ec63eb27572d634c127cd54f0fea73 100644 (file)
@@ -45,6 +45,9 @@ class GameState(object):
         self._state["turnips"] = []
         self._state["seeds"] = None
         self.resistances = {}
+        self.harvested = 0
+        self.eaten = 0
+        self.days = 0
 
     def get_spawn_positions(self):
         return self._state["station"]["config"]["spawn positions"]