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.

Editing v0.31:Language token

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{quality|Exceptional|18:10, 28 April 2011 (UTC)}}{{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 9: Line 6:
 
! width="20%" | Arguments
 
! width="20%" | Arguments
 
! width="60%" | Description
 
! width="60%" | Description
 
|-
 
| NOUN 
 
|
 
* singular
 
* plural
 
| Begins defining a noun usage of a word
 
  
 
|-
 
|-
 
| ADJ   
 
| ADJ   
|
+
| adjective
* adjective
 
 
| Begins defining an adjective usage of a word  
 
| Begins defining an adjective usage of a word  
  
 
|-
 
|-
| PREFIX  
+
| ADJ_DIST
 +
| number
 +
| Determines what order the adjective being defined comes in when in a string of multiple adjectives
 +
 +
|-
 +
| FRONT_COMPOUND_ADJ  
 
|
 
|
* prefix 
+
|  
| Begins defining a prefix usage of a word 
 
  
 
|-
 
|-
| VERB 
+
| FRONT_COMPOUND_NOUN_PLUR 
 
|
 
|
* base
+
|  
* present simple
 
* past tense
 
* past participle
 
* present participle
 
| Defines a verb usage of a word 
 
  
 
|-
 
|-
| ADJ_DIST
+
| FRONT_COMPOUND_NOUN_SING
| number
+
|
| Determines what order the adjective being defined comes in when in a string of multiple adjectives.
+
|  
 
+
 
|-
 
|-
| THE_NOUN_SING
+
| FRONT_COMPOUND_PREFIX 
 
|
 
|
| Lets the singular noun form of the word be used after "the". ("The X of Y", where X is the word with the tag)
+
|  
  
 
|-
 
|-
| THE_NOUN_PLUR 
+
| NOUN 
|
+
| noun 
| As above, but with plural. ("The Xs of Y")
+
| Begins defining a noun usage of a word 
  
 
|-
 
|-
| THE_COMPOUND_NOUN_SING
+
| OF_NOUN_PLUR 
 +
|
 
|
 
|
| Lets the singular noun form of the word be used as part of a compound noun after "the" ("The Z-X of Y")
 
  
 
|-
 
|-
| THE_COMPOUND_NOUN_PLUR 
+
| OF_NOUN_SING 
 
|
 
|
| As above, but with plural. ("The Z-Xs of Y")
+
|  
  
 
|-
 
|-
| THE_COMPOUND_ADJ  
+
| PREFIX  
|
+
| prefix 
| Lets the adjective form of the word be used as part of a compound noun after "the" ("The Z-X of Y")
+
| Begins defining a prefix usage of a word
  
 
|-
 
|-
| OF_NOUN_SING  
+
| REAR_COMPOUND_ADJ  
 
|
 
|
| Lets the singular noun form of the word be used after "of" ("The Y of X")
+
|  
  
 
|-
 
|-
| OF_NOUN_PLUR 
+
| REAR_COMPOUND_NOUN_PLUR 
 
|
 
|
| As above, but with plural. (The Y of Xs)
+
|  
  
 
|-
 
|-
| FRONT_COMPOUND_NOUN_SING
+
| REAR_COMPOUND_NOUN_SING 
 
|
 
|
| Lets the singular noun form of the word be used at the front of a compound noun (XY, as in surnames)
+
|
  
 
|-
 
|-
| FRONT_COMPOUND_NOUN_PLUR 
+
| S_WORD
|
+
| WORD
| As above, but with plural.
+
| Selects a WORD as appearing as part of the current SYMBOL
  
 
|-
 
|-
| REAR_COMPOUND_NOUN_SING  
+
| STANDARD_VERB  
|
+
|  
| Lets the singular noun form of the word be used at the rear of a compound noun (YX, as in surnames)
+
| ??? 
  
 
|-
 
|-
| REAR_COMPOUND_NOUN_PLUR 
+
| SYMBOL 
 +
| Symbol Name 
 +
| Begins list of words in a language_SYM symbol 
 +
 +
|-
 +
| THE_COMPOUND_ADJ 
 
|
 
|
| As above, but with plural.
+
|  
  
 
|-
 
|-
| FRONT_COMPOUND_ADJ 
+
| THE_COMPOUND_NOUN_PLUR 
 
|
 
|
| Lets the adjective form of the word be used at the front of a compound noun
+
|  
  
 
|-
 
|-
| REAR_COMPOUND_ADJ 
+
| THE_COMPOUND_NOUN_SING
 
|
 
|
| As above, but at the rear instead.
+
|  
 
   
 
   
 
|-
 
|-
| FRONT_COMPOUND_PREFIX  
+
| THE_COMPOUND_PREFIX  
 
|
 
|
| Allows the prefix form to be appended as a prefix to a compound noun.
+
|  
  
 
|-
 
|-
| THE_COMPOUND_PREFIX 
+
| THE_NOUN_PLUR 
 
|
 
|
| Allows the prefix form to be appended as a prefix to a compound noun following "the".
+
|  
  
 
|-
 
|-
| STANDARD_VERB 
+
| THE_NOUN_SING
 
| Unknown.
 
 
 
|}
 
 
 
==SYMBOL==
 
{| {{prettytable}}
 
|- bgcolor="#dddddd"
 
! width="20%" | Token
 
! width="20%" | Arguments
 
! width="60%" | Description
 
 
 
|-
 
| S_WORD
 
 
|
 
|
* WORD
+
|  
| Specifies the given WORD (defined in language_words.txt) as belonging to the symbol being defined. A given word can belong to multiple symbols.
 
 
 
|}
 
 
 
 
 
==TRANSLATION==
 
 
 
{| {{prettytable}}
 
|- bgcolor="#dddddd"
 
! width="20%" | Token
 
! width="20%" | Arguments
 
! width="60%" | Description
 
  
 
|-
 
|-
 
| T_WORD  
 
| T_WORD  
 
|  
 
|  
* WORD
+
|  
* translation
 
| Specifies a translation from a given WORD (defined in language_words.txt) into the language being defined.
 
  
 +
|-
 +
| VERB 
 +
| Verb tenses 
 +
| Defines a verb usage of a word 
 +
 +
|-
 +
| WORD
 +
|
 +
| Begins defining a word 
 
|}
 
|}
  
==See Also==
 
[[40d:Language]] (has expanded explanations of parts of the language system, which seems to still be the same in this version)
 
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)