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 {{L|Item definition token}}.''
:''You may be looking for [[Item definition token]].''
+
These are to be used with certain {{L|Creature token}} (such as ITEMCORPSE) as well as in {{L|Reactions}}.
These are to be used with certain [[Creature token]] (such as ITEMCORPSE) as well as in [[Reactions]].
 
  
 
An item is described by four tokens, as such:
 
An item is described by four tokens, as such:
  
 
  [<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 14: Line 11:
 
{| {{prettytable}} class="sortable"
 
{| {{prettytable}} class="sortable"
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
! # !! Token !! Description
+
! Token !! Description
 
|-
 
|-
| 0 || BAR || [[Bar]]s, such as [[metal]], [[fuel]], or [[soap]].
+
| BAR || Both metal and non-metal bars.
 
|-
 
|-
| 1 || SMALLGEM || Cut [[gem]]stones usable in [[jeweler's workshop]]
+
| SMALLGEM || Cut gemstones usable in jeweler's workshop
 
|-
 
|-
| 2 || BLOCKS || [[Block]]s of any kind.
+
| BLOCKS || Blocks of any kind.
 
|-
 
|-
| 3 || ROUGH || Rough [[gem]]stones or raw [[glass]].
+
| ROUGH || Rough gemstones.
 
|-
 
|-
| 4 || STONE || Raw mined [[stone]].
+
| STONE || Raw mined stone.
 
|-
 
|-
| 5 || WOOD || Wooden [[log]]s. Material must be WOOD.
+
| WOOD || Wooden logs.
 
|-
 
|-
| 6 || DOOR || [[Door]]s.
+
| DOOR || Doors.
 
|-
 
|-
| 7 || FLOODGATE || [[Floodgate]]s.
+
| FLOODGATE || Floodgates.
 
|-
 
|-
| 8 || BED || [[Bed]]s.
+
| HATCH_COVER || Hatch covers.
 
|-
 
|-
| 9 || CHAIR || [[Chair]]s and thrones.
+
| GRATE || Grates.
 
|-
 
|-
| 10 || CHAIN || [[Chain]]s and [[rope]]s.
+
| BED || Beds.
 
|-
 
|-
| 11 || FLASK || [[Flask]]s.
+
| CHAIR || Chairs and thrones.
 
|-
 
|-
| 12 || GOBLET || [[Goblet]]s.
+
| CHAIN || Chains and ropes.
 
|-
 
|-
| 13 || INSTRUMENT || Musical [[instrument]]s.  Subtypes come from item_instrument.txt
+
| FLASK || Flasks.
 
|-
 
|-
| 14 || TOY || [[Toy]]s.  Subtypes come from item_toy.txt
+
| GOBLET || Goblets, cups (wooden), and mugs (rock).
 
|-
 
|-
| 15 || WINDOW || Glass [[window]]s.
+
| INSTRUMENT || Musical instruments.  Subtypes come from item_instrument.
 
|-
 
|-
| 16 || CAGE || [[Cage]]s.
+
| TOY || Toys.  Subtypes come from item_toy.
 
|-
 
|-
| 17 || BARREL || [[Barrel]]s.
+
| WINDOW || Windows.
 
|-
 
|-
| 18 || BUCKET || [[Bucket]]s.
+
| CAGE || Cages.
 
|-
 
|-
| 19 || ANIMALTRAP || [[Animal trap]]s.
+
| BARREL || Barrels.
 
|-
 
|-
| 20 || TABLE || [[Table]]s.
+
| BUCKET || Buckets.
 
|-
 
|-
| 21 || COFFIN || [[Coffin]]s.
+
| ANIMALTRAP || Traps for animals.
 
|-
 
|-
| 22 || STATUE || [[Statue]]s.
+
| TABLE || Tables.
 
|-
 
|-
| 23 || CORPSE || [[Corpse]]s. Has no material.
+
| COFFIN || Coffins and caskets.
 
|-
 
|-
| 24 || WEAPON || [[Weapon]]s.  Subtypes come from item_weapon.txt
+
| STATUE || Statues.
 
|-
 
|-
| 25 || ARMOR || [[Armor]] and clothing worn on the upper body.  Subtypes come from item_armor.txt
+
| QUERN || Querns.
 
|-
 
|-
| 26 || SHOES || Armor and clothing worn on the feet.  Subtypes come from item_shoes.txt
+
| MILLSTONE || Millstones.
 
|-
 
|-
| 27 || SHIELD || [[Shield]]s and bucklers.  Subtypes come from item_shield.txt
+
| CORPSE || Dead things.
 
|-
 
|-
| 28 || HELM || Armor and clothing worn on the head.  Subtypes come from item_helm.txt
+
| WEAPON || Weapons.  Subtypes come from item_weapon.
 
|-
 
|-
| 29 || GLOVES || Armor and clothing worn on the hands.  Subtypes come from item_gloves.txt
+
| ARMOR || Armor and clothing worn on the upper body.  Subtypes come from item_armor.
 
|-
 
|-
| 30 || BOX || [[Container|Chest]]s (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
+
| SHOES || Armor and clothing worn on the feet.  Subtypes come from item_shoes.
 
|-
 
|-
| 31 || BIN || [[Bin]]s.
+
| SHIELD || Shields and bucklers.  Subtypes come from item_shield.
 
|-
 
|-
| 32 || ARMORSTAND || [[Armor stand]]s.
+
| HELM || Armor and clothing worn on the head.  Subtypes come from item_helm.
 
|-
 
|-
| 33 || WEAPONRACK || [[Weapon rack]]s.
+
| GLOVES || Clothing worn on the hands.  Subtypes come from item_gloves.
 
|-
 
|-
| 34 || CABINET || [[Cabinet]]s.
+
| BOX || Chests (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
 
|-
 
|-
| 35 || FIGURINE || [[Idol]]s.
+
| BIN || Bins.
 
|-
 
|-
| 36 || AMULET || [[Amulet]]s.
+
| ARMORSTAND || Armor stands.
 
|-
 
|-
| 37 || SCEPTER || [[Scepter]]s.
+
| WEAPONRACK || Weapon racks.
 
|-
 
|-
| 38 || AMMO || [[Ammunition]] for hand-held weapons.  Subtypes come from item_ammo.txt
+
| CABINET || Cabinets.
 
|-
 
|-
| 39 || CROWN || [[Crown]]s.
+
| FIGURINE || Idols.
 
|-
 
|-
| 40 || RING || [[Ring]]s.
+
| AMULET || Amulets.
 
|-
 
|-
| 41 || EARRING || [[Earring]]s.
+
| SCEPTER || Scepters.
 
|-
 
|-
| 42 || BRACELET || [[Bracelet]]s.
+
| AMMO || Ammunition for hand-held weapons.  Subtypes come from item_ammo.
 
|-
 
|-
| 43 || GEM || Large [[gem]]s.
+
| CROWN || Crowns.
 
|-
 
|-
| 44 || ANVIL || [[Anvil]]s.
+
| RING || Rings.
 
|-
 
|-
| 45 || CORPSEPIECE || [[Body part]]s. Has no material.
+
| EARRING || Earrings.
 
|-
 
|-
| 46 || REMAINS || Dead [[vermin]] bodies and large creature [[chunk]]s. Material is a creature ID.
+
| BRACELET || Bracelets.
 
|-
 
|-
| 47 || MEAT || Butchered [[meat]]. Material is a creature ID.
+
| GEM || Large gems.
 
|-
 
|-
| 48 || FISH || Prepared [[fish]]. Material is a creature ID.
+
| ANVIL || Anvils.
 
|-
 
|-
| 49 || FISH_RAW || Unprepared [[fish]]. Material is a creature ID.
+
| CORPSEPIECE || Body parts.
 
|-
 
|-
| 50 || VERMIN || Live [[vermin]]. Material is a creature ID.
+
| REMAINS || Dead vermin bodies. Material is a creature ID.
 
|-
 
|-
| 51 || PET || Tame [[vermin]]. Material is a creature ID.
+
| MEAT || Butchered meat. Material is a creature ID.
 
|-
 
|-
| 52 || SEEDS || [[Seed]]s from plants. Material is a plant ID.
+
| FISH || Prepared fish. Material is a creature ID.
 
|-
 
|-
| 53 || PLANT || [[Plant]]s. Material is a plant ID.
+
| FISH_RAW || Unprepared fish. Material is a creature ID.
 
|-
 
|-
| 54 || SKIN_RAW || Untanned [[skin]]s. Material is a creature ID.
+
| VERMIN || Small pseudo-creatures. Material is a creature ID.
 
|-
 
|-
| 55 || SKIN_TANNED || [[Leather]]. Material must be LEATHER.
+
| PET || Tame vermin. Material is a creature ID.
 
|-
 
|-
| 56 || BONES || [[Bone]]s from creatures. Material is a creature ID.
+
| SEEDS || Seeds from plants.
 
|-
 
|-
| 57 || SHELL || [[Shell]]s from creatures that have them. Material is a creature ID.
+
| PLANT || Plants. Material is a plant ID.
 
|-
 
|-
| 58 || LEAVES || Leaves, usually from [[quarry bush]]es. Material is a plant ID.
+
| SKIN_RAW || Untanned skins.
 
|-
 
|-
| 59 || THREAD || [[Thread]] gathered from webs or made at the [[farmer's workshop]].
+
| SKIN_TANNED || Tanned skins.
 
|-
 
|-
| 60 || CLOTH || [[Cloth]] made at the [[loom]].
+
| BONES || Bones from creatures. Material is a creature ID.
 
|-
 
|-
| 61 || TOTEM || Skull [[totem]]s.
+
| SHELL || Shells from creatures that have them. Material is a creature ID.
 
|-
 
|-
| 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.
+
| LEAVES || Leaves from certain plants after processing.
 
|-
 
|-
| 63 || PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.txt
+
| THREAD || Thread gathered from webs or made at the farmer's workshop.
 
|-
 
|-
| 64 || BACKPACK || [[Backpack]]s.
+
| CLOTH || Cloth made at the loom.
 
|-
 
|-
| 65 || QUIVER || [[Quiver]]s.
+
| TOTEM || Totems.
 
|-
 
|-
| 66 || CATAPULTPARTS || [[Catapult]] parts.
+
| SKULL || Skulls of dead critters. Possibly broken, neither BONE material or creature IDs seem to work.
 
|-
 
|-
| 67 || BALLISTAPARTS || [[Ballista]] parts.
+
| PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
 
|-
 
|-
| 68 || SIEGEAMMO || Siege engine ammunition.  Subtypes come from item_siegeammo.txt
+
| BACKPACK || Backpacks.
 
|-
 
|-
| 69 || BALLISTAARROWHEAD || Ballista arrow heads.
+
| QUIVER || Quivers.
 
|-
 
|-
| 70 || TRAPPARTS || [[Mechanism]]s.
+
| CATAPULTPARTS || Catapult parts.
 
|-
 
|-
| 71 || TRAPCOMP || [[Trap component]]s.  Subtypes come from item_trapcomp.txt
+
| BALLISTAPARTS || Ballista parts.
 
|-
 
|-
| 72 || EXTRACT || [[Extract]]s from certain plants and creatures. Material is either CREATURE or PLANT, and matgloss is a creature ID or plant ID.
+
| SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
 
|-
 
|-
| 73 || POTION || ???
+
| BALLISTAARROWHEAD || Arrow heads for ballista bolts.
 
|-
 
|-
| 74 || DRINK || [[Alcohol]]ic drinks.
+
| TRAPPARTS || Mechanisms.
 
|-
 
|-
| 75 || POWDER_MISC || Powders such as [[flour]], [[dye]], [[sand]], or [[bone meal]].
+
| TRAPCOMP || Weapons for traps only.  Subtypes come from item_trapcomp.
 
|-
 
|-
| 76 || CHEESE || Pieces of [[cheese]]. Material is either CREATURE or PLANT, and matgloss is a creature ID or plant ID.
+
| EXTRACT || Extracts from certain plants and creatures.
 
|-
 
|-
| 77 || FOOD || [[Prepared meal]]s. Subtypes come from item_food.txt
+
| POTION || ???
 
|-
 
|-
| 78 || LIQUID_MISC || Liquids such as [[water]] and [[lye]].
+
| DRINK || Liquids from brewed plants.
 
|-
 
|-
| 79 || COIN || [[Coin]]s.
+
| POWDER_MISC || Powders such as flour, dye, sand, or bone meal
 
|-
 
|-
| 80 || GLOB || [[Fat]], [[tallow]], and small bits of molten rock/metal. Also works with blood, vomit, mud, filth, salt, grime and unknown substance.
+
| CHEESE || Cheeses.
 
|-
 
|-
| 81 || ROCK || Small rocks (usually [[Thrower|thrown]] in [[adventurer mode]]).
+
| FOOD || Prepared food.
 
|-
 
|-
| 82 || PIPE_SECTION || [[Pipe section]]s.
+
| LIQUID_MISC || Miscellaneous liquids such as lye.
 
|-
 
|-
| 83 || HATCH_COVER || [[Hatch cover]]s.
+
| COIN || Coins.
 
|-
 
|-
| 84 || GRATE || [[Grate]]s.
+
| GLOB || Fats, tallows and small bits of molten rock/metal. Also works with blood, vomit, mud, filth, salt, grime and unknown substance.
 
|-
 
|-
| 85 || QUERN || [[Quern]]s.
+
| ROCK || Pebbles (more useful in {{L|Thrower|adventure mode}}.)
 
|-
 
|-
| 86 || MILLSTONE || [[Millstone]]s.
+
| PIPE_SECTION || Pipe sections.
 
|}
 
|}
  

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)