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.
Editing v0.31:Item token
Jump to navigation
Jump to search
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
You are editing a page for an older version of Dwarf Fortress ("Main" is the current version, not "v0.31"). Please make sure you intend to do this. If you are here by mistake, see the current page instead.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
− | {{ | + | {{av}}{{Quality|Fine}} |
− | {{ | ||
− | + | 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 {{l|material token}}s. Most item tokens use NO_SUBTYPE or NONE for subtype unless explicitly stated otherwise. | |
==Standard Item Tokens== | ==Standard Item Tokens== | ||
Line 8: | Line 7: | ||
{| {{prettytable}} class="sortable" | {| {{prettytable}} class="sortable" | ||
|- bgcolor="#ddd" | |- bgcolor="#ddd" | ||
− | ! # !! Token | + | ! # !! Token !! Description |
|- | |- | ||
− | | 0 || BAR || | + | | 0 || BAR || {{L|Bar}}s, such as metal, fuel, or soap. |
|- | |- | ||
− | | 1 || SMALLGEM || | + | | 1 || SMALLGEM || Cut {{L|gem}}stones usable in jeweler's workshop |
|- | |- | ||
− | | 2 || BLOCKS || | + | | 2 || BLOCKS || {{L|Block}}s of any kind. |
|- | |- | ||
− | | 3 || ROUGH || | + | | 3 || ROUGH || Rough {{L|gem}}stones. |
|- | |- | ||
− | | 4 || BOULDER / STONE | + | | 4 || BOULDER / STONE || Raw mined {{L|stone}}. |
|- | |- | ||
− | | 5 || WOOD || | + | | 5 || WOOD || Wooden {{L|log}}s. |
|- | |- | ||
− | | 6 || DOOR || | + | | 6 || DOOR || {{L|Door}}s. |
|- | |- | ||
− | | 7 || FLOODGATE || | + | | 7 || FLOODGATE || {{L|Floodgate}}s. |
|- | |- | ||
− | | 8 || BED || | + | | 8 || BED || {{L|Bed}}s. |
|- | |- | ||
− | | 9 || CHAIR || | + | | 9 || CHAIR || {{L|Chair}}s and thrones. |
|- | |- | ||
− | | 10 || CHAIN || | + | | 10 || CHAIN || {{L|Restraint}}s. |
|- | |- | ||
− | | 11 || FLASK || | + | | 11 || FLASK || {{L|Flask}}s. |
|- | |- | ||
− | | 12 || GOBLET || | + | | 12 || GOBLET || {{L|Goblet}}s. |
|- | |- | ||
− | | 13 || INSTRUMENT || | + | | 13 || INSTRUMENT || Musical {{L|instrument}}s. Subtypes come from item_instrument.txt |
|- | |- | ||
− | | 14 || TOY || | + | | 14 || TOY || {{L|Toy}}s. Subtypes come from item_toy.txt |
|- | |- | ||
− | | 15 || WINDOW || | + | | 15 || WINDOW || Glass {{L|window}}s. |
|- | |- | ||
− | | 16 || CAGE || | + | | 16 || CAGE || {{L|Cage}}s. |
|- | |- | ||
− | | 17 || BARREL || | + | | 17 || BARREL || {{L|Barrel}}s. |
|- | |- | ||
− | | 18 || BUCKET || | + | | 18 || BUCKET || {{L|Bucket}}s. |
|- | |- | ||
− | | 19 || ANIMALTRAP || | + | | 19 || ANIMALTRAP || {{L|Animal trap}}s. |
|- | |- | ||
− | | 20 || TABLE || | + | | 20 || TABLE || {{L|Table}}s. |
|- | |- | ||
− | | 21 || COFFIN || | + | | 21 || COFFIN || {{L|Coffin}}s. |
|- | |- | ||
− | | 22 || STATUE || | + | | 22 || STATUE || {{L|Statue}}s. |
|- | |- | ||
− | | 23 || CORPSE || | + | | 23 || CORPSE || {{L|Corpse}}s. |
|- | |- | ||
− | | 24 || WEAPON || | + | | 24 || WEAPON || {{L|Weapon}}s. Subtypes come from item_weapon.txt |
|- | |- | ||
− | | 25 || ARMOR || | + | | 25 || ARMOR || {{L|Armor}} and clothing worn on the upper body. Subtypes come from item_armor.txt |
|- | |- | ||
− | | 26 || SHOES | + | | 26 || SHOES || Armor and clothing worn on the feet. Subtypes come from item_shoes.txt |
|- | |- | ||
− | | 27 || SHIELD || | + | | 27 || SHIELD || {{L|Shield}}s and bucklers. Subtypes come from item_shield.txt |
|- | |- | ||
− | | 28 || HELM | + | | 28 || HELM || Armor and clothing worn on the head. Subtypes come from item_helm.txt |
|- | |- | ||
− | | 29 || GLOVES | + | | 29 || GLOVES || Armor and clothing worn on the hands. Subtypes come from item_gloves.txt |
|- | |- | ||
− | | 30 || BOX || | + | | 30 || BOX || {{L|Container|Chest}}s (wood), coffers (stone), boxes (glass), and bags (cloth or leather). |
|- | |- | ||
− | | 31 || BIN || | + | | 31 || BIN || {{L|Bin}}s. |
|- | |- | ||
− | | 32 || ARMORSTAND || | + | | 32 || ARMORSTAND || {{L|Armor stand}}s. |
|- | |- | ||
− | | 33 || WEAPONRACK || | + | | 33 || WEAPONRACK || {{L|Weapon rack}}s. |
|- | |- | ||
− | | 34 || CABINET || | + | | 34 || CABINET || {{L|Cabinet}}s. |
|- | |- | ||
− | | 35 || FIGURINE || | + | | 35 || FIGURINE || {{L|Figurine}}s. |
|- | |- | ||
− | | 36 || AMULET || | + | | 36 || AMULET || {{L|Amulet}}s. |
|- | |- | ||
− | | 37 || SCEPTER || | + | | 37 || SCEPTER || {{L|Scepter}}s. |
|- | |- | ||
− | | 38 || AMMO || | + | | 38 || AMMO || {{L|Ammunition}} for hand-held weapons. Subtypes come from item_ammo.txt |
|- | |- | ||
− | | 39 || CROWN || | + | | 39 || CROWN || {{L|Crown}}s. |
|- | |- | ||
− | | 40 || RING || | + | | 40 || RING || {{L|Ring}}s. |
|- | |- | ||
− | | 41 || EARRING || | + | | 41 || EARRING || {{L|Earring}}s. |
|- | |- | ||
− | | 42 || BRACELET || | + | | 42 || BRACELET || {{L|Bracelet}}s. |
|- | |- | ||
− | | 43 || GEM || | + | | 43 || GEM || Large {{L|gem}}s. |
|- | |- | ||
− | | 44 || ANVIL || | + | | 44 || ANVIL || {{L|Anvil}}s. |
|- | |- | ||
− | | 45 || CORPSEPIECE || | + | | 45 || CORPSEPIECE || {{L|Body part}}s. |
|- | |- | ||
− | | 46 || REMAINS || | + | | 46 || REMAINS || Dead {{L|vermin}} bodies. |
|- | |- | ||
− | | 47 || MEAT || | + | | 47 || MEAT || Butchered {{L|meat}}. |
|- | |- | ||
− | | 48 || FISH || | + | | 48 || FISH || Prepared {{L|fish}}. |
|- | |- | ||
− | | 49 || FISH_RAW | + | | 49 || FISH_RAW || Unprepared fish. |
|- | |- | ||
− | | 50 || VERMIN || | + | | 50 || VERMIN || Live {{L|vermin}}. |
|- | |- | ||
− | | 51 || PET | + | | 51 || PET || Tame vermin. |
|- | |- | ||
− | | 52 || SEEDS || | + | | 52 || SEEDS || {{L|Seed}}s from plants. |
|- | |- | ||
− | | 53 || PLANT || | + | | 53 || PLANT || {{L|Plant}}s. |
|- | |- | ||
− | | 54 || SKIN_TANNED || | + | | 54 || SKIN_TANNED || {{L|Leather|Tanned skins}}. |
|- | |- | ||
− | | 55 || LEAVES | + | | 55 || LEAVES || Leaves, usually from {{L|quarry bush}}es. |
|- | |- | ||
− | | 56 || THREAD || | + | | 56 || THREAD || {{L|Thread}} gathered from webs or made at the {{L|farmer's workshop}}. |
|- | |- | ||
− | | 57 || CLOTH || | + | | 57 || CLOTH || {{L|Cloth}} made at the {{L|loom}}. |
|- | |- | ||
− | | 58 || TOTEM || | + | | 58 || TOTEM || Skull {{L|totem}}s. |
|- | |- | ||
− | | 59 || PANTS | + | | 59 || PANTS || Armor and clothing worn on the legs. Subtypes come from item_pants.txt |
|- | |- | ||
− | | 60 || BACKPACK || | + | | 60 || BACKPACK || {{L|Backpack}}s. |
|- | |- | ||
− | | 61 || QUIVER || | + | | 61 || QUIVER || {{L|Quiver}}s. |
|- | |- | ||
− | | 62 || CATAPULTPARTS || | + | | 62 || CATAPULTPARTS || {{L|Catapult}} parts. |
|- | |- | ||
− | | 63 || BALLISTAPARTS || | + | | 63 || BALLISTAPARTS || {{L|Ballista}} parts. |
|- | |- | ||
− | | 64 || SIEGEAMMO | + | | 64 || SIEGEAMMO || Siege engine ammunition. Subtypes come from item_siegeammo.txt |
|- | |- | ||
− | | 65 || BALLISTAARROWHEAD | + | | 65 || BALLISTAARROWHEAD || Ballista arrow heads. |
|- | |- | ||
− | | 66 || TRAPPARTS || | + | | 66 || TRAPPARTS || {{L|Mechanisms}}. |
|- | |- | ||
− | | 67 || TRAPCOMP || | + | | 67 || TRAPCOMP || {{L|Trap component}}s. Subtypes come from item_trapcomp.txt |
|- | |- | ||
− | | 68 || DRINK || | + | | 68 || DRINK || {{L|Alcohol}}ic drinks. |
|- | |- | ||
− | | 69 || POWDER_MISC | + | | 69 || POWDER_MISC || Powders such as {{L|flour}}, {{L|gypsum plaster}}, {{L|dye}}, or {{L|sand}}. |
|- | |- | ||
− | | 70 || CHEESE | + | | 70 || CHEESE || Pieces of {{L|cheese}}. |
|- | |- | ||
− | | 71 || FOOD || | + | | 71 || FOOD || {{L|Prepared meal}}s. Subtypes come from item_food.txt |
|- | |- | ||
− | | 72 || LIQUID_MISC | + | | 72 || LIQUID_MISC || Liquids such as {{L|water}}, {{L|lye}}, and extracts. |
|- | |- | ||
− | | 73 || COIN || | + | | 73 || COIN || {{L|Coin}}s. |
|- | |- | ||
− | | 74 || GLOB || | + | | 74 || GLOB || {{L|Fat}}, {{L|tallow}}, pastes/pressed objects, and small bits of molten rock/metal. |
|- | |- | ||
− | | 75 || ROCK | + | | 75 || ROCK || Small rocks (usually encountered and {{L|Thrower|thrown}} in {{L|adventurer mode}}) |
|- | |- | ||
− | | 76 || PIPE_SECTION || | + | | 76 || PIPE_SECTION || {{L|Pipe section}}s. |
|- | |- | ||
− | | 77 || HATCH_COVER || | + | | 77 || HATCH_COVER || {{L|Hatch cover}}s. |
|- | |- | ||
− | | 78 || GRATE || | + | | 78 || GRATE || {{L|Grate}}s. |
|- | |- | ||
− | | 79 || QUERN || | + | | 79 || QUERN || {{L|Quern}}s. |
|- | |- | ||
− | | 80 || MILLSTONE || | + | | 80 || MILLSTONE || {{L|Millstone}}s. |
|- | |- | ||
− | | 81 || SPLINT || | + | | 81 || SPLINT || {{L|Splint}}s. |
|- | |- | ||
− | | 82 || CRUTCH || | + | | 82 || CRUTCH || {{L|Crutch}}es. |
|- | |- | ||
− | | 83 || TRACTION_BENCH || | + | | 83 || TRACTION_BENCH || {{L|Traction bench}}es. |
|- | |- | ||
− | | 84 || ORTHOPEDIC_CAST || | + | | 84 || ORTHOPEDIC_CAST || {{L|Cast}}s. |
|- | |- | ||
− | | 85 || TOOL || | + | | 85 || TOOL || {{L|Tool}}s. Subtypes come from item_tool.txt |
|- | |- | ||
− | | 86 || SLAB || | + | | 86 || SLAB || {{L|Slab}}s. |
|- | |- | ||
− | | 87 || EGG || | + | | 87 || EGG || {{L|Egg}}s. |
|} | |} | ||
==Limited/Special Use Item Tokens== | ==Limited/Special Use Item Tokens== | ||
− | In several specific locations, the values below can be substituted for the item type and subtype (and be followed directly by the | + | In several specific locations, the values below can be substituted for the item type and subtype (and be followed directly by the {{L|material token}}). |
{| {{prettytable}} | {| {{prettytable}} | ||
|- style='background-color:#ddd' | |- style='background-color:#ddd' | ||
! Token | ! Token | ||
− | ! | + | ! Subtypes |
! Valid Uses | ! Valid Uses | ||
! Description | ! Description | ||
Line 201: | Line 200: | ||
| ANY_CRAFT | | ANY_CRAFT | ||
| NONE | | NONE | ||
− | | | + | | {{L|Reaction}} [REAGENT] |
| Matches FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, or BRACELET. | | Matches FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, or BRACELET. | ||
Line 207: | Line 206: | ||
| ANY_RAW_MATERIAL | | ANY_RAW_MATERIAL | ||
| NONE | | NONE | ||
− | | | + | | {{L|Reaction}} [REAGENT] |
| Matches POWDER_MISC, BAR, BOULDER, or GLOB. | | Matches POWDER_MISC, BAR, BOULDER, or GLOB. | ||
Line 213: | Line 212: | ||
| CRAFTS | | CRAFTS | ||
| NONE | | NONE | ||
− | | | + | | {{L|Reaction}} [PRODUCT] |
| Produces 1-3 items of type FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, or BRACELET. | | Produces 1-3 items of type FIGURINE, AMULET, SCEPTER, CROWN, RING, EARRING, or BRACELET. | ||
Line 225: | Line 224: | ||
|- style='background-color:#ddd' | |- style='background-color:#ddd' | ||
! Token | ! Token | ||
− | ! | + | ! Subtypes |
! Valid Uses | ! Valid Uses | ||
! Description | ! Description | ||
Line 232: | Line 231: | ||
| METAL_ORE | | METAL_ORE | ||
| Metal | | Metal | ||
− | | | + | | {{L|Reaction}} [REAGENT] |
− | | | + | | This functions a bit differently from the other tokens. It Seems to call for a stone/boulder (only????) of a material with a [METAL_ORE:<Metal>:<percentage>] token for the metal specified. This token is therefore more specific and seems to fill the role of both the item token and the material token in a reaction reagent. Found in the "(use ore)" versions of smelter reactions. |
|} | |} | ||
==See Also== | ==See Also== | ||
− | *[[Material token]] | + | *[[DF2010:Material token]] |
− | *[[Reactions]] | + | *[[DF2010:Reactions]] |
{{Category|Tokens}} | {{Category|Tokens}} | ||
{{Category|Modding}} | {{Category|Modding}} |