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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (LethosorBot moved page DF2014:Language words.txt to Language words.txt: Migrating v50 page (2355/4618) (content))
 
(13 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{quality}}
+
{{Quality|Fine}}
{{file|DF/raw/objects/language_SYM.txt}}
+
{{file|DF/raw/objects/language_words.txt}}
{{av}}
 
  
== Symbols ==
+
== Description ==
The symbols in vanilla DF 44.12 are as follows:
+
 
# Line 5: [SYMBOL:FLOWERY]
+
'''[SYMBOL]''' defines a category of words, which works with the [SELECT_SYMBOL] and [CULL_SYMBOL] arguments in the corresponding [[Entity token|entity file]] to create a list of words which your civilization will prefer to use and those it will never use. For instance, dwarves by default have [SELECT_SYMBOL:ALL:ARTIFICE] and [CULL_SYMBOL:ALL:FLOWERY]. This means that dwarven surnames, placenames and group names will tend to use words in the [SYMBOL:ARTIFICE] list (such as ''cloister'', ''hammer'' and ''steel'') and will never use words from the [SYMBOL:FLOWERY] list (such as ''butterfly'', ''meadow'' and ''velvet''). Under each [SYMBOL] heading, all possible words are listed in the form [S_WORD:word].
# Line 129: [SYMBOL:NATURE]
+
 
# Line 396: [SYMBOL:PRIMITIVE]
+
'''language_SYM.txt''' lists the various language items (ie words) in English and their token attributes.
# Line 452: [SYMBOL:HOLY]
+
 
# Line 489: [SYMBOL:EVIL]
+
Note that this file doesn't include translations to the in-game languages. It adds a word and defines the parts of speech for it. The parts of speech tokens indicate how an individual word can function as more than one part of speech when used in different circumstances.
# Line 559: [SYMBOL:NEGATOR]
+
 
# Line 688: [SYMBOL:MAGIC]
+
Words tend to be grouped into categories called symbols. These are defined in [[language_SYM.txt]].
# Line 725: [SYMBOL:VIOLENT]
+
 
# Line 929: [SYMBOL:PEACE]
+
==Examples==
# Line 956: [SYMBOL:UGLY]
+
 
# Line 1067: [SYMBOL:DEATH]
+
===MOUNTAIN===
# Line 1125: [SYMBOL:OLD]
+
 
# Line 1159: [SYMBOL:SUBORDINATE]
+
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:
# Line 1247: [SYMBOL:LEADER]
+
 
# Line 1302: [SYMBOL:NEW]
+
# Line 1326: [SYMBOL:DOMESTIC]
+
[WORD:MOUNTAIN]
# Line 1554: [SYMBOL:MYTHIC]
+
[NOUN:mountain:mountains]
# Line 1601: [SYMBOL:ARTIFICE]
+
[FRONT_COMPOUND_NOUN_SING]
# Line 1801: [SYMBOL:COLOR]
+
[REAR_COMPOUND_NOUN_SING]
# Line 1880: [SYMBOL:MYSTERY]
+
[THE_COMPOUND_NOUN_SING]
# Line 1962: [SYMBOL:NEGATIVE]
+
[THE_NOUN_SING]
# Line 2253: [SYMBOL:ROMANTIC]
+
[REAR_COMPOUND_NOUN_PLUR]
# Line 2292: [SYMBOL:ASSERTIVE]
+
[OF_NOUN_PLUR]
# Line 2392: [SYMBOL:AQUATIC]
+
[ADJ:mountainous]
# Line 2432: [SYMBOL:PROTECT]
+
[ADJ_DIST:2]
# Line 2479: [SYMBOL:RESTRAIN]
+
 
# Line 2515: [SYMBOL:THOUGHT]
+
In this case, the word can be used in noun or adjective form. The noun form can be used
# Line 2560: [SYMBOL:WILD]
+
*at the beginning of a compound noun ("Mountain-Axe")
# Line 2618: [SYMBOL:NAME_SWAMP]
+
*at the end of a compound noun ("Axe-Mountain")
# Line 2629: [SYMBOL:NAME_DESERT]
+
*as part of a compound noun directly following ''The'' ("The Mountain-Axe")
# Line 2634: [SYMBOL:NAME_FOREST]
+
*on its own after ''The'' ("The Mountain")
# Line 2638: [SYMBOL:NAME_MOUNTAINS]
+
*at the end of a compound noun, in plural form ("Axe-Mountains")
# Line 2653: [SYMBOL:NAME_OCEAN]
+
*after ''Of'', in plural form ("Of Mountains")
# Line 2660: [SYMBOL:NAME_GLACIER]
+
 
# Line 2666: [SYMBOL:NAME_TUNDRA]
+
<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.
# Line 2672: [SYMBOL:NAME_GRASSLAND]
+
<br>
# Line 2678: [SYMBOL:NAME_HILLS]
+
 
# Line 2681: [SYMBOL:NAME_REGION]
+
 
# Line 2691: [SYMBOL:NAME_CAVE]
+
=== CAVERN ===
# Line 2719: [SYMBOL:EARTH]
+
 
# Line 2754: [SYMBOL:NAME_LAKE]
+
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.
# Line 2759: [SYMBOL:NAME_ENTITY_KINGDOM]
+
 
# Line 2768: [SYMBOL:NAME_ENTITY_TOWN_FOUNDER]
+
[WORD:CAVERN] is added to the DARKNESS symbol group via language_SYM.txt. You can see that here: [[Language_SYM.txt/Darkness/raw]]
# Line 2777: [SYMBOL:GOOD]
+
 
# Line 2818: [SYMBOL:NAME_CONTINENT]
+
<pre><nowiki>[WORD:CAVERN]
# Line 2822: [SYMBOL:NAME_ISLAND]
+
[NOUN:cavern:caverns]
# Line 2826: [SYMBOL:NAME_ISLAND_SMALL]
+
[FRONT_COMPOUND_NOUN_SING]
# Line 2830: [SYMBOL:NAME_PEAK]
+
[REAR_COMPOUND_NOUN_SING]
# Line 2862: [SYMBOL:NAME_VOLCANO]
+
[THE_NOUN_SING]
# Line 2875: [SYMBOL:NAME_COMMON_RELIGION]
+
[REAR_COMPOUND_NOUN_PLUR]
# Line 2887: [SYMBOL:BALANCE]
+
[OF_NOUN_PLUR]
# Line 2903: [SYMBOL:BOUNDARY]
+
[ADJ:cavernous]
# Line 2914: [SYMBOL:DANCE]
+
[ADJ_DIST:2]</nowiki></pre>
# Line 2923: [SYMBOL:DARKNESS]
+
 
# Line 2943: [SYMBOL:LIGHT]
+
== DF2014 ==
# Line 2970: [SYMBOL:ORDER]
+
See [[DF2014:Language_words.txt]] for outdated symbol listing.
# Line 2985: [SYMBOL:FESTIVAL]
+
 
# Line 3007: [SYMBOL:FAMILY]
+
== See Also ==
# Line 3025: [SYMBOL:FIRE]
+
* [[language_SYM.txt]]
# Line 3055: [SYMBOL:FOOD]
+
* raw on github: https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/language_words.txt
# Line 3122: [SYMBOL:FREEDOM]
+
 
# Line 3134: [SYMBOL:GAMES]
+
{{Language}}
# Line 3155: [SYMBOL:LUCK]
+
{{Files}}
# Line 3169: [SYMBOL:MUSIC]
 
# Line 3190: [SYMBOL:SKY]
 
# Line 3203: [SYMBOL:SILENCE]
 
# Line 3221: [SYMBOL:TRADE]
 
# Line 3230: [SYMBOL:TRAVEL]
 
# Line 3244: [SYMBOL:TRUTH]
 
# Line 3257: [SYMBOL:WEALTH]
 
# Line 3276: [SYMBOL:NAME_BUILDING_TEMPLE]
 
# Line 3288: [SYMBOL:NAME_BUILDING_KEEP]
 
# Line 3296: [SYMBOL:NAME_WAR]
 
# Line 3300: [SYMBOL:NAME_BATTLE]
 
# Line 3304: [SYMBOL:NAME_SIEGE]
 
# Line 3310: [SYMBOL:NAME_ROAD]
 
# Line 3315: [SYMBOL:NAME_TUNNEL]
 
# Line 3329: [SYMBOL:NAME_BRIDGE]
 
# Line 3332: [SYMBOL:NAME_WALL]
 
# Line 3342: [SYMBOL:NAME_BUILDING_TOMB]
 
# Line 3347: [SYMBOL:NAME_BUILDING_LIBRARY]
 
# Line 3358: [SYMBOL:NAME_FESTIVAL]
 
#
 

Latest revision as of 22:36, 23 May 2024

File

Folder-orange.svg Dwarf Fortress

Folder.svg raw

Folder.svg objects

Text-x-generic.svg language_words.txt

Description[edit]

[SYMBOL] defines a category of words, which works with the [SELECT_SYMBOL] and [CULL_SYMBOL] arguments in the corresponding entity file to create a list of words which your civilization will prefer to use and those it will never use. For instance, dwarves by default have [SELECT_SYMBOL:ALL:ARTIFICE] and [CULL_SYMBOL:ALL:FLOWERY]. This means that dwarven surnames, placenames and group names will tend to use words in the [SYMBOL:ARTIFICE] list (such as cloister, hammer and steel) and will never use words from the [SYMBOL:FLOWERY] list (such as butterfly, meadow and velvet). Under each [SYMBOL] heading, all possible words are listed in the form [S_WORD:word].

language_SYM.txt lists the various language items (ie words) in English and their token attributes.

Note that this file doesn't include translations to the in-game languages. It adds a word and defines the parts of speech for it. The parts of speech tokens indicate how an individual word can function as more than one part of speech when used in different circumstances.

Words tend to be grouped into categories called symbols. These are defined in language_SYM.txt.

Examples[edit]

MOUNTAIN[edit]

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")


[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.


CAVERN[edit]

The section for the word CAVERN is below. The first line [WORD:CAVERN] is the key for the word and the value of that key follows. The key could remain as is, and the value definition [NOUN:cavern:caverns] modified to read [NOUN:grotto:grottoes]. This would replace in game English instances of "cavern" with the word "grotto" instead. The fantasy languages translations would remain as is.

[WORD:CAVERN] is added to the DARKNESS symbol group via language_SYM.txt. You can see that here: Language_SYM.txt/Darkness/raw

[WORD:CAVERN]
	[NOUN:cavern:caverns]
		[FRONT_COMPOUND_NOUN_SING]
		[REAR_COMPOUND_NOUN_SING]
		[THE_NOUN_SING]
		[REAR_COMPOUND_NOUN_PLUR]
		[OF_NOUN_PLUR]
	[ADJ:cavernous]
		[ADJ_DIST:2]

DF2014[edit]

See DF2014:Language_words.txt for outdated symbol listing.

See Also[edit]

Races
Divine · Dwarven · Elvish · Goblin · Human · Kobold
Modding
Text Sets
Settings
Gameplay settings
Log files
Other