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 191: Line 191:
  
 
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.
 
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 {{L|Material tokens}} page.
 
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

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.