summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--weatbag/tiles/n3w5.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/weatbag/tiles/n3w5.py b/weatbag/tiles/n3w5.py
index 819fd77..7045620 100644
--- a/weatbag/tiles/n3w5.py
+++ b/weatbag/tiles/n3w5.py
@@ -42,3 +42,11 @@ class Tile:
print("You take the knife.\n")
else:
print("There is nothing here.\n")
+
+ def leave(self, player, direction):
+ if direction == "s":
+ print("In front of you there is a wall. It's the side of a wooden "
+ "hut.")
+ return False
+ else:
+ return True