From 68dfb3efd7fbb6bca5e1f437c9e5ce85b1826474 Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Wed, 8 May 2013 19:43:05 +0300 Subject: added new tile n3w6 --- weatbag/tiles/n3w6.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 weatbag/tiles/n3w6.py 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 -- cgit v1.3