diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-14 00:46:27 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-14 00:46:27 +0300 |
| commit | 25e1d254dd680fe611a9260343730decafdf1f36 (patch) | |
| tree | daa259831be64a6ecdf8f2e21a10523bb2184206 /weatbag/tiles | |
| parent | 1e6a35c86949df1ff4794e27a6cdf9fee9567fc7 (diff) | |
boolean on action / added cat advice
Diffstat (limited to 'weatbag/tiles')
| -rw-r--r-- | weatbag/tiles/n4w7.py | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/weatbag/tiles/n4w7.py b/weatbag/tiles/n4w7.py index a893879..770f40e 100644 --- a/weatbag/tiles/n4w7.py +++ b/weatbag/tiles/n4w7.py @@ -11,26 +11,29 @@ class Tile: "a lighthouse on the north.\n") if not self.challenge_completed: self.kitties() - self.challenge_completed = True + def kitties(self): print("You aproach the kitties and to your surprise they all start " - "rubbing at your legs and mewing! What is even more " - "surprising is that your brain understands and translates " - "meaws into words!\n" + "rubbing at your legs and mewing! What is even more surprising " + "is that your brain understands and translates meaws into " + "words!\n" "You can clearly hear them say:\n" - "'PLZ SIR, IT VRY HAWT HEER, CAN U TREAT US SUM MICE " - "CREAM?! ALL U NED IZ 2 USE SUM MICE AN SUM CREAM AN " - "READY IT IZ! PLEEEEASE!' *mieaw* *rub* *rub*\n") + "'PLZ SIR, IT VRY HAWT HEER, CAN U TREAT US SUM MICE CREAM?! " + "ALL U NED IZ 2 USE SUM MICE AN SUM CREAM AN READY IT IZ! " + "PLEEEEASE!' *mieaw* *rub* *rub*\n") def action(self, player, do): if do[0] in words.use and do[1] == "mice" and do[2]=="cream": if player.has("cream") and player.has("mice"): player.take("cream") player.take("mice") - player.give("mice cream") print("Balls of tasty omnom mice cream fall from your " - "hands! The kittens look sooooo pleased!") + "hands!\nThe kittens look very pleased!\n" + "Because they are happy they give you an advice: " + "'U SHUD AVOID BY ANY MEANZ TEH LIGHTHAUS! " + "BAD KAT LIVEZ THAR!'\n") + self.challenge_completed = True else: print("You'll need some mice and cream.") |
