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:Trap component token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Rated article "Exceptional" using the rating script)
m
 
(4 intermediate revisions by 2 users not shown)
Line 10: Line 10:
  
 
|-
 
|-
| NAME
+
|  {{text anchor|NAME}}
 
| singular:plural
 
| singular:plural
 
| What this item will be called ingame.
 
| What this item will be called ingame.
  
 
|-
 
|-
| ADJECTIVE
+
|  {{text anchor|ADJECTIVE}}
 
| adjective
 
| adjective
 
| Appears before the name of the weapon's material. Eg. "enormous steel corkscrew"
 
| Appears before the name of the weapon's material. Eg. "enormous steel corkscrew"
  
 
|-
 
|-
| [DAMAGE:''<damage amount>'':''<damage type>'']
+
| {{text anchor|DAMAGE}}
| dmg amount - value
+
|
dmg type - (slash, burn, etc.)
+
* dmg amount - value
| Sets the amount and the type of {{L|Damage}}
+
* dmg type - (slash, burn, etc.)
 +
| Sets the amount and the type of [[Damage]]
  
 
|-
 
|-
| STICK_CHANCE
+
| {{text anchor|STICK_CHANCE}}
 
| value
 
| value
 
| The chance of a weapon sticking in a target.
 
| The chance of a weapon sticking in a target.
  
 
|-
 
|-
| WEIGHT
+
| {{text anchor|WEIGHT}}
 
| value
 
| value
 
| How much an item weighs.
 
| How much an item weighs.
  
 
|-
 
|-
| HITS
+
| {{text anchor|HITS}}
 
| value
 
| value
 
| Number of times it hits.
 
| Number of times it hits.
  
 
|-
 
|-
| CRIT_BOOST:
+
| {{text anchor|CRIT_BOOST}}
 
| value
 
| value
 
| Increases the chance of a weapon piercing internal organs.
 
| Increases the chance of a weapon piercing internal organs.
  
 
|-
 
|-
| MATERIAL_SIZE:
+
| {{text anchor|MATERIAL_SIZE}}
 
| value
 
| value
| How much material is needed to make the item. Is most important with bars. The number of bars needed is the value divided by three.
+
| Intended to specify the number of bars needed to construct this trap component, divided by 3, but is not actually used - all trap components require 2 bars of metal.
 
|}
 
|}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Latest revision as of 20:20, 24 June 2025

This article is about an older version of DF.

For use on trap components.

Token Arguments Description
 NAME singular:plural What this item will be called ingame.
 ADJECTIVE adjective Appears before the name of the weapon's material. Eg. "enormous steel corkscrew"
 DAMAGE
  • dmg amount - value
  • dmg type - (slash, burn, etc.)
Sets the amount and the type of Damage
 STICK_CHANCE value The chance of a weapon sticking in a target.
 WEIGHT value How much an item weighs.
 HITS value Number of times it hits.
 CRIT_BOOST value Increases the chance of a weapon piercing internal organs.
 MATERIAL_SIZE value Intended to specify the number of bars needed to construct this trap component, divided by 3, but is not actually used - all trap components require 2 bars of metal.
CancelHideAbout

Rating 23a:Trap component token