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 "23a:Item token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
Line 189: Line 189:
 
The material tokens can be found at the {{L|Material token}}s page.
 
The material tokens can be found at the {{L|Material token}}s page.
  
[[Category:Modding]]
+
{{Category|Modding}}
[[Category:Tokens]]
+
{{Category|Tokens}}

Revision as of 19:00, 12 August 2010

This article is about an older version of DF.

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

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.
BALLISTAARROWHEAD Arrow heads for ballista bolts.
BALLISTAPARTS Ballista parts.
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 (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
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.
COFFIN Coffins and caskets.
COIN Coins.
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.
ORE Ore.
PANTS Armor and clothing worn on the legs. Subtypes come from item_pants.
PET Tame vermin. Material is a creature ID.
PLANT Plants. Material is a plant ID.
POTION ???
POWDER_ORGANIC Powders (such as flour or dye) from milled plants.
QUIVER Quivers.
REMAINS Dead vermin bodies. Material is a creature ID.
RING Rings.
ROCK Pebbles (more useful in Template:L.)
ROUGH Rough 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. "NO_SUBTYPE" 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 can be found at the Template:Ls page.