From acec64fe4677305566cd2d0fa780056b07f7e6e6 Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Tue, 30 Apr 2013 18:05:18 +0300 Subject: edited describe/added a simple silly action --- weatbag/tiles/n2w2.py | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'weatbag/tiles') 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": -- cgit v1.3