diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-04-28 21:31:57 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-04-29 03:21:18 +0300 |
| commit | 4958709926e2eaf37b8311a86d42b32821703354 (patch) | |
| tree | 51926baef8551f5d2116411f187df3ed5e0946ca /weatbag | |
| parent | b47436bbeb671c409bbe7d795fcf7294b8779581 (diff) | |
changed indentation on strings for visibility
Diffstat (limited to 'weatbag')
| -rw-r--r-- | weatbag/tiles/n1w1.py | 10 | ||||
| -rw-r--r-- | weatbag/tiles/n2w1.py | 31 | ||||
| -rw-r--r-- | weatbag/tiles/n2w2.py | 4 | ||||
| -rw-r--r-- | weatbag/tiles/n2w3.py | 6 | ||||
| -rw-r--r-- | weatbag/tiles/n2w4.py | 5 | ||||
| -rw-r--r-- | weatbag/tiles/n3w1.py | 6 | ||||
| -rw-r--r-- | weatbag/tiles/n3w3.py | 7 | ||||
| -rw-r--r-- | weatbag/tiles/n3w4.py | 7 |
8 files changed, 42 insertions, 34 deletions
diff --git a/weatbag/tiles/n1w1.py b/weatbag/tiles/n1w1.py index 502caa9..f809dc4 100644 --- a/weatbag/tiles/n1w1.py +++ b/weatbag/tiles/n1w1.py @@ -1,10 +1,10 @@ class Tile: def describe(self): print("There is a small island northwest.\n" - "Unfortunatelly, you can't swim because the sea is full of " - "electric eels so you need a transport to go there.\n" - "Luckilly to the north you see 2 children with a raft sitting " - "under a tree.\n" ) + "Unfortunatelly, you can't swim because the sea is full of " + "electric eels so you need a transport to go there.\n" + "Luckilly to the north you see 2 children with a raft sitting " + "under a tree.\n" ) def action(self, player, do): print("Waitwat?!") @@ -12,7 +12,7 @@ class Tile: def leave(self, player, direction): if direction == "w": print ("You can't go there by swimming, that part is full of " - "electric eels.\n") + "electric eels.\n") return False else: return True diff --git a/weatbag/tiles/n2w1.py b/weatbag/tiles/n2w1.py index 999cdc1..8d78eb4 100644 --- a/weatbag/tiles/n2w1.py +++ b/weatbag/tiles/n2w1.py @@ -11,7 +11,7 @@ class Tile: if self.challenge_not_completed: self.challenge() else: - print("\nThe children take you to the western island!") + print("\nThe children will take you to the western island!") def challenge(self): print("You ask them to give it to you." @@ -21,7 +21,8 @@ class Tile: "What we can do is transport you there ourselves. But first you " "must answer this:\n\n" "Ignore weight and weather variables and listen carefully.\n" - "It takes me exactly one hour to transport a person to the island.\n" + "It takes me exactly one hour to transport a person to " + "the island.\n" "It takes my sister double that time.\n" "If we combine our power, " "how many minutes will it take to transport you to the island?\n" @@ -42,29 +43,33 @@ class Tile: "Try another one.\n") elif (do[0] in words.take) and (do[1] == "sister" or do[1] == "girl"): - print("You bastard! Leave my sister down!\n" - "What kind of an asshole are you? Taking advantage of " - "little children?\nWe will transfer you for free.\n") - print("The brother and sister take you to the island!\n") + print("You bastard! Let my sister down!\n" + "What kind of an asshole are you? " + "Taking advantage of little children?\n" + "We will transport you for free.\n") + print("The brother and sister will take you " + "to the island!\n") self.challenge_not_completed = False elif (do[0] in words.take) and (do[1] == "brother" or do[1] == "boy"): - print("You bastard, take me down!\n" - "We will transfer you for free!\n") - print("The brother and sister take you to the island!\n") + print("You bastard, put me down!\n" + "We will trasnport you for free!\n") + print("The brother and sister will take you " + "to the island!\n") self.challenge_not_completed = False elif (do[0] in words.take) and self.challenge_not_completed: print("I told you we won't give you our raft, " - "you have to guess the correct amount of time!\n") + "you have to guess the correct amount of time!\n") except: print("Please try guessing a number, like '42 minutes'\n.") def leave(self, player, direction): if direction == "w" and self.challenge_not_completed: print ("You can't go there by swimming, that part is full of " - "electric eels.\n") + "electric eels.\n") return False elif direction == 'e': - print("There is a cave this way. You can't go from here though.") - return False + print("The undregrowth in that direction is impassable. " + "You turn back.") + return False else: return True diff --git a/weatbag/tiles/n2w2.py b/weatbag/tiles/n2w2.py index abd7f75..0957571 100644 --- a/weatbag/tiles/n2w2.py +++ b/weatbag/tiles/n2w2.py @@ -1,7 +1,7 @@ class Tile: def describe(self): print("You are now on the island. In front of you there are some trees " - "and a small path.\nFeeling adventurous?\n") + "and a small path.\nFeeling adventurous?\n") def action(self, player, do): print("Sorry, wat?!") @@ -9,7 +9,7 @@ class Tile: def leave(self, player, direction): if direction == "e": print("You can't go back by swimming, that part is full of " - "electric eels.\n") + "electric eels.\n") return False elif direction == "s": print("I'm afraid I can't let you go there Dave.\n") diff --git a/weatbag/tiles/n2w3.py b/weatbag/tiles/n2w3.py index e0ce3b3..72f2181 100644 --- a/weatbag/tiles/n2w3.py +++ b/weatbag/tiles/n2w3.py @@ -1,9 +1,9 @@ class Tile: def describe(self): print("You are walking through the trees. It looks like the path you " - "took leads to a small wooden hut.\nYou saw a tree fall and it didn't " - "make any sound and WOW... that was weired because you were there and " - "observed it!\n") + "took leads to a small wooden hut.\nYou saw a tree fall and it " + "didn't make any sound and WOW... that was weired because you " + "were there and observed it!\n") # "If a tree falls in a forest and no one is around to hear it, # does it make a sound?" is a philosophical thought experiment that # raises questions regarding observation and knowledge of reality. diff --git a/weatbag/tiles/n2w4.py b/weatbag/tiles/n2w4.py index 12b0d93..59904c2 100644 --- a/weatbag/tiles/n2w4.py +++ b/weatbag/tiles/n2w4.py @@ -20,8 +20,9 @@ class Tile: if player.has('doorknob'): player.take('doorknob') 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 to the west.\n") + "\nYou are in a cozy living room with a cat and five " + "kittens resting on a couch.\n" + "There is another room to the west.\n") self.opendoor = True else: print("You'll need a doorknob to open the door.\n") diff --git a/weatbag/tiles/n3w1.py b/weatbag/tiles/n3w1.py index aec7508..98877eb 100644 --- a/weatbag/tiles/n3w1.py +++ b/weatbag/tiles/n3w1.py @@ -34,8 +34,8 @@ class Tile: " \ \-.__) ``--._) (_.--`` (__.-/ / \n" " '.'-.__.-. .-.__.-'.' \n" " '-...-' '-...-' \n") - print("A wall of kitties doesn't allow you to go North.\nBut that " - "doesn't make you mad... You can't be mad at kitties, " - "rite?!\n") + print("A wall of kitties doesn't allow you to go North.\n" + "But that doesn't make you mad... " + "You can't be mad at kitties, rite?!\n") return False return True diff --git a/weatbag/tiles/n3w3.py b/weatbag/tiles/n3w3.py index f325428..d2977c4 100644 --- a/weatbag/tiles/n3w3.py +++ b/weatbag/tiles/n3w3.py @@ -8,10 +8,11 @@ class Tile: def describe(self): if self.contents['doorknob']: print("As you walk through the path you find something shiny on " - "the ground beside some rocks.\nIt looks like a brass doorknob.\n") + "the ground beside some rocks.\n" + "It looks like a brass doorknob.\n") else: print("There is nothing to do here, all you see is your path and " - "the trees around!\n") + "the trees around!\n") def action(self, player, do): if (do[0] in words.take) and ('doorknob' in do): self.take_doorknob(player) @@ -27,7 +28,7 @@ class Tile: def leave(self, player, direction): if direction == "n": - print("Oops. You can't go there. There is a rocky wall.\n") + print("Oops! You can't go there. There is a rocky wall.\n") return False else: return True diff --git a/weatbag/tiles/n3w4.py b/weatbag/tiles/n3w4.py index 39b8b35..d4f238b 100644 --- a/weatbag/tiles/n3w4.py +++ b/weatbag/tiles/n3w4.py @@ -1,9 +1,10 @@ class Tile: def describe(self): print("Looks like you are in a walking mood because you still follow " - "the path.\nYou hear birds singing, some small waves on the background, " - "there is a nice flowery smell, rays of sun make the tree sceenery " - "heavenly...\nI totaly get you, it's a nice path to have a walk!\n") + "the path.\nYou hear birds singing, some small waves on the " + "background, there is a nice flowery smell, rays of sun make the " + "tree sceenery heavenly...\n" + "I totaly get you, it's a nice path to have a walk!\n") def action(self, player, do): print("Sorry, I don't understand.\n") |
