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
(Before, the article didn't really describe the descriptor shape tokens at all, it just listed the objects! Well, that has been remedied.)
 
(8 intermediate revisions by 6 users not shown)
Line 1: Line 1:
These tokens are used to describe various [[shape]]s used in the game. All vanilla shapes are found in descriptor_shape_standard.txt.
+
{{Quality|Fine}}
 +
{{av}}
 +
{{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 15: Line 20:
  
 
|-
 
|-
| {{text anchor|CATEGORY}}{{version|0.47.01}}
+
| {{text anchor|CATEGORY}}
 
| category name
 
| category name
 
|
 
|
Line 21: Line 26:
  
 
|-
 
|-
| {{text anchor|SIDES}}{{version|0.47.01}}
+
| {{text anchor|SIDES}}
 
| number
 
| number
 
| dice
 
| dice

Latest revision as of 16:12, 2 April 2024

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[edit]

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".
CATEGORY 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.
SIDES 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.