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 "v0.31:Item token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Scraped from disassembly, every single item token recognized in 0.31.12)
Line 3: Line 3:
 
Item tokens are the first part in defining the target item in reactions, containing the ITEM_TOKEN and ITEM_SUBTYPE.  They determine the most basic form of item, and made more specific by {{l|Matgloss token|matgloss tokens}}.  Most item tokens use NO_SUBTYPE or NONE for subtype.   
 
Item tokens are the first part in defining the target item in reactions, containing the ITEM_TOKEN and ITEM_SUBTYPE.  They determine the most basic form of item, and made more specific by {{l|Matgloss token|matgloss tokens}}.  Most item tokens use NO_SUBTYPE or NONE for subtype.   
  
{| {{prettytable}}
+
{| {{prettytable}} class="sortable"
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
! Token !! Description  
+
! Token !! Description
 
|-
 
|-
 
| BAR || Bars, such as metal, fuel, or soap.
 
| BAR || Bars, such as metal, fuel, or soap.
 
|-
 
|-
| BARREL || Barrels.  Normally associated with [CONTAINS_LYE] tag to require a barrel of {{l|lye}}.
+
| SMALLGEM || Cut gemstones usable in jeweler's workshop
 
|-
 
|-
| BOULDER || Rough stones, like from mining.
+
| BLOCKS || Blocks of any kind.
 
|-
 
|-
| BOX || Boxes.  Includes bins and bags.
+
| ROUGH || Rough gemstones.
 
|-
 
|-
| POWDER_MISC || Powders, such as plaster or dye.
+
| STONE || ? (appears to be an alias for BOULDER)
 
|-
 
|-
| THREAD || Thread type, such as silk, plant, or metal (adamantine).
+
| BOULDER || Raw mined stone.
 
|-
 
|-
 +
| WOOD || Wooden logs.
 +
|-
 +
| DOOR || Doors.
 +
|-
 +
| FLOODGATE || Floodgates.
 +
|-
 +
| HATCH_COVER || Hatch covers.
 +
|-
 +
| GRATE || Grates.
 +
|-
 +
| BED || Beds.
 +
|-
 +
| TRACTION_BENCH || Traction benches.
 +
|-
 +
| 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 || Figurines.
 +
|-
 +
| 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_TANNED || Tanned skins.
 +
|-
 +
| 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.
 +
|-
 +
| PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
 +
|-
 +
| BACKPACK || Backpacks.
 +
|-
 +
| QUIVER || Quivers.
 +
|-
 +
| SPLINT || Splints.
 +
|-
 +
| ORTHOPEDIC_CAST || Casts.
 +
|-
 +
| CRUTCH || Crutches.
 +
|-
 +
| 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.
 +
|-
 +
| DRINK || Liquids from brewed plants.
 +
|-
 +
| POWDER_MISC || Powders such as flour, plaster, dye, or sand
 +
|-
 +
| CHEESE || Cheeses.
 +
|-
 +
| FOOD || Prepared food.
 +
|-
 +
| LIQUID_MISC || Miscellaneous liquids such as lye.
 +
|-
 +
| COIN || Coins.
 +
|-
 +
| GLOB || Fat, tallow and small bits of molten rock/metal.
 +
|-
 +
| ROCK || Pebbles (more useful in {{L|Thrower|adventure mode}}.)
 +
|-
 +
| PIPE_SECTION || Pipe sections.
 
|}
 
|}
  
 
{{Category|Tokens}}
 
{{Category|Tokens}}
 
{{Category|Modding}}
 
{{Category|Modding}}

Revision as of 16:30, 13 August 2010

This article is about an older version of DF.

Item tokens are the first part in defining the target item in reactions, containing the ITEM_TOKEN and ITEM_SUBTYPE. They determine the most basic form of item, and made more specific by Template:L. Most item tokens use NO_SUBTYPE or NONE for subtype.

Token Description
BAR Bars, such as metal, fuel, or soap.
SMALLGEM Cut gemstones usable in jeweler's workshop
BLOCKS Blocks of any kind.
ROUGH Rough gemstones.
STONE ? (appears to be an alias for BOULDER)
BOULDER Raw mined stone.
WOOD Wooden logs.
DOOR Doors.
FLOODGATE Floodgates.
HATCH_COVER Hatch covers.
GRATE Grates.
BED Beds.
TRACTION_BENCH Traction benches.
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 Figurines.
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_TANNED Tanned skins.
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.
PANTS Armor and clothing worn on the legs. Subtypes come from item_pants.
BACKPACK Backpacks.
QUIVER Quivers.
SPLINT Splints.
ORTHOPEDIC_CAST Casts.
CRUTCH Crutches.
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.
DRINK Liquids from brewed plants.
POWDER_MISC Powders such as flour, plaster, dye, or sand
CHEESE Cheeses.
FOOD Prepared food.
LIQUID_MISC Miscellaneous liquids such as lye.
COIN Coins.
GLOB Fat, tallow and small bits of molten rock/metal.
ROCK Pebbles (more useful in Template:L.)
PIPE_SECTION Pipe sections.