summaryrefslogtreecommitdiffstats
path: root/weatbag
diff options
context:
space:
mode:
Diffstat (limited to 'weatbag')
-rw-r--r--weatbag/tiles/n1w4.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/weatbag/tiles/n1w4.py b/weatbag/tiles/n1w4.py
new file mode 100644
index 0000000..13b288e
--- /dev/null
+++ b/weatbag/tiles/n1w4.py
@@ -0,0 +1,28 @@
+class Tile:
+ def __init__(self):
+ self.challenge_completed = False
+
+ def describe(self):
+ print("\n")
+ if not self.challenge_completed:
+ self.challenge()
+ else:
+ print("")
+
+ def challenge(self):
+ print("\n")
+ pass
+
+ def action(self, player, do):
+ if not self.challenge_completed:
+ pass
+ else:
+ print("I don't understand...")
+
+ def leave(self, player, direction):
+ if direction == "s":
+ print ("Oh dear Basdet! You can't go north, you will fall of the "
+ "cliff!\n")
+ return False
+ else:
+ return True