| SITE ANNOUNCEMENTS: | |
|---|---|
| |
DF2012:Weapon token
From Dwarf Fortress Wiki
v0.34.11 · v0.31.25 · v0.28.181.40d · v0.23.130.23a This article is about the current version of DF. |
These tokens can only be placed within an ITEM_WEAPON object definition, most do not function in armor objects.
| Token | Arguments | Description | Works in armor |
|---|---|---|---|
| NAME |
|
Name of the weapon. Required. | X |
| ADJECTIVE |
|
Adjective of the weapon, e.g. the "large" in "large copper dagger". | |
| SIZE / WEIGHT |
|
Volume of weapon in mL or cubic cm. Defaults to 100. | |
| SHOOT_FORCE |
|
The amount of force used when firing projectiles - velocity is presumably determined by the projectile's mass. Defaults to 0. | |
| SHOOT_MAXVEL |
|
The maximum speed a fired projectile can have. | |
| SKILL | The skill to determine effectiveness in melee with this weapon. Defaults to MACE. Skill of AXE will allow it to be used to chop down trees. | ||
| RANGED |
|
Makes this a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat. | |
| TWO_HANDED |
|
Creatures under this size (in cm^3) must use the weapon two-handed. Defaults to 50000. | |
| MINIMUM_SIZE |
|
Minimum body size (in cm^3) to use the weapon at all (multigrasp required until TWO_HANDED value). Defaults to 40000. | |
| CAN_STONE | Allows the weapon to be made at a craftsdwarf's workshop from a sharp ([MAX_EDGE:10000] or higher) stone (e.g. obsidian) plus a wood log. | ||
| TRAINING | Restricts this weapon to being made of wood. | ||
| MATERIAL_SIZE |
|
Number of bar units needed for forging, as well as the amount gained from melting. Required. | |
| ATTACK |
|
You can have many ATTACK tags and one will be randomly selected for each attack, with EDGE attacks 100 times more common than BLUNT attacks. Required. |