diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-07 18:30:10 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-07 18:30:10 +0300 |
| commit | bdddf30638b3878c94c8ed877ba67ca828f0aa65 (patch) | |
| tree | 8f94237fc32823eb6064d2f9e8f9bd99d56e690d | |
| parent | 8cdd5546c6993898e6d319853ab6c7e639ab7bf0 (diff) | |
added new tile n1w2
| -rw-r--r-- | weatbag/tiles/n1w2.py | 19 |
1 files changed, 19 insertions, 0 deletions
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 |
