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
(link to new page)
(cleanup)
Line 9: Line 9:
 
==Item type tokens==
 
==Item type tokens==
  
{| border="0" cellpadding="2" width="55%"
+
{| {{prettytable}}
! width="20%" | Token
+
|- bgcolor="#ddd"
! width="80%" | Description
+
! Token !! Description
 
|-
 
|-
 
| SMALLGEM || Cut gemstones usable in jeweler's workshop
 
| SMALLGEM || Cut gemstones usable in jeweler's workshop
 
|-
 
|-
| BLOCKS || Blocks of any kind.  No known subtypes.
+
| BLOCKS || Blocks of any kind.
 
|-
 
|-
| ROUGH || Raw gemstones.  No known subtypes.
+
| ROUGH || Raw gemstones.
 
|-
 
|-
| STONE || Raw mined stone.  No known subtypes.
+
| STONE || Raw mined stone.
 
|-
 
|-
| WOOD || Wooden logs.  No known subtypes.
+
| WOOD || Wooden logs.
 
|-
 
|-
| DOOR || Doors.  No known subtypes.
+
| DOOR || Doors.
 
|-
 
|-
| FLOODGATE || Floodgates.  No known subtypes.
+
| FLOODGATE || Floodgates.
 
|-
 
|-
| BED || Beds.  No known subtypes.
+
| BED || Beds.
 
|-
 
|-
| CHAIR || Chairs and thrones.  No known subtypes.
+
| CHAIR || Chairs and thrones.
 
|-
 
|-
| CHAIN || Chains and ropes.  No known subtypes.
+
| CHAIN || Chains and ropes.
 
|-
 
|-
| FLASK || Flasks.  No known subtypes.
+
| FLASK || Flasks.
 
|-
 
|-
| GOBLET || Goblets.  No known subtypes.
+
| GOBLET || Goblets.
 
|-
 
|-
 
| INSTRUMENT || Musical instruments.  Subtypes come from item_instrument.
 
| INSTRUMENT || Musical instruments.  Subtypes come from item_instrument.
Line 41: Line 41:
 
| TOY || Toys.  Subtypes come from item_toy.
 
| TOY || Toys.  Subtypes come from item_toy.
 
|-
 
|-
| WINDOW || Windows.  No known subtypes.
+
| WINDOW || Windows.
 
|-
 
|-
| CAGE || Cages.  No known subtypes.
+
| CAGE || Cages.
 
|-
 
|-
| BARREL || Barrels.  No known subtypes.
+
| BARREL || Barrels.
 
|-
 
|-
| BUCKET || Buckets.  No known subtypes.
+
| BUCKET || Buckets.
 
|-
 
|-
| ANIMALTRAP || Traps for animals.  No known subtypes.
+
| ANIMALTRAP || Traps for animals.
 
|-
 
|-
| TABLE || Tables.  No known subtypes.
+
| TABLE || Tables.
 
|-
 
|-
| COFFIN || Coffins and caskets.  No known subtypes.
+
| COFFIN || Coffins and caskets.
 
|-
 
|-
| STATUE || Statues.  No known subtypes.
+
| STATUE || Statues.
 
|-
 
|-
| CORPSE || Dead things.  No known subtypes.
+
| CORPSE || Dead things.
 
|-
 
|-
 
| WEAPON || Weapons.  Subtypes come from item_weapon.
 
| WEAPON || Weapons.  Subtypes come from item_weapon.
Line 71: Line 71:
 
| GLOVES || Armor and clothing worn on the hands.  Subtypes come from item_gloves.
 
| GLOVES || Armor and clothing worn on the hands.  Subtypes come from item_gloves.
 
|-
 
|-
| BOX || Chests, coffers, and boxes.  No known subtypes.
+
| BOX || Chests, coffers, and boxes.
 
|-
 
|-
| BIN || Bins.  No known subtypes.
+
| BIN || Bins.
 
|-
 
|-
| SAND || Sand.  No known subtypes.
+
| SAND || Sand.
 
|-
 
|-
| ARMORSTAND || Armor stands.  No known subtypes.
+
| ARMORSTAND || Armor stands.
 
|-
 
|-
| WEAPONRACK || Weapon racks.  No known subtypes.
+
| WEAPONRACK || Weapon racks.
 
|-
 
|-
| CABINET || Cabinets.  No known subtypes.
+
| CABINET || Cabinets.
 
|-
 
|-
| FIGURINE || Idols.  No known subtypes.
+
| FIGURINE || Idols.
 
|-
 
|-
| AMULET || Amulets.  No known subtypes.
+
| AMULET || Amulets.
 
|-
 
|-
| SCEPTER || Scepters.  No known subtypes.
+
| SCEPTER || Scepters.
 
|-
 
|-
 
| AMMO || Ammunition for hand-held weapons.  Subtypes come from item_ammo.
 
| AMMO || Ammunition for hand-held weapons.  Subtypes come from item_ammo.
 
|-
 
|-
| CROWN || Crowns.  No known subtypes.
+
| CROWN || Crowns.
 
|-
 
|-
| RING || Rings.  No known subtypes.
+
| RING || Rings.
 
|-
 
|-
| EARRING || Earrings.  No known subtypes.
+
| EARRING || Earrings.
 
|-
 
|-
| BRACELET || Bracelets.  No known subtypes.
+
| BRACELET || Bracelets.
 
|-
 
|-
| GEM || Large gems.  No known subtypes.
+
| GEM || Large gems.
 
|-
 
|-
| ANVIL || Anvils.  No known subtypes.
+
| ANVIL || Anvils.
 
|-
 
|-
| CORPSEPIECE || Body parts.  No known subtypes.
+
| CORPSEPIECE || Body parts.
 
|-
 
|-
| REMAINS || Dead vermin bodies.  No known subtypes.
+
| REMAINS || Dead vermin bodies.
 
|-
 
|-
 
| MEAT || Butchered meat.
 
| MEAT || Butchered meat.
Line 121: Line 121:
 
| PLANT || Plants.
 
| PLANT || Plants.
 
|-
 
|-
| SKIN_RAW || Untanned skins.  No known subtypes.
+
| SKIN_RAW || Untanned skins.
 
|-
 
|-
| SKIN_TANNED || Tanned skins.  No known subtypes.
+
| SKIN_TANNED || Tanned skins.
 
|-
 
|-
| BONES || Bones from creatures.  No known subtypes.
+
| BONES || Bones from creatures.
 
|-
 
|-
| SHELL || Shells from creatures that have them.  No known subtypes.
+
| SHELL || Shells from creatures that have them.
 
|-
 
|-
 
| LEAVES || Leaves from certain plants after processing.
 
| LEAVES || Leaves from certain plants after processing.
 
|-
 
|-
| THREAD || Thread gathered from webs or made at the farmer's workshop.  No known subtypes.
+
| THREAD || Thread gathered from webs or made at the farmer's workshop.
 
|-
 
|-
| CLOTH || Cloth made at the loom.  No known subtypes.
+
| CLOTH || Cloth made at the loom.
 
|-
 
|-
| TOTEM || Totems.  No known subtypes.
+
| TOTEM || Totems.
 
|-
 
|-
 
| SKULL || Skulls of dead critters.
 
| SKULL || Skulls of dead critters.
Line 141: Line 141:
 
| PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
 
| PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
 
|-
 
|-
| BACKPACK || Backpacks.  No known subtypes.
+
| BACKPACK || Backpacks.
 
|-
 
|-
| QUIVER || Quivers.  No known subtypes.
+
| QUIVER || Quivers.
 
|-
 
|-
| CATAPULTPARTS || Catapult parts.  No known subtypes.
+
| CATAPULTPARTS || Catapult parts.
 
|-
 
|-
| BALLISTAPARTS || Ballista parts.  No known subtypes.
+
| BALLISTAPARTS || Ballista parts.
 
|-
 
|-
 
| SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
 
| SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
 
|-
 
|-
| BALLISTARROWHEAD || Arrow heads for ballista bolts.  No known subtypes.
+
| BALLISTARROWHEAD || Arrow heads for ballista bolts.
 
|-
 
|-
| TRAPPARTS || Mechanisms.  No known subtypes.
+
| TRAPPARTS || Mechanisms.
 
|-
 
|-
 
| TRAPCOMP || Weapons for traps only.  Subtypes come from item_trapcomp.
 
| TRAPCOMP || Weapons for traps only.  Subtypes come from item_trapcomp.
Line 161: Line 161:
 
| POTION || ???
 
| POTION || ???
 
|-
 
|-
| DRINK || Liquids from brewed plants.  No known subtypes.
+
| DRINK || Liquids from brewed plants.
 
|-
 
|-
 
| POWDER_MISC || Powders (such as flour) from milled plants.
 
| POWDER_MISC || Powders (such as flour) from milled plants.
Line 171: Line 171:
 
| LIQUID_MISC || ???
 
| LIQUID_MISC || ???
 
|-
 
|-
| COIN || Coins.  No known subtypes.
+
| COIN || Coins.
 
|-
 
|-
 
| GLOB || Fats, tallows and small bits of molten rock.
 
| GLOB || Fats, tallows and small bits of molten rock.
 
|-
 
|-
| ROCK || Pebbles.  No known subtypes.
+
| ROCK || Pebbles.
 
|-
 
|-
| PIPE_SECTION || Lengths of pipe.  No known subtypes.
+
| PIPE_SECTION || Lengths of pipe.
 
|}
 
|}
  
 
==Item subtype tokens==
 
