"""A thesaurus of words the player might use, so you can easily accept synonyms of the word you want. 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'} fight = {'fight', 'kill', 'hit', 'attack'} drop = {'drop'} take = {'pick', 'take', 'get', 'collect'} look = {'look', 'inspect', 'examine'} attack = {'attack', 'swing', 'hit', 'punch', 'fight'} combine = {'combine', 'join', 'mix'} talk = {'talk', 'speak', 'converse'} # Nouns inventory = {'inventory', 'possessions', 'belongings', 'bag'} surroundings = {'surroundings', 'around', 'scenery'} # Prepositions prepositions = {'up', 'down', 'on', 'under', 'in', 'at', 'to', 'with', 'and'} # Yes/No yes = {'yes', 'y', 'yup', 'ye'} no = {'no', 'n', 'nope'} # Control instructions = {'instructions', 'help', '?', 'tutorial'} exit = {'exit', 'quit'}