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.

40d:Item token

From Dwarf Fortress Wiki
Revision as of 00:28, 25 November 2008 by Random832 (talk | contribs) (+)
Jump to navigation Jump to search
You may be looking for Item definition tokens.

These are to be used with certain Creature Tokens (such as ITEMCORPSE) as well as in Reactions.


An item is described by four tokens, as such:

[<whatever is asking for the token>:TYPE:SUBTYPE:MATERIAL:MATGLOSS]

Item type tokens

Token Description
SMALLGEM Cut gemstones usable in jeweler's workshop
BLOCKS Blocks of any kind.
ROUGH Raw gemstones.
STONE Raw mined stone.
WOOD Wooden logs.
DOOR Doors.
FLOODGATE Floodgates.
BED Beds.
CHAIR Chairs and thrones.
CHAIN Chains and ropes.
FLASK Flasks.
GOBLET Goblets.
INSTRUMENT Musical instruments. Subtypes come from item_instrument.
TOY Toys. Subtypes come from item_toy.
WINDOW Windows.
CAGE Cages.
BARREL Barrels.
BUCKET Buckets.
ANIMALTRAP Traps for animals.
TABLE Tables.
COFFIN Coffins and caskets.
STATUE Statues.
CORPSE Dead things.
WEAPON Weapons. Subtypes come from item_weapon.
ARMOR Armor and clothing worn on the upper body. Subtypes come from item_armor.
SHOES Armor and clothing worn on the feet. Subtypes come from item_shoes.
SHIELD Shields and bucklers. Subtypes come from item_shield.
HELM Armor and clothing worn on the head. Subtypes come from item_helm.
GLOVES Armor and clothing worn on the hands. Subtypes come from item_gloves.
BOX Chests, coffers, and boxes.
BIN Bins.
SAND Sand.
ARMORSTAND Armor stands.
WEAPONRACK Weapon racks.
CABINET Cabinets.
FIGURINE Idols.
AMULET Amulets.
SCEPTER Scepters.
AMMO Ammunition for hand-held weapons. Subtypes come from item_ammo.
CROWN Crowns.
RING Rings.
EARRING Earrings.
BRACELET Bracelets.
GEM Large gems.
ANVIL Anvils.
CORPSEPIECE Body parts.
REMAINS Dead vermin bodies.
MEAT Butchered meat.
FISH Prepared fish.
FISH_RAW Unprepared fish.
VERMIN Small pseudo-creatures.
PET Tame vermin.
SEEDS Seeds from plants.
PLANT Plants.
SKIN_RAW Untanned skins.
SKIN_TANNED Tanned skins.
BONES Bones from creatures.
SHELL Shells from creatures that have them.
LEAVES Leaves from certain plants after processing.
THREAD Thread gathered from webs or made at the farmer's workshop.
CLOTH Cloth made at the loom.
TOTEM Totems.
SKULL Skulls of dead critters.
PANTS Armor and clothing worn on the legs. Subtypes come from item_pants.
BACKPACK Backpacks.
QUIVER Quivers.
CATAPULTPARTS Catapult parts.
BALLISTAPARTS Ballista parts.
SIEGEAMMO Siege ammo. Subtypes come from item_siegeammo.
BALLISTARROWHEAD Arrow heads for ballista bolts.
TRAPPARTS Mechanisms.
TRAPCOMP Weapons for traps only. Subtypes come from item_trapcomp.
EXTRACT Extracts from certain plants and creatures.
POTION ???
DRINK Liquids from brewed plants.
POWDER_MISC Powders (such as flour or dye) from milled plants; bone meal.
CHEESE Cheeses.
FOOD Prepared food.
LIQUID_MISC Miscellaneous liquids such as lye.
COIN Coins.
GLOB Fats, tallows and small bits of molten rock.
ROCK Pebbles (more useful in adventure mode.)
PIPE_SECTION Lengths of pipe.

Item subtype tokens

Most item types have no subtypes. "NONE" or "NO_SUBTYPE" (the raws use NO_SUBTYPE, saving an embark profile uses NONE) is used for the subtype position for these. For items that do have subtypes, the subtypes are defined from the raws for that item type as noted above.

Material tokens

The material tokens have been moved to the new Matgloss tokens page.