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
Line 1: Line 1:
 
{{av}}{{stub}}
 
{{av}}{{stub}}
  
Item tokens are the first part in defining the target item in reactions, containing the ITEM_TOKEN and ITEM_SUBTYPE.  Item tokens are further modified by {{l|Matgloss token|matgloss tokens}}.   
+
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|Matgloss token|matgloss tokens}}.  Most item tokens use NO_SUBTYPE or NONE for subtype.   
  
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
! Token !! Possible Subtypes || Description  
+
! Token !! Description  
 
|-
 
|-
| BAR || NO_SUBTYPE || Bars, such as metal, coal, or soap.
+
| BAR || Bars, such as metal, fuel, or soap.
 
|-
 
|-
| THREAD || NO_SUBTYPE || Thread type, such as silk, plant, or metal (adamantine).
+
| BARREL || Barrels.  Normally associated with [CONTAINS_LYE] tag to require a barrel of {{l|lye}}.
 +
|-
 +
| BOX || Boxes.  Includes bins and bags.
 +
|-
 +
| POWDER_MISC || Powders, such as plaster or dye.
 +
|-
 +
| THREAD || Thread type, such as silk, plant, or metal (adamantine).
 
|-
 
|-
 
|}
 
|}

Revision as of 05:23, 6 May 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.

Token Description
BAR Bars, such as metal, fuel, or soap.
BARREL Barrels. Normally associated with [CONTAINS_LYE] tag to require a barrel of Template:L.
BOX Boxes. Includes bins and bags.
POWDER_MISC Powders, such as plaster or dye.
THREAD Thread type, such as silk, plant, or metal (adamantine).