From bdddf30638b3878c94c8ed877ba67ca828f0aa65 Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Tue, 7 May 2013 18:30:10 +0300 Subject: added new tile n1w2 --- weatbag/tiles/n1w2.py | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 weatbag/tiles/n1w2.py (limited to 'weatbag') diff --git a/weatbag/tiles/n1w2.py b/weatbag/tiles/n1w2.py new file mode 100644 index 0000000..2bfb1ee --- /dev/null +++ b/weatbag/tiles/n1w2.py @@ -0,0 +1,19 @@ +class Tile: + + def describe(self): + print("The beach is really quiet and you can hear and see the " + "seagulls on the sea.") + + def action(self, player, do): + print("What is this giberish?") + + 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.\n") + return False + else: + return True -- cgit v1.3