|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 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).
- Body tokens determine bodily structure.
- Bodygloss tokens perform a single-word substitution of a creature's body parts.
- Creature tokens determine the properties of creatures.
- Entity tokens define entities, or civilizations.
- Gem tokens define gems.
- Item tokens define the most basic form of items (made specific by material tokens).
- Item definition tokens are used for actual definitions of items.
- 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.
- Plant tokens define plants.
- Skill tokens reference skills.
- Stone tokens define stones. Unlike in later versions, ores are hardcoded and cannot be modified.
- Tree tokens define trees.
- 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.
This forum is the official DF subforum dedicated to discussions about modding.