summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-05-07 21:34:32 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-05-07 21:34:32 +0300
commit4a73bd4bff8544a3b9c73c25e6b22fe2ddf20788 (patch)
treed30a9c439cb286ba7be901b473f167ad1605a175
parent8b8b42308fdca3ec3e40695539bde6df3a59c7de (diff)
added new tile n2w6
-rw-r--r--weatbag/tiles/n2w6.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/weatbag/tiles/n2w6.py b/weatbag/tiles/n2w6.py
new file mode 100644
index 0000000..e76e3c2
--- /dev/null
+++ b/weatbag/tiles/n2w6.py
@@ -0,0 +1,20 @@
+class Tile:
+
+ def describe(self):
+ print("blah blah describe\n")
+
+ def action(self, player, do):
+ print("Sorry, I don't understand.\n")
+
+ def leave(self, player, direction):
+ if direction == "w":
+ print("My dear traveler, you can't go there, you will fall of the "
+ "cliff!\n")
+ return False
+ elif direction == "n":
+ print("It looks like the back of a wooden hut.\n"
+ "Since you don't walk though walls (yet) "
+ "you can't go there.\n")
+ return False
+ else:
+ return True