From 8ac7a65685ffe58529087bbe5a0063d1e0168f5c Mon Sep 17 00:00:00 2001 From: Thomas Kluyver Date: Sun, 13 Jan 2013 15:23:46 +0000 Subject: New framework to allow combining items. --- weatbag/words.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'weatbag/words.py') diff --git a/weatbag/words.py b/weatbag/words.py index 25f762e..94d2134 100644 --- a/weatbag/words.py +++ b/weatbag/words.py @@ -6,7 +6,7 @@ e.g. This will recognise take, pick, get or collect:: if do[0] in weatbag.words.take: #... """ - +# Verbs move = {'move','walk','go'} give = {'give', 'feed', 'present'} use = {'eat', 'use', 'wear'} @@ -15,7 +15,10 @@ drop = {'drop'} take = {'pick', 'take', 'get', 'collect'} look = {'look', 'inspect', 'examine'} attack = {'attack', 'swing', 'hit', 'punch', 'fight'} +combine = {'combine', 'join', 'mix'} + +# Nouns inventory = {'inventory', 'possessions', 'belongings', 'bag'} surroundings = {'surroundings', 'around', 'scenery'} -prepositions = {'up', 'down', 'on', 'under', 'in', 'at', 'to'} +prepositions = {'up', 'down', 'on', 'under', 'in', 'at', 'to', 'with', 'and'} -- cgit v1.3