summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weatbag/tiles/n2w3.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/weatbag/tiles/n2w3.py b/weatbag/tiles/n2w3.py
index 3d1d1ad..6c82f13 100644
--- a/weatbag/tiles/n2w3.py
+++ b/weatbag/tiles/n2w3.py
@@ -10,4 +10,11 @@ class Tile:
def action(self, player, do):
print("\nSorry, I don't understand")
-
+
+ def leave(self, player, direction):
+ if direction == "s":
+ print("STAHP! Hammer Time!\n(Meaning you just can't go to that "
+ "direction yet. Sorry! :))\n")
+ return False
+ else:
+ return True