|This article is about the current version of DF.|
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.
- Ammo tokens define ammunitions, such as arrows and bolts.
- Armor tokens define armor.
- Biome tokens define environments for creatures, plants and entities (entities being civilisations).
- Building tokens define buildings.
- Body tokens determine bodily structure and materials.
- Body detail plan tokens define some details of a body, similar to body tokens.
- Bodygloss tokens perform a single-word substitution of a creature's body parts.
- Creature tokens determine the properties of creatures.
- Creature variation tokens are used to create creatures which are derived from other already-existing creatures without duplicating every single token.
- Entity tokens define entities, or civilizations.
- Item tokens define the most basic form of items (made specific by material tokens). Item tokens are mainly used in reactions.
- Item definition tokens are used for actual definitions of items.
- Interaction tokens define interactions.
- Labor tokens define labors.
- Language tokens define a language's vocabulary. Since fictional languages in Dwarf Fortress are only used in names, language tokens do not define grammar.
- Material tokens are used to refer to materials, similar to item tokens.
- Material definition tokens are used to define materials, similar to item definition tokens.
- Plant tokens define plants.
- Position tokens define positions in entities.
- Skill tokens reference skills.
- Syndrome tokens define syndromes.
- Tissue definition tokens define tissues.
- Tool tokens define tools, similar to weapons tokens.
- Trap component tokens define traps.
- Unit type tokens are referred to by tilesets, and entities for purposes of nobility and the like.
- Weapon tokens define weapons.
- World tokens are used in custom world generation.
Also note reactions, which are a little more complicated than simple tokens.
This forum is the official DF subforum dedicated to discussions about modding.