v50 Steam/Premium information for editors
  • v50 information can now be added to pages in the main namespace. v0.47 information can still be found in the DF2014 namespace. See here for more details on the new versioning policy.
  • Use this page to report any issues related to the migration.
This notice may be cached—the current version can be found here.

Difference between revisions of "v0.31:Language token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(a better page name would be Language token, since there are 3 different types)
Line 1: Line 1:
 
{{av}}
 
{{av}}
  
This is a list of the Word Tokens, Symbol Tokens, and Translation Tokens used in the "language_..." files in the raws
+
Language tokens are used within the language_*.txt raw files. Each token is permitted in a specific context.
  
 +
==WORD==
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#dddddd"
 
|- bgcolor="#dddddd"
Line 8: Line 9:
 
! width="20%" | Arguments
 
! width="20%" | Arguments
 
! width="60%" | Description
 
! width="60%" | Description
 +
 +
|-
 +
| NOUN 
 +
| noun 
 +
| Begins defining a noun usage of a word 
  
 
|-
 
|-
Line 13: Line 19:
 
| adjective   
 
| adjective   
 
| Begins defining an adjective usage of a word  
 
| Begins defining an adjective usage of a word  
 +
 +
|-
 +
| PREFIX 
 +
| prefix 
 +
| Begins defining a prefix usage of a word 
 +
 +
|-
 +
| VERB 
 +
| Verb tenses 
 +
| Defines a verb usage of a word 
  
 
|-
 
|-
 
| ADJ_DIST
 
| ADJ_DIST
 
| number
 
| number
| Determines what order the adjective being defined comes in when in a string of multiple adjectives
+
| Determines what order the adjective being defined comes in when in a string of multiple adjectives.
+
 
 
|-
 
|-
| FRONT_COMPOUND_ADJ 
+
| THE_NOUN_SING
 
|
 
|
 
|  
 
|  
 
+
 
|-
 
|-
| FRONT_COMPOUND_NOUN_PLUR    
+
| THE_NOUN_PLUR    
 
|
 
|
 
|  
 
|  
  
 
|-
 
|-
| FRONT_COMPOUND_NOUN_SING
+
| THE_COMPOUND_NOUN_SING
 
|
 
|
 
|  
 
|  
+
 
 
|-
 
|-
| FRONT_COMPOUND_PREFIX 
+
| THE_COMPOUND_NOUN_PLUR 
 
|
 
|
 
|  
 
|  
  
 
|-
 
|-
| NOUN  
+
| THE_COMPOUND_ADJ  
| noun 
 
| Begins defining a noun usage of a word 
 
 
 
|-
 
| OF_NOUN_PLUR 
 
|
 
 
|
 
|
 +
|
  
 
|-
 
|-
Line 55: Line 66:
  
 
|-
 
|-
| PREFIX  
+
| OF_NOUN_PLUR  
| prefix 
+
|
| Begins defining a prefix usage of a word 
+
|
  
 
|-
 
|-
| REAR_COMPOUND_ADJ 
+
| FRONT_COMPOUND_NOUN_SING
 
|
 
|
 
|  
 
|  
  
 
|-
 
|-
| REAR_COMPOUND_NOUN_PLUR    
+
| FRONT_COMPOUND_NOUN_PLUR    
 
|
 
|
 
|  
 
|  
Line 75: Line 86:
  
 
|-
 
|-
| S_WORD
+
| REAR_COMPOUND_NOUN_PLUR    
| WORD
 
| Selects a WORD as appearing as part of the current SYMBOL
 
 
 
|-
 
| STANDARD_VERB 
 
|    
 
| ??? 
 
 
 
|-
 
| SYMBOL 
 
| Symbol Name 
 
| Begins list of words in a language_SYM symbol 
 
 
|-
 
| THE_COMPOUND_ADJ 
 
 
|
 
|
 
|  
 
|  
  
 
|-
 
|-
| THE_COMPOUND_NOUN_PLUR 
+
| FRONT_COMPOUND_ADJ 
 
|
 
|
 
|  
 
|  
  
 
|-
 
|-
| THE_COMPOUND_NOUN_SING
+
| REAR_COMPOUND_ADJ 
 
|
 
|
 
|  
 
|  
 
   
 
   
 
|-
 
|-
| THE_COMPOUND_PREFIX  
+
| FRONT_COMPOUND_PREFIX  
 
|
 
|
 
|  
 
|  
  
 
|-
 
|-
| THE_NOUN_PLUR 
+
| THE_COMPOUND_PREFIX 
 
|
 
|
 
|  
 
|  
  
 
|-
 
|-
| THE_NOUN_SING
+
| STANDARD_VERB 
|
+
|  
|  
+
| ??? 
 +
 
 +
|}
 +
 
 +
==SYMBOL==
 +
{| {{prettytable}}
 +
|- bgcolor="#dddddd"
 +
! width="20%" | Token
 +
! width="20%" | Arguments
 +
! width="60%" | Description
 +
 
 +
|-
 +
| S_WORD
 +
| WORD
 +
| Selects a WORD as appearing as part of the current SYMBOL
 +
 
 +
|}
 +
 
 +
 
 +
==TRANSLATION==
 +
 
 +
==SYMBOL==
 +
{| {{prettytable}}
 +
|- bgcolor="#dddddd"
 +
! width="20%" | Token
 +
! width="20%" | Arguments
 +
! width="60%" | Description
  
 
|-
 
|-
Line 124: Line 146:
 
|  
 
|  
  
|-
 
| VERB 
 
| Verb tenses 
 
| Defines a verb usage of a word 
 
 
|-
 
| WORD
 
|
 
| Begins defining a word 
 
 
|}
 
|}
  

Revision as of 21:18, 31 March 2011

This article is about an older version of DF.

Language tokens are used within the language_*.txt raw files. Each token is permitted in a specific context.

WORD

Token Arguments Description
NOUN noun Begins defining a noun usage of a word
ADJ adjective Begins defining an adjective usage of a word
PREFIX prefix Begins defining a prefix usage of a word
VERB Verb tenses Defines a verb usage of a word
ADJ_DIST number Determines what order the adjective being defined comes in when in a string of multiple adjectives.
THE_NOUN_SING
THE_NOUN_PLUR
THE_COMPOUND_NOUN_SING
THE_COMPOUND_NOUN_PLUR
THE_COMPOUND_ADJ
OF_NOUN_SING
OF_NOUN_PLUR
FRONT_COMPOUND_NOUN_SING
FRONT_COMPOUND_NOUN_PLUR
REAR_COMPOUND_NOUN_SING
REAR_COMPOUND_NOUN_PLUR
FRONT_COMPOUND_ADJ
REAR_COMPOUND_ADJ
FRONT_COMPOUND_PREFIX
THE_COMPOUND_PREFIX
STANDARD_VERB ???

SYMBOL

Token Arguments Description
S_WORD WORD Selects a WORD as appearing as part of the current SYMBOL


TRANSLATION

SYMBOL

Token Arguments Description
T_WORD