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.
Token
Revision as of 01:22, 26 October 2012 by 82.19.21.149 (talk)
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 tokenLike 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 weapons. They're a lot like weapon tokens.
- Trap component tokendefine 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.
See Also: