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

From Dwarf Fortress Wiki
Jump to navigation Jump to search
m (Rated article "Exceptional" using the rating script)
 
Line 20: Line 20:
  
 
|-
 
|-
| SIZE
+
| SIZE / WEIGHT
 
| value
 
| value
| How large the item is.
+
| How large the item is. Defaults to 100.
 
 
 
 
|-
 
| WEIGHT
 
| value
 
| How much an item weighs.
 
  
 
|-
 
|-
 
| HITS
 
| HITS
 
| value
 
| value
| Number of times it hits.
+
| Number of times it hits. Defaults to 1
  
 
|-
 
|-
| MATERIAL_SIZE:
+
| 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.
+
| 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. <font color="red">Required</font>.
  
 
|-  
 
|-  

Latest revision as of 03:38, 20 November 2011

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. "menacing steel spike"
SIZE / WEIGHT value How large the item is. Defaults to 100.
HITS value Number of times it hits. Defaults to 1
MATERIAL_SIZE 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. Required.
IS_SCREW Weapon may be installed in a screw pump.
IS_SPIKE Weapon may be installed in a spike trap.
WOOD Weapon may be made out of wood.
METAL Weapon may be made out of metal.
ATTACK
  • attacktype:EDGE (or BLUNT?)
  • contact_area:value
  • penetration_size:value
  • verb2nd:string
  • verb3rd:string
  • noun:string
  • velocity_multiplier:value
Sets the attack characteristics of the weapon