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 15:41, 15 December 2010 by Quietust (talk | contribs)
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 Subtypes Description
COAL COKE, CHARCOAL Template:L items, such as COKE.
GET_MATERIAL_FROM_REAGENT N/A 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 Inorganic material ID An inorganic material. Subtypes are inorganic material IDs such as Template:L, Template:L, Template:L, etc.
CREATURE_MAT Creature ID:Material ID A material defined as being part of a creature. Examples: WOLF:MUSCLE, BIRD_EAGLE_GIANT:BLOOD.
PLANT_MAT Creature ID:Material ID A material defined as being part of a plant. Examples: MUSHROOM_HELMET_PLUMP:DRINK, BLOOD_THORN:WOOD.
METAL Metal material ID Template:Ls such as STEEL or GOLD. Seems to be functionally equivalent to INORGANIC.
NONE 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 item tokens, such as BARREL or BOX.
PEARLASH NONE Template:L.
POTASH NONE Template:L.