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
Line 3: Line 3:
 
Examples of tokens include...
 
Examples of tokens include...
  
:* [[Ammo token]]
+
:* [[Ammo token]]s, used for ammo.
:* [[Armor token]]
+
:* [[Armor token]]s define armor.
:* [[Biome token]]
+
:* [[Biome token]]s are used in creature, entity and plant definitions for placement.
:* [[Building token]]
+
:* [[Building token]]s define buildings, their tiles, hotkeys, and how they block movement.
:* [[Body token]] determines bodily structure, both ''body templates'' (BODY) and ''body parts''
+
:* [[Body token]]s determine bodily structure, both ''body templates'' (BODY) and ''body parts''
:* [[Creature token]]
+
:* [[Creature token]]s determine the properties of creatures.
 
:* [[Entity token]] defines entities, or [[civilizations]], in entity_*.txt files.
 
:* [[Entity token]] defines entities, or [[civilizations]], in entity_*.txt files.
:* [[Item token]]
+
:* [[Item token]]s are used in reactions, creatures and entities to refer to specific items.
 
:* [[Item definition token]] is used in item definitions in the raws.
 
:* [[Item definition token]] is used in item definitions in the raws.
:* [[Material token]]
+
:* [[Material token]]s are the same as item tokens, but for materials.
:* [[Matgloss token]]
+
:* [[Material definition token]]s are used to define materials, like item definitions.
:* [[Plant token]]
+
:* [[Plant token]]s define what plants are made of, where they grow, what can be made out of them, etc.
:* [[Profession token]]
+
:* [[Profession token]]s are referred to by tilesets and entities for purposes of nobility and the like.
:* [[Skill token]]
+
:* [[Skill token]]s are referred to by creatures for natural skills and such.
:* [[SPEC HEAT]]
+
:* [[Weapon token]]s define weapons. They're fairly simple, so it's a good place to start with DF modding.
:* [[Weapon token]]
+
:* [[World token]]s are used in custom world generation.
:* [[World token]]
 
  
  

Revision as of 03:41, 28 September 2012

In Dwarf Fortress, a token is a game code tag that adds information, restrictions or behaviour to a creature, object, material, terrain feature or other part of the game. Tokens are visible in the RAW .txt files, and can often be modified to create some interesting results - some useful, some not so much.

Examples of tokens include...


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




See Also: