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.

v0.31:Matgloss token

From Dwarf Fortress Wiki
Revision as of 05:09, 6 May 2010 by Onetwentysix (talk | contribs) (Created page with '{{av}}{{stub}} Matgloss tokens are the second part in defining the target item in reactions, containing the MATGLOSS_TOKEN and MATGLOSS_SUBTYPE. The token defines the base clas…')
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
This article is about an older version of DF.


Matgloss tokens are the second part in defining the target item in reactions, containing the MATGLOSS_TOKEN and MATGLOSS_SUBTYPE. The token defines the base class, and the subtype defines a very specific item of that class. Matgloss tokens are modifiers of Template:L.

Matgloss Token Description
COAL Template:L items, such as COKE.
GET_MATERIAL_FROM_REAGENT Used in products. Uses the material tag of the reagent; elephant fat will be used to make elephant soap with this tag, for example. No subtype used.
INORGANIC An inorganic item. Involves rocks, gems, ores, etc.
METAL Template:L such as STEEL or GOLD.
NONE Subtype: NONE. Item token asks for no specific matgloss. For example, with item tokens BAR:NO SUBTYPE:NONE:NONE, any bar will be used as a reagent (including soap), or a generic, useless bar will be produced. Often used with container tags, such as BARREL or BOX.
PEARLASH Subtype: NONE. Template:L.
POTASH Subtype: NONE. Template:L.