diff options
| author | Julian Irwin <julian.irwin@gmail.com> | 2013-01-10 13:50:20 -0600 |
|---|---|---|
| committer | Julian Irwin <julian.irwin@gmail.com> | 2013-01-10 13:50:20 -0600 |
| commit | e98bcfb9149fdfe5c842a2dc93ce79728f804d8e (patch) | |
| tree | d7cee7212f3a954044268e1bae658fdbc69535e9 /weatbag/tiles/e2.py | |
| parent | 1bec3009e4d30e7e7c6854103d2688aa2059ebf5 (diff) | |
| parent | ead0301daaa6f07d9fc740050019bf204543f0ea (diff) | |
Merge remote-tracking branch 'upstream/master' into southern-tiles-1
Diffstat (limited to 'weatbag/tiles/e2.py')
| -rw-r--r-- | weatbag/tiles/e2.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/weatbag/tiles/e2.py b/weatbag/tiles/e2.py index 2a8690b..ca66475 100644 --- a/weatbag/tiles/e2.py +++ b/weatbag/tiles/e2.py @@ -22,6 +22,14 @@ class Tile: def action(self, player, do): if do[0] == "guess" and self.contents['unlit torch']: try: + if do[1] == "correctly": + print("You sly dog, you!") + print("The dwarf hands you a torch! " + "He then suddenly vanishes, leaving behind a pile of dust.") + self.contents['unlit torch'] -= 1 + player.give('unlit torch') + return + guess = int(do[1]) self.guess_count += 1 if guess > self.lucky_number: |
