summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-04-21 00:41:18 +0300
committerGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-04-21 00:41:18 +0300
commit0f3ea1e46f35c04a6b9f38fa238eb3329268770d (patch)
tree0b62ae1ffcb28ce4d42dcda70b3bc5632c4ca925
parent4005286d49e8d8f3f6f0f5469104102f6141fa0e (diff)
Added extra commands for interacting with bug.
-rw-r--r--weatbag/tiles/s2e1.py5
1 files changed, 4 insertions, 1 deletions
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")