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 "Trap component token"
Jump to navigation
Jump to search
m (Creating page for DF2014 (125/168)) |
|||
(11 intermediate revisions by 8 users not shown) | |||
Line 1: | Line 1: | ||
− | {{ | + | {{Quality|Superior}} |
− | {{ | + | {{av}} |
+ | {{Modding}} | ||
− | + | '''Trap component tokens''' are used on [[trap]] components. | |
+ | {{clear}} | ||
+ | ==Tokens== | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#ddd" | |- bgcolor="#ddd" | ||
Line 11: | Line 14: | ||
|- | |- | ||
− | | NAME | + | | {{text anchor|NAME}} |
| singular:plural | | singular:plural | ||
− | | What this item will be called | + | | What this item will be called in-game. |
|- | |- | ||
− | | ADJECTIVE | + | | {{text anchor|ADJECTIVE}} |
| adjective | | adjective | ||
| Appears before the name of the weapon's material. E.g. "menacing steel spike" | | Appears before the name of the weapon's material. E.g. "menacing steel spike" | ||
|- | |- | ||
− | | SIZE / WEIGHT | + | | {{text anchor|SIZE}} / {{text anchor|WEIGHT}} |
| value | | value | ||
| How large the item is. Defaults to 100. | | How large the item is. Defaults to 100. | ||
|- | |- | ||
− | | HITS | + | | {{text anchor|HITS}} |
| value | | value | ||
| Number of times it hits. Defaults to 1 | | Number of times it hits. Defaults to 1 | ||
|- | |- | ||
− | | MATERIAL_SIZE | + | | {{text anchor|MATERIAL_SIZE}} |
| value | | value | ||
− | | How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three. <font color="red">Required</font> | + | | How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three. <font color="red">Required.</font> |
|- | |- | ||
− | | IS_SCREW | + | | {{text anchor|IS_SCREW}} |
| | | | ||
| Weapon may be installed in a screw pump. | | Weapon may be installed in a screw pump. | ||
|- | |- | ||
− | | IS_SPIKE | + | | {{text anchor|IS_SPIKE}} |
| | | | ||
| Weapon may be installed in a spike trap. | | Weapon may be installed in a spike trap. | ||
|- | |- | ||
− | | WOOD | + | | {{text anchor|WOOD}} |
| | | | ||
| Weapon may be made out of wood. | | Weapon may be made out of wood. | ||
|- | |- | ||
− | | METAL | + | | {{text anchor|METAL}} |
| | | | ||
| Weapon may be made out of metal. | | Weapon may be made out of metal. | ||
|- | |- | ||
− | | ATTACK | + | | {{text anchor|ATTACK}} |
| | | | ||
* attacktype:EDGE (or BLUNT?) | * attacktype:EDGE (or BLUNT?) | ||
Line 70: | Line 73: | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} | ||
+ | [[ru:Trap component token]] |
Latest revision as of 16:21, 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 |
Trap component tokens are used on trap components.
Tokens[edit]
Token | Arguments | Description |
---|---|---|
NAME | singular:plural | What this item will be called in-game. |
ADJECTIVE | adjective | Appears before the name of the weapon's material. E.g. "menacing steel spike" |
SIZE / WEIGHT | value | How large the item is. Defaults to 100. |
HITS | value | Number of times it hits. Defaults to 1 |
MATERIAL_SIZE | value | How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three. Required. |
IS_SCREW | Weapon may be installed in a screw pump. | |
IS_SPIKE | Weapon may be installed in a spike trap. | |
WOOD | Weapon may be made out of wood. | |
METAL | Weapon may be made out of metal. | |
ATTACK |
|
Sets the attack characteristics of the weapon |