diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-07 19:17:38 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-07 19:17:38 +0300 |
| commit | c4b8a55485366711a97d23332b4b4e36f85d7198 (patch) | |
| tree | 4bb7d77adf3ef5a05c7911d09aff49e84ce8bf4a /weatbag | |
| parent | 45e81ccdd430bd5e40e72c5a6d9661cac2820b48 (diff) | |
added one more leave restriction
Diffstat (limited to 'weatbag')
| -rw-r--r-- | weatbag/tiles/n1w4.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/weatbag/tiles/n1w4.py b/weatbag/tiles/n1w4.py index 13b288e..1fc522d 100644 --- a/weatbag/tiles/n1w4.py +++ b/weatbag/tiles/n1w4.py @@ -11,7 +11,7 @@ class Tile: def challenge(self): print("\n") - pass + pass def action(self, player, do): if not self.challenge_completed: @@ -21,8 +21,12 @@ class Tile: def leave(self, player, direction): if direction == "s": - print ("Oh dear Basdet! You can't go north, you will fall of the " + print("Oh dear Basdet! You can't go north, you will fall of the " "cliff!\n") return False + elif direction == "n": + print("It looks like the side of a wooden hut.\n" + "Since you don't walk though walls (yet) you can't go there.") + return False else: return True |
