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.

Difference between revisions of "Descriptor shape token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (+navbox)
(mov navbox)
Line 1: Line 1:
 
{{Quality|Fine|14:42, 21 March 2020 (UTC)}}
 
{{Quality|Fine|14:42, 21 March 2020 (UTC)}}
 
{{av}}
 
{{av}}
These tokens are used to describe various [[shape]]s used in the game. All vanilla shapes are found in descriptor_shape_standard.txt.
+
{{Modding}}
 +
These tokens are used to describe various [[shape]]s used in the game. All vanilla shapes are found in <code>descriptor_shape_standard.txt</code>.
 +
{{clear}}
  
 +
==Tokens==
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#999999"
 
|- bgcolor="#999999"
Line 66: Line 69:
 
|}
 
|}
  
{{Modding navbox}}
 
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}
 
[[ru:Descriptor shape token]]
 
[[ru:Descriptor shape token]]

Revision as of 18:46, 10 February 2022

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.