Difference between revisions of "AGIWiki/WORDS.TOK"

Jump to navigation Jump to search
(Created page with "{{AGIWiki}} The '''WORDS.TOK''' file is a game-specific file that contains a list of the words that an AGI game recognizes. Each w...")
 
m
Line 1: Line 1:
{{AGIWiki}}
{{AGIWiki}}


The '''WORDS.TOK''' file is a [[AGIWiki/Game-specific file|game-specific file]] that contains a list of the words that an [[AGIWiki/AGI|AGI]] game recognizes. Each word in the file is a part of a [[AGIWiki/Word group|word group]], and each word in a word group is considered a synonym for every other word in that same group.
The '''WORDS.TOK''' file is a [[AGIWiki/Game-specific files|game-specific file]] that contains a list of the words that an [[AGIWiki/AGI|AGI]] game recognizes. Each word in the file is a part of a [[AGIWiki/Word group|word group]], and each word in a word group is considered a synonym for every other word in that same group.


For example, if the words "look" and "examine" are both part of word group 20, then the AGI game will consider both of those words to mean the same thing. This organization allows an extensive list of words to be recognized by the game without the [[AGIWiki/Logic|logic]] programmer having to worry about cluttering the code with each possible synonym.
For example, if the words "look" and "examine" are both part of word group 20, then the AGI game will consider both of those words to mean the same thing. This organization allows an extensive list of words to be recognized by the game without the [[AGIWiki/Logic|logic]] programmer having to worry about cluttering the code with each possible synonym.