summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-05-07 22:43:06 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-05-07 22:43:06 +0300
commit1a4cec0e9cfab3a896a73a6291363d0f23121a98 (patch)
tree0a1e36378de484bdd82791c942bcd363e9488242
parent1c7f0b4ac925b3bab80819bfac0bfd8c934450a7 (diff)
changed rats to mice (n1w5)
-rw-r--r--weatbag/tiles/n1w5.py25
1 files changed, 12 insertions, 13 deletions
diff --git a/weatbag/tiles/n1w5.py b/weatbag/tiles/n1w5.py
index 3b84a22..3ae5b43 100644
--- a/weatbag/tiles/n1w5.py
+++ b/weatbag/tiles/n1w5.py
@@ -3,31 +3,30 @@ from weatbag.utils import transfer
class Tile:
def __init__(self):
- self.contents = {'rats': 2}
+ self.contents = {'mice': 2}
def describe(self):
- if self.contents['rats']:
+ if self.contents['mice']:
print("As you walk the rocky path at the edge of the cliff you "
- "hear a squeaking sound and you notice two rat traps on the "
- "ground. Each are having one rat inside them trapped.\n"
- "You could take the nasty rodents but really... what the "
- "hell are you gonna do with them?\n"
- "Don't forget black death dear traveler!\n")
+ "hear a squeaking sound and you notice two mice traps on the "
+ "ground. Each are having one mouse inside them trapped.\n"
+ "You could take the silly rodents but really... what the "
+ "hell are you gonna do with them?\n")
else:
print("You walk the path at the edge of the cliff. Nothing "
"to do here.\n")
def action(self, player, do):
- if (do[0] in words.take) and ('rats' in do):
- self.take_rats(player)
+ if (do[0] in words.take) and ('mice' in do):
+ self.take_mice(player)
else:
print("Sorry, I don't understand.\n")
- def take_rats(self, player):
- if transfer('rats', self.contents, player.inventory, n=2):
- print("Ok then. You took the rats.\n")
+ def take_mice(self, player):
+ if transfer('mice', self.contents, player.inventory, n=2):
+ print("Ok then. You took the mice.\n")
else:
- print("No more rats for now. Got to leave the traps do their "
+ print("No more mice for now. Got to leave the traps do their "
"job.\n")
def leave(self, player, direction):