diff options
Diffstat (limited to 'weatbag/tiles/n5w6.py')
| -rw-r--r-- | weatbag/tiles/n5w6.py | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/weatbag/tiles/n5w6.py b/weatbag/tiles/n5w6.py new file mode 100644 index 0000000..81438fe --- /dev/null +++ b/weatbag/tiles/n5w6.py @@ -0,0 +1,16 @@ +class Tile: + map_word = "Beach" + + def describe(self): + 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.") + return False + else: + return True |
