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 shape token"
Jump to navigation
Jump to search
(Before, the article didn't really describe the descriptor shape tokens at all, it just listed the objects! Well, that has been remedied.) |
|||
(8 intermediate revisions by 6 users not shown) | |||
Line 1: | Line 1: | ||
− | These tokens are used to describe various [[shape]]s used in the game. All vanilla shapes are found in descriptor_shape_standard.txt. | + | {{Quality|Fine}} |
+ | {{av}} | ||
+ | {{Modding}} | ||
+ | These tokens are used to describe various [[shape]]s used in the game. All vanilla shapes are found in <code>descriptor_shape_standard.txt</code>. | ||
+ | {{clear}} | ||
+ | ==Tokens== | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#999999" | |- bgcolor="#999999" | ||
Line 15: | Line 20: | ||
|- | |- | ||
− | | {{text anchor|CATEGORY | + | | {{text anchor|CATEGORY}} |
| category name | | category name | ||
| | | | ||
Line 21: | Line 26: | ||
|- | |- | ||
− | | {{text anchor|SIDES | + | | {{text anchor|SIDES}} |
| number | | number | ||
| dice | | dice |
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 |
These tokens are used to describe various shapes used in the game. All vanilla shapes are found in descriptor_shape_standard.txt
.
Tokens[edit]
Token | Arguments | Usage | Description |
---|---|---|---|
ADJ | string | An adjective to be paired with the name. Can be used multiple times, allowing for variants of the same shape e.g. "thin cross", "tall cross". | |
CATEGORY | category name | A category the shape belongs to, which can be used by the tool token SHAPE_CATEGORY. Vanilla categories are SIMPLE, PLATONIC, and DICE, but any arbitrary category name is allowed. | |
SIDES | number | dice | The amount of sides of the dice. |
GEMS_USE_ADJ | gems | Makes gems in this shape use the syntax 'ADJ + material' e.g. "conglomerate gizzard stone". This, GEMS_USE_NOUN or GEMS_USE_ADJ_NOUN must be used for the name of a gem in this shape to show up. | |
GEMS_USE_ADJ_NOUN | gems | Makes gems in this shape use the syntax 'ADJ + material + NAME' e.g. "smooth conglomerate cabochon". This, GEMS_USE_ADJ or GEMS_USE_ADJ_NOUN must be used for the name of a gem in this shape to show up. | |
GEMS_USE_NOUN | gems | Makes gems in this shape use the syntax 'material + NAME' e.g. "point cut conglomerate". This, GEMS_USE_ADJ or GEMS_USE_ADJ_NOUN must be used for the name of a gem in this shape to show up. | |
NAME | string:plural | Required | The name of the shape. Is not always strictly used, see GEMS_USE_ADJ. |
TILE | 'character' or tile number | Required | The tile the shape uses, as an engraving or as an item (gem, die). |
WORD | word | Effect unknown. |