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 pattern token

From Dwarf Fortress Wiki
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.


Tokens used to define descriptor patterns, that may be used instead of descriptor colors. As an example, the descriptor pattern STRIPES_ORANGE_BLACK is what gives tigers their stripes.

Tokens[edit]

Token Arguments Usage Description
PATTERN SPOTS, STRIPES, MOTTLED, IRIS_EYE or PUPIL_EYE Required The type of pattern, deciding the description.
  • SPOTS: Causes a crash if no CP_COLOR is givenBug:11806, otherwise takes any amount.
  • STRIPES: Takes any amount of CP_COLOR tokens.
  • MOTTLED: Takes any amount of CP_COLOR tokens.
  • IRIS_EYE: Only shows the third CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is givenBug:11806. If only one or two CP_COLORs is given, the tissue is described as being "transparent".
  • PUPIL_EYE: Only shows the second CP_COLOR given; technically takes any amount. Causes a crash if no CP_COLOR is givenBug:11806. If only one CP_COLORs is given, the tissue is described as being "transparent".

An undefined pattern type causes the description to simply not show up.

CP_COLOR color token Required (mostly) A color to be used in the pattern. See PATTERN for how many CP_COLOR tokens are needed, and how they are used. Modded color tokens may be used.