diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-07 18:49:00 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-05-07 18:49:00 +0300 |
| commit | 01b40d95d96cb708a14ced0aa472641ea5578750 (patch) | |
| tree | 039ebea182e6df01c1ef829cecbdd1d96c7e4e1e /weatbag | |
| parent | 5dd1ef569437297fdecadc79567938a9b43cd252 (diff) | |
added new tile n1w3
Diffstat (limited to 'weatbag')
| -rw-r--r-- | weatbag/tiles/n1w3.py | 17 |
1 files changed, 17 insertions, 0 deletions
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 |
