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.

Editing DF2014:Descriptor shape token

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "DF2014"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Quality|Fine|14:42, 21 March 2020 (UTC)}}
+
#REDIRECT [[Descriptor shape token]]
{{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}}
 
|- bgcolor="#999999"
 
! Token
 
! Arguments
 
! Usage
 
! Description
 
 
 
|-
 
| {{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|CATEGORY}}{{version|0.47.01}}
 
| 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|SIDES}}{{version|0.47.01}}
 
| number
 
| dice
 
| The amount of sides of the dice.
 
 
 
|-
 
| {{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|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|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|NAME}}
 
| string:plural
 
| {{tc|red|Required}}
 
| The name of the shape. Is not always strictly used, see GEMS_USE_ADJ.
 
 
 
|-
 
| {{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|WORD}}
 
| word
 
|
 
| Effect unknown.
 
 
 
|}
 
 
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
[[ru:Descriptor shape token]]
 

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

Templates used on this page:

This page is a member of 2 hidden categories: