diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-24 01:05:33 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-24 01:05:33 +0300 |
| commit | a31152c09fae64bee5a21913145b0a3f2511e94b (patch) | |
| tree | e991b128e87bb0f4f664541ff32e385c17bb7089 /weatbag/tiles/n3w5.py | |
| parent | c85a278562e093038b7b990371e9376b7a213ca7 (diff) | |
wrote more efficient the words that do[] checks (n3w5)
Diffstat (limited to 'weatbag/tiles/n3w5.py')
| -rw-r--r-- | weatbag/tiles/n3w5.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weatbag/tiles/n3w5.py b/weatbag/tiles/n3w5.py index 26aec4d..e117bcf 100644 --- a/weatbag/tiles/n3w5.py +++ b/weatbag/tiles/n3w5.py @@ -31,7 +31,7 @@ class Tile: # What the riddle says is "No one understands" def action(self, player, do): - if do[0] == "no" and do[1] == "one" and do[2] == "understands": + if do == ["no", "one", "understands"]: print("And that is absolutely right!\n" "The lid opens and you see a brand new army knife!\n") self.challenge_completed = True |
