summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-05-07 21:28:18 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-05-07 21:28:18 +0300
commitf838ee7fa1a4107f5d23a26cafa011e9168cc173 (patch)
tree12c4ee7ba4660a22053a945b55afc04f25a4d643 /weatbag/tiles
parentb63dacba14d8a976e52771143d85f80c523ed416 (diff)
added new tile n1w5
Diffstat (limited to 'weatbag/tiles')
-rw-r--r--weatbag/tiles/n1w5.py20
1 files changed, 20 insertions, 0 deletions
diff --git a/weatbag/tiles/n1w5.py b/weatbag/tiles/n1w5.py
new file mode 100644
index 0000000..078de7f
--- /dev/null
+++ b/weatbag/tiles/n1w5.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 == "s":
+ print("My dear traveler, you can't go south, you will fall of the "
+ "cliff!\n")
+ return False
+ elif direction == "n":
+ print("It looks like the side of a wooden hut.\n"
+ "Since you don't walk though walls (yet) "
+ "you can't go there.\n")
+ return False
+ else:
+ return True