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
m (Rated article "Exceptional" using the rating script)
(add ID numbers, and also move HATCH_COVER+GRATE+QUERN+MILLSTONE to the end where they belong)
Line 11: Line 11:
 
{| {{prettytable}} class="sortable"
 
{| {{prettytable}} class="sortable"
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
! Token !! Description
+
! # !! Token !! Description
 
|-
 
|-
| BAR || Both metal and non-metal bars.
+
| 0 || BAR || Both metal and non-metal bars.
 
|-
 
|-
| SMALLGEM || Cut gemstones usable in jeweler's workshop
+
| 1 || SMALLGEM || Cut gemstones usable in jeweler's workshop
 
|-
 
|-
| BLOCKS || Blocks of any kind.
+
| 2 || BLOCKS || Blocks of any kind.
 
|-
 
|-
| ROUGH || Rough gemstones.
+
| 3 || ROUGH || Rough gemstones.
 
|-
 
|-
| STONE || Raw mined stone.
+
| 4 || STONE || Raw mined stone.
 
|-
 
|-
| WOOD || Wooden logs.
+
| 5 || WOOD || Wooden logs.
 
|-
 
|-
| DOOR || Doors.
+
| 6 || DOOR || Doors.
 
|-
 
|-
| FLOODGATE || Floodgates.
+
| 7 || FLOODGATE || Floodgates.
 
|-
 
|-
| HATCH_COVER || Hatch covers.
+
| 8 || BED || Beds.
 
|-
 
|-
| GRATE || Grates.
+
| 9 || CHAIR || Chairs and thrones.
 
|-
 
|-
| BED || Beds.
+
| 10 || CHAIN || Chains and ropes.
 
|-
 
|-
| CHAIR || Chairs and thrones.
+
| 11 || FLASK || Flasks.
 
|-
 
|-
| CHAIN || Chains and ropes.
+
| 12 || GOBLET || Goblets, cups (wooden), and mugs (rock).
 
|-
 
|-
| FLASK || Flasks.
+
| 13 || INSTRUMENT || Musical instruments.  Subtypes come from item_instrument.
 
|-
 
|-
| GOBLET || Goblets, cups (wooden), and mugs (rock).
+
| 14 || TOY || Toys.  Subtypes come from item_toy.
 
|-
 
|-
| INSTRUMENT || Musical instruments.  Subtypes come from item_instrument.
+
| 15 || WINDOW || Windows.
 
|-
 
|-
| TOY || Toys.  Subtypes come from item_toy.
+
| 16 || CAGE || Cages.
 
|-
 
|-
| WINDOW || Windows.
+
| 17 || BARREL || Barrels.
 
|-
 
|-
| CAGE || Cages.
+
| 18 || BUCKET || Buckets.
 
|-
 
|-
| BARREL || Barrels.
+
| 19 || ANIMALTRAP || Traps for animals.
 
|-
 
|-
| BUCKET || Buckets.
+
| 20 || TABLE || Tables.
 
|-
 
|-
| ANIMALTRAP || Traps for animals.
+
| 21 || COFFIN || Coffins and caskets.
 
|-
 
|-
| TABLE || Tables.
+
| 22 || STATUE || Statues.
 
|-
 
|-
| COFFIN || Coffins and caskets.
+
| 23 || CORPSE || Dead things.
 
|-
 
|-
| STATUE || Statues.
+
| 24 || WEAPON || Weapons.  Subtypes come from item_weapon.
 
|-
 
|-
| QUERN || Querns.
+
| 25 || ARMOR || Armor and clothing worn on the upper body.  Subtypes come from item_armor.
 
|-
 
|-
| MILLSTONE || Millstones.
+
| 26 || SHOES || Armor and clothing worn on the feet.  Subtypes come from item_shoes.
 
|-
 
|-
| CORPSE || Dead things.
+
| 27 || SHIELD || Shields and bucklers.  Subtypes come from item_shield.
 
|-
 
|-
| WEAPON || Weapons.  Subtypes come from item_weapon.
+
| 28 || HELM || Armor and clothing worn on the head.  Subtypes come from item_helm.
 
|-
 
|-
| ARMOR || Armor and clothing worn on the upper body.  Subtypes come from item_armor.
+
| 29 || GLOVES || Clothing worn on the hands.  Subtypes come from item_gloves.
 
|-
 
|-
| SHOES || Armor and clothing worn on the feet.  Subtypes come from item_shoes.
+
| 30 || BOX || Chests (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
 
|-
 
|-
| SHIELD || Shields and bucklers.  Subtypes come from item_shield.
+
| 31 || BIN || Bins.
 
|-
 
|-
| HELM || Armor and clothing worn on the head.  Subtypes come from item_helm.
+
| 32 || ARMORSTAND || Armor stands.
 
|-
 
|-
| GLOVES || Clothing worn on the hands.  Subtypes come from item_gloves.
+
| 33 || WEAPONRACK || Weapon racks.
 
|-
 
|-
| BOX || Chests (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
+
| 34 || CABINET || Cabinets.
 
|-
 
|-
| BIN || Bins.
+
| 35 || FIGURINE || Idols.
 
|-
 
|-
| ARMORSTAND || Armor stands.
+
| 36 || AMULET || Amulets.
 
|-
 
|-
| WEAPONRACK || Weapon racks.
+
| 37 || SCEPTER || Scepters.
 
|-
 
|-
| CABINET || Cabinets.
+
| 38 || AMMO || Ammunition for hand-held weapons.  Subtypes come from item_ammo.
 
|-
 
|-
| FIGURINE || Idols.
+
| 39 || CROWN || Crowns.
 
|-
 
|-
| AMULET || Amulets.
+
| 40 || RING || Rings.
 
|-
 
|-
| SCEPTER || Scepters.
+
| 41 || EARRING || Earrings.
 
|-
 
|-
| AMMO || Ammunition for hand-held weapons.  Subtypes come from item_ammo.
+
| 42 || BRACELET || Bracelets.
 
|-
 
|-
| CROWN || Crowns.
+
| 43 || GEM || Large gems.
 
|-
 
|-
| RING || Rings.
+
| 44 || ANVIL || Anvils.
 
|-
 
|-
| EARRING || Earrings.
+
| 45 || CORPSEPIECE || Body parts.
 
|-
 
|-
| BRACELET || Bracelets.
+
| 46 || REMAINS || Dead vermin bodies. Material is a creature ID.
 
|-
 
|-
| GEM || Large gems.
+
| 47 || MEAT || Butchered meat. Material is a creature ID.
 
|-
 
|-
| ANVIL || Anvils.
+
| 48 || FISH || Prepared fish. Material is a creature ID.
 
|-
 
|-
| CORPSEPIECE || Body parts.
+
| 49 || FISH_RAW || Unprepared fish. Material is a creature ID.
 
|-
 
|-
| REMAINS || Dead vermin bodies. Material is a creature ID.
+
| 50 || VERMIN || Small pseudo-creatures. Material is a creature ID.
 
|-
 
|-
| MEAT || Butchered meat. Material is a creature ID.
+
| 51 || PET || Tame vermin. Material is a creature ID.
 
|-
 
|-
| FISH || Prepared fish. Material is a creature ID.
+
| 52 || SEEDS || Seeds from plants.
 
|-
 
|-
| FISH_RAW || Unprepared fish. Material is a creature ID.
+
| 53 || PLANT || Plants. Material is a plant ID.
 
|-
 
|-
| VERMIN || Small pseudo-creatures. Material is a creature ID.
+
| 54 || SKIN_RAW || Untanned skins.
 
|-
 
|-
| PET || Tame vermin. Material is a creature ID.
+
| 55 || SKIN_TANNED || Tanned skins.
 
|-
 
|-
| SEEDS || Seeds from plants.
+
| 56 || BONES || Bones from creatures. Material is a creature ID.
 
|-
 
|-
| PLANT || Plants. Material is a plant ID.
+
| 57 || SHELL || Shells from creatures that have them. Material is a creature ID.
 
|-
 
|-
| SKIN_RAW || Untanned skins.
+
| 58 || LEAVES || Leaves from certain plants after processing.
 
|-
 
|-
| SKIN_TANNED || Tanned skins.
+
| 59 || THREAD || Thread gathered from webs or made at the farmer's workshop.
 
|-
 
|-
| BONES || Bones from creatures. Material is a creature ID.
+
| 60 || CLOTH || Cloth made at the loom.
 
|-
 
|-
| SHELL || Shells from creatures that have them. Material is a creature ID.
+
| 61 || TOTEM || Totems.
 
|-
 
|-
| LEAVES || Leaves from certain plants after processing.
+
| 62 || SKULL || Skulls of dead critters. Possibly broken, neither BONE material or creature IDs seem to work.
 
|-
 
|-
| THREAD || Thread gathered from webs or made at the farmer's workshop.
+
| 63 || PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
 
|-
 
|-
| CLOTH || Cloth made at the loom.
+
| 64 || BACKPACK || Backpacks.
 
|-
 
|-
| TOTEM || Totems.
+
| 65 || QUIVER || Quivers.
 
|-
 
|-
| SKULL || Skulls of dead critters. Possibly broken, neither BONE material or creature IDs seem to work.
+
| 66 || CATAPULTPARTS || Catapult parts.
 
|-
 
|-
| PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
+
| 67 || BALLISTAPARTS || Ballista parts.
 
|-
 
|-
| BACKPACK || Backpacks.
+
| 68 || SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
 
|-
 
|-
| QUIVER || Quivers.
+
| 69 || BALLISTAARROWHEAD || Arrow heads for ballista bolts.
 
|-
 
|-
| CATAPULTPARTS || Catapult parts.
+
| 70 || TRAPPARTS || Mechanisms.
 
|-
 
|-
| BALLISTAPARTS || Ballista parts.
+
| 71 || TRAPCOMP || Weapons for traps only.  Subtypes come from item_trapcomp.
 
|-
 
|-
| SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
+
| 72 || EXTRACT || Extracts from certain plants and creatures.
 
|-
 
|-
| BALLISTAARROWHEAD || Arrow heads for ballista bolts.
+
| 73 || POTION || ???
 
|-
 
|-
| TRAPPARTS || Mechanisms.
+
| 74 || DRINK || Liquids from brewed plants.
 
|-
 
|-
| TRAPCOMP || Weapons for traps only.  Subtypes come from item_trapcomp.
+
| 75 || POWDER_MISC || Powders such as flour, dye, sand, or bone meal
 
|-
 
|-
| EXTRACT || Extracts from certain plants and creatures.
+
| 76 || CHEESE || Cheeses.
 
|-
 
|-
| POTION || ???
+
| 77 || FOOD || Prepared food.
 
|-
 
|-
| DRINK || Liquids from brewed plants.
+
| 78 || LIQUID_MISC || Miscellaneous liquids such as lye.
 
|-
 
|-
| POWDER_MISC || Powders such as flour, dye, sand, or bone meal
+
| 79 || COIN || Coins.
 
|-
 
|-
| CHEESE || Cheeses.
+
| 80 || GLOB || Fats, tallows and small bits of molten rock/metal. Also works with blood, vomit, mud, filth, salt, grime and unknown substance.
 
|-
 
|-
| FOOD || Prepared food.
+
| 81 || ROCK || Pebbles (more useful in {{L|Thrower|adventure mode}}.)
 
|-
 
|-
| LIQUID_MISC || Miscellaneous liquids such as lye.
+
| 82 || PIPE_SECTION || Pipe sections.
 
|-
 
|-
| COIN || Coins.
+
| 83 || HATCH_COVER || Hatch covers.
 
|-
 
|-
| GLOB || Fats, tallows and small bits of molten rock/metal. Also works with blood, vomit, mud, filth, salt, grime and unknown substance.
+
| 84 || GRATE || Grates.
 
|-
 
|-
| ROCK || Pebbles (more useful in {{L|Thrower|adventure mode}}.)
+
| 85 || QUERN || Querns.
 
|-
 
|-
| PIPE_SECTION || Pipe sections.
+
| 86 || MILLSTONE || Millstones.
 
|}
 
|}
  

Revision as of 18:39, 20 July 2011

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
0 BAR Both metal and non-metal bars.
1 SMALLGEM Cut gemstones usable in jeweler's workshop
2 BLOCKS Blocks of any kind.
3 ROUGH Rough gemstones.
4 STONE Raw mined stone.
5 WOOD Wooden logs.
6 DOOR Doors.
7 FLOODGATE Floodgates.
8 BED Beds.
9 CHAIR Chairs and thrones.
10 CHAIN Chains and ropes.
11 FLASK Flasks.
12 GOBLET Goblets, cups (wooden), and mugs (rock).
13 INSTRUMENT Musical instruments. Subtypes come from item_instrument.
14 TOY Toys. Subtypes come from item_toy.
15 WINDOW Windows.
16 CAGE Cages.
17 BARREL Barrels.
18 BUCKET Buckets.
19 ANIMALTRAP Traps for animals.
20 TABLE Tables.
21 COFFIN Coffins and caskets.
22 STATUE Statues.
23 CORPSE Dead things.
24 WEAPON Weapons. Subtypes come from item_weapon.
25 ARMOR Armor and clothing worn on the upper body. Subtypes come from item_armor.
26 SHOES Armor and clothing worn on the feet. Subtypes come from item_shoes.
27 SHIELD Shields and bucklers. Subtypes come from item_shield.
28 HELM Armor and clothing worn on the head. Subtypes come from item_helm.
29 GLOVES Clothing worn on the hands. Subtypes come from item_gloves.
30 BOX Chests (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
31 BIN Bins.
32 ARMORSTAND Armor stands.
33 WEAPONRACK Weapon racks.
34 CABINET Cabinets.
35 FIGURINE Idols.
36 AMULET Amulets.
37 SCEPTER Scepters.
38 AMMO Ammunition for hand-held weapons. Subtypes come from item_ammo.
39 CROWN Crowns.
40 RING Rings.
41 EARRING Earrings.
42 BRACELET Bracelets.
43 GEM Large gems.
44 ANVIL Anvils.
45 CORPSEPIECE Body parts.
46 REMAINS Dead vermin bodies. Material is a creature ID.
47 MEAT Butchered meat. Material is a creature ID.
48 FISH Prepared fish. Material is a creature ID.
49 FISH_RAW Unprepared fish. Material is a creature ID.
50 VERMIN Small pseudo-creatures. Material is a creature ID.
51 PET Tame vermin. Material is a creature ID.
52 SEEDS Seeds from plants.
53 PLANT Plants. Material is a plant ID.
54 SKIN_RAW Untanned skins.
55 SKIN_TANNED Tanned skins.
56 BONES Bones from creatures. Material is a creature ID.
57 SHELL Shells from creatures that have them. Material is a creature ID.
58 LEAVES Leaves from certain plants after processing.
59 THREAD Thread gathered from webs or made at the farmer's workshop.
60 CLOTH Cloth made at the loom.
61 TOTEM Totems.
62 SKULL Skulls of dead critters. Possibly broken, neither BONE material or creature IDs seem to work.
63 PANTS Armor and clothing worn on the legs. Subtypes come from item_pants.
64 BACKPACK Backpacks.
65 QUIVER Quivers.
66 CATAPULTPARTS Catapult parts.
67 BALLISTAPARTS Ballista parts.
68 SIEGEAMMO Siege ammo. Subtypes come from item_siegeammo.
69 BALLISTAARROWHEAD Arrow heads for ballista bolts.
70 TRAPPARTS Mechanisms.
71 TRAPCOMP Weapons for traps only. Subtypes come from item_trapcomp.
72 EXTRACT Extracts from certain plants and creatures.
73 POTION ???
74 DRINK Liquids from brewed plants.
75 POWDER_MISC Powders such as flour, dye, sand, or bone meal
76 CHEESE Cheeses.
77 FOOD Prepared food.
78 LIQUID_MISC Miscellaneous liquids such as lye.
79 COIN Coins.
80 GLOB Fats, tallows and small bits of molten rock/metal. Also works with blood, vomit, mud, filth, salt, grime and unknown substance.
81 ROCK Pebbles (more useful in Template:L.)
82 PIPE_SECTION Pipe sections.
83 HATCH_COVER Hatch covers.
84 GRATE Grates.
85 QUERN Querns.
86 MILLSTONE Millstones.

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.