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 "v0.31:Weapon token"
Jump to navigation
Jump to search
(4 intermediate revisions by 3 users not shown) | |||
Line 22: | Line 22: | ||
|- | |- | ||
− | | SIZE | + | | SIZE / WEIGHT |
| | | | ||
*size | *size | ||
− | | Volume of weapon in mL or cubic cm. | + | | Volume of weapon in mL or cubic cm. Defaults to 100. |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 36: | Line 31: | ||
| | | | ||
*value | *value | ||
− | | | + | | The amount of force used when firing projectiles - velocity is presumably determined by the projectile's mass. Defaults to 0. |
|- | |- | ||
Line 42: | Line 37: | ||
| | | | ||
*value | *value | ||
− | | | + | | The maximum speed a fired projectile can have. |
|- | |- | ||
| SKILL | | SKILL | ||
| | | | ||
− | *Skill token | + | *[[Skill token]] |
− | | The skill to determine effectiveness in melee with this weapon. | + | | 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 | | RANGED | ||
| | | | ||
− | *Skill token | + | *[[Skill token]] |
− | *Ammo | + | *Ammo class |
| Makes this a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat. | | Makes this a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat. | ||
Line 61: | Line 56: | ||
| | | | ||
*size | *size | ||
− | | Creatures under this size (in cm^3) must use the weapon two-handed. | + | | Creatures under this size (in cm^3) must use the weapon two-handed. Defaults to 50000. |
|- | |- | ||
Line 67: | Line 62: | ||
| | | | ||
*size | *size | ||
− | | Minimum body size (in cm^3) to use the weapon at all (multigrasp required until TWO_HANDED value) | + | | Minimum body size (in cm^3) to use the weapon at all (multigrasp required until TWO_HANDED value). Defaults to 40000. |
|- | |- | ||
| CAN_STONE | | CAN_STONE | ||
| | | | ||
− | | Allows this weapon to be made from sharp stones (i.e. | + | | Allows this weapon to be made from sharp stones (i.e. [[obsidian]]) plus a wood log. |
|- | |- | ||
Line 83: | Line 78: | ||
| | | | ||
*value | *value | ||
− | | Number of bar units needed for forging | + | | Number of bar units needed for forging. Due to a bug, this does not actually work properly. <font color="red">Required</font>. |
|- | |- |
Latest revision as of 15:23, 25 July 2012
This article is about an older 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 |
---|---|---|
NAME |
|
Name of the weapon. Required. |
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 this weapon to be made from sharp stones (i.e. obsidian) plus a wood log. | |
TRAINING | Restricts this weapon to being made of wood. | |
MATERIAL_SIZE |
|
Number of bar units needed for forging. Due to a bug, this does not actually work properly. 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. |