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 "23a:Ammo token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Fixing links within namespace (020/950))
m
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{quality|Exceptional|21:10, 30 March 2011 (UTC)}}{{av}}
+
{{Quality|Superior|01:11, 8 July 2013 (UTC)}}
 +
{{av}}
 
=Ammo Tokens=
 
=Ammo Tokens=
 
{| {{prettytable}}
 
{| {{prettytable}}
Line 8: Line 9:
  
 
|-
 
|-
| NAME
+
| {{text anchor|NAME}}
 
| singular:plural
 
| singular:plural
 
| What this item will be called ingame.
 
| What this item will be called ingame.
  
 
|-
 
|-
| [DAMAGE:''<damage amount>'':''<damage type>'']
+
| {{text anchor|DAMAGE}}
| dmg amount - value
+
|
dmg type - (slash, burn, etc.)
+
* <damage amount>
 +
* <damage type>
 
| Sets the amount and the type of [[Damage]]
 
| Sets the amount and the type of [[Damage]]
  
 
|-
 
|-
| CLASS
+
| {{text anchor|CLASS}}
 
| anything
 
| anything
 
| This ammo can be fired from a weapon that is set to fire the same ammo type as this.
 
| This ammo can be fired from a weapon that is set to fire the same ammo type as this.
  
 
|-
 
|-
| STICK_CHANCE
+
| {{text anchor|STICK_CHANCE}}
 
| value
 
| value
 
| The chance of the projectile sticking in a target.
 
| The chance of the projectile sticking in a target.

Latest revision as of 14:16, 24 June 2025

This article is about an older version of DF.

Ammo Tokens[edit]

Token Arguments Description
 NAME singular:plural What this item will be called ingame.
 DAMAGE
  • <damage amount>
  • <damage type>
Sets the amount and the type of Damage
 CLASS anything This ammo can be fired from a weapon that is set to fire the same ammo type as this.
 STICK_CHANCE value The chance of the projectile sticking in a target.