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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Created page with "{{Quality|Unrated}} {{av}} {{Modding}} The <code>[OBJECT:GRAPHICS]</code> token defines the use of various tile-based graphics in the game. As version 50.01 graphics toke...")
 
Line 3: Line 3:
 
{{Modding}}
 
{{Modding}}
  
The <code>[OBJECT:GRAPHICS]</code> [[token]] defines the use of various tile-based graphics in the game. As version 50.01 graphics tokens have been greatly expanded to accommodate the release of the Steam & Itch premium version. These tokens are listed below; the list will expand as the tokens are discovered and understood:
+
The <code>[OBJECT:GRAPHICS]</code> [[token]] defines the use of various tile-based graphics in the game. As of version 50.01, graphics tokens have been greatly expanded to accommodate the release of the Steam & Itch premium version. These tokens are listed below; the list will expand as the tokens are discovered and understood:
  
 
__NOTOC__
 
__NOTOC__
Line 10: Line 10:
 
{{alphabetical TOC|style=margin: 1em auto;}}
 
{{alphabetical TOC|style=margin: 1em auto;}}
  
==A==
+
==C==
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
Line 21: Line 21:
 
| {{text anchor|CREATURE_GRAPHICS}}
 
| {{text anchor|CREATURE_GRAPHICS}}
 
| Creature Reference
 
| Creature Reference
| Creature <code>{{Creature token|NAME}}<code> token
+
|  
| References the creature that will utilize the following graphics raws according to the <code>NAME<code> token defined in it's associated [[Raw file|object file]].
+
*creature <code>[[Creature token#NAME|NAME]]</code> token
 
+
| References the creature that will utilize the following graphics raws according to the <code>NAME</code> token defined in it's associated [[Raw file|object file]].
  
 +
|-
 +
| {{text anchor|CREATURE_CASTE_GRAPHICS}}
 +
| Caste Reference
 +
|
 +
*creature <code>[[Creature token#NAME|NAME]]</code> token
 +
*creature <code>[[Creature token#CASTE|CASTE]]</code> token
 +
| References the caste of a creature to be defined according to its referenced <code>[CASTE]</code> token assigned in it's associated [[Raw file|object file]], i.e. <code> [CREATURE_CASTE_GRAPHICS:BIRD_PEAFOWL_BLUE:MALE]</code> will start the definition for the <code>[MALE]</code> caste of the creature with the <code>[[Blue peafowl|BIRD_PEAFOWL_BLUE]]</code> <code>[NAME]</code>token.
  
 
|}
 
|}
Line 31: Line 38:
 
*[[Body detail plan token]]
 
*[[Body detail plan token]]
 
*[[Body token]]
 
*[[Body token]]
 +
*[[Creature token]]
 
*[[Material definition token]]
 
*[[Material definition token]]
 
*[[Syndrome]]
 
*[[Syndrome]]

Revision as of 21:54, 23 December 2022

This article is about the current version of DF.
Note that some content may still need to be updated.


The [OBJECT:GRAPHICS] token defines the use of various tile-based graphics in the game. As of version 50.01, graphics tokens have been greatly expanded to accommodate the release of the Steam & Itch premium version. These tokens are listed below; the list will expand as the tokens are discovered and understood:


Contents A B C D E F G H I J K L M N O P Q R S T U V W X Y Z top

C

Token Type Arguments Description
CREATURE_GRAPHICS Creature Reference References the creature that will utilize the following graphics raws according to the NAME token defined in it's associated object file.
CREATURE_CASTE_GRAPHICS Caste Reference References the caste of a creature to be defined according to its referenced [CASTE] token assigned in it's associated object file, i.e. [CREATURE_CASTE_GRAPHICS:BIRD_PEAFOWL_BLUE:MALE] will start the definition for the [MALE] caste of the creature with the BIRD_PEAFOWL_BLUE [NAME]token.

See Also