projects
/
tabakrolletjie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fd155e7
)
Reset more thingS
author
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 21:32:02 +0000
(23:32 +0200)
committer
Neil
<neil@dip.sun.ac.za>
Sat, 10 Sep 2016 21:32:30 +0000
(23:32 +0200)
tabakrolletjie/gamestate.py
patch
|
blob
|
history
diff --git
a/tabakrolletjie/gamestate.py
b/tabakrolletjie/gamestate.py
index afe842dde40a2d01ba696c6ccf2e487ba6697751..0713537208ec63eb27572d634c127cd54f0fea73 100644
(file)
--- a/
tabakrolletjie/gamestate.py
+++ b/
tabakrolletjie/gamestate.py
@@
-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"]