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"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(size is in mL)
(fixes)
Line 24: Line 24:
 
|  
 
|  
 
*size
 
*size
| Volume of weapon in mililiters. <font color="red">Required</font>.
+
| Volume of weapon in mililiters or milimetres cubed. <font color="red">Required</font>.
  
 
|-
 
|-
Line 55: Line 55:
 
|  
 
|  
 
*size
 
*size
| Creatures under this size (in mL) must use the weapon two-handed. <font color="red">Required</font>.
+
| Creatures under this size (in mm^3) must use the weapon two-handed. <font color="red">Required</font>.
  
 
|-
 
|-
Line 61: Line 61:
 
|  
 
|  
 
*size
 
*size
| Minimum body size (in mL) to use the weapon at all (multigrasp required until TWO_HANDED value) <font color="red">Required</font>.
+
| Minimum body size (in mm^3) to use the weapon at all (multigrasp required until TWO_HANDED value) <font color="red">Required</font>.
  
 
|-
 
|-
Line 67: Line 67:
 
|  
 
|  
 
*value
 
*value
| number of bars needed for forging <font color="red">Required</font>.
+
| Number of bars needed for forging, as well as the amount gained from melting <font color="red">Required</font>.
  
 
|-
 
|-
Line 79: Line 79:
 
*noun:string
 
*noun:string
 
*velocity_multiplier:value
 
*velocity_multiplier:value
| You can have many ATTACK tags and one will be randomly selected for each attack. <font color="red">Required</font>.
+
| 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. <font color="red">Required</font>.
  
 
|-
 
|-
 
| TRAINING
 
| TRAINING
 
|
 
|
| Marks this weapon as suited to sparring.
+
| Allows this weapon to be made of wood.
 
|}
 
|}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Revision as of 19:35, 24 August 2010

Template:AV

Token Arguments Description
ITEM_WEAPON
  • name
Token used to refer to the weapon. Required.
NAME
  • singular
  • plural
Name of the weapon. Required.
SIZE
  • size
Volume of weapon in mililiters or milimetres cubed. Required.
SKILL
  • Skill token
The skill to determine effectiveness in melee with this weapon. Required.
RANGED
  • Skill token
  • Ammo item token
Makes this a ranged weapon that uses the specified ammo. The specified skill determines accuracy in ranged combat.
SHOOT_FORCE
  • value
SHOOT_MAXVAL
  • value
TWO_HANDED
  • size
Creatures under this size (in mm^3) must use the weapon two-handed. Required.
MINIMUM_SIZE
  • size
Minimum body size (in mm^3) to use the weapon at all (multigrasp required until TWO_HANDED value) Required.
MATERIAL_SIZE
  • value
Number of bars needed for forging, as well as the amount gained from melting Required.
ATTACK
  • attacktype:BLUNT or EDGE
  • contact_area:value
  • penetration_size:value
  • verb2nd:string
  • verb3rd:string
  • noun:string
  • velocity_multiplier:value
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.
TRAINING Allows this weapon to be made of wood.