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

Revision as of 17:16, 13 August 2010

This article is about an older version of DF.
You may be looking for Template:L.

These are to be used with certain Template:L (such as ITEMCORPSE) as well as in Template:L.

An item is described by four tokens, as such:

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

Item type tokens

Token Description
BAR Both metal and non-metal bars.
SMALLGEM Cut gemstones usable in jeweler's workshop
BLOCKS Blocks of any kind.
ROUGH Rough gemstones.
STONE Raw mined stone.
WOOD Wooden logs.
DOOR Doors.
FLOODGATE Floodgates.
HATCH_COVER Hatch covers.
GRATE Grates.
BED Beds.
CHAIR Chairs and thrones.
CHAIN Chains and ropes.
FLASK Flasks.
GOBLET Goblets, cups (wooden), and mugs (rock).
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.
QUERN Querns.
MILLSTONE Millstones.
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 Clothing worn on the hands. Subtypes come from item_gloves.
BOX Chests (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
BIN Bins.
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. Material is a creature ID.
MEAT Butchered meat. Material is a creature ID.
FISH Prepared fish. Material is a creature ID.
FISH_RAW Unprepared fish. Material is a creature ID.
VERMIN Small pseudo-creatures. Material is a creature ID.
PET Tame vermin. Material is a creature ID.
SEEDS Seeds from plants.
PLANT Plants. Material is a plant ID.
SKIN_RAW Untanned skins.
SKIN_TANNED Tanned skins.
BONES Bones from creatures. Material is a creature ID.
SHELL Shells from creatures that have them. Material is a creature ID.
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. Possibly broken, neither BONE material or creature IDs seem to work.
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.
BALLISTAARROWHEAD 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, dye, sand, or 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/metal. Also works with blood, vomit, mud, filth, salt, grime and unknown substance.
ROCK Pebbles (more useful in Template:L.)
PIPE_SECTION Pipe sections.

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 Template:L page.