From 9de3cef14637b687f34505d6281e3ed7bb3df9c4 Mon Sep 17 00:00:00 2001 From: Kleopatra Angelidi Date: Tue, 30 Apr 2013 18:33:07 +0300 Subject: added a 'No' option on action / tile n2w2 --- weatbag/tiles/n2w2.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'weatbag') diff --git a/weatbag/tiles/n2w2.py b/weatbag/tiles/n2w2.py index 35643c9..e83f9e2 100644 --- a/weatbag/tiles/n2w2.py +++ b/weatbag/tiles/n2w2.py @@ -13,8 +13,11 @@ class Tile: print("The beach is quiet. Nothing seems to be going on.") def action(self, player, do): - if do[0] in ('Yes', 'yes', 'y', 'Y'): + if do[0] in ('Yes', 'yes', 'y', 'Y', 'Yup', 'yup'): print("Awesome! Follow the path!") + elif do[0] in ('No', 'no', 'n', 'N', 'Nope', 'nope'): + print("You might be in the wrong place then. Pack your stuff and " + "quit the game.") else: print("Sorry, wat?!") -- cgit v1.3