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 pattern 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|Superior|18:45, 10 February 2022 (UTC)}}
+
#REDIRECT [[Descriptor pattern token]]
{{av}}
 
{{Modding}}
 
Tokens used to define descriptor patterns, that may be used instead of [[Color#Color_tokens|descriptor colors]]. As an example, the descriptor pattern STRIPES_ORANGE_BLACK is what gives tigers their stripes.
 
{{clear}}
 
 
 
==Tokens==
 
{| {{prettytable}}
 
|- bgcolor="#999999"
 
! Token
 
! Arguments
 
! Usage
 
! Description
 
 
 
|-
 
| {{text anchor|PATTERN}}
 
| SPOTS, STRIPES, MOTTLED, IRIS_EYE or PUPIL_EYE
 
| {{tc|red|Required}}
 
| The type of pattern, deciding the description.
 
* SPOTS: Causes a crash if no CP_COLOR is given{{bug|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 given{{bug|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 given{{bug|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.
 
 
 
|-
 
| {{text anchor|CP_COLOR}}
 
| [[Color#Color_tokens|color token]]
 
| {{tc|red|Required (mostly)}}
 
| A color to be used in the pattern. See [[Descriptor_pattern_token#PATTERN|PATTERN]] for how many CP_COLOR tokens are needed, and how they are used. [[descriptor color token|Modded color tokens]] may be used.
 
|}
 
 
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
[[ru:Descriptor pattern 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: