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
(Tagging v50 page (113/4888))
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
{{migrated article}}
+
{{Quality|Fine}}
{{Quality|Unrated}}
 
 
{{av}}
 
{{av}}
 
{{Modding}}
 
{{Modding}}
  
Tokens for [[ammunition]].
+
'''Ammo tokens''' are an [[item definition token]] for [[ammunition]].
 
{{clear}}
 
{{clear}}
  

Latest revision as of 21:27, 31 March 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[edit]

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.