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 "DF2014:Trap component token"
Jump to navigation
Jump to search
LethosorBot (talk | contribs) (LethosorBot moved page DF2014:Trap component token to Trap component token: Migrating v50 page (4269/4618) (content)) Tag: New redirect |
LethosorBot (talk | contribs) (Migrating v50 page (4269/4618) (content)) Tag: Removed redirect |
||
Line 1: | Line 1: | ||
− | # | + | {{Quality|Superior|12:22, 18 May 2015 (UTC)}} |
+ | {{av}} | ||
+ | {{Modding}} | ||
+ | |||
+ | '''Trap component tokens''' are used on [[trap]] components. | ||
+ | {{clear}} | ||
+ | |||
+ | ==Tokens== | ||
+ | {| {{prettytable}} | ||
+ | |- bgcolor="#ddd" | ||
+ | ! Token | ||
+ | ! Arguments | ||
+ | ! Description | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|NAME}} | ||
+ | | singular:plural | ||
+ | | What this item will be called in-game. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|ADJECTIVE}} | ||
+ | | adjective | ||
+ | | Appears before the name of the weapon's material. E.g. "menacing steel spike" | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|SIZE}} / {{text anchor|WEIGHT}} | ||
+ | | value | ||
+ | | How large the item is. Defaults to 100. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|HITS}} | ||
+ | | value | ||
+ | | Number of times it hits. Defaults to 1 | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|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. <font color="red">Required.</font> | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|IS_SCREW}} | ||
+ | | | ||
+ | | Weapon may be installed in a screw pump. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|IS_SPIKE}} | ||
+ | | | ||
+ | | Weapon may be installed in a spike trap. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|WOOD}} | ||
+ | | | ||
+ | | Weapon may be made out of wood. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|METAL}} | ||
+ | | | ||
+ | | Weapon may be made out of metal. | ||
+ | |||
+ | |- | ||
+ | | {{text anchor|ATTACK}} | ||
+ | | | ||
+ | * attacktype:EDGE (or BLUNT?) | ||
+ | * contact_area:value | ||
+ | * penetration_size:value | ||
+ | * verb2nd:string | ||
+ | * verb3rd:string | ||
+ | * noun:string | ||
+ | * velocity_multiplier:value | ||
+ | | Sets the attack characteristics of the weapon | ||
+ | |} | ||
+ | |||
+ | {{Category|Modding}} | ||
+ | {{Category|Tokens}} | ||
+ | [[ru:Trap component token]] |
Latest revision as of 04:04, 20 December 2022
This article is about an older version of DF. |
Modding |
---|
Tokens |
Biome · Building · Entity · Ethic · Interaction · Labor · Language · Personality · Plant · Position · Reaction · Skill · Syndrome · Tissue definition · Unit type · World |
Body tokens |
Body · Body detail plan · Bodygloss |
Creature tokens |
Creature · Creature mannerism · Creature texture · Creature variation |
Descriptor tokens |
Descriptor color · Descriptor pattern · Descriptor shape |
Item tokens |
Item · Item definition · Ammo · Armor · Instrument · Tool · Trap component · Weapon |
Material tokens |
Material · 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 |