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 Language words.txt

Jump to navigation Jump to search

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

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

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 12: Line 12:
 
Words tend to be grouped into categories called symbols. These are defined in [[language_SYM.txt]].
 
Words tend to be grouped into categories called symbols. These are defined in [[language_SYM.txt]].
  
==Examples==
+
=== Example ===
 
 
===MOUNTAIN===
 
 
 
In this file, all words that the game uses for naming are listed, defined by part of speech, and then the exact form for the part of speech given (including plurals for nouns). Example:
 
 
 
 
[WORD:MOUNTAIN]
 
[NOUN:mountain:mountains]
 
[FRONT_COMPOUND_NOUN_SING]
 
[REAR_COMPOUND_NOUN_SING]
 
[THE_COMPOUND_NOUN_SING]
 
[THE_NOUN_SING]
 
[REAR_COMPOUND_NOUN_PLUR]
 
[OF_NOUN_PLUR]
 
[ADJ:mountainous]
 
[ADJ_DIST:2]
 
 
 
In this case, the word can be used in noun or adjective form. The noun form can be used
 
*at the beginning of a compound noun ("Mountain-Axe")
 
*at the end of a compound noun ("Axe-Mountain")
 
*as part of a compound noun directly following ''The'' ("The Mountain-Axe")
 
*on its own after ''The'' ("The Mountain")
 
*at the end of a compound noun, in plural form ("Axe-Mountains")
 
*after ''Of'', in plural form ("Of Mountains")
 
 
 
<br>[ADJ_DIST] specifies the order that multiple adjectives in the same name appear in. Lower ADJ_DISTs will cause the word to be displayed earlier in a name; it is unknown what happens when two adjectives with equal ADJ_DISTs clash.
 
<br>
 
 
 
 
 
=== CAVERN ===
 
  
 
The section for the word CAVERN is below. The first line <code>[WORD:CAVERN]</code> is the key for the word and the value of that key follows. The key could remain as is, and the value definition <nowiki>[NOUN:cavern:caverns]</nowiki> modified to read ''<nowiki>[NOUN:grotto:grottoes]</nowiki>.'' This would replace in game English instances of "cavern" with the word "grotto" instead. The fantasy languages translations would remain as is.
 
The section for the word CAVERN is below. The first line <code>[WORD:CAVERN]</code> is the key for the word and the value of that key follows. The key could remain as is, and the value definition <nowiki>[NOUN:cavern:caverns]</nowiki> modified to read ''<nowiki>[NOUN:grotto:grottoes]</nowiki>.'' This would replace in game English instances of "cavern" with the word "grotto" instead. The fantasy languages translations would remain as is.

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)