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 "Ammo token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (5 word concise article with nothing new)
Line 3: Line 3:
 
{{Modding}}
 
{{Modding}}
  
[[Item definition token]] for [[ammunition]].
+
'''Ammo tokens''' are an [[item definition token]] for [[ammunition]].
 
{{clear}}
 
{{clear}}
  

Revision as of 14:03, 22 February 2024

This article is about the current version of DF.
Note that some content may still need to be updated.


Ammo tokens are an item definition token for ammunition.

Tokens

Token Arguments Description
NAME singular:plural What this item will be called in-game.
CLASS anything This ammo can be fired from a weapon that is set to fire the same ammo type. Defaults to BOLT.
SIZE / WEIGHT value How large the ammunition is. Required.
ATTACK
  • attacktype:BLUNT or EDGE
  • contact_area:value
  • penetration_size:value
  • verb2nd:string
  • verb3rd:string
  • noun:string
  • velocity_multiplier:value
Specifies the attack characteristics of the ammunition.