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 "40d:Ammo token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(New page: =Ammo Tokens= {| border="1" cellpadding="2" ! width="35%" | Token ! width="24%" | Arguments ! width="41%" | Description |- | CLASS | anything | This ammo can be fired from a weapon that i...)
 
m (Changed quality rating from "Exceptional" to "Superior" using the rating script)
 
(14 intermediate revisions by 6 users not shown)
Line 1: Line 1:
 +
{{Quality|Superior|01:11, 8 July 2013 (UTC)}}
 +
{{av}}
 
=Ammo Tokens=
 
=Ammo Tokens=
{| border="1" cellpadding="2"
+
{| {{prettytable}}
! width="35%" | Token
+
|- bgcolor="#ddd"
! width="24%" | Arguments
+
! Token
! width="41%" | Description
+
! Arguments
 +
! Description
  
 
|-
 
|-
 
| CLASS
 
| CLASS
 
| anything
 
| anything
| This ammo can be fired from a weapon that is set to fire the same ammo type as this. Must be in caps?
+
| This ammo can be fired from a weapon that is set to fire the same ammo type as this.
  
 
|-
 
|-
Line 20: Line 23:
 
| singular:plural
 
| singular:plural
 
| What this item will be called ingame.
 
| What this item will be called ingame.
 +
 +
|-
 +
| STICK_CHANCE
 +
| value
 +
| The chance of the projectile sticking in a target.
 
|}
 
|}
  
[[Category:Modding]]
+
{{Category|Modding}}
 +
{{Category|Tokens}}

Latest revision as of 01:11, 8 July 2013

This article is about an older version of DF.

Ammo Tokens[edit]

Token Arguments Description
CLASS anything This ammo can be fired from a weapon that is set to fire the same ammo type as this.
[DAMAGE:<damage amount>:<damage type>] dmg amount - value

dmg type - (slash, burn, etc.)

Sets the amount and the type of Damage
NAME singular:plural What this item will be called ingame.
STICK_CHANCE value The chance of the projectile sticking in a target.