summaryrefslogtreecommitdiffstats
path: root/weatbag
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-04-23 01:40:11 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-04-29 03:21:17 +0300
commit893c674a54f36e49390d78f7f685029e94f00898 (patch)
tree8b4e02f92de99e479c0dbaeae0dddd696ccc6407 /weatbag
parentb6c6d0a0327f8067b68ebc723a5664c58e92c582 (diff)
minor changes in describe/print
Diffstat (limited to 'weatbag')
-rw-r--r--weatbag/tiles/n2w4.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/weatbag/tiles/n2w4.py b/weatbag/tiles/n2w4.py
index dcc3ea4..8f821af 100644
--- a/weatbag/tiles/n2w4.py
+++ b/weatbag/tiles/n2w4.py
@@ -7,8 +7,8 @@ class Tile:
def describe(self):
if self.opendoor:
- print("The door is open and the kitties are playing with their "
- "momcat!")
+ print("The hut's door is open and the kitties are playing with
+ "their momcat!")
else:
print("You are standing in front of the hut's door. The hut looks "
"very small and you wonder who could live there... It has a "
@@ -29,7 +29,7 @@ class Tile:
print("Sorry, I don't understand.")
def leave(self, player, direction):
- if direction=='w' and player.has('doorknob'):
+ if direction=='w' and not self.opendoor:
print("First you need to enter the hut.")
return False
else: