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)
(mapped exact ID values as they would be used in memory hacking (e.g. examining strange mood requirements))
Line 5: Line 5:
 
{| {{prettytable}} class="sortable"
 
{| {{prettytable}} class="sortable"
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
! Token !! Description
+
! ID !! Token !! Description
 
|-
 
|-
| BAR || Bars, such as metal, fuel, or soap.
+
| 0 || BAR || Bars, such as metal, fuel, or soap.
 
|-
 
|-
| 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 || ? (appears to be an alias for BOULDER)
+
| 4 || BOULDER / STONE || Raw mined stone.
 
|-
 
|-
| BOULDER || Raw mined stone.
+
| 5 || WOOD || Wooden logs.
 
|-
 
|-
| WOOD || Wooden logs.
+
| 6 || DOOR || Doors.
 
|-
 
|-
| DOOR || Doors.
+
| 7 || FLOODGATE || Floodgates.
 
|-
 
|-
| FLOODGATE || Floodgates.
+
| 8 || BED || Beds.
 
|-
 
|-
| HATCH_COVER || Hatch covers.
+
| 9 || CHAIR || Chairs and thrones.
 
|-
 
|-
| GRATE || Grates.
+
| 10 || CHAIN || Chains and ropes.
 
|-
 
|-
| BED || Beds.
+
| 11 || FLASK || Flasks.
 
|-
 
|-
| TRACTION_BENCH || Traction benches.
+
| 12 || GOBLET || Goblets, cups (wooden), and mugs (rock).
 
|-
 
|-
| CHAIR || Chairs and thrones.
+
| 13 || INSTRUMENT || Musical instruments.  Subtypes come from item_instrument.
 
|-
 
|-
| CHAIN || Chains and ropes.
+
| 14 || TOY || Toys.  Subtypes come from item_toy.
 
|-
 
|-
| FLASK || Flasks.
+
| 15 || WINDOW || Windows.
 
|-
 
|-
| GOBLET || Goblets, cups (wooden), and mugs (rock).
+
| 16 || CAGE || Cages.
 
|-
 
|-
| INSTRUMENT || Musical instruments.  Subtypes come from item_instrument.
+
| 17 || BARREL || Barrels.
 
|-
 
|-
| TOY || Toys.  Subtypes come from item_toy.
+
| 18 || BUCKET || Buckets.
 
|-
 
|-
| WINDOW || Windows.
+
| 19 || ANIMALTRAP || Traps for animals.
 
|-
 
|-
| CAGE || Cages.
+
| 20 || TABLE || Tables.
 
|-
 
|-
| BARREL || Barrels.
+
| 21 || COFFIN || Coffins and caskets.
 
|-
 
|-
| BUCKET || Buckets.
+
| 22 || STATUE || Statues.
 
|-
 
|-
| ANIMALTRAP || Traps for animals.
+
| 23 || CORPSE || Dead things.
 
|-
 
|-
| TABLE || Tables.
+
| 24 || WEAPON || Weapons.  Subtypes come from item_weapon.
 
|-
 
|-
| COFFIN || Coffins and caskets.
+
| 25 || ARMOR || Armor and clothing worn on the upper body.  Subtypes come from item_armor.
 
|-
 
|-
| STATUE || Statues.
+
| 26 || SHOES || Armor and clothing worn on the feet.  Subtypes come from item_shoes.
 
|-
 
|-
| QUERN || Querns.
+
| 27 || SHIELD || Shields and bucklers.  Subtypes come from item_shield.
 
|-
 
|-
| MILLSTONE || Millstones.
+
| 28 || HELM || Armor and clothing worn on the head.  Subtypes come from item_helm.
 
|-
 
|-
| CORPSE || Dead things.
+
| 29 || GLOVES || Clothing worn on the hands.  Subtypes come from item_gloves.
 
|-
 
|-
| WEAPON || Weapons.  Subtypes come from item_weapon.
+
| 30 || BOX || Chests (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
 
|-
 
|-
| ARMOR || Armor and clothing worn on the upper body.  Subtypes come from item_armor.
+
| 31 || BIN || Bins.
 
|-
 
|-
| SHOES || Armor and clothing worn on the feet.  Subtypes come from item_shoes.
+
| 32 || ARMORSTAND || Armor stands.
 
|-
 
|-
| SHIELD || Shields and bucklers.  Subtypes come from item_shield.
+
| 33 || WEAPONRACK || Weapon racks.
 
|-
 
|-
| HELM || Armor and clothing worn on the head.  Subtypes come from item_helm.
+
| 34 || CABINET || Cabinets.
 
|-
 
|-
| GLOVES || Clothing worn on the hands.  Subtypes come from item_gloves.
+
| 35 || FIGURINE || Figurines.
 
|-
 
|-
| BOX || Chests (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
+
| 36 || AMULET || Amulets.
 
|-
 
|-
| BIN || Bins.
+
| 37 || SCEPTER || Scepters.
 
|-
 
|-
| ARMORSTAND || Armor stands.
+
| 38 || AMMO || Ammunition for hand-held weapons.  Subtypes come from item_ammo.
 
|-
 
|-
| WEAPONRACK || Weapon racks.
+
| 39 || CROWN || Crowns.
 
|-
 
|-
| CABINET || Cabinets.
+
| 40 || RING || Rings.
 
|-
 
|-
| FIGURINE || Figurines.
+
| 41 || EARRING || Earrings.
 
|-
 
|-
| AMULET || Amulets.
+
| 42 || BRACELET || Bracelets.
 
|-
 
|-
| SCEPTER || Scepters.
+
| 43 || GEM || Large gems.
 
|-
 
|-
| AMMO || Ammunition for hand-held weapons.  Subtypes come from item_ammo.
+
| 44 || ANVIL || Anvils.
 
|-
 
|-
| CROWN || Crowns.
+
| 45 || CORPSEPIECE || Body parts.
 
|-
 
|-
| RING || Rings.
+
| 46 || REMAINS || Dead vermin bodies. Material is a creature ID.
 
|-
 
|-
| EARRING || Earrings.
+
| 47 || MEAT || Butchered meat. Material is a creature ID.
 
|-
 
|-
| BRACELET || Bracelets.
+
| 48 || FISH || Prepared fish. Material is a creature ID.
 
|-
 
|-
| GEM || Large gems.
+
| 49 || FISH_RAW || Unprepared fish. Material is a creature ID.
 
|-
 
|-
| ANVIL || Anvils.
+
| 50 || VERMIN || Small pseudo-creatures. Material is a creature ID.
 
|-
 
|-
| CORPSEPIECE || Body parts.
+
| 51 || PET || Tame vermin. Material is a creature ID.
 
|-
 
|-
| REMAINS || Dead vermin bodies. Material is a creature ID.
+
| 52 || SEEDS || Seeds from plants.
 
|-
 
|-
| MEAT || Butchered meat. Material is a creature ID.
+
| 53 || PLANT || Plants. Material is a plant ID.
 
|-
 
|-
| FISH || Prepared fish. Material is a creature ID.
+
| 54 || SKIN_TANNED || Tanned skins.
 
|-
 
|-
| FISH_RAW || Unprepared fish. Material is a creature ID.
+
| 55 || LEAVES || Leaves from certain plants after processing.
 
|-
 
|-
| VERMIN || Small pseudo-creatures. Material is a creature ID.
+
| 56 || THREAD || Thread gathered from webs or made at the farmer's workshop.
 
|-
 
|-
| PET || Tame vermin. Material is a creature ID.
+
| 57 || CLOTH || Cloth made at the loom.
 
|-
 
|-
| SEEDS || Seeds from plants.
+
| 58 || TOTEM || Totems.
 
|-
 
|-
| PLANT || Plants. Material is a plant ID.
+
| 59 || PANTS || Armor and clothing worn on the legs. Subtypes come from item_pants.
 
|-
 
|-
| SKIN_TANNED || Tanned skins.
+
| 60 || BACKPACK || Backpacks.
 
|-
 
|-
| LEAVES || Leaves from certain plants after processing.
+
| 61 || QUIVER || Quivers.
 
|-
 
|-
| THREAD || Thread gathered from webs or made at the farmer's workshop.
+
| 62 || CATAPULTPARTS || Catapult parts.
 
|-
 
|-
| CLOTH || Cloth made at the loom.
+
| 63 || BALLISTAPARTS || Ballista parts.
 
|-
 
|-
| TOTEM || Totems.
+
| 64 || SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
 
|-
 
|-
| PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
+
| 65 || BALLISTAARROWHEAD || Arrow heads for ballista bolts.
 
|-
 
|-
| BACKPACK || Backpacks.
+
| 66 || TRAPPARTS || Mechanisms.
 
|-
 
|-
| QUIVER || Quivers.
+
| 67 || TRAPCOMP || Weapons for traps only.  Subtypes come from item_trapcomp.
 
|-
 
|-
| SPLINT || Splints.
+
| 68 || DRINK || Liquids from brewed plants.
 
|-
 
|-
| ORTHOPEDIC_CAST || Casts.
+
| 69 || POWDER_MISC || Powders such as flour, plaster, dye, or sand
 
|-
 
|-
| CRUTCH || Crutches.
+
| 70 || CHEESE || Cheeses.
 
|-
 
|-
| CATAPULTPARTS || Catapult parts.
+
| 71 || FOOD || Prepared food.
 
|-
 
|-
| BALLISTAPARTS || Ballista parts.
+
| 72 || LIQUID_MISC || Miscellaneous liquids such as lye.
 
|-
 
|-
| SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
+
| 73 || COIN || Coins.
 
|-
 
|-
| BALLISTAARROWHEAD || Arrow heads for ballista bolts.
+
| 74 || GLOB || Fat, tallow and small bits of molten rock/metal.
 
|-
 
|-
| TRAPPARTS || Mechanisms.
+
| 75 || ROCK || Pebbles (more useful in {{L|Thrower|adventure mode}}.)
 
|-
 
|-
| TRAPCOMP || Weapons for traps only.  Subtypes come from item_trapcomp.
+
| 76 || PIPE_SECTION || Pipe sections.
 
|-
 
|-
| DRINK || Liquids from brewed plants.
+
| 77 || HATCH_COVER || Hatch covers.
 
|-
 
|-
| POWDER_MISC || Powders such as flour, plaster, dye, or sand
+
| 78 || GRATE || Grates.
 
|-
 
|-
| CHEESE || Cheeses.
+
| 79 || QUERN || Querns.
 
|-
 
|-
| FOOD || Prepared food.
+
| 80 || MILLSTONE || Millstones.
 
|-
 
|-
| LIQUID_MISC || Miscellaneous liquids such as lye.
+
| 81 || SPLINT || Splints.
 
|-
 
|-
| COIN || Coins.
+
| 82 || CRUTCH || Crutches.
 
|-
 
|-
| GLOB || Fat, tallow and small bits of molten rock/metal.
+
| 83 || TRACTION_BENCH || Traction benches.
 
|-
 
|-
| ROCK || Pebbles (more useful in {{L|Thrower|adventure mode}}.)
+
| 84 || ORTHOPEDIC_CAST || Casts.
|-
 
| PIPE_SECTION || Pipe sections.
 
 
|}
 
|}
  
 
{{Category|Tokens}}
 
{{Category|Tokens}}
 
{{Category|Modding}}
 
{{Category|Modding}}

Revision as of 18:04, 23 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.

ID Token Description
0 BAR Bars, such as metal, fuel, or soap.
1 SMALLGEM Cut gemstones usable in jeweler's workshop
2 BLOCKS Blocks of any kind.
3 ROUGH Rough gemstones.
4 BOULDER / 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 Figurines.
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_TANNED Tanned skins.
55 LEAVES Leaves from certain plants after processing.
56 THREAD Thread gathered from webs or made at the farmer's workshop.
57 CLOTH Cloth made at the loom.
58 TOTEM Totems.
59 PANTS Armor and clothing worn on the legs. Subtypes come from item_pants.
60 BACKPACK Backpacks.
61 QUIVER Quivers.
62 CATAPULTPARTS Catapult parts.
63 BALLISTAPARTS Ballista parts.
64 SIEGEAMMO Siege ammo. Subtypes come from item_siegeammo.
65 BALLISTAARROWHEAD Arrow heads for ballista bolts.
66 TRAPPARTS Mechanisms.
67 TRAPCOMP Weapons for traps only. Subtypes come from item_trapcomp.
68 DRINK Liquids from brewed plants.
69 POWDER_MISC Powders such as flour, plaster, dye, or sand
70 CHEESE Cheeses.
71 FOOD Prepared food.
72 LIQUID_MISC Miscellaneous liquids such as lye.
73 COIN Coins.
74 GLOB Fat, tallow and small bits of molten rock/metal.
75 ROCK Pebbles (more useful in Template:L.)
76 PIPE_SECTION Pipe sections.
77 HATCH_COVER Hatch covers.
78 GRATE Grates.
79 QUERN Querns.
80 MILLSTONE Millstones.
81 SPLINT Splints.
82 CRUTCH Crutches.
83 TRACTION_BENCH Traction benches.
84 ORTHOPEDIC_CAST Casts.