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 color token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Interwiki link)
 
(7 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{Quality|Fine}}
 +
{{av}}
 +
{{Modding}}
 +
 
Tokens used to define the [[Color#Color_tokens|descriptive colors]] used in the game, by dyes, materials and tissues. Not to be confused with the game's [[color scheme]] that defines what colors are graphically shown in-game.
 
Tokens used to define the [[Color#Color_tokens|descriptive colors]] used in the game, by dyes, materials and tissues. Not to be confused with the game's [[color scheme]] that defines what colors are graphically shown in-game.
  
Line 19: Line 23:
 
| tag
 
| tag
 
| {{tc|red|Required}}
 
| {{tc|red|Required}}
| The color tag used by other raws to refer to this color.  
+
| Associates the color with any number of [[Language token|words]]. Historical figures can be named after the color of their [[Creature token#TL_COLOR_MODIFIER|TL_COLOR_MODIFIER]]. Seems to be more notable if that description can only be a single color.
  
 
|-
 
|-
Line 31: Line 35:
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}
 
 
[[ru:Descriptor color token]]
 
[[ru:Descriptor color token]]

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.


Tokens used to define the descriptive colors used in the game, by dyes, materials and tissues. Not to be confused with the game's color scheme that defines what colors are graphically shown in-game.

Tokens[edit]

Token Arguments Usage Description
NAME string Required What this color will be called in-game.
WORD tag Required Associates the color with any number of words. Historical figures can be named after the color of their TL_COLOR_MODIFIER. Seems to be more notable if that description can only be a single color.
RGB red:green:blue Required Decides the exact color value of the color using the additive RGB system. This color is not shown in-game, but when a randomly generated beast uses this color, their tile color is defined by an approximation of this[Verify]. Each value can range from 0-255.