diff options
Diffstat (limited to 'weatbag/tiles/n1w2.py')
| -rw-r--r-- | weatbag/tiles/n1w2.py | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/weatbag/tiles/n1w2.py b/weatbag/tiles/n1w2.py new file mode 100644 index 0000000..e517ca3 --- /dev/null +++ b/weatbag/tiles/n1w2.py @@ -0,0 +1,25 @@ +class Tile: + map_word = "Island beach" + + def describe(self): + print("The beach is really quiet and you can hear and see the seagulls " + "on the sea.\n") + + def action(self, player, do): + print("What is this gibberish?") + + def leave(self, player, direction): + if direction == "e": + print("You can't go back by swimming, that part is full of " + "electric eels.\n") + return False + elif direction == "s": + print("I'm afraid I can't let you go there Dave.") + return False + elif direction == "w": + print("The sandy beach is transforming into big rocks but it looks " + "like you are able to climb them.\n" + "Just be careful because they are a bit slipery.") + return True + else: + return True |
