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 40d: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.

You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "40d"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.

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|01:25, 8 July 2013 (UTC)}}
+
{{quality|Exceptional|21:18, 30 March 2011 (UTC)}}{{av}}
{{av}}
 
 
:''You may be looking for [[Item definition token]].''
 
:''You may be looking for [[Item definition token]].''
 
These are to be used with certain [[Creature token]] (such as ITEMCORPSE) as well as in [[Reactions]].
 
These are to be used with certain [[Creature token]] (such as ITEMCORPSE) as well as in [[Reactions]].
Line 7: Line 6:
  
 
  [<whatever is asking for the token>:TYPE:SUBTYPE:MATERIAL:MATGLOSS]
 
  [<whatever is asking for the token>:TYPE:SUBTYPE:MATERIAL:MATGLOSS]
 
Nearly all items are made of a [[Material token|material]], though several types expect either a creature ID or a plant ID instead.
 
  
 
==Item type tokens==
 
==Item type tokens==
Line 26: Line 23:
 
| 4 || STONE || Raw mined [[stone]].
 
| 4 || STONE || Raw mined [[stone]].
 
|-
 
|-
| 5 || WOOD || Wooden [[log]]s. Material must be WOOD.
+
| 5 || WOOD || Wooden [[log]]s.
 
|-
 
|-
 
| 6 || DOOR || [[Door]]s.
 
| 6 || DOOR || [[Door]]s.
Line 62: Line 59:
 
| 22 || STATUE || [[Statue]]s.
 
| 22 || STATUE || [[Statue]]s.
 
|-
 
|-
| 23 || CORPSE || [[Corpse]]s. Has no material.
+
| 23 || CORPSE || [[Corpse]]s.
 
|-
 
|-
 
| 24 || WEAPON || [[Weapon]]s.  Subtypes come from item_weapon.txt
 
| 24 || WEAPON || [[Weapon]]s.  Subtypes come from item_weapon.txt
Line 106: Line 103:
 
| 44 || ANVIL || [[Anvil]]s.
 
| 44 || ANVIL || [[Anvil]]s.
 
|-
 
|-
| 45 || CORPSEPIECE || [[Body part]]s. Has no material.
+
| 45 || CORPSEPIECE || [[Body part]]s.
 
|-
 
|-
 
| 46 || REMAINS || Dead [[vermin]] bodies and large creature [[chunk]]s. Material is a creature ID.
 
| 46 || REMAINS || Dead [[vermin]] bodies and large creature [[chunk]]s. Material is a creature ID.
Line 120: Line 117:
 
| 51 || PET || Tame [[vermin]]. Material is a creature ID.
 
| 51 || PET || Tame [[vermin]]. Material is a creature ID.
 
|-
 
|-
| 52 || SEEDS || [[Seed]]s from plants. Material is a plant ID.
+
| 52 || SEEDS || [[Seed]]s from plants.
 
|-
 
|-
 
| 53 || PLANT || [[Plant]]s. Material is a plant ID.
 
| 53 || PLANT || [[Plant]]s. Material is a plant ID.
 
|-
 
|-
| 54 || SKIN_RAW || Untanned [[skin]]s. Material is a creature ID.
+
| 54 || SKIN_RAW || Untanned [[skin]]s.
 
|-
 
|-
| 55 || SKIN_TANNED || [[Leather]]. Material must be LEATHER.
+
| 55 || SKIN_TANNED || [[Leather]].
 
|-
 
|-
 
| 56 || BONES || [[Bone]]s from creatures. Material is a creature ID.
 
| 56 || BONES || [[Bone]]s from creatures. Material is a creature ID.
Line 132: Line 129:
 
| 57 || SHELL || [[Shell]]s from creatures that have them. Material is a creature ID.
 
| 57 || SHELL || [[Shell]]s from creatures that have them. Material is a creature ID.
 
|-
 
|-
| 58 || LEAVES || Leaves, usually from [[quarry bush]]es. Material is a plant ID.
+
| 58 || LEAVES || Leaves, usually from [[quarry bush]]es.
 
|-
 
|-
 
| 59 || THREAD || [[Thread]] gathered from webs or made at the [[farmer's workshop]].
 
| 59 || THREAD || [[Thread]] gathered from webs or made at the [[farmer's workshop]].
Line 140: Line 137:
 
| 61 || TOTEM || Skull [[totem]]s.
 
| 61 || TOTEM || Skull [[totem]]s.
 
|-
 
|-
| 62 || SKULL || [[Skull]]s of dead creatures. Does not work correctly - raws are parsed as a standard material+matgloss, but the item interprets the material as a creature ID. See [[40d Talk:Item token#Skulls|talk]] for more information.
+
| 62 || SKULL || [[Skull]]s of dead creatures. Possibly broken, neither BONE material or creature IDs seem to work.
 
|-
 
|-
 
| 63 || PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.txt
 
| 63 || PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.txt
Line 160: Line 157:
 
| 71 || TRAPCOMP || [[Trap component]]s.  Subtypes come from item_trapcomp.txt
 
| 71 || TRAPCOMP || [[Trap component]]s.  Subtypes come from item_trapcomp.txt
 
|-
 
|-
| 72 || EXTRACT || [[Extract]]s from certain plants and creatures. Material is either CREATURE or PLANT, and matgloss is a creature ID or plant ID.
+
| 72 || EXTRACT || [[Extract]]s from certain plants and creatures.
 
|-
 
|-
 
| 73 || POTION || ???
 
| 73 || POTION || ???
Line 168: Line 165:
 
| 75 || POWDER_MISC || Powders such as [[flour]], [[dye]], [[sand]], or [[bone meal]].
 
| 75 || POWDER_MISC || Powders such as [[flour]], [[dye]], [[sand]], or [[bone meal]].
 
|-
 
|-
| 76 || CHEESE || Pieces of [[cheese]]. Material is either CREATURE or PLANT, and matgloss is a creature ID or plant ID.
+
| 76 || CHEESE || Pieces of [[cheese]].
 
|-
 
|-
 
| 77 || FOOD || [[Prepared meal]]s. Subtypes come from item_food.txt
 
| 77 || FOOD || [[Prepared meal]]s. Subtypes come from item_food.txt

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)