diff options
| author | Kleopatra Angelidi <akleop@gmail.com> | 2013-04-30 18:05:18 +0300 |
|---|---|---|
| committer | Kleopatra Angelidi <akleop@gmail.com> | 2013-04-30 18:05:18 +0300 |
| commit | acec64fe4677305566cd2d0fa780056b07f7e6e6 (patch) | |
| tree | 933f0b0886654e6c09802a428a5b2600c45d121f /weatbag/tiles | |
| parent | 72ebf6c95e6281231754a4640e35de9def2d521c (diff) | |
edited describe/added a simple silly action
Diffstat (limited to 'weatbag/tiles')
| -rw-r--r-- | weatbag/tiles/n2w2.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/weatbag/tiles/n2w2.py b/weatbag/tiles/n2w2.py index 6cfc252..35643c9 100644 --- a/weatbag/tiles/n2w2.py +++ b/weatbag/tiles/n2w2.py @@ -4,14 +4,19 @@ class Tile: def describe(self): if self.first_visit: - print("You are now on the island. In front of you there are " - "some trees and a small path.\nFeeling adventurous?\n") + print("You are now on the island. The children are returning back " + "to the mainland with their raft.\n" + "In front of you there are some trees and a small path.\n" + "Feeling adventurous?\n") self.first_visit = False else: print("The beach is quiet. Nothing seems to be going on.") def action(self, player, do): - print("Sorry, wat?!") + if do[0] in ('Yes', 'yes', 'y', 'Y'): + print("Awesome! Follow the path!") + else: + print("Sorry, wat?!") def leave(self, player, direction): if direction == "e": |
