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 "40d:Weapon token"
Jump to navigation
Jump to search
Footkerchief (talk | contribs) |
(trapcomp and ammo info) |
||
Line 16: | Line 16: | ||
dmg type - (slash, burn, etc.) | dmg type - (slash, burn, etc.) | ||
| Sets the amount and the type of [[Damage]] | | Sets the amount and the type of [[Damage]] | ||
+ | |||
+ | |- | ||
+ | | HITS (trapcomp) | ||
+ | | value | ||
+ | | Probably the number of times it hits | ||
+ | |||
+ | |- | ||
+ | | IS_SCREW | ||
+ | | | ||
+ | | Probably if it can be installed in a screw pump | ||
+ | |||
+ | |- | ||
+ | | IS_SPIKE | ||
+ | | | ||
+ | | Probably if it can be installed as an upright spike trap | ||
|- | |- | ||
Line 36: | Line 51: | ||
| skill type - weapon skill type | | skill type - weapon skill type | ||
ammo type - anything | ammo type - anything | ||
− | | This sets what weapon skill will be gained when this weapon is fired and what type of ammo can be fired by this weapon. | + | | This sets what weapon skill will be gained when this weapon is fired and what type of ammo can be fired by this weapon. Ammunition definitions have DAMAGE and CLASS - CLASS determines what ammo type it matches. |
|- | |- | ||
Line 53: | Line 68: | ||
| How much an item weighs. | | How much an item weighs. | ||
|} | |} | ||
+ | |||
[[Category:Modding]] | [[Category:Modding]] |
Revision as of 03:12, 20 November 2008
Tokens
Token | Arguments | Description
|
---|---|---|
CRIT_BOOST: | value | Increases the chance of a weapon piercing internal organs. |
[DAMAGE:<damage amount>:<damage type>] | dmg amount - value
dmg type - (slash, burn, etc.) |
Sets the amount and the type of Damage |
HITS (trapcomp) | value | Probably the number of times it hits |
IS_SCREW | Probably if it can be installed in a screw pump | |
IS_SPIKE | Probably if it can be installed as an upright spike trap | |
MINIMUM_SIZE: | value | The size a creature must be in order to use this weapon. |
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. |
NAME | singular:plural | What this item will be called ingame. |
RANGED:<skill type>:<ammo type> | skill type - weapon skill type
ammo type - anything |
This sets what weapon skill will be gained when this weapon is fired and what type of ammo can be fired by this weapon. Ammunition definitions have DAMAGE and CLASS - CLASS determines what ammo type it matches. |
SKILL | weapon skill type (axe, sword, etc.) | The type of weapon skill that experience is gained in when this weapon is wielded in melee fighting. |
STICK_CHANCE | value | The chance of a weapon sticking in a target. |
WEIGHT | value | How much an item weighs. |