diff options
| -rw-r--r-- | weatbag/tiles/n2.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/weatbag/tiles/n2.py b/weatbag/tiles/n2.py index 99ed0af..0617c02 100644 --- a/weatbag/tiles/n2.py +++ b/weatbag/tiles/n2.py @@ -15,8 +15,12 @@ class Tile: def leave(self, player, direction): if direction=='n' and not player.has('flaming torch'): print("You can't explore the cave without being able to see. " - "You'll need that stalwart friend of the adventurer, " - "the flaming torch.") + "You'll need that stalwart friend of the adventurer, " + "the flaming torch.") + return False + elif direction == 'w': + print("The undergrowth in that direction is impassable. " + "You turn back.") return False else: return True |
