diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-08 19:43:05 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-08 19:43:05 +0300 |
| commit | 68dfb3efd7fbb6bca5e1f437c9e5ce85b1826474 (patch) | |
| tree | 0c9024d8bcb57dfb2101b1040f68a5b6fcb98096 /weatbag/tiles | |
| parent | 1a4cec0e9cfab3a896a73a6291363d0f23121a98 (diff) | |
added new tile n3w6
Diffstat (limited to 'weatbag/tiles')
| -rw-r--r-- | weatbag/tiles/n3w6.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/weatbag/tiles/n3w6.py b/weatbag/tiles/n3w6.py new file mode 100644 index 0000000..8ed4da3 --- /dev/null +++ b/weatbag/tiles/n3w6.py @@ -0,0 +1,18 @@ +class Tile: + + def describe(self): + print("\n") + + def action(self, player, do): + print("Sorry, I don't understand.\n") + + def leave(self, player, direction): + if direction == "w": + print("No-no! You'll break your head to the rocks down there!\n") + return False + elif direction == "s": + print("You follow the path uphill. Just be careful of the slipery " + "rocks.") + return True + else: + return True |
