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 (Interwiki link)
 
(9 intermediate revisions by 6 users not shown)
Line 1: Line 1:
These shape tokens are accepted as parameters by different raw tokens.
+
{{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="#ddd"
+
|- bgcolor="#999999"
 
! Token
 
! Token
 +
! Arguments
 +
! Usage
 +
! Description
 +
 
|-
 
|-
| {{text anchor|BAGUETTE_CUT_GEM}}
+
| {{text anchor|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".
 +
 
 
|-
 
|-
| {{text anchor|BRIOLETTE_CUT_GEM}}
+
| {{text anchor|CATEGORY}}
 +
| category name
 +
|
 +
| A category the shape belongs to, which can be used by the tool token [[Tool_token#SHAPE_CATEGORY|SHAPE_CATEGORY]]. Vanilla categories are SIMPLE, PLATONIC, and DICE, but any arbitrary category name is allowed.
 +
 
 
|-
 
|-
| {{text anchor|CUSHION_CABOCHON}}
+
| {{text anchor|SIDES}}
 +
| number
 +
| dice
 +
| The amount of sides of the dice.
 +
 
 
|-
 
|-
| {{text anchor|CUSHION_CUT_GEM}}
+
| {{text anchor|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.
 +
 
 
|-
 
|-
| {{text anchor|EMERALD_CUT_GEM}}
+
| {{text anchor|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.
 +
 
 
|-
 
|-
| {{text anchor|MARQUISE_CUT_GEM}}
+
| {{text anchor|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.
 +
 
 
|-
 
|-
| {{text anchor|OCTAGON_CUT_GEM}}
+
| {{text anchor|NAME}}
 +
| string:plural
 +
| {{tc|red|Required}}
 +
| The name of the shape. Is not always strictly used, see GEMS_USE_ADJ.
 +
 
 
|-
 
|-
| {{text anchor|OVAL_CABOCHON}}
+
| {{text anchor|TILE}}
 +
| 'character' or tile number
 +
| {{tc|red|Required}}
 +
| The tile the shape uses, as an engraving or as an item (gem, die).
 +
 
 
|-
 
|-
| {{text anchor|OVAL_CUT_GEM}}
+
| {{text anchor|WORD}}
|-
+
| word
| {{text anchor|PEAR_CUT_GEM}}
+
|  
|-
+
| Effect unknown.
| {{text anchor|POINT_CUT_GEM}}
+
 
|-
 
| {{text anchor|RADIANT_CUT_GEM}}
 
|-
 
| {{text anchor|RECTANGULAR_CABOCHON}}
 
|-
 
| {{text anchor|ROSE_CUT_GEM}}
 
|-
 
| {{text anchor|ROUND_BRILLIANT_CUT_GEM}}
 
|-
 
| {{text anchor|ROUND_CABOCHON}}
 
|-
 
| {{text anchor|SINGLE_CUT_GEM}}
 
|-
 
| {{text anchor|SQUARE_BRILLIANT_CUT_GEM}}
 
|-
 
| {{text anchor|SQUARE_CUT_GEM}}
 
|-
 
| {{text anchor|TABLE_CUT_GEM}}
 
|-
 
| {{text anchor|TAPERED_BAGUETTE_CUT_GEM}}
 
|-
 
| {{text anchor|TRILLION_CUT_GEM}}
 
 
|}
 
|}
  

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.