diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-23 16:16:03 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-23 16:16:03 +0300 |
| commit | edc65428cd72107f8ce2661a0717d7cb5b305586 (patch) | |
| tree | 99cf3e8b1e81117fbf599e9c9d5743945f06e39f /weatbag/tiles | |
| parent | c98504601a89b572225bccdace46b8bcb0575a6f (diff) | |
added 'bribe the cat with catfood' option
Diffstat (limited to 'weatbag/tiles')
| -rw-r--r-- | weatbag/tiles/n5w7.py | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/weatbag/tiles/n5w7.py b/weatbag/tiles/n5w7.py index 1986782..2fea283 100644 --- a/weatbag/tiles/n5w7.py +++ b/weatbag/tiles/n5w7.py @@ -60,6 +60,13 @@ class Tile: elif do == ["you","will","not","shoot","me"]: print("You dirty little human, I can only let you go now!\n") self.trapped = False + elif player.has("catfood") and (do[0] in words.use or do[0] in words.give) and "catfood" in do: + print("Do you think that if you bribe me with catfood I'll let " + "you leave?\nCatfood will not save you this time.\n" + "The fat cat steals one catfood and eats it. You should " + "be more carefull next time.") + player.take("catfood") + self.trapped = False else: print("Keep saying bullshit and your end is close!") else: @@ -82,3 +89,5 @@ class Tile: else: print("Finally you are out!") return True + +test_items = ["catfood"] |
