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.

Graphics token

From Dwarf Fortress Wiki
Revision as of 13:26, 28 December 2022 by Voliol (talk | contribs) (Added some tokens using the info gathered on [https://gitlab.com/df-modding-tools/df-raw-language-server/ the DF language server])
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.



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

Creature Graphics Tokens

The below tokens are for CREATURE_GRAPHICS objects

Token Arguments Description
ANIMATED
  • tile page ID,
  • grid x position,
  • grid y position
CORPSE
  • tile page ID,
  • grid x position,
  • grid y position
DEFAULT
  • tile page ID,
  • grid x position,
  • grid y position
LIST_ICON
  • tile page ID,
  • grid x position,
  • grid y position,
  • ColorTypeEnum (according to the DF language server, unclear what it means)
SKELETON
  • tile page ID,
  • grid x position,
  • grid y position


SKELETON_WITH_SKULL
  • tile page ID,
  • grid x position,
  • grid y position

Vermin

Tokens for vermin graphics

Token Arguments Description
VERMIN
  • tile page ID,
  • grid x position,
  • grid y position
VERMIN_ALT
  • tile page ID,
  • grid x position,
  • grid y position
Image cycles every 1 second.
SWARM_SMALL
  • tile page ID,
  • grid x position,
  • grid y position
For swarming vermin like flies and fairies.
SWARM_MEDIUM
  • tile page ID,
  • grid x position,
  • grid y position
For swarming vermin like flies and fairies.
SWARM_LARGE
  • tile page ID,
  • grid x position,
  • grid y position
For swarming vermin like flies and fairies.
LIGHT_VERMIN
  • tile page ID,
  • grid x position,
  • grid y position
For fireflies etc.
LIGHT_VERMIN_ALT
  • tile page ID,
  • grid x position,
  • grid y position
Like [VERMIN_ALT] for fireflies etc.
LIGHT_SWARM_SMALL
  • tile page ID,
  • grid x position,
  • grid y position
Like [SWARM_SMALL] for fireflies etc.
LIGHT_SWARM_MEDIUM
  • tile page ID,
  • grid x position,
  • grid y position
Like [SWARM_MEDIUM] for fireflies etc.
LIGHT_SWARM_LARGE
  • tile page ID,
  • grid x position,
  • grid y position
Like [SWARM_LARGE] for fireflies etc.
REMAINS
  • tile page ID,
  • grid x position,
  • grid y position
HIVE
  • tile page ID,
  • grid x position,
  • grid y position

See Also