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
(+)
(rearrange)
Line 1: Line 1:
 +
'''Item definition tokens''' are used in item definitions in the raws.
 +
 +
See:
 +
*[[Weapon Tokens]]
 +
*[[Armor Tokens]]
 +
 +
Item types:
 
* ITEM_WEAPON
 
* ITEM_WEAPON
 
* ITEM_TOY
 
* ITEM_TOY
Line 12: Line 19:
 
* ITEM_PANTS
 
* ITEM_PANTS
 
* ITEM_FOOD
 
* ITEM_FOOD
 
Weapons
 
* ADJECTIVE
 
* DAMAGE
 
* WEIGHT
 
* STICK_CHANCE
 
* SKILL
 
* RANGED
 
* CRIT_BOOST
 
* TWO_HANDED
 
* MINIMUM_SIZE
 
* CAN_STONE
 
* MATERIAL_SIZE
 
  
 
Toys, Instruments
 
Toys, Instruments
 
* HARD_MAT - In stock raws, is on everything but instruments and puzzleboxes.
 
* HARD_MAT - In stock raws, is on everything but instruments and puzzleboxes.
  
Trap Components
+
Food (prepared meals)
* [Most weapon ones seem to apply]
+
* LEVEL - the number of ingredients, 2/3/4 for Easy/Fine/Lavish meals.
* HITS - Number of times it hits?
 
* IS_SCREW - Presumably, can be installed into a screw pump.
 
* IS_SPIKE - Presumably, can be mounted as an upright spike trap.
 
 
 
Armor
 
* SOFT
 
* HARD
 
* BARRED
 
* SCALED
 
* SHAPED
 
* LAYER_SIZE
 
* LAYER_PERMIT
 
* LAYER
 
* OVER
 
* UNDER
 
* COVER
 
* COVERAGE
 
* PREPLURAL
 
* MATERIAL_PLACEHOLDER
 
* VALUE
 
* ARMORLEVEL
 
* UBSTEP
 
* MAX
 
* LBSTEP
 
* METAL_ARMOR_LEVELS
 
* MAINBLOCK
 
* SECONDBLOCK
 
 
 
Ammo; Siege Ammo
 
* CLASS - what kind of weapon it can be used in
 
 
 
Not quite armor? Gloves/Shoes/Shield/Helm/Pants
 
The way these are arranged in the exe is a bit confusing, but it's likely they are valid for only some types of armor. It's not clear which they are valid for, other than by seeing what they're used in the stock raws. Most armor tokens seem to be valid.
 
* BLOCKPOWER
 
* UPSTEP
 
* BLOCKCHANCE
 
* CHAIN_METAL
 
 
 
Food
 
* LEVEL
 

Revision as of 03:07, 20 November 2008

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 instruments and puzzleboxes.

Food (prepared meals)

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