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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m
Line 14: Line 14:
 
:* [[Item definition token]]s are used for actual definitions of items.
 
:* [[Item definition token]]s are used for actual definitions of items.
 
:* [[Interaction token]]s define interactions.
 
:* [[Interaction token]]s define interactions.
:* [[Labor token]] define labors.
+
:* [[Labor token]]s define labors.
 
:* [[Language token]]s define a language's vocabulary. Since fictional languages in Dwarf Fortress are only used in names, language tokens do not define grammar.
 
:* [[Language token]]s define a language's vocabulary. Since fictional languages in Dwarf Fortress are only used in names, language tokens do not define grammar.
 
:* [[Material token]]s are used to refer to materials, similar to item tokens.
 
:* [[Material token]]s are used to refer to materials, similar to item tokens.
Line 21: Line 21:
 
:* [[Position token]]s define positions in entities.
 
:* [[Position token]]s define positions in entities.
 
:* [[Skill token]]s reference skills.
 
:* [[Skill token]]s reference skills.
:* [[Syndrome tokens]] define syndromes.
+
:* [[Syndrome token]]s define syndromes.
 
:* [[Tissue definition token]]s define tissues.
 
:* [[Tissue definition token]]s define tissues.
:* [[Tool token]] define tools, similar to weapons tokens.
+
:* [[Tool token]]s define tools, similar to weapons tokens.
 
:* [[Trap component token]]s define traps.
 
:* [[Trap component token]]s define traps.
 
:* [[Unit type token]]s are referred to by tilesets, and entities for purposes of nobility and the like.
 
:* [[Unit type token]]s are referred to by tilesets, and entities for purposes of nobility and the like.

Revision as of 19:17, 2 September 2017

In Dwarf Fortress, a token is a piece of text that defines the properties of an object. An "object" could be a material, a type of tissue, an organ, a piece of armor, a creature, a biome, a civilisation, or anything else in the game. A "property" could be how large something is, what it is made from, its melting temperature, its name, its biome preference (for civilisations) or anything that makes it unique. All information associated with the properties of an object in the game is defined using tokens. Tokens are found in the raws, and can be easily modified, allowing users to create (and distribute) new content.

Also note reactions, which are a little more complicated than simple tokens.

This forum is the official DF subforum dedicated to discussions about modding.




See Also: