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"
Jump to navigation
Jump to search
m (added {{old}} template) |
(Added some tokens using the info gathered on [https://gitlab.com/df-modding-tools/df-raw-language-server/ the DF language server]) |
||
Line 11: | Line 11: | ||
{{alphabetical TOC|style=margin: 1em auto;}} | {{alphabetical TOC|style=margin: 1em auto;}} | ||
− | == | + | ==Creature Graphics Tokens== |
+ | The below tokens are for CREATURE_GRAPHICS objects | ||
+ | |||
+ | {| {{prettytable}} | ||
+ | |- bgcolor="#ddd" | ||
+ | ! width="20%" | Token | ||
+ | ! width="20%" | Arguments | ||
+ | ! width="50%" | Description | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|ANIMATED}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|CORPSE}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|DEFAULT}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|LIST_ICON}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position, | ||
+ | *ColorTypeEnum (according to the [https://gitlab.com/df-modding-tools/df-raw-language-server/-/blob/dev/df_ls_structure/src/objects/graphics.rs DF language server], unclear what it means) | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|SKELETON}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | | ||
+ | |||
+ | |||
+ | |- | ||
+ | | {{text anchor|SKELETON_WITH_SKULL}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | | ||
+ | |||
+ | |} | ||
+ | |||
+ | === Vermin === | ||
+ | Tokens for vermin graphics | ||
+ | |||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#ddd" | |- bgcolor="#ddd" | ||
! width="20%" | Token | ! width="20%" | Token | ||
− | |||
! width="20%" | Arguments | ! width="20%" | Arguments | ||
! width="50%" | Description | ! width="50%" | Description | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|VERMIN}} |
− | | | + | | |
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|VERMIN_ALT}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | Image cycles every 1 second. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|SWARM_SMALL}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | For swarming vermin like [[fly|flies]] and [[fairy|fairies]]. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|SWARM_MEDIUM}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | For swarming vermin like [[fly|flies]] and [[fairy|fairies]]. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|SWARM_LARGE}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | For swarming vermin like [[fly|flies]] and [[fairy|fairies]]. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|LIGHT_VERMIN}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | For [[firefly|fireflies]] etc. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|LIGHT_VERMIN_ALT}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | Like {{token|VERMIN_ALT|g}} for [[firefly|fireflies]] etc. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|LIGHT_SWARM_SMALL}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | Like {{token|SWARM_SMALL|g}} for [[firefly|fireflies]] etc. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|LIGHT_SWARM_MEDIUM}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | Like {{token|SWARM_MEDIUM|g}} for [[firefly|fireflies]] etc. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|LIGHT_SWARM_LARGE}} | ||
+ | | | ||
+ | *tile page ID, | ||
+ | *grid x position, | ||
+ | *grid y position | ||
+ | | Like {{token|SWARM_LARGE|g}} for [[firefly|fireflies]] etc. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|REMAINS}} | ||
| | | | ||
− | * | + | *tile page ID, |
− | | | + | *grid x position, |
+ | *grid y position | ||
+ | | | ||
|- | |- | ||
− | | {{text anchor| | + | | {{text anchor|HIVE}} |
− | |||
| | | | ||
− | * | + | *tile page ID, |
− | * | + | *grid x position, |
− | | | + | *grid y position |
+ | | | ||
|} | |} | ||
==See Also== | ==See Also== | ||
+ | *[[Palette token]] | ||
+ | *[[Tile page token]] | ||
*[[Body detail plan token]] | *[[Body detail plan token]] | ||
*[[Body token]] | *[[Body token]] |
Revision as of 13:26, 28 December 2022
v50.15 · 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 |
This article or section may need to be updated due to recent changes. |
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 |
|
|
CORPSE |
|
|
DEFAULT |
|
|
LIST_ICON |
|
|
SKELETON |
|
|
SKELETON_WITH_SKULL |
|
Vermin
Tokens for vermin graphics
Token | Arguments | Description |
---|---|---|
VERMIN |
|
|
VERMIN_ALT |
|
Image cycles every 1 second. |
SWARM_SMALL |
|
For swarming vermin like flies and fairies. |
SWARM_MEDIUM |
|
For swarming vermin like flies and fairies. |
SWARM_LARGE |
|
For swarming vermin like flies and fairies. |
LIGHT_VERMIN |
|
For fireflies etc. |
LIGHT_VERMIN_ALT |
|
Like [VERMIN_ALT] for fireflies etc.
|
LIGHT_SWARM_SMALL |
|
Like [SWARM_SMALL] for fireflies etc.
|
LIGHT_SWARM_MEDIUM |
|
Like [SWARM_MEDIUM] for fireflies etc.
|
LIGHT_SWARM_LARGE |
|
Like [SWARM_LARGE] for fireflies etc.
|
REMAINS |
|
|
HIVE |
|