From 855703b189cb54829d7ca1bc651c0edb42017e1c Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Tue, 7 May 2013 18:59:16 +0300 Subject: changed leave south description --- weatbag/tiles/n2w3.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'weatbag/tiles/n2w3.py') diff --git a/weatbag/tiles/n2w3.py b/weatbag/tiles/n2w3.py index 2030fea..eba9089 100644 --- a/weatbag/tiles/n2w3.py +++ b/weatbag/tiles/n2w3.py @@ -20,8 +20,8 @@ class Tile: def leave(self, player, direction): if direction == "s": - print("STAHP! Hammer Time!\n(Meaning you just can't go to that " - "direction yet. Sorry! :))\n") + print("Careful now! Nasty rocks all over to the south.\n" + "(Meaning you just can't go to that direction. Sorry!)\n") return False else: return True -- cgit v1.3 From 635e161a3bf7866105cb78c9ada29d4d4ddb6aa6 Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Thu, 23 May 2013 15:36:40 +0300 Subject: removed last /n from action and leave functions --- weatbag/tiles/n1w1.py | 2 +- weatbag/tiles/n1w2.py | 4 ++-- weatbag/tiles/n1w3.py | 4 ++-- weatbag/tiles/n1w4.py | 6 +++--- weatbag/tiles/n1w5.py | 6 +++--- weatbag/tiles/n1w6.py | 4 ++-- weatbag/tiles/n2w1.py | 10 +++++----- weatbag/tiles/n2w2.py | 2 +- weatbag/tiles/n2w3.py | 2 +- weatbag/tiles/n2w4.py | 6 +++--- weatbag/tiles/n2w5.py | 4 ++-- weatbag/tiles/n2w6.py | 6 +++--- weatbag/tiles/n3w1.py | 4 ++-- weatbag/tiles/n3w2.py | 6 +++--- weatbag/tiles/n3w3.py | 4 ++-- weatbag/tiles/n3w4.py | 4 ++-- weatbag/tiles/n3w5.py | 4 ++-- weatbag/tiles/n3w6.py | 4 ++-- weatbag/tiles/n4w5.py | 2 +- weatbag/tiles/n4w6.py | 6 +++--- weatbag/tiles/n4w7.py | 2 +- weatbag/tiles/n5w5.py | 4 ++-- weatbag/tiles/n5w6.py | 2 +- weatbag/tiles/n5w7.py | 6 +++--- 24 files changed, 52 insertions(+), 52 deletions(-) (limited to 'weatbag/tiles/n2w3.py') diff --git a/weatbag/tiles/n1w1.py b/weatbag/tiles/n1w1.py index f809dc4..b4f1252 100644 --- a/weatbag/tiles/n1w1.py +++ b/weatbag/tiles/n1w1.py @@ -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.") return False else: return True diff --git a/weatbag/tiles/n1w2.py b/weatbag/tiles/n1w2.py index db976fe..e517ca3 100644 --- a/weatbag/tiles/n1w2.py +++ b/weatbag/tiles/n1w2.py @@ -3,7 +3,7 @@ class Tile: def describe(self): print("The beach is really quiet and you can hear and see the seagulls " - "on the sea.") + "on the sea.\n") def action(self, player, do): print("What is this gibberish?") @@ -14,7 +14,7 @@ class Tile: "electric eels.\n") return False elif direction == "s": - print("I'm afraid I can't let you go there Dave.\n") + print("I'm afraid I can't let you go there Dave.") return False elif direction == "w": print("The sandy beach is transforming into big rocks but it looks " diff --git a/weatbag/tiles/n1w3.py b/weatbag/tiles/n1w3.py index 52d1cb9..5d63235 100644 --- a/weatbag/tiles/n1w3.py +++ b/weatbag/tiles/n1w3.py @@ -5,12 +5,12 @@ class Tile: print("Woooah! Those rocks are full of lichens!\n") def action(self, player, do): - print("Sorry, I don't speak gibberish.\n") + print("Sorry, I don't speak gibberish.") def leave(self, player, direction): if direction == "s": print("Are you planing to throw your self to the rocks? You can't " - "go there!\n") + "go there!") return False elif direction == "n": print("The rocks are way to high for you. " diff --git a/weatbag/tiles/n1w4.py b/weatbag/tiles/n1w4.py index c427e9f..6dfdde7 100644 --- a/weatbag/tiles/n1w4.py +++ b/weatbag/tiles/n1w4.py @@ -46,7 +46,7 @@ class Tile: "If you ever come across a wall of kittens and you want " "them to let you pass you will use this lucky charm!\n\n" "And as the cat says these words, " - "*poof* she disappears!\n") + "*poof* she disappears!") #https://en.wikipedia.org/wiki/Maneki-neko self.contents['neko'] -= 1 player.give('neko') @@ -59,12 +59,12 @@ class Tile: def leave(self, player, direction): if direction == "s": print("Oh dear Basdet! You can't go south, you will fall of the " - "cliff!\n") + "cliff!") return False elif direction == "n": print("It looks like the side of a wooden hut.\n" "Since you don't walk though walls (yet) " - "you can't go there.\n") + "you can't go there.") return False elif direction == "e": print("You follow the path downhill.") diff --git a/weatbag/tiles/n1w5.py b/weatbag/tiles/n1w5.py index a6738b9..4b2c1d4 100644 --- a/weatbag/tiles/n1w5.py +++ b/weatbag/tiles/n1w5.py @@ -22,7 +22,7 @@ class Tile: if (do[0] in words.take) and ('mice' in do): self.take_mice(player) else: - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def take_mice(self, player): if transfer('mice', self.contents, player.inventory, n=2): @@ -34,12 +34,12 @@ class Tile: def leave(self, player, direction): if direction == "s": print("My dear traveler, you can't go south, you will fall off the " - "cliff!\n") + "cliff!") return False elif direction == "n": print("It looks like the side of a wooden hut.\n" "Since you don't walk though walls (yet) " - "you can't go there.\n") + "you can't go there.") return False elif direction == "e": print("You follow the path downhill.") diff --git a/weatbag/tiles/n1w6.py b/weatbag/tiles/n1w6.py index 67f2d47..78528ff 100644 --- a/weatbag/tiles/n1w6.py +++ b/weatbag/tiles/n1w6.py @@ -9,12 +9,12 @@ class Tile: "So which way?\n") def action(self, player, do): - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def leave(self, player, direction): if direction in ('s', 'w'): print("My dear traveler, you can't go there, you will fall of the " - "cliff!\n") + "cliff!") return False elif direction in('e', 'n'): print("You follow the path downhill.") diff --git a/weatbag/tiles/n2w1.py b/weatbag/tiles/n2w1.py index 00198a8..9be8cdc 100644 --- a/weatbag/tiles/n2w1.py +++ b/weatbag/tiles/n2w1.py @@ -36,11 +36,11 @@ class Tile: print("Your answer has pleased me and my sister! " "\nLet's go!") print("The brother and sister will take you to the " - "island.\n") + "island.") self.challenge_completed = True else: print("We're afraid this is not the correct answer. " - "Try another one.\n") + "Try another one.") elif (do[0] in words.take) and (do[1] == "sister" or do[1] == "girl"): print("You bastard! Let my sister down!\n" @@ -48,14 +48,14 @@ class Tile: "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") + "to the island!") self.challenge_completed = True elif (do[0] in words.take) and (do[1] == "brother" or do[1] == "boy"): 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") + "to the island!") self.challenge_completed = True elif (do[0] in words.take) and not self.challenge_completed: print("I told you we won't give you our raft, " @@ -68,7 +68,7 @@ class Tile: def leave(self, player, direction): if direction == "w" and not self.challenge_completed: print ("You can't go there by swimming, that part is full of " - "electric eels.\n") + "electric eels.") return False else: return True diff --git a/weatbag/tiles/n2w2.py b/weatbag/tiles/n2w2.py index 390ef19..35897c3 100644 --- a/weatbag/tiles/n2w2.py +++ b/weatbag/tiles/n2w2.py @@ -26,7 +26,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.") return False else: return True diff --git a/weatbag/tiles/n2w3.py b/weatbag/tiles/n2w3.py index eba9089..4e6707b 100644 --- a/weatbag/tiles/n2w3.py +++ b/weatbag/tiles/n2w3.py @@ -21,7 +21,7 @@ class Tile: def leave(self, player, direction): if direction == "s": print("Careful now! Nasty rocks all over to the south.\n" - "(Meaning you just can't go to that direction. Sorry!)\n") + "(Meaning you just can't go to that direction. Sorry!)") return False else: return True diff --git a/weatbag/tiles/n2w4.py b/weatbag/tiles/n2w4.py index 59904c2..c14bffb 100644 --- a/weatbag/tiles/n2w4.py +++ b/weatbag/tiles/n2w4.py @@ -28,15 +28,15 @@ class Tile: print("You'll need a doorknob to open the door.\n") self.opendoor = False else: - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def leave(self, player, direction): if direction == 'w' and not self.opendoor: - print("First you need to enter the hut.\n") + print("First you need to enter the hut.") return False elif direction == 's': print("Meeeeh, nothing of importance is going on there, try " - "another direction.\n") + "another direction.") return False else: return True diff --git a/weatbag/tiles/n2w5.py b/weatbag/tiles/n2w5.py index 1c2d707..d6d3efa 100644 --- a/weatbag/tiles/n2w5.py +++ b/weatbag/tiles/n2w5.py @@ -17,7 +17,7 @@ class Tile: if (do[0] in words.take) and ('catfood' in do): self.take_catfood(player) else: - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def take_catfood(self, player): if transfer('catfood', self.contents, player.inventory, n=2): @@ -27,7 +27,7 @@ class Tile: def leave(self, player, direction): if direction == 'w'or direction == 's' or direction == 'n': - print("I don't think you can pass through walls.\n") + print("I don't think you can pass through walls.") return False else: return True diff --git a/weatbag/tiles/n2w6.py b/weatbag/tiles/n2w6.py index 2ce54a6..15a3cf6 100644 --- a/weatbag/tiles/n2w6.py +++ b/weatbag/tiles/n2w6.py @@ -6,17 +6,17 @@ class Tile: "western sea makes you calm! \n") def action(self, player, do): - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def leave(self, player, direction): if direction == "w": print("My dear traveler, you can't fall off the cliff! " - "I won't let you do it.\n") + "I won't let you do it.") return False elif direction == "e": print("It looks like the back of a wooden hut.\n" "Since you don't walk through walls (yet) " - "you can't go there.\n") + "you can't go there.") return False elif direction == "s": print("You follow the path uphill.") diff --git a/weatbag/tiles/n3w1.py b/weatbag/tiles/n3w1.py index 98877eb..922ec4a 100644 --- a/weatbag/tiles/n3w1.py +++ b/weatbag/tiles/n3w1.py @@ -8,7 +8,7 @@ class Tile: def leave(self, player, direction): if direction == 'w': print("I'm afraid you can't go west.\nThe sea on that part is " - "full of electric eels and you don't have a transport.\n") + "full of electric eels and you don't have a transport.") return False elif direction == 'e': print("There's a steep mountainside here which you can't climb.") @@ -36,6 +36,6 @@ class Tile: " '-...-' '-...-' \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") + "You can't be mad at kitties, rite?!") return False return True diff --git a/weatbag/tiles/n3w2.py b/weatbag/tiles/n3w2.py index 9ff35a5..d4300b5 100644 --- a/weatbag/tiles/n3w2.py +++ b/weatbag/tiles/n3w2.py @@ -35,16 +35,16 @@ class Tile: elif len(do) > 1: print("I have no use for that.\n") else: - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def leave(self, player, direction): if direction == 'e'and not self.give_catfood: print("You can't swim, remember the electric eels? You need a " - "transport to go across.\n") + "transport to go across.") return False if direction == 'n': - print("Nothing to do there.\n") + print("Nothing to do there.") return False else: return True diff --git a/weatbag/tiles/n3w3.py b/weatbag/tiles/n3w3.py index d2977c4..f0bcce5 100644 --- a/weatbag/tiles/n3w3.py +++ b/weatbag/tiles/n3w3.py @@ -18,7 +18,7 @@ class Tile: self.take_doorknob(player) else: - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def take_doorknob(self, player): if transfer('doorknob', self.contents, player.inventory): @@ -28,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.") return False else: return True diff --git a/weatbag/tiles/n3w4.py b/weatbag/tiles/n3w4.py index c643ac7..cc286bd 100644 --- a/weatbag/tiles/n3w4.py +++ b/weatbag/tiles/n3w4.py @@ -7,11 +7,11 @@ class Tile: "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") + print("Sorry, I don't understand.") def leave(self, player, direction): if direction == "n": - print("No trespasing. Violators will vanish without a trace.\n") + print("No trespasing. Violators will vanish without a trace.") return False else: return True diff --git a/weatbag/tiles/n3w5.py b/weatbag/tiles/n3w5.py index e1587bb..b7dd456 100644 --- a/weatbag/tiles/n3w5.py +++ b/weatbag/tiles/n3w5.py @@ -37,7 +37,7 @@ class Tile: self.take_knife(player, do) self.challenge_completed = True else: - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def take_knife(self, player, do): if transfer('knife', self.contents, player.inventory): @@ -48,7 +48,7 @@ class Tile: def leave(self, player, direction): if direction == "s": print("You can't go there, it's a wall. It looks like the side of " - "a wooden hut.\n") + "a wooden hut.") return False else: return True diff --git a/weatbag/tiles/n3w6.py b/weatbag/tiles/n3w6.py index c5a03be..7877139 100644 --- a/weatbag/tiles/n3w6.py +++ b/weatbag/tiles/n3w6.py @@ -5,11 +5,11 @@ class Tile: print("Rocks. Big rocks. Slippery rocks all over!\n") def action(self, player, do): - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def leave(self, player, direction): if direction == "w": - print("No-no! You'll break your head on the rocks down there!\n") + print("No-no! You'll break your head on the rocks down there!") return False elif direction == "s": print("You follow the path uphill. Just be careful of the slippery " diff --git a/weatbag/tiles/n4w5.py b/weatbag/tiles/n4w5.py index 95971e3..8308503 100644 --- a/weatbag/tiles/n4w5.py +++ b/weatbag/tiles/n4w5.py @@ -14,7 +14,7 @@ class Tile: return False elif direction == "n": print("There is an opening that leads you to the beach on the " - "northen side of the island.\n") + "northen side of the island.") return True else: return True diff --git a/weatbag/tiles/n4w6.py b/weatbag/tiles/n4w6.py index 755a78a..0f2c508 100644 --- a/weatbag/tiles/n4w6.py +++ b/weatbag/tiles/n4w6.py @@ -6,15 +6,15 @@ class Tile: "some pine trees around too. A really quiet sceenery!\n") def action(self, player, do): - print("Sorry, I don't understand.\n") + print("Sorry, I don't understand.") def leave(self, player, direction): if direction == "s": print("You follow the path uphill. There are some rocks. Just be " - "careful, they all have this gooey green stuff on them!\n") + "careful, they all have this gooey green stuff on them!") return True elif direction == "e": - print("You are going through the pine trees.\n") + print("You are going through the pine trees.") return True else: return True diff --git a/weatbag/tiles/n4w7.py b/weatbag/tiles/n4w7.py index 6850196..bc582bb 100644 --- a/weatbag/tiles/n4w7.py +++ b/weatbag/tiles/n4w7.py @@ -43,7 +43,7 @@ class Tile: def leave(self, player, direction): if direction in ("s", "w"): print("It's the open sea. You can't go anywhere near by " - "swimming.\n") + "swimming.") return False elif direction == "n": print("You are heading to the lighthouse.") diff --git a/weatbag/tiles/n5w5.py b/weatbag/tiles/n5w5.py index c5e214b..75aff81 100644 --- a/weatbag/tiles/n5w5.py +++ b/weatbag/tiles/n5w5.py @@ -38,12 +38,12 @@ class Tile: print("Don't be greedy, you have all the cream you're gonna " "need.\n") else: - print("I don't understand.\n") + print("I don't understand.") def leave(self, player, direction): if direction in ("n", "e"): print("It's the open sea. You can't go anywhere near by " - "swimming.\n") + "swimming.") return False elif direction == "s": print("A bunch of pine trees...") diff --git a/weatbag/tiles/n5w6.py b/weatbag/tiles/n5w6.py index b739479..81438fe 100644 --- a/weatbag/tiles/n5w6.py +++ b/weatbag/tiles/n5w6.py @@ -10,7 +10,7 @@ class Tile: def leave(self, player, direction): if direction == "n": print("It's the open sea. You can't go anywhere near by " - "swimming.\n") + "swimming.") return False else: return True diff --git a/weatbag/tiles/n5w7.py b/weatbag/tiles/n5w7.py index face836..1986782 100644 --- a/weatbag/tiles/n5w7.py +++ b/weatbag/tiles/n5w7.py @@ -69,15 +69,15 @@ class Tile: if self.trapped and direction in ("w", "n"): print("You are my prisoner, I won't let you leave. But even if you " "could leave these are the inner walls of the lighthouse you " - "idiot! And then the sea.\n") + "idiot! And then the sea.") return False elif self.trapped and direction in ("e", "s"): print("What do you think you are doing? I won't let you leave. " - "You are my prisoner!\n") + "You are my prisoner!") return False elif direction in ("w", "n"): print("It's the lighthouse walls. What are you gonna do? " - "Hit your head on them?\n") + "Hit your head on them?") return False else: print("Finally you are out!") -- cgit v1.3