summaryrefslogtreecommitdiffstats
path: root/weatbag/words.py
diff options
context:
space:
mode:
authorGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-05-01 00:16:46 +0300
committerGeorge Angelopoulos <l4than.d3vers@gmail.com>2013-05-01 00:16:46 +0300
commit855da677c4aadd68e0adb16b7ef833a4f27a2153 (patch)
treef29f9a29bb64fc5c32714042ed47312477350b37 /weatbag/words.py
parente8676fe2073467b093af0abc8ccb19443ed4ecb7 (diff)
added yes/no words. Modified n2w2 to use words.
In acec64fe4677305566cd2d0fa780056b07f7e6e6 there is a yes/no question introduced in tile n2w2. This is the first time yes/no answers appear in the game. So I added 'yes' and 'no' as words in weatbag/words.py and modified weatbag/tiles/n2w2.py to use them, making the code a bit cleaner.
Diffstat (limited to 'weatbag/words.py')
-rw-r--r--weatbag/words.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/weatbag/words.py b/weatbag/words.py
index adaa012..3555046 100644
--- a/weatbag/words.py
+++ b/weatbag/words.py
@@ -23,3 +23,7 @@ inventory = {'inventory', 'possessions', 'belongings', 'bag'}
surroundings = {'surroundings', 'around', 'scenery'}
prepositions = {'up', 'down', 'on', 'under', 'in', 'at', 'to', 'with', 'and'}
+
+# yes/no
+yes = {'yes','Yes','y','Y','Yup','yup','ye','Ye'}
+no = {'no','No','n','N','Nope','nope','NOPE'}