diff options
| author | Ben Friedland <ben174@gmail.com> | 2013-01-07 05:54:05 -0800 |
|---|---|---|
| committer | Ben Friedland <ben174@gmail.com> | 2013-01-07 05:54:05 -0800 |
| commit | a537a2b9c2ac6f9816368c4284d9b8073e94a8ea (patch) | |
| tree | e1b09f193aea53cec4eefb146b63ec48b356b490 /weatbag/tiles | |
| parent | d531a0e0a763b2066bc94446df3dc5425538a1fc (diff) | |
Support for attack words.
Diffstat (limited to 'weatbag/tiles')
| -rw-r--r-- | weatbag/tiles/n3.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/weatbag/tiles/n3.py b/weatbag/tiles/n3.py index 93933d8..a290372 100644 --- a/weatbag/tiles/n3.py +++ b/weatbag/tiles/n3.py @@ -9,7 +9,7 @@ class Tile: def describe(self): if not self.enemy_dead: print("You encounter an orc! He's got a mean look, but you're a " - "strong lad. You should be able to take him. Swing or flee?") + "strong one. You should be able to take him. Attack or flee?") else: print("You see an orc corpse here.") @@ -58,7 +58,7 @@ class Tile: self.leave(player, 's') return - if do[0] == "swing": + if do[0] in words.attack: self.player_swing(player) self.enemy_swing(player) |
