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.

40d:Item definition token

From Dwarf Fortress Wiki
Revision as of 08:49, 21 February 2010 by Albedo (talk | contribs) (moved Item definition tokens to Item definition token: Naming conventions)
Jump to navigation Jump to search

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