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.

Editing Item token

Jump to navigation Jump to search

Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.

If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
{{Quality|Superior}}
+
{{Quality|Superior}}{{av}}
{{av}}
 
{{Modding}}
 
  
 
Item tokens are the first part in defining the target item in [[reaction]]s, containing the item type and subtype. They determine the most basic form of the item, made more specific by [[material token]]s.  Most item tokens do not have a subtype; for these, either NO_SUBTYPE or NONE '''must''' be specified.
 
Item tokens are the first part in defining the target item in [[reaction]]s, containing the item type and subtype. They determine the most basic form of the item, made more specific by [[material token]]s.  Most item tokens do not have a subtype; for these, either NO_SUBTYPE or NONE '''must''' be specified.
Line 9: Line 7:
 
Actually defining an item in the item raws is done with [[item definition token]]s.
 
Actually defining an item in the item raws is done with [[item definition token]]s.
  
__TOC__
+
==Standard Item Tokens==
{{clear}}
 
 
 
==Standard item tokens==
 
  
 
{| {{prettytable}} class="sortable"
 
{| {{prettytable}} class="sortable"
Line 44: Line 39:
 
| 12 || {{text anchor|GOBLET}} || NONE || [[Goblet]]s, mugs, and cups.
 
| 12 || {{text anchor|GOBLET}} || NONE || [[Goblet]]s, mugs, and cups.
 
|-
 
|-
| 13 || {{text anchor|INSTRUMENT}} || item_instrument.txt || Musical [[instrument]]s.  There is no vanilla item_instrument.txt as all vanilla instruments are generated.
+
| 13 || {{text anchor|INSTRUMENT}} || item_instrument.txt || Musical [[instrument]]s.
 
|-
 
|-
| 14 || {{text anchor|TOY}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_toy.txt item_toy.txt] || [[Toy]]s.
+
| 14 || {{text anchor|TOY}} || item_toy.txt || [[Toy]]s.
 
|-
 
|-
 
| 15 || {{text anchor|WINDOW}} || NONE || Glass [[window]]s.
 
| 15 || {{text anchor|WINDOW}} || NONE || Glass [[window]]s.
Line 66: Line 61:
 
| 23 || {{text anchor|CORPSE}} || NONE || [[Corpse]]s. Does not have a material that can be specified for reactions, but GET_MATERIAL_FROM_REAGENT will return the "dominant" material (normally flesh).
 
| 23 || {{text anchor|CORPSE}} || NONE || [[Corpse]]s. Does not have a material that can be specified for reactions, but GET_MATERIAL_FROM_REAGENT will return the "dominant" material (normally flesh).
 
|-
 
|-
| 24 || {{text anchor|WEAPON}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_weapon.txt item_weapon.txt] || [[Weapon]]s.
+
| 24 || {{text anchor|WEAPON}} || item_weapon.txt || [[Weapon]]s.
|-
 
| 25 || {{text anchor|ARMOR}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_armor.txt item_armor.txt] || [[Armor]] and clothing worn on the upper body.
 
 
|-
 
|-
| 26 || {{text anchor|SHOES}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_shoes.txt item_shoes.txt] || Armor and clothing worn on the feet.
+
| 25 || {{text anchor|ARMOR}} || item_armor.txt || [[Armor]] and clothing worn on the upper body.
 
|-
 
|-
| 27 || {{text anchor|SHIELD}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_shield.txt item_shield.txt] || [[Shield]]s and bucklers.
+
| 26 || {{text anchor|SHOES}} || item_shoes.txt || Armor and clothing worn on the feet.
 
|-
 
|-
| 28 || {{text anchor|HELM}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_helm.txt item_helm.txt] || Armor and clothing worn on the head.
+
| 27 || {{text anchor|SHIELD}} || item_shield.txt || [[Shield]]s and bucklers.
 
|-
 
|-
| 29 || {{text anchor|GLOVES}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_gloves.txt item_gloves.txt] || Armor and clothing worn on the hands.
+
| 28 || {{text anchor|HELM}} || item_helm.txt || Armor and clothing worn on the head.
 
|-
 
|-
| 30 || {{text anchor|BOX}} || NONE || [[Container|Chest]]s (wood), coffers (stone), and boxes (glass, default).
+
| 29 || {{text anchor|GLOVES}} || item_gloves.txt || Armor and clothing worn on the hands.
 
|-
 
|-
| 31 || {{text anchor|BAG}} || NONE || [[Container|Bag]]s (plant cloth, silk or leather).
+
| 30 || {{text anchor|BOX}} || NONE || [[Container|Chest]]s (wood), coffers (stone), boxes (glass, default), and bags (cloth or leather).
 
|-
 
|-
| 32 || {{text anchor|BIN}} || NONE || [[Bin]]s.
+
| 31 || {{text anchor|BIN}} || NONE || [[Bin]]s.
 
|-
 
|-
| 33 || {{text anchor|ARMORSTAND}} || NONE || [[Armor stand]]s.
+
| 32 || {{text anchor|ARMORSTAND}} || NONE || [[Armor stand]]s.
 
|-
 
|-
| 34 || {{text anchor|WEAPONRACK}} || NONE || [[Weapon rack]]s.
+
| 33 || {{text anchor|WEAPONRACK}} || NONE || [[Weapon rack]]s.
 
|-
 
|-
| 35 || {{text anchor|CABINET}} || NONE || [[Cabinet]]s.
+
| 34 || {{text anchor|CABINET}} || NONE || [[Cabinet]]s.
 
|-
 
|-
| 36 || {{text anchor|FIGURINE}} || NONE || [[Figurine]]s.
+
| 35 || {{text anchor|FIGURINE}} || NONE || [[Figurine]]s.
 
|-
 
|-
| 37 || {{text anchor|AMULET}} || NONE || [[Jewelry|Amulet]]s.
+
| 36 || {{text anchor|AMULET}} || NONE || [[Jewelry|Amulet]]s.
 
|-
 
|-
| 38 || {{text anchor|SCEPTER}} || NONE || [[Finished_goods#Crafts|Scepter]]s.
+
| 37 || {{text anchor|SCEPTER}} || NONE || [[Finished_goods#Crafts|Scepter]]s.
 
|-
 
|-
| 39 || {{text anchor|AMMO}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_ammo.txt item_ammo.txt] || [[Ammunition]] for hand-held weapons.
+
| 38 || {{text anchor|AMMO}} || item_ammo.txt || [[Ammunition]] for hand-held weapons.
 
|-
 
|-
| 40 || {{text anchor|CROWN}} || NONE || [[Jewelry|Crown]]s.
+
| 39 || {{text anchor|CROWN}} || NONE || [[Jewelry|Crown]]s.
 
|-
 
|-
| 41 || {{text anchor|RING}} || NONE || [[Jewelry|Ring]]s.
+
| 40 || {{text anchor|RING}} || NONE || [[Jewelry|Ring]]s.
 
|-
 
|-
| 42 || {{text anchor|EARRING}} || NONE || [[Jewelry|Earring]]s.
+
| 41 || {{text anchor|EARRING}} || NONE || [[Jewelry|Earring]]s.
 
|-
 
|-
| 43 || {{text anchor|BRACELET}} || NONE || [[Jewelry|Bracelet]]s.
+
| 42 || {{text anchor|BRACELET}} || NONE || [[Jewelry|Bracelet]]s.
 
|-
 
|-
| 44 || {{text anchor|GEM}} || NONE || Large [[gem]]s.
+
| 43 || {{text anchor|GEM}} || NONE || Large [[gem]]s.
 
|-
 
|-
| 45 || {{text anchor|ANVIL}} || NONE || [[Anvil]]s.
+
| 44 || {{text anchor|ANVIL}} || NONE || [[Anvil]]s.
 
|-
 
|-
| 46 || {{text anchor|CORPSEPIECE}} || NONE || [[Body part]]s. Does not have a material that can be specified for reactions, but GET_MATERIAL_FROM_REAGENT will return the "dominant" material.
+
| 45 || {{text anchor|CORPSEPIECE}} || NONE || [[Body part]]s. Does not have a material that can be specified for reactions, but GET_MATERIAL_FROM_REAGENT will return the "dominant" material.
 
|-
 
|-
| 47 || {{text anchor|REMAINS}} || NONE || Dead [[vermin]] bodies. Material is CREATURE_ID:CASTE.
+
| 46 || {{text anchor|REMAINS}} || NONE || Dead [[vermin]] bodies. Material is CREATURE_ID:CASTE.
 
|-
 
|-
| 48 || {{text anchor|MEAT}} || NONE || Butchered [[meat]].
+
| 47 || {{text anchor|MEAT}} || NONE || Butchered [[meat]].
 
|-
 
|-
| 49 || {{text anchor|FISH}} || NONE || Prepared [[fish]]. Material is CREATURE_ID:CASTE.
+
| 48 || {{text anchor|FISH}} || NONE || Prepared [[fish]]. Material is CREATURE_ID:CASTE.
 
|-
 
|-
| 50 || {{text anchor|FISH_RAW}} || NONE || Freshly-caught [[fish]]. Material is CREATURE_ID:CASTE.
+
| 49 || {{text anchor|FISH_RAW}} || NONE || Freshly-caught [[fish]]. Material is CREATURE_ID:CASTE.
 
|-
 
|-
| 51 || {{text anchor|VERMIN}} || NONE || Live [[vermin]]. Material is CREATURE_ID:CASTE.
+
| 50 || {{text anchor|VERMIN}} || NONE || Live [[vermin]]. Material is CREATURE_ID:CASTE.
 
|-
 
|-
| 52 || {{text anchor|PET}} || NONE || Tame [[vermin]]. Material is CREATURE_ID:CASTE.
+
| 51 || {{text anchor|PET}} || NONE || Tame [[vermin]]. Material is CREATURE_ID:CASTE.
 
|-
 
|-
| 53 || {{text anchor|SEEDS}} || NONE || [[Seed]]s from plants.
+
| 52 || {{text anchor|SEEDS}} || NONE || [[Seed]]s from plants.
 
|-
 
|-
| 54 || {{text anchor|PLANT}} || NONE || [[Plant]]s.
+
| 53 || {{text anchor|PLANT}} || NONE || [[Plant]]s.
 
|-
 
|-
| 55 || {{text anchor|SKIN_TANNED}} || NONE || [[Leather]].
+
| 54 || {{text anchor|SKIN_TANNED}} || NONE || [[Leather]].
 
|-
 
|-
| 56 || {{text anchor|PLANT_GROWTH}} || growth ID || Plant growths.  Subtype is the GROWTH's identifier within the [[plant token|plant raws]] (e.g. "LEAVES" or "FLOWERS" for most trees)
+
| 55 || {{text anchor|PLANT_GROWTH}} || growth ID || Plant growths.  Subtype is the GROWTH's identifier within the [[plant token|plant raws]] (e.g. "LEAVES" or "FLOWERS" for most trees)
 
|-
 
|-
| 57 || {{text anchor|THREAD}} || NONE || [[Thread]] (made at the [[farmer's workshop]]), [[web]]s (collected or undisturbed), and [[strand extactor|strands extracted]] from [[raw adamantine|suitable stones]]. Standard dimension = 15000.
+
| 56 || {{text anchor|THREAD}} || NONE || [[Thread]] (made at the [[farmer's workshop]]), [[web]]s (collected or undisturbed), and [[strand extactor|strands extracted]] from [[raw adamantine|suitable stones]]. Standard dimension = 15000.
 
|-
 
|-
| 58 || {{text anchor|CLOTH}} || NONE || [[Cloth]] made at the [[loom]]. Standard dimension = 10000.
+
| 57 || {{text anchor|CLOTH}} || NONE || [[Cloth]] made at the [[loom]]. Standard dimension = 10000.
 
|-
 
|-
| 59 || {{text anchor|TOTEM}} || NONE || Skull [[totem]]s.
+
| 58 || {{text anchor|TOTEM}} || NONE || Skull [[totem]]s.
 
|-
 
|-
| 60 || {{text anchor|PANTS}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_pants.txt item_pants.txt] || Armor and clothing worn on the legs.
+
| 59 || {{text anchor|PANTS}} || item_pants.txt || Armor and clothing worn on the legs.
 
|-
 
|-
| 61 || {{text anchor|BACKPACK}} || NONE || [[Backpack]]s.
+
| 60 || {{text anchor|BACKPACK}} || NONE || [[Backpack]]s.
 
|-
 
|-
| 62 || {{text anchor|QUIVER}} || NONE || [[Quiver]]s.
+
| 61 || {{text anchor|QUIVER}} || NONE || [[Quiver]]s.
 
|-
 
|-
| 63 || {{text anchor|CATAPULTPARTS}} || NONE || [[Catapult]] parts.
+
| 62 || {{text anchor|CATAPULTPARTS}} || NONE || [[Catapult]] parts.
 
|-
 
|-
| 64 || {{text anchor|BALLISTAPARTS}} || NONE || [[Ballista]] parts.
+
| 63 || {{text anchor|BALLISTAPARTS}} || NONE || [[Ballista]] parts.
 
|-
 
|-
| 65 || {{text anchor|SIEGEAMMO}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_siegeammo.txt item_siegeammo.txt] || Siege engine ammunition.
+
| 64 || {{text anchor|SIEGEAMMO}} || item_siegeammo.txt || Siege engine ammunition.
 
|-
 
|-
| 66 || {{text anchor|BALLISTAARROWHEAD}} || NONE || Ballista arrow heads.
+
| 65 || {{text anchor|BALLISTAARROWHEAD}} || NONE || Ballista arrow heads.
 
|-
 
|-
| 67 || {{text anchor|TRAPPARTS}} || NONE || [[Mechanism]]s.
+
| 66 || {{text anchor|TRAPPARTS}} || NONE || [[Mechanism]]s.
 
|-
 
|-
| 68 || {{text anchor|TRAPCOMP}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_trapcomp.txt item_trapcomp.txt] || [[Trap component]]s.
+
| 67 || {{text anchor|TRAPCOMP}} || item_trapcomp.txt || [[Trap component]]s.
 
|-
 
|-
| 69 || {{text anchor|DRINK}} || NONE || [[Alcohol]]ic drinks. Standard dimension = 150.
+
| 68 || {{text anchor|DRINK}} || NONE || [[Alcohol]]ic drinks. Standard dimension = 150.
 
|-
 
|-
| 70 || {{text anchor|POWDER_MISC}} || NONE || Powders such as [[flour]], [[dye]], [[sand]], or [[gypsum plaster]]. Standard dimension = 150.
+
| 69 || {{text anchor|POWDER_MISC}} || NONE || Powders such as [[flour]], [[dye]], [[sand]], or [[gypsum plaster]]. Standard dimension = 150.
 
|-
 
|-
| 71 || {{text anchor|CHEESE}} || NONE || Pieces of [[cheese]].
+
| 70 || {{text anchor|CHEESE}} || NONE || Pieces of [[cheese]].
 
|-
 
|-
| 72 || {{text anchor|FOOD}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_food.txt item_food.txt] || [[Prepared meal]]s.
+
| 71 || {{text anchor|FOOD}} || item_food.txt || [[Prepared meal]]s.
 
|-
 
|-
| 73 || {{text anchor|LIQUID_MISC}} || NONE || Liquids such as [[water]], [[lye]], and extracts. Standard dimension = 150.
+
| 72 || {{text anchor|LIQUID_MISC}} || NONE || Liquids such as [[water]], [[lye]], and extracts. Standard dimension = 150.
 
|-
 
|-
| 74 || {{text anchor|COIN}} || NONE || [[Coin]]s.
+
| 73 || {{text anchor|COIN}} || NONE || [[Coin]]s.
 
|-
 
|-
| 75 || {{text anchor|GLOB}} || NONE || [[Fat]], [[tallow]], pastes/pressed objects, and small bits of molten rock/metal. Standard dimension = 150.
+
| 74 || {{text anchor|GLOB}} || NONE || [[Fat]], [[tallow]], pastes/pressed objects, and small bits of molten rock/metal. Standard dimension = 150.
 
|-
 
|-
| 76 || {{text anchor|ROCK}} || NONE || Small rocks (usually [[Knapper|sharpened]] and/or [[Thrower|thrown]] in [[adventurer mode]]).
+
| 75 || {{text anchor|ROCK}} || NONE || Small rocks (usually [[Knapper|sharpened]] and/or [[Thrower|thrown]] in [[adventurer mode]]).
 
|-
 
|-
| 77 || {{text anchor|PIPE_SECTION}} || NONE || [[Pipe section]]s and glass tubes.
+
| 76 || {{text anchor|PIPE_SECTION}} || NONE || [[Pipe section]]s and glass tubes.
 
|-
 
|-
| 78 || {{text anchor|HATCH_COVER}} || NONE || [[Hatch cover]]s.
+
| 77 || {{text anchor|HATCH_COVER}} || NONE || [[Hatch cover]]s.
 
|-
 
|-
| 79 || {{text anchor|GRATE}} || NONE || [[Grate]]s.
+
| 78 || {{text anchor|GRATE}} || NONE || [[Grate]]s.
 
|-
 
|-
| 80 || {{text anchor|QUERN}} || NONE || [[Quern]]s.
+
| 79 || {{text anchor|QUERN}} || NONE || [[Quern]]s.
 
|-
 
|-
| 81 || {{text anchor|MILLSTONE}} || NONE || [[Millstone]]s.
+
| 80 || {{text anchor|MILLSTONE}} || NONE || [[Millstone]]s.
 
|-
 
|-
| 82 || {{text anchor|SPLINT}} || NONE || [[Splint]]s.
+
| 81 || {{text anchor|SPLINT}} || NONE || [[Splint]]s.
 
|-
 
|-
| 83 || {{text anchor|CRUTCH}} || NONE || [[Crutch]]es.
+
| 82 || {{text anchor|CRUTCH}} || NONE || [[Crutch]]es.
 
|-
 
|-
| 84 || {{text anchor|TRACTION_BENCH}} || NONE || [[Traction bench]]es.
+
| 83 || {{text anchor|TRACTION_BENCH}} || NONE || [[Traction bench]]es.
 
|-
 
|-
| 85 || {{text anchor|ORTHOPEDIC_CAST}} || NONE || [[Cast]]s.
+
| 84 || {{text anchor|ORTHOPEDIC_CAST}} || NONE || [[Cast]]s.
 
|-
 
|-
| 86 || {{text anchor|TOOL}} || [https://github.com/DF-Wiki/DFRawFunctions/blob/master/raws/v50/item_tool.txt item_tool.txt] || [[Tool]]s.
+
| 85 || {{text anchor|TOOL}} || item_tool.txt || [[Tool]]s.
 
|-
 
|-
| 87 || {{text anchor|SLAB}} || NONE || [[Slab]]s, memorials, and shop signs.
+
| 86 || {{text anchor|SLAB}} || NONE || [[Slab]]s, memorials, and shop signs.
 
|-
 
|-
| 88 || {{text anchor|EGG}} || NONE || [[Egg]]s. Material is CREATURE_ID:CASTE; in reactions this currently works in PRODUCTs but not REAGENTs.
+
| 87 || {{text anchor|EGG}} || NONE || [[Egg]]s. Material is CREATURE_ID:CASTE.
 
|-
 
|-
| 89 || {{text anchor|BOOK}} || NONE || [[Book]]s.
+
| 88 || {{text anchor|BOOK}} || NONE || [[Book]]s.
 
|-
 
|-
| 90 || {{text anchor|SHEET}} || NONE || [[Sheet]]s. Paper, papyrus, or parchment. Used for making [[quire]]s and [[scroll]]s.
+
| 89 || {{text anchor|SHEET}} || NONE || [[Sheet]]s. Paper, papyrus, or parchment. Used for making [[quire]]s and [[scroll]]s.
 
|-
 
|-
| 91 || {{text anchor|BRANCH}} || NONE || Branches plucked from trees, used for making stone axes in [[adventurer mode]].
+
| 90 || {{text anchor|BRANCH}} || NONE || Branches plucked from trees, used for making stone axes in [[adventurer mode]].
 
|}
 
|}
  
==Special use item tokens==
+
==Limited/Special Use Item Tokens==
  
 
In several specific locations, the values below can be substituted for the item type and subtype (and be followed directly by the [[material token]]).
 
In several specific locations, the values below can be substituted for the item type and subtype (and be followed directly by the [[material token]]).
Line 234: Line 227:
 
|}
 
|}
  
==Related tokens==
+
==Related Tokens==
  
 
These tokens are not Item Tokens at all, but can take the place of them in some circumstances.
 
These tokens are not Item Tokens at all, but can take the place of them in some circumstances.
Line 253: Line 246:
 
|}
 
|}
  
==See also==
+
==See Also==
 
*[[Material token]]
 
*[[Material token]]
 
*[[Reactions]]
 
*[[Reactions]]
  
 +
{{Modding navbox}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}
 
{{Category|Modding}}
 
{{Category|Modding}}
 
[[ru:Item token]]
 
[[ru:Item token]]

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)

This page is a member of 1 hidden category: