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 pattern token"
Jump to navigation
Jump to search
(Created page with "{{av}} Tokens used to define descriptor patterns, that may be used instead of descriptor colors. As an example, the descriptor pattern STRIPES_ORANGE_BL...") |
|||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
+ | {{Quality|Superior}} | ||
{{av}} | {{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. | 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== | ==Tokens== | ||
Line 15: | Line 18: | ||
| {{tc|red|Required}} | | {{tc|red|Required}} | ||
| The type of pattern, deciding the description. | | The type of pattern, deciding the description. | ||
− | * SPOTS: Causes a crash if no CP_COLOR is given, otherwise takes any amount. | + | * SPOTS: Causes a crash if no CP_COLOR is given{{bug|11806}}, otherwise takes any amount. |
* STRIPES: Takes any amount of CP_COLOR tokens. | * STRIPES: Takes any amount of CP_COLOR tokens. | ||
* MOTTLED: 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. If only one or two CP_COLORs is given, the tissue is described as being "transparent". | + | * 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. If only one 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. | An undefined pattern type causes the description to simply not show up. | ||
Line 31: | Line 34: | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} | ||
− | |||
[[ru:Descriptor pattern token]] | [[ru:Descriptor pattern token]] |
Latest revision as of 16:12, 2 April 2024
v50.14 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
Modding |
---|
Tokens |
Audio · Biome · Graphics · Interaction · Mod info · Plant · Speech · Sphere · Syndrome · World |
Body tokens |
Body · Body detail plan · Bodygloss · Tissue |
Creature tokens |
Creature · Creature mannerism · Personality · Creature variation · Procedural graphics layer |
Descriptor tokens |
Descriptor color · Color · Descriptor pattern · Descriptor shape |
Entity tokens |
Entity · Ethic · Language · Value · Position |
Job tokens |
Building · Labor · Reaction · Skill · Unit type |
Item tokens |
Item type · Item definition · Ammo · Armor · Instrument · Tool · Trap component · Weapon |
Material tokens |
Material type · Material definition · Inorganic material definition |
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.
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. |