1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
"""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'}
|