summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKleopatra Angelidi <akleop@gmail.com>2013-04-30 18:33:07 +0300
committerKleopatra Angelidi <akleop@gmail.com>2013-04-30 18:33:07 +0300
commit9de3cef14637b687f34505d6281e3ed7bb3df9c4 (patch)
treeaf276ac8273287fd3398e06d95214d4ba069560e
parent4887fa9463fac79db716dac16724bf8008d306c4 (diff)
added a 'No' option on action / tile n2w2
-rw-r--r--weatbag/tiles/n2w2.py5
1 files changed, 4 insertions, 1 deletions
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?!")