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...
- Ammo tokens, used for ammo.
- Armor tokens define armor.
- Biome tokens are used in creature, entity and plant definitions for placement.
- Building tokens define buildings, their tiles, hotkeys, and how they block movement.
- Body tokens determine bodily structure, both body templates (BODY) and body parts
- Body detail plan token Like the above but for detail.
- Bodygloss change how body parts appear.
- Creature tokens determine the properties of creatures.
- DF2012:Creature variation token change the properties of creatures.
- Entity token defines entities, or civilizations, in entity_*.txt files.
- Item tokens are used in reactions, creatures and entities to refer to specific items.
- Item definition token is used in item definitions in the raws.
- Interaction token is used by interactions.
- Labor token define labors.
- Language token define language.
- Material tokens are the same as item tokens, but for materials.
- Material definition tokens are used to define materials, like item definitions.
- Plant tokens define what plants are made of, where they grow, what can be made out of them, etc.
- Profession tokens are referred to by tilesets and entities for purposes of nobility and the like.
- Position tokens define positions in entity_*.txt files.
- Skill tokens are referred to by creatures for natural skills and such.
- Syndrome tokens define syndromes.
- Tool token define tools. They're a lot like weapon tokens.
- Trap component tokens define traps. A bit like weapon tokens.
- Weapon tokens define weapons. They're fairly simple, so it's a good place to start with DF modding.
- World tokens are used in custom world generation.
- Unit type tokens are used with various entity tokens, as well as in graphical tilesets.
This forum is the official DF subforum dedicated to discussions about modding.