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 "23a:Item token"

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

Revision as of 00:27, 13 July 2011

This article is about an older version of DF.

These are to be used with certain Template:Ls (such as ITEMCORPSE).

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

Item subtype tokens

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

Material tokens

The material tokens can be found at the Template:Ls page.