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.

Descriptor shape token

From Dwarf Fortress Wiki
Revision as of 03:18, 20 December 2022 by LethosorBot (talk | contribs) (LethosorBot moved page DF2014:Descriptor shape token to Descriptor shape token: Migrating v50 page (922/4618) (content))
Jump to navigation Jump to search
This article is about the current version of DF.
Note that some content may still need to be updated.


These tokens are used to describe various shapes used in the game. All vanilla shapes are found in descriptor_shape_standard.txt.

Tokens

Token Arguments Usage Description
ADJ string An adjective to be paired with the name. Can be used multiple times, allowing for variants of the same shape e.g. "thin cross", "tall cross".
CATEGORYv0.47.01 category name A category the shape belongs to, which can be used by the tool token SHAPE_CATEGORY. Vanilla categories are SIMPLE, PLATONIC, and DICE, but any arbitrary category name is allowed.
SIDESv0.47.01 number dice The amount of sides of the dice.
GEMS_USE_ADJ gems Makes gems in this shape use the syntax 'ADJ + material' e.g. "conglomerate gizzard stone". This, GEMS_USE_NOUN or GEMS_USE_ADJ_NOUN must be used for the name of a gem in this shape to show up.
GEMS_USE_ADJ_NOUN gems Makes gems in this shape use the syntax 'ADJ + material + NAME' e.g. "smooth conglomerate cabochon". This, GEMS_USE_ADJ or GEMS_USE_ADJ_NOUN must be used for the name of a gem in this shape to show up.
GEMS_USE_NOUN gems Makes gems in this shape use the syntax 'material + NAME' e.g. "point cut conglomerate". This, GEMS_USE_ADJ or GEMS_USE_ADJ_NOUN must be used for the name of a gem in this shape to show up.
NAME string:plural Required The name of the shape. Is not always strictly used, see GEMS_USE_ADJ.
TILE 'character' or tile number Required The tile the shape uses, as an engraving or as an item (gem, die).
WORD word Effect unknown.