diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-15 03:04:25 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-15 03:04:25 +0300 |
| commit | 5de4d9cd6da9923e960172719b7b42c6b3c2ba77 (patch) | |
| tree | b02d019f291d4fdf0dd984029cdd955a17fc376b /weatbag/tiles | |
| parent | a2397732cfbdf41762aaa910f2e58a4cb2660c01 (diff) | |
describe and leave functions for n5w6
Diffstat (limited to 'weatbag/tiles')
| -rw-r--r-- | weatbag/tiles/n5w6.py | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/weatbag/tiles/n5w6.py b/weatbag/tiles/n5w6.py index f5334d8..f1121d6 100644 --- a/weatbag/tiles/n5w6.py +++ b/weatbag/tiles/n5w6.py @@ -1,6 +1,14 @@ class Tile: def describe(self): - print("\n") + print("You walk in the beach. There is a light house on the west.\n") def action(self, player, do): print("I don't understand.") + + def leave(self, player, direction): + if direction == "n": + print("It's the open sea. You can't go anywhere near by " + "swimming.\n") + return False + else: + return True |
