diff options
Diffstat (limited to 'weatbag')
| -rw-r--r-- | weatbag/tiles/n3w2.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/weatbag/tiles/n3w2.py b/weatbag/tiles/n3w2.py index 5c0add3..989cb6c 100644 --- a/weatbag/tiles/n3w2.py +++ b/weatbag/tiles/n3w2.py @@ -39,11 +39,15 @@ class Tile: def leave(self, player, direction): - if direction=='e'and not self.give_catfood: + if direction == 'e'and not self.give_catfood: print("\nYou can't swim, remember the electric eels? You need a " "transport to go across.") return False - return True + if direction == 'n': + print("Nothing to do there.\n") + return False + else: + return True #two catfoods! test_items = ['catfood','catfood'] |