==Item subtype tokens==
  
{| border="0" cellpadding="2" width="55%"
+
Most item types have no subtypes. "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.
! width="20%" | Token
 
! width="80%" | Description
 
|-
 
| NO_SUBTYPE || No specific subtype
 
|}
 
  
 
==Material tokens==
 
==Material tokens==
  
 
The material tokens have been moved to the new [[Matgloss tokens]] page.
 
The material tokens have been moved to the new [[Matgloss tokens]] page.
 
  
 
[[Category:Modding]]
 
[[Category:Modding]]
 
[[Category:Tokens]]
 
[[Category:Tokens]]

Revision as of 02:00, 20 November 2008

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
SMALLGEM Cut gemstones usable in jeweler's workshop
BLOCKS Blocks of any kind.
ROUGH Raw gemstones.
STONE Raw mined stone.
WOOD Wooden logs.
DOOR Doors.
FLOODGATE Floodgates.
BED Beds.
CHAIR Chairs and thrones.
CHAIN Chains and ropes.
FLASK Flasks.
GOBLET Goblets.
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.
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 Armor and clothing worn on the hands. Subtypes come from item_gloves.
BOX Chests, coffers, and boxes.
BIN Bins.
SAND Sand.
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.
MEAT Butchered meat.
FISH Prepared fish.
FISH_RAW Unprepared fish.
VERMIN Small pseudo-creatures.
PET Tame vermin.
SEEDS Seeds from plants.
PLANT Plants.
SKIN_RAW Untanned skins.
SKIN_TANNED Tanned skins.
BONES Bones from creatures.
SHELL Shells from creatures that have them.
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.
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.
BALLISTARROWHEAD 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) from milled plants.
CHEESE Cheeses.
FOOD Prepared food.
LIQUID_MISC ???
COIN Coins.
GLOB Fats, tallows and small bits of molten rock.
ROCK Pebbles.
PIPE_SECTION Lengths of pipe.

Item subtype tokens

Most item types have no subtypes. "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.

Material tokens

The material tokens have been moved to the new Matgloss tokens page.