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:Item definition token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(This edit (probably) adds this page to the Tokens category, in wihch it belongs.)
m (add ammo)
Line 4: Line 4:
 
*[[Weapon Tokens]]
 
*[[Weapon Tokens]]
 
*[[Armor Tokens]]
 
*[[Armor Tokens]]
 +
*[[Ammo Tokens]]
  
 
Item types:
 
Item types:

Revision as of 01:47, 8 November 2009

Item definition tokens are used in item definitions in the raws.

See:

Item types:

  • ITEM_WEAPON
  • ITEM_TOY
  • ITEM_INSTRUMENT
  • ITEM_TRAPCOMP
  • ITEM_ARMOR
  • ITEM_AMMO
  • ITEM_SIEGEAMMO
  • ITEM_GLOVES
  • ITEM_SHOES
  • ITEM_SHIELD
  • ITEM_HELM
  • ITEM_PANTS
  • ITEM_FOOD

Toys, Instruments

  • HARD_MAT - In stock raws, is on everything but drums and puzzleboxes.

Food (prepared meals)

  • LEVEL - the number of ingredients, 2/3/4 for Easy/Fine/Lavish meals.

Trap components

  • HITS - number of times a trap component can strike an enemy
  • IS_SCREW - can be used in a screw pump
  • IS_SPIKE - can be built as an upright spike