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 token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 95: Line 95:
 
| GEM || Large gems.
 
| GEM || Large gems.
 
|-
 
|-
| GLOB || Fats, tallows and small bits of molten rock.
+
| GLOB || Fats, tallows and small bits of molten rock/metal. Also works with blood, vomit, mud, filth, salt, grime and unknown substance.
 
|-
 
|-
 
| GLOVES || Clothing worn on the hands.  Subtypes come from item_gloves.
 
| GLOVES || Clothing worn on the hands.  Subtypes come from item_gloves.

Revision as of 10:25, 14 November 2009

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

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 Material tokens page.