- 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.
40d:Token
| This article is about an older 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 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 else 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 ammunition, such as arrows and bolts.
- Armor tokens define armor.
- Biome tokens specify environments for creatures, plants and entities (entities being civilisations).
- Body tokens determine bodily structure and materials.
- Bodygloss tokens perform a single-word substitution of a creature's body parts.
- Creature tokens determine the properties of creatures.
- Descriptor color tokens define colors used in text-based descriptions. Not to be confused with color schemes.
- Descriptor shape tokens define shapes.
- Entity tokens define entities, or civilizations.
- Item tokens refer to 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.
- Instrument tokens define instruments.
- Language tokens define a language's vocabulary. Since fictional languages in Dwarf Fortress are currently only used in names, language tokens do not define grammar.
- Material tokens refer to materials, similar to item tokens.
- Metal tokens define metals.
- Plant tokens define farmable and gatherable plants.
- Skill tokens refer to skills.
- Stone tokens define stone, soil, and gem materials.
- Trap component tokens define trap components.
- Unit type tokens are referred to by tilesets and entities, for purposes of nobility and the like.
- Weapon tokens define weapons.
- Wood tokens define tree types.
- 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.