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:Material 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 12: Line 12:
 
|-
 
|-
 
| INORGANIC
 
| INORGANIC
| MATERIAL_NAME
+
| NAME
| Specifies a standalone inorganic material defined in the raws, generally a stone or metal. For example, INORGANIC:IRON refers to [[iron]], and INORGANIC:CERAMIC_PORCELAIN refers to [[porcelain]]. The material name can be substituted with USE_LAVA_STONE to automatically select the local [[Inorganic material definition token|lava stone]], which is normally [[obsidian]].
+
| specifies a raw-defined inorganic material, such as stone or metal. Example: INORGANIC:IRON refers to iron.
 
 
|-
 
| STONE
 
| MATERIAL_NAME
 
| Alias for INORGANIC:MATERIAL_NAME, intended for backwards compatibility.
 
 
 
|-
 
| METAL
 
| MATERIAL_NAME
 
| Alias for INORGANIC:MATERIAL_NAME, intended for backwards compatibility.
 
  
 
|-
 
|-
 
| CREATURE_MAT
 
| CREATURE_MAT
 
| CREATURE_ID:MATERIAL_NAME
 
| CREATURE_ID:MATERIAL_NAME
| Specifies a material associated with a specific creature. Examples: CREATURE_MAT:DWARF:SKIN refers to [[dwarf]] skin.
+
| specifies a material associated with a specific creature. Example: CREATURE_MAT:DWARF:SKIN refers to dwarf skin; CREATURE_MAT:COLOSSUS_BRONZE:BRONZE refers to [[bronze colossus]] bronze. '''LOCAL_CREATURE_MAT''':'''MATERIAL_NAME''' can be used within a creature definition to refer to a material belonging to that same creature.
 
 
|-
 
| LOCAL_CREATURE_MAT
 
| MATERIAL_NAME
 
| Alias for CREATURE_MAT:'''CREATURE_ID''':MATERIAL_NAME, where CREATURE_ID is the creature currently being defined; as such, it can only be used in creature definitions.
 
  
 
|-
 
|-
 
| PLANT_MAT
 
| PLANT_MAT
 
| PLANT_ID:MATERIAL_NAME
 
| PLANT_ID:MATERIAL_NAME
| Specifies a material associated with a specific plant. Example: PLANT_MAT:BUSH_QUARRY:LEAF refers to [[quarry bush]] leaves.
+
| specifies a material associated with a specific plant. Example: PLANT_MAT:MUSHROOM_HELMET_PLUMP:STRUCTURAL specifies a plump helmet's main material (I.E what grows out of the ground). '''LOCAL_PLANT_MAT''':'''MATERIAL_NAME''' can be used within a plant definition to refer to a material belonging to that same plant.
 
 
|-
 
| LOCAL_PLANT_MAT
 
| MATERIAL_NAME
 
| Alias for PLANT_MAT:'''PLANT_ID''':MATERIAL_NAME, where PLANT_ID is the plant currently being defined; as such, it can only be used in plant definitions.
 
  
 
|-
 
|-
 
| GET_MATERIAL_FROM_REAGENT
 
| GET_MATERIAL_FROM_REAGENT
 
| REAGENT_ID:REACTION_PRODUCT_ID
 
| REAGENT_ID:REACTION_PRODUCT_ID
| Specifies a material related to a reagent's material within a [[reaction]]. REAGENT_ID must match a [REAGENT], and REACTION_PRODUCT_ID must either match a [MATERIAL_REACTION_PRODUCT] belonging to the reagent's material or be equal to "NONE" to use the reagent's material itself.
+
| specifies a material related to a reagent's material within a [[reaction]]. REAGENT_ID must match a [REAGENT], and REACTION_PRODUCT_ID must either match a [MATERIAL_REACTION_PRODUCT] belonging to the reagent's material or be equal to "NONE" to use the reagent's material itself.
 
+
|-
 +
| COAL
 +
| CHARCOAL, COKE or NO_MATGLOSS
 +
| specifies a material that can be used as fuel--charcoal, coke, and "refined coal", respectively.
 
|-
 
|-
| MATERIAL_NAME
+
| MATERIAL
 
| NONE
 
| NONE
| Specifies one of the hardcoded materials listed below.  Note that this goes in the token itself, not arguments (i.e GLASS_GREEN:NONE, not MATERIAL_NAME:GLASS_GREEN).
+
| specifies one of the hardcoded materials listed below (use material name instead of MATERIAL)
 
 
|-
 
| COAL
 
| CHARCOAL, COKE, or NO_MATGLOSS
 
| Specifies a material that can be used as fuel - charcoal or coke. Specifying NO_MATGLOSS ('''not''' NONE) will make it accept "refined coal" in general, which matches charcoal, coke, and generic refined coal.
 
 
|}
 
|}
  

Please note that all contributions to Dwarf Fortress Wiki are considered to be released under the GFDL & MIT (see Dwarf Fortress Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel Editing help (opens in new window)