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
m
(some updates)
Line 5: Line 5:
 
{| {{prettytable}} class="sortable"
 
{| {{prettytable}} class="sortable"
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
! ID !! Token !! Description
+
! Index !! Token !! Description
 
|-
 
|-
 
| 0 || BAR || {{L|Bar}}s, such as metal, fuel, or soap.
 
| 0 || BAR || {{L|Bar}}s, such as metal, fuel, or soap.
Line 27: Line 27:
 
| 9 || CHAIR || {{L|Chair}}s and thrones.
 
| 9 || CHAIR || {{L|Chair}}s and thrones.
 
|-
 
|-
| 10 || CHAIN || {{L|Chain}}s and ropes.
+
| 10 || CHAIN || {{L|Restraint}}s.
 
|-
 
|-
 
| 11 || FLASK || {{L|Flask}}s.
 
| 11 || FLASK || {{L|Flask}}s.
 
|-
 
|-
| 12 || GOBLET || {{L|Goblet}}s, cups (wooden), and mugs (rock).
+
| 12 || GOBLET || {{L|Goblet}}s.
 
|-
 
|-
 
| 13 || INSTRUMENT || Musical {{L|instrument}}s.  Subtypes come from item_instrument.
 
| 13 || INSTRUMENT || Musical {{L|instrument}}s.  Subtypes come from item_instrument.
Line 49: Line 49:
 
| 20 || TABLE || {{L|Table}}s.
 
| 20 || TABLE || {{L|Table}}s.
 
|-
 
|-
| 21 || COFFIN || {{L|Coffin}}s and caskets.
+
| 21 || COFFIN || {{L|Coffin}}s.
 
|-
 
|-
 
| 22 || STATUE || {{L|Statue}}s.
 
| 22 || STATUE || {{L|Statue}}s.
 
|-
 
|-
| 23 || CORPSE || {{L|Corpse|Dead things}}.
+
| 23 || CORPSE || {{L|Corpse}}s.
 
|-
 
|-
 
| 24 || WEAPON || {{L|Weapon}}s.  Subtypes come from item_weapon.
 
| 24 || WEAPON || {{L|Weapon}}s.  Subtypes come from item_weapon.
Line 65: Line 65:
 
| 28 || HELM || Armor and clothing worn on the head.  Subtypes come from item_helm.
 
| 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.
+
| 29 || GLOVES || Armor and clothing worn on the hands.  Subtypes come from item_gloves.
 
|-
 
|-
 
| 30 || BOX || {{L|Container|Chest}}s (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
 
| 30 || BOX || {{L|Container|Chest}}s (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
Line 99: Line 99:
 
| 45 || CORPSEPIECE || {{L|Body part}}s.
 
| 45 || CORPSEPIECE || {{L|Body part}}s.
 
|-
 
|-
| 46 || REMAINS || Dead vermin bodies.
+
| 46 || REMAINS || Dead {{L|vermin}} bodies.
 
|-
 
|-
 
| 47 || MEAT || Butchered {{L|meat}}.
 
| 47 || MEAT || Butchered {{L|meat}}.
Line 119: Line 119:
 
| 55 || LEAVES || Leaves from certain plants after processing.
 
| 55 || LEAVES || Leaves from certain plants after processing.
 
|-
 
|-
| 56 || THREAD || {{L|Thread}} gathered from webs or made at the farmer's workshop.
+
| 56 || THREAD || {{L|Thread}} gathered from webs or made at the {{L|farmer's workshop}}.
 
|-
 
|-
| 57 || CLOTH || {{L|Cloth}} made at the loom.
+
| 57 || CLOTH || {{L|Cloth}} made at the {{L|loom}}.
 
|-
 
|-
| 58 || TOTEM || {{L|Totem}}s.
+
| 58 || TOTEM || Skull {{L|totem}}s.
 
|-
 
|-
 
| 59 || PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
 
| 59 || PANTS || Armor and clothing worn on the legs.  Subtypes come from item_pants.
Line 135: Line 135:
 
| 63 || BALLISTAPARTS || {{L|Ballista}} parts.
 
| 63 || BALLISTAPARTS || {{L|Ballista}} parts.
 
|-
 
|-
| 64 || SIEGEAMMO || Siege ammo.  Subtypes come from item_siegeammo.
+
| 64 || SIEGEAMMO || Siege engine ammunition.  Subtypes come from item_siegeammo.
 
|-
 
|-
 
| 65 || BALLISTAARROWHEAD || Arrow heads for ballista bolts.
 
| 65 || BALLISTAARROWHEAD || Arrow heads for ballista bolts.
Line 143: Line 143:
 
| 67 || TRAPCOMP || {{L|Trap component}}s.  Subtypes come from item_trapcomp.
 
| 67 || TRAPCOMP || {{L|Trap component}}s.  Subtypes come from item_trapcomp.
 
|-
 
|-
| 68 || DRINK || {{L|Alcohol|Liquids}} from brewed plants.
+
| 68 || DRINK || {{L|Alcohol}}ic drinks, generally brewed from plants.
 
|-
 
|-
 
| 69 || POWDER_MISC || Powders such as {{L|flour}}, {{L|gypsum plaster}}, {{L|dye}}, or {{L|sand}}
 
| 69 || POWDER_MISC || Powders such as {{L|flour}}, {{L|gypsum plaster}}, {{L|dye}}, or {{L|sand}}
 
|-
 
|-
| 70 || CHEESE || {{L|Cheese}}s.
+
| 70 || CHEESE || Pieces of {{L|cheese}}.
 
|-
 
|-
 
| 71 || FOOD || {{L|Prepared meal}}s.
 
| 71 || FOOD || {{L|Prepared meal}}s.
Line 155: Line 155:
 
| 73 || COIN || {{L|Coin}}s.
 
| 73 || COIN || {{L|Coin}}s.
 
|-
 
|-
| 74 || GLOB || {{L|Fat}}, {{L|tallow}} and small bits of molten rock/metal.
+
| 74 || GLOB || {{L|Fat}}, {{L|tallow}}, pastes/pressed objects, and small bits of molten rock/metal.
 
|-
 
|-
| 75 || ROCK || Pebbles (more useful in {{L|Thrower|adventure mode}}.)
+
| 75 || ROCK || Small rocks (more useful in {{L|Thrower|adventure mode}})
 
|-
 
|-
 
| 76 || PIPE_SECTION || {{L|Pipe section}}s.
 
| 76 || PIPE_SECTION || {{L|Pipe section}}s.
Line 177: Line 177:
 
| 84 || ORTHOPEDIC_CAST || {{L|Cast}}s.
 
| 84 || ORTHOPEDIC_CAST || {{L|Cast}}s.
 
|-
 
|-
| 85 || TOOL || Adventurer mode peasant and {{L|night creature}} tools. Subtypes come from item_tool.
+
| 85 || TOOL || {{L|Tool}}s. Subtypes come from item_tool.
 
|-
 
|-
 
| 86 || SLAB || {{L|Slab}}s.
 
| 86 || SLAB || {{L|Slab}}s.

Revision as of 22:49, 2 March 2011

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:Ls. Most item tokens use NO_SUBTYPE or NONE for subtype.

Index Token Description
0 BAR Template:Ls, such as metal, fuel, or soap.
1 SMALLGEM Cut Template:Lstones usable in jeweler's workshop
2 BLOCKS Template:Ls of any kind.
3 ROUGH Rough Template:Lstones.
4 BOULDER / STONE Raw mined Template:L.
5 WOOD Wooden Template:Ls.
6 DOOR Template:Ls.
7 FLOODGATE Template:Ls.
8 BED Template:Ls.
9 CHAIR Template:Ls and thrones.
10 CHAIN Template:Ls.
11 FLASK Template:Ls.
12 GOBLET Template:Ls.
13 INSTRUMENT Musical Template:Ls. Subtypes come from item_instrument.
14 TOY Template:Ls. Subtypes come from item_toy.
15 WINDOW Template:Ls.
16 CAGE Template:Ls.
17 BARREL Template:Ls.
18 BUCKET Template:Ls.
19 ANIMALTRAP Template:Ls.
20 TABLE Template:Ls.
21 COFFIN Template:Ls.
22 STATUE Template:Ls.
23 CORPSE Template:Ls.
24 WEAPON Template:Ls. Subtypes come from item_weapon.
25 ARMOR Template:L 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 Template:Ls and bucklers. Subtypes come from item_shield.
28 HELM Armor and clothing worn on the head. Subtypes come from item_helm.
29 GLOVES Armor and clothing worn on the hands. Subtypes come from item_gloves.
30 BOX Template:Ls (wood), coffers (stone), boxes (glass), and bags (cloth or leather).
31 BIN Template:Ls.
32 ARMORSTAND Template:Ls.
33 WEAPONRACK Template:Ls.
34 CABINET Template:Ls.
35 FIGURINE Template:Ls.
36 AMULET Template:Ls.
37 SCEPTER Template:Ls.
38 AMMO Template:L for hand-held weapons. Subtypes come from item_ammo.
39 CROWN Template:Ls.
40 RING Template:Ls.
41 EARRING Template:Ls.
42 BRACELET Template:Ls.
43 GEM Large Template:Ls.
44 ANVIL Template:Ls.
45 CORPSEPIECE Template:Ls.
46 REMAINS Dead Template:L bodies.
47 MEAT Butchered Template:L.
48 FISH Prepared Template:L.
49 FISH_RAW Unprepared fish.
50 VERMIN Live Template:L.
51 PET Tame vermin.
52 SEEDS Template:Ls from plants.
53 PLANT Template:Ls.
54 SKIN_TANNED Template:L.
55 LEAVES Leaves from certain plants after processing.
56 THREAD Template:L gathered from webs or made at the Template:L.
57 CLOTH Template:L made at the Template:L.
58 TOTEM Skull Template:Ls.
59 PANTS Armor and clothing worn on the legs. Subtypes come from item_pants.
60 BACKPACK Template:Ls.
61 QUIVER Template:Ls.
62 CATAPULTPARTS Template:L parts.
63 BALLISTAPARTS Template:L parts.
64 SIEGEAMMO Siege engine ammunition. Subtypes come from item_siegeammo.
65 BALLISTAARROWHEAD Arrow heads for ballista bolts.
66 TRAPPARTS Template:L.
67 TRAPCOMP Template:Ls. Subtypes come from item_trapcomp.
68 DRINK Template:Lic drinks, generally brewed from plants.
69 POWDER_MISC Powders such as Template:L, Template:L, Template:L, or Template:L
70 CHEESE Pieces of Template:L.
71 FOOD Template:Ls.
72 LIQUID_MISC Liquids such as Template:L, Template:L, and extracts.
73 COIN Template:Ls.
74 GLOB Template:L, Template:L, pastes/pressed objects, and small bits of molten rock/metal.
75 ROCK Small rocks (more useful in Template:L)
76 PIPE_SECTION Template:Ls.
77 HATCH_COVER Template:Ls.
78 GRATE Template:Ls.
79 QUERN Template:Ls.
80 MILLSTONE Template:Ls.
81 SPLINT Template:Ls.
82 CRUTCH Template:Les.
83 TRACTION_BENCH Template:Les.
84 ORTHOPEDIC_CAST Template:Ls.
85 TOOL Template:Ls. Subtypes come from item_tool.
86 SLAB Template:Ls.
87 EGG Template:Ls.