From 0f3ea1e46f35c04a6b9f38fa238eb3329268770d Mon Sep 17 00:00:00 2001 From: George Angelopoulos Date: Sun, 21 Apr 2013 00:41:18 +0300 Subject: Added extra commands for interacting with bug. --- weatbag/tiles/s2e1.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/weatbag/tiles/s2e1.py b/weatbag/tiles/s2e1.py index 868d9fc..8924842 100644 --- a/weatbag/tiles/s2e1.py +++ b/weatbag/tiles/s2e1.py @@ -9,7 +9,10 @@ class Tile: "You see the bug.") def action(self, player, do): - if (do[0] in words.look) and ('bug' in do): + if ('bug' in do) and ( do[0] in words.attack or + do[0] in words.look or + do[0] == 'crush' or + do[0] == 'fix' ): print("Traceback (most recent call last):\n" " File \"computergame.py\", line 97397, in matrix.py\n" "IndexError: list index out of range") -- cgit v1.3