summaryrefslogtreecommitdiffstats
path: root/weatbag/tiles/n2w4.py
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-04-24 05:17:06 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-04-29 03:21:18 +0300
commite701a9388c8939c9ce91731bb32f8404340180ef (patch)
treeba0ed0c9292ba6162ab8775fc5df681779f466fd /weatbag/tiles/n2w4.py
parent7dca2041d3ee309dc86bd9b0d84d5e470d83eedb (diff)
improved new lines! Woah!
Diffstat (limited to 'weatbag/tiles/n2w4.py')
-rw-r--r--weatbag/tiles/n2w4.py20
1 files changed, 10 insertions, 10 deletions
diff --git a/weatbag/tiles/n2w4.py b/weatbag/tiles/n2w4.py
index 2e917ea..f4309b5 100644
--- a/weatbag/tiles/n2w4.py
+++ b/weatbag/tiles/n2w4.py
@@ -7,35 +7,35 @@ class Tile:
def describe(self):
if self.opendoor:
- print("\nThe hut's 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!\n")
else:
- print("\nYou are standing in front of the hut's door. The hut "
+ print("You are standing in front of the hut's door. The hut "
"looks very small and you wonder who could live there...\n"
"It has a door but you can't open it because the doorknob "
- "is missing.")
+ "is missing.\n")
def action(self, player, do):
if (do[0] in words.use) and do[1]=='doorknob':
if player.has('doorknob'):
player.take('doorknob')
- print("\nDoorknob fits fine, clicks and voila... Door is open!\n"
+ print("Doorknob fits fine, clicks and voila... Door is open!\n"
"\nYou are in a cozy living room with a cat and 5 kittens"
- " resting on a couch.\nThere is another room at west.")
+ " resting on a couch.\nThere is another room at west.\n")
self.opendoor = True
else:
- print("\nYou'll need a doorknob to open the door.")
+ print("You'll need a doorknob to open the door.\n")
self.opendoor = False
else:
- print("\nSorry, I don't understand.")
+ print("Sorry, I don't understand.\n")
def leave(self, player, direction):
if direction == 'w' and not self.opendoor:
- print("\nFirst you need to enter the hut.")
+ print("First you need to enter the hut.\n")
return False
elif direction == 's':
print("Meeeeh, nothing of importance is going on there, try "
- "another direction.")
+ "another direction.\n")
return False
else:
return True