From 01b40d95d96cb708a14ced0aa472641ea5578750 Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Tue, 7 May 2013 18:49:00 +0300 Subject: added new tile n1w3 --- weatbag/tiles/n1w3.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 weatbag/tiles/n1w3.py (limited to 'weatbag') diff --git a/weatbag/tiles/n1w3.py b/weatbag/tiles/n1w3.py new file mode 100644 index 0000000..e94e24c --- /dev/null +++ b/weatbag/tiles/n1w3.py @@ -0,0 +1,17 @@ +class Tile: + + def describe(self): + print("The sandy beach is transforming into big rocks but it looks " + "like you are able to climb them.\n" + "Just be carefull because they are a bit slipery.") + + def action(self, player, do): + print("Sorry, I don't speak giberish.\n") + + def leave(self, player, direction): + if direction == "s": + print("Are you planing to throw your self to the rocks? You can't " + "go there!\n") + return False + else: + return True -- cgit v1.3