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.34: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.34"). 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 type and subtype. They determine the most basic form of item, and made more specific by [[material token]]s. Most item tokens | + | Item tokens are the first part in defining the target item in reactions, containing the item type and subtype. They determine the most basic form of item, and made more specific by [[material token]]s. Most item tokens use NO_SUBTYPE or NONE for subtype. |
− | Nearly all items are made of a [[Material token|material]], though several types expect a creature ID and caste ID (e.g. [[Ant|ANT:SOLDIER]]) instead | + | Nearly all items are made of a [[Material token|material]], though several types expect a creature ID and caste ID (e.g. [[Ant|ANT:SOLDIER]]) instead. This currently does not work correctly{{bug|4973}}. |
Actually defining an item in item raws is done with [[item definition token]]s. | Actually defining an item in item raws is done with [[item definition token]]s. | ||
Line 10: | Line 10: | ||
{| {{prettytable}} class="sortable" | {| {{prettytable}} class="sortable" | ||
− | |- | + | |- bgcolor="#ddd" |
! # !! Token !! Subtype !! Description | ! # !! Token !! Subtype !! Description | ||
|- | |- | ||
Line 59: | Line 59: | ||
| 22 || STATUE || NONE || [[Statue]]s. | | 22 || STATUE || NONE || [[Statue]]s. | ||
|- | |- | ||
− | | 23 || CORPSE || NONE || [[Corpse]]s. Does not have a | + | | 23 || CORPSE || NONE || [[Corpse]]s. Does not have a material. |
|- | |- | ||
| 24 || WEAPON || item_weapon.txt || [[Weapon]]s. | | 24 || WEAPON || item_weapon.txt || [[Weapon]]s. | ||
Line 73: | Line 73: | ||
| 29 || GLOVES || item_gloves.txt || Armor and clothing worn on the hands. | | 29 || GLOVES || item_gloves.txt || Armor and clothing worn on the hands. | ||
|- | |- | ||
− | | 30 || BOX || NONE || [[Container|Chest]]s (wood), coffers (stone), boxes (glass | + | | 30 || BOX || NONE || [[Container|Chest]]s (wood), coffers (stone), boxes (glass), and bags (cloth or leather). |
|- | |- | ||
| 31 || BIN || NONE || [[Bin]]s. | | 31 || BIN || NONE || [[Bin]]s. | ||
Line 85: | Line 85: | ||
| 35 || FIGURINE || NONE || [[Figurine]]s. | | 35 || FIGURINE || NONE || [[Figurine]]s. | ||
|- | |- | ||
− | | 36 || AMULET || NONE || [[ | + | | 36 || AMULET || NONE || [[Amulet]]s. |
|- | |- | ||
− | | 37 || SCEPTER || NONE || [[ | + | | 37 || SCEPTER || NONE || [[Scepter]]s. |
|- | |- | ||
| 38 || AMMO || item_ammo.txt || [[Ammunition]] for hand-held weapons. | | 38 || AMMO || item_ammo.txt || [[Ammunition]] for hand-held weapons. | ||
|- | |- | ||
− | | 39 || CROWN || NONE || [[ | + | | 39 || CROWN || NONE || [[Crown]]s. |
|- | |- | ||
− | | 40 || RING || NONE || [[ | + | | 40 || RING || NONE || [[Ring]]s. |
|- | |- | ||
− | | 41 || EARRING || NONE || [[ | + | | 41 || EARRING || NONE || [[Earring]]s. |
|- | |- | ||
− | | 42 || BRACELET || NONE || [[ | + | | 42 || BRACELET || NONE || [[Bracelet]]s. |
|- | |- | ||
| 43 || GEM || NONE || Large [[gem]]s. | | 43 || GEM || NONE || Large [[gem]]s. | ||
Line 103: | Line 103: | ||
| 44 || ANVIL || NONE || [[Anvil]]s. | | 44 || ANVIL || NONE || [[Anvil]]s. | ||
|- | |- | ||
− | | 45 || CORPSEPIECE || NONE || [[Body part]]s. Does not have a | + | | 45 || CORPSEPIECE || NONE || [[Body part]]s. Does not have a material. |
|- | |- | ||
| 46 || REMAINS || NONE || Dead [[vermin]] bodies. Material is CREATURE_ID:CASTE. | | 46 || REMAINS || NONE || Dead [[vermin]] bodies. Material is CREATURE_ID:CASTE. | ||
Line 188: | Line 188: | ||
|- | |- | ||
| 87 || EGG || NONE || [[Egg]]s. Material is CREATURE_ID:CASTE. | | 87 || EGG || NONE || [[Egg]]s. Material is CREATURE_ID:CASTE. | ||
− | |||
− | |||
|} | |} | ||