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
(Created page with '{{AV}} {{Quality|Tattered|08:43, 18 June 2010 (UTC)}} {| {{prettytable}} |- bgcolor="#999999" ! Token ! Arguments ! Description |- | ITEM_WEAPON | <name> | unique ID of the weap…')
 
(prettified the table, added some missing tokens, fleshed out descriptions, marked some tags as "required')
Line 9: Line 9:
 
|-
 
|-
 
| ITEM_WEAPON
 
| ITEM_WEAPON
| <name>
+
|
| unique ID of the weapon
+
*name
 +
| Token used to refer to the weapon. <font color="red">Required</font>.
  
 
|-
 
|-
 
| NAME
 
| NAME
| singular:plurarl
 
 
|  
 
|  
 +
*singular
 +
*plural
 +
| Name of the weapon. <font color="red">Required</font>.
  
 
|-
 
|-
 
| SIZE
 
| SIZE
| value
+
|  
| size/weight of weapon
+
*size
 +
| Size/weight of weapon (in grams). <font color="red">Required</font>.
  
 
|-
 
|-
 
| SKILL
 
| SKILL
| any skill
+
|  
 +
*Skill token
 +
| The skill to determine effectiveness in melee with this weapon. <font color="red">Required</font>.
 +
 
 +
|-
 +
| 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
 
| TWO_HANDED
| value
+
|  
| bodysize needed for one handed usage
+
*size
 +
| Creatures under this size must use the weapon two handed. <font color="red">Required</font>.
  
 
|-
 
|-
 
| MINIMUM_SIZE
 
| MINIMUM_SIZE
| value
+
|  
| minimum bodysize to use the weapon at all (multigrasp until TWO_HANDED value)
+
*size
 +
| Minimum bodysize to use the weapon at all (multigrasp until TWO_HANDED value) <font color="red">Required</font>.
  
 
|-
 
|-
 
| MATERIAL_SIZE
 
| MATERIAL_SIZE
| value
+
|  
| number of bars needed for forging
+
*value
 +
| number of bars needed for forging <font color="red">Required</font>.
  
 
|-
 
|-
 
| ATTACK
 
| ATTACK
 
|  
 
|  
attacktype:BLUNT or EDGE<br>
+
*attacktype:BLUNT or EDGE
contact_area:value<br>
+
*contact_area:value
penetration_size:value<br>
+
*penetration_size:value
verb2nd:string<br>
+
*verb2nd:string
verb3rd:string<br>
+
*verb3rd:string
noun:string<br>
+
*noun:string
velocity_multiplyer:value
+
*velocity_multiplyer:value
|  
+
| <font color="red">Required</font>.
 
|}
 
|}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Revision as of 01:23, 21 July 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
Size/weight of weapon (in grams). 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 must use the weapon two handed. Required.
MINIMUM_SIZE
  • size
Minimum bodysize to use the weapon at all (multigrasp until TWO_HANDED value) Required.
MATERIAL_SIZE
  • value
number of bars needed for forging Required.
ATTACK
  • attacktype:BLUNT or EDGE
  • contact_area:value
  • penetration_size:value
  • verb2nd:string
  • verb3rd:string
  • noun:string
  • velocity_multiplyer:value
Required.