summaryrefslogtreecommitdiffstats
path: root/weatbag
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-04-21 17:28:00 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-04-29 03:21:17 +0300
commit4fbb3c8cab68e7750b545f04ae11e74340ecb511 (patch)
treec84bc25a8b831ed36772a694fb26346796b71345 /weatbag
parentc4f5bfe7d00652632e38db23251aa33ede84f009 (diff)
changed leave message for n1w1
Diffstat (limited to 'weatbag')
-rw-r--r--weatbag/tiles/n1w1.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/weatbag/tiles/n1w1.py b/weatbag/tiles/n1w1.py
index 3203d99..aad8104 100644
--- a/weatbag/tiles/n1w1.py
+++ b/weatbag/tiles/n1w1.py
@@ -7,3 +7,11 @@ class Tile:
def action(self, player, do):
pass
+
+ def leave(self, player, direction):
+ if direction == "w":
+ print ("You can't go there by swimming, that part is full of "
+ "electric eels.")
+ return False
+ else:
+ return True