diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-14 02:57:31 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-14 02:57:31 +0300 |
| commit | 21599326b293063f9477e325623e50d8df8af494 (patch) | |
| tree | 91e03da09e1ffc8e91e295fc14643a3ac306705a | |
| parent | 55beedbc868e89d6c124098c43f081ff0988369f (diff) | |
added reply in the riddle in action (n3w5)
| -rw-r--r-- | weatbag/tiles/n3w5.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/weatbag/tiles/n3w5.py b/weatbag/tiles/n3w5.py index e7d2c7e..2f1b97a 100644 --- a/weatbag/tiles/n3w5.py +++ b/weatbag/tiles/n3w5.py @@ -3,6 +3,7 @@ from weatbag.utils import transfer class Tile: def __init__(self): + self.contents = {'knife': 1} self.challenge_completed = False def describe(self): @@ -16,7 +17,7 @@ class Tile: print("You just steped into something different. It is a metal box and " "it looks like something is written on it. You clear the dirt " "of it and what you see carved in the box lid is:\n\n" - "Stands\n" + "stands\n" "-------\n" "0_2345\n\n" "You try to open the box but it won't open.\n" @@ -26,5 +27,8 @@ class Tile: # What the riddle says is "No one understands" def action(self, player, do): - print("I don't understand.") + if do[0] == "no" and do[1] == "one" and do[2] == "understands": + print("And that is absolutely right!\n" + "The lid opens and you see a brand new army knife!") + |
