From e701a9388c8939c9ce91731bb32f8404340180ef Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Wed, 24 Apr 2013 05:17:06 +0300 Subject: improved new lines! Woah! --- weatbag/tiles/n2w4.py | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'weatbag/tiles/n2w4.py') 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 -- cgit v1.3