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
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}}. 
  
 
{| {{prettytable}}
 
{| {{prettytable}}
 
|- bgcolor="#ddd"
 
|- bgcolor="#ddd"
! Token !! Description
+
! Token !! Possible Subtypes || Description  
 
|-
 
|-
| I'm a token || I'm a description
+
| BAR || NO_SUBTYPE || Bars, such as metal, coal, or soap.
 
|-
 
|-
| I'm a token || I'm a description
+
| THREAD || NO_SUBTYPE || Thread type, such as silk, plant, or metal (adamantine).
 
|-
 
|-
 
|}
 
|}

Revision as of 04:33, 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. Item tokens are further modified by Template:L.

Token Possible Subtypes Description
BAR NO_SUBTYPE Bars, such as metal, coal, or soap.
THREAD NO_SUBTYPE Thread type, such as silk, plant, or metal (adamantine).