diff options
Diffstat (limited to 'weatbag')
| -rw-r--r-- | weatbag/tiles/n3w3.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/weatbag/tiles/n3w3.py b/weatbag/tiles/n3w3.py index 42bec81..8ccf76f 100644 --- a/weatbag/tiles/n3w3.py +++ b/weatbag/tiles/n3w3.py @@ -24,3 +24,10 @@ class Tile: print("\nYou pick up the doorknob.") else: print("\nThere is nothing here.") + + def leave(self, player, direction): + if direction == "n": + print("Oops. You can't go there. There is a rocky wall.\n") + return False + else: + return True |
