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
m (add ammo)
m (Added to the "modding" category.)
Line 33: Line 33:
  
 
[[Category:Hacking]]
 
[[Category:Hacking]]
 +
[[Category:Modding]]
 
[[Category:Tokens]]
 
[[Category:Tokens]]

Revision as of 01:09, 2 January 2010

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