summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles
diff options
context:
space:
mode:
Diffstat (limited to 'weatbag/tiles')
-rw-r--r--weatbag/tiles/s1e1.py14
1 files changed, 10 insertions, 4 deletions
diff --git a/weatbag/tiles/s1e1.py b/weatbag/tiles/s1e1.py
index 74a0aa0..ff09753 100644
--- a/weatbag/tiles/s1e1.py
+++ b/weatbag/tiles/s1e1.py
@@ -4,26 +4,32 @@ import weatbag
class Tile:
def __init__(self):
self.contents = {'bug': 1}
+ self.bug_leaves_this_time = True
pass
def describe(self):
- print("There is a stream here.\n"
+ print("There is a stream here. "
"It runs from South to North.")
if self.contents['bug'] > 0:
print("You see a huge, ugly bug rush past you, "
- "following the river south.")
+ "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!"
+ print("Bugs are the enemy and must be crushed!\n"
"So you decide to follow the bug upstream.")
return True
else:
+ if self.bug_leaves_this_time:
+ print("Bugs do not interest you very much.\n"
+ "Lets get out of here.")
+ self.bug_leaves_this_time = False
+ input()
return True