summaryrefslogtreecommitdiffstats
path: root/weatbag
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-05-12 21:44:40 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-05-12 21:44:40 +0300
commit50c8bad672c035ecd980cb38045873e166d4d7ce (patch)
tree983b8d7dc8ff46ee83cf851a3605777659fca22e /weatbag
parent322416a21b70a38f4a1bd774109e10e95abe3793 (diff)
added leave function for n4w6
Diffstat (limited to 'weatbag')
-rw-r--r--weatbag/tiles/n4w6.py11
1 files changed, 11 insertions, 0 deletions
diff --git a/weatbag/tiles/n4w6.py b/weatbag/tiles/n4w6.py
index 2c7fa18..c0f5129 100644
--- a/weatbag/tiles/n4w6.py
+++ b/weatbag/tiles/n4w6.py
@@ -5,3 +5,14 @@ class Tile:
def action(self, player, do):
print("Sorry, I don't understand.\n")
+
+ def leave(self, player, direction):
+ if direction == "s":
+ print("You follow the path uphill. There are some rocks. Just be "
+ "careful, they all have this gooey green stuff on them!\n")
+ return True
+ elif direction == "e":
+ print("You are going through the pine trees.\n")
+ return True
+ else:
+ return True