summaryrefslogtreecommitdiffstats
path: root/weatbag
diff options
context:
space:
mode:
authorGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-04-20 01:27:24 +0300
committerGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-04-20 01:27:24 +0300
commitdc0b9a548f9a78f3beeb5989f0682b0a819b5594 (patch)
tree6df707c6384a42c1392dd9db46dca4dfe2cdb566 /weatbag
parent3541efc01e9519743ba96a798f39ca03b352493c (diff)
Fixed leave bug in s1e1 and modified output text.
Diffstat (limited to 'weatbag')
-rw-r--r--weatbag/tiles/s1e1.py12
1 files changed, 10 insertions, 2 deletions
diff --git a/weatbag/tiles/s1e1.py b/weatbag/tiles/s1e1.py
index 9f96e6b..74a0aa0 100644
--- a/weatbag/tiles/s1e1.py
+++ b/weatbag/tiles/s1e1.py
@@ -11,11 +11,19 @@ class Tile:
"It runs from South to North.")
if self.contents['bug'] > 0:
- print("You see a huge ugly bug rush past you, "
+ print("You see a huge, ugly bug rush past you, "
"following the river south.")
self.contents['bug'] -= 1
else:
- print("You remember this is where you saw that bug going south")
+ print("You remember this is where you saw that bug going south.")
def action(self, player, do):
pass
+
+ def leave(self, player, direction):
+ if direction == 's':
+ print("Bugs are the enemy and must be crushed!"
+ "So you decide to follow the bug upstream.")
+ return True
+ else:
+ return True