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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(LethosorBot moved page DF2014:Ammo token to Ammo token over redirect: Migrating v50 page (106/4761) (content))
Tag: New redirect
 
(Migrating v50 page (106/4761) (content))
Tag: Removed redirect
 
Line 1: Line 1:
#REDIRECT [[Ammo token]]
+
{{Quality|Fine|04:38, 17 May 2015 (UTC)}}
 +
{{av}}
 +
{{Modding}}
 +
 
 +
Tokens for [[ammunition]].
 +
{{clear}}
 +
 
 +
== Tokens ==
 +
{| {{prettytable}}
 +
|- bgcolor="#ddd"
 +
! Token
 +
! Arguments
 +
! Description
 +
 
 +
|-
 +
| {{text anchor|NAME}}
 +
| singular:plural
 +
| What this item will be called in-game.
 +
 
 +
|-
 +
| {{text anchor|CLASS}}
 +
| anything
 +
| This ammo can be fired from a weapon that is set to fire the same ammo type. Defaults to BOLT.
 +
 
 +
|-
 +
| {{text anchor|SIZE}} / {{text anchor|WEIGHT}}
 +
| value
 +
| How large the ammunition is. <font color="red">Required</font>.
 +
 
 +
|-
 +
| {{text anchor|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.
 +
|}
 +
 
 +
{{Category|Modding}}
 +
{{Category|Tokens}}
 +
[[ru:Ammo token]]

Latest revision as of 02:52, 20 December 2022

This article is about an older version of DF.

Tokens 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.