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.31:Material definition 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.31"). 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 30: Line 30:
 
|-
 
|-
 
| TEMP_DIET_INFO
 
| TEMP_DIET_INFO
|  
+
|
* type
+
| Unknown
| Specifies what the material should be treated as when drinking water contaminated by it, for generating unhappy [[thought]]s. Valid values are BLOOD, SLIME, VOMIT, ICHOR, PUS, GOO, GRIME, and FILTH.
 
  
 
|-
 
|-
 
| POWDER_DYE
 
| POWDER_DYE
| [[color]] token
+
| {{L|color}} token
 
| Defines the material as a type of dye.
 
| Defines the material as a type of dye.
  
 
|-
 
|-
 
| TILE
 
| TILE
| [[Main:Character table|tile]]
+
| [[Character table|tile]]
 
| Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█').
 
| Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█').
  
Line 55: Line 54:
 
*background color
 
*background color
 
*foreground brightness
 
*foreground brightness
| The on-screen color of the material. Uses a standard 3-digit [[Color|color token]]. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c]
+
| The on-screen color of the material. Uses a standard 3-digit {{L|Color|color token}}. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (X = 1 if 'a' equals 'b', 0 otherwise), and [BASIC_COLOR:a:c]
  
 
|-
 
|-
Line 63: Line 62:
 
*background color
 
*background color
 
*foreground brightness
 
*foreground brightness
| The color of objects made of this material which use both the foreground and background color: [[door]]s, [[floodgate]]s, [[hatch cover]]s, [[bin]]s, [[barrel]]s, and [[cage]]s. Defaults to 7:7:1 (white).
+
| The color of objects made of this material which use both the foreground and background color: {{L|door}}s, {{L|floodgate}}s, {{L|hatch cover}}s, {{L|bin}}s, {{L|barrel}}s, and {{L|cage}}s. Defaults to 7:7:1 (white).
  
 
|-
 
|-
Line 71: Line 70:
 
*background color
 
*background color
 
*foreground brightness
 
*foreground brightness
| The color of unmined tiles containing this material (for stone and soil), as well as [[engraving]]s in this material. Defaults to 7:7:1 (white).
+
| The color of unmined tiles containing this material (for stone and soil), as well as {{L|engraving}}s in this material. Defaults to 7:7:1 (white).
  
 
|-
 
|-
Line 84: Line 83:
 
|
 
|
 
*state
 
*state
*[[color]] token
+
*{{L|color}} token
 
| The state may be SOLID, LIQUID, GAS, POWDER/SOLID_POWDER, PASTE/SOLID_PASTE, PRESSED/SOLID_PRESSED, ALL_SOLID, or ALL.
 
| The state may be SOLID, LIQUID, GAS, POWDER/SOLID_POWDER, PASTE/SOLID_PASTE, PRESSED/SOLID_PRESSED, ALL_SOLID, or ALL.
 
Color comes from descriptor_color_standard.txt and is used to indicate the color of the material. The nearest color value is used to display contaminants and body parts made of this material.
 
Color comes from descriptor_color_standard.txt and is used to indicate the color of the material. The nearest color value is used to display contaminants and body parts made of this material.
Line 115: Line 114:
 
|
 
|
 
*value
 
*value
| The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been [[glaze]]d. Defaults to 0.
+
| The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been {{L|glaze}}d. Defaults to 0.
  
 
|-
 
|-
Line 247: Line 246:
 
|
 
|
 
*specific heat capacity
 
*specific heat capacity
| Rate at which the material heats up or cools down. See [[SPEC HEAT]] for more information. Defaults to NONE.
+
| Rate at which the material heats up or cools down. See {{L|SPEC HEAT}} for more information. Defaults to NONE.
  
 
|-
 
|-
Line 253: Line 252:
 
|
 
|
 
*temperature
 
*temperature
| Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point, it will burn for a very long time (9 months and 16.8 days). Defaults to NONE.
+
| Temperature above which the material takes damage from heat. May be set to NONE. If the material has an ignite point but no heatdam point, it may burn for a very long time (around 9-10 months). Defaults to NONE.
  
 
|-
 
|-
Line 342: Line 341:
 
| EXTRACT_STORAGE
 
| EXTRACT_STORAGE
 
| BARREL or FLASK
 
| BARREL or FLASK
| Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] [[plant token]]s. Defaults to BARREL.
+
| Specifies the type of container used to store the material. Used in conjunction with the [EXTRACT_BARREL], [EXTRACT_VIAL], or [EXTRACT_STILL_VIAL] {{L|plant token}}s. Defaults to BARREL.
  
 
|-
 
|-
 
| BUTCHER_SPECIAL
 
| BUTCHER_SPECIAL
 
|
 
|
*[[item token]]
+
*{{L|item token}}
 
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials.
 
| Specifies the item type used for butchering results made of this material. Stock raws use GLOB:NONE for fat and MEAT:NONE for other meat materials.
  
Line 363: Line 362:
 
*singular
 
*singular
 
*plural
 
*plural
| Specifies the name of [[block]]s made from this material.
+
| Specifies the name of {{L|block}}s made from this material.
  
 
|-
 
|-
Line 369: Line 368:
 
|
 
|
 
*reaction reference
 
*reaction reference
*[[material token]]
+
*{{L|material token}}
 
| Used with reaction raws to associate a reagent material with a product material. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE.
 
| Used with reaction raws to associate a reagent material with a product material. The first argument is used by HAS_MATERIAL_REACTION_PRODUCT and GET_MATERIAL_FROM_REAGENT in reaction raws. The remainder is a material reference, generally LOCAL_CREATURE_MAT:SUBTYPE or LOCAL_PLANT_MAT:SUBTYPE or INORGANIC:STONETYPE.
 
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]
 
[MATERIAL_REACTION_PRODUCT:TAN_MAT:LOCAL_CREATURE_MAT:LEATHER]
Line 382: Line 381:
 
| HARDENS_WITH_WATER
 
| HARDENS_WITH_WATER
 
|
 
|
* [[material token]]
+
* {{L|material token}}
| Allows the material to be used to make [[healthcare|casts]].
+
| Allows the material to be used to make {{L|healthcare|casts}}.
  
 
|-
 
|-
Line 405: Line 404:
  
 
|-
 
|-
| ALCOHOL_PLANT
+
| ALCOHOL_PLANT or ALCOHOL
 
|
 
|
 
| Classifies the material as plant alcohol, allowing it to be stored in food stockpiles under "Drink (Plant)".
 
| Classifies the material as plant alcohol, allowing it to be stored in food stockpiles under "Drink (Plant)".
Line 413: Line 412:
 
|
 
|
 
| Classifies the material as creature alcohol, allowing it to be stored in food stockpiles under "Drink (Animal)".
 
| Classifies the material as creature alcohol, allowing it to be stored in food stockpiles under "Drink (Animal)".
 
|-
 
| ALCOHOL
 
|
 
| Classifies the material as generic alcohol. Implied by both ALCOHOL_PLANT and ALCOHOL_CREATURE. Exact behavior unknown.
 
  
 
|-
 
|-
Line 425: Line 419:
  
 
|-
 
|-
| CHEESE_CREATURE
+
| CHEESE_CREATURE or CHEESE
 
|
 
|
 
| Classifies the material as creature cheese, allowing it to be stored in food stockpiles under "Cheese (Animal)".
 
| Classifies the material as creature cheese, allowing it to be stored in food stockpiles under "Cheese (Animal)".
  
 
|-
 
|-
| CHEESE
+
| POWDER_MISC_PLANT or POWDER_MISC
|
 
| Classifies the material as generic cheese. Implied by both CHEESE_PLANT and CHEESE_CREATURE. Exact behavior unknown.
 
 
 
|-
 
| POWDER_MISC_PLANT
 
 
|
 
|
 
| Classifies the material as plant powder, allowing it to be stored in food stockpiles under "Milled Plant".
 
| Classifies the material as plant powder, allowing it to be stored in food stockpiles under "Milled Plant".
Line 443: Line 432:
 
|
 
|
 
| Classifies the material as creature powder, allowing it to be stored in food stockpiles under "Bone Meal".
 
| Classifies the material as creature powder, allowing it to be stored in food stockpiles under "Bone Meal".
 
|-
 
| POWDER_MISC
 
|
 
| Classifies the material as generic powder. Implied by both POWDER_MISC_PLANT and POWDER_MISC_CREATURE. Exact behavior unknown.
 
  
 
|-
 
|-
Line 465: Line 449:
  
 
|-
 
|-
| LIQUID_MISC_PLANT
+
| LIQUID_MISC_PLANT or LIQUID_MISC
 
|
 
|
 
| Classifies the material as a plant extract, allowing it to be stored in food stockpiles under "Extract (Plant)".
 
| Classifies the material as a plant extract, allowing it to be stored in food stockpiles under "Extract (Plant)".
Line 478: Line 462:
 
|
 
|
 
| Classifies the material as a miscellaneous liquid, allowing it to be stored in food stockpiles under "Misc. Liquid" along with lye.
 
| Classifies the material as a miscellaneous liquid, allowing it to be stored in food stockpiles under "Misc. Liquid" along with lye.
 
|-
 
| LIQUID_MISC
 
|
 
| Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown.
 
  
 
|-
 
|-
Line 567: Line 546:
 
| BLOOD_MAP_DESCRIPTOR
 
| BLOOD_MAP_DESCRIPTOR
 
|
 
|
| Tells the game to classify contaminants of this material as being "blood" in Adventurer mode tile descriptions ("Here we have a Dwarf in a slurry of blood.").
+
| Tells the game to classify contaminants of this material as being "blood", both in Adventurer mode tile descriptions ("Here we have a Dwarf in a slurry of blood.") and for unhappy thoughts from drinking water ("He was forced to drink bloody water lately").
  
 
|-
 
|-
Line 592: Line 571:
 
| ENTERS_BLOOD
 
| ENTERS_BLOOD
 
|
 
|
| Used for materials which cause [[syndrome]]s, causes it to enter the creature's blood instead of simply spattering on the surface.
+
| Used for materials which cause {{L|syndrome}}s, causes it to enter the creature's blood instead of simply spattering on the surface.
  
 
|-
 
|-
Line 627: Line 606:
 
| ITEMS_BARRED
 
| ITEMS_BARRED
 
|
 
|
| [[Bone]] items (clothes with [BARRED]) can be made from this material.
+
| {{L|Bone}} items (clothes with [BARRED]) can be made from this material.
  
 
|-
 
|-
 
| ITEMS_SCALED
 
| ITEMS_SCALED
 
|
 
|
| [[Shell]] items (clothes with [SCALED]) can be made from this material.
+
| {{L|Shell}} items (clothes with [SCALED]) can be made from this material.
  
 
|-
 
|-
 
| ITEMS_LEATHER
 
| ITEMS_LEATHER
 
|
 
|
| [[Leather]] items (clothes with [LEATHER]) can be made from this material.
+
| {{L|Leather}} items (clothes with [LEATHER]) can be made from this material.
  
 
|-
 
|-
Line 662: Line 641:
 
| DISPLAY_UNGLAZED
 
| DISPLAY_UNGLAZED
 
|
 
|
| Causes containers made of this material to be prefixed with "unglazed" if they have not yet been [[glaze]]d.
+
| Causes containers made of this material to be prefixed with "unglazed" if they have not yet been {{L|glaze}}d.
  
 
|-
 
|-
Line 687: Line 666:
 
| CRYSTAL_GLASSABLE
 
| CRYSTAL_GLASSABLE
 
|
 
|
| Can be used in the production of crystal glass, in theory. In practice, thanks to [http://www.bay12games.com/dwarves/mantisbt/view.php?id=1498 bug 1498], this token does nothing.
+
| Can be used in the production of crystal glass.
  
 
|-
 
|-
 
| ITEMS_WEAPON
 
| ITEMS_WEAPON
 
|  
 
|  
| Melee [[Weapon#Manufactured weapons|weapons]] can be made out of this material.
+
| Melee {{L|Weapon#Manufactured weapons|weapons}} can be made out of this material.
  
 
|-
 
|-
Line 702: Line 681:
 
| ITEMS_ANVIL
 
| ITEMS_ANVIL
 
|
 
|
| [[Anvil]]s can be made out of this material.
+
| {{L|Anvil}}s can be made out of this material.
  
 
|-
 
|-
 
| ITEMS_AMMO
 
| ITEMS_AMMO
 
|
 
|
| [[Weapon#Ammunition|Ammunition]] can be made out of this material.
+
| {{L|Weapon#Ammunition|Ammunition}} can be made out of this material.
  
 
|-
 
|-
 
| ITEMS_DIGGER
 
| ITEMS_DIGGER
 
|
 
|
| [[Weapon#Dwarf-manufactured weapons|Picks]] can be made out of this material.
+
| {{L|Weapon#Dwarf-manufactured weapons|Picks}} can be made out of this material.
  
 
|-
 
|-
 
| ITEMS_ARMOR
 
| ITEMS_ARMOR
 
|
 
|
| [[Armor]] can be made out of this material.
+
| {{L|Armor}} can be made out of this material.
  
 
|-
 
|-
Line 801: Line 780:
 
*Peak:effect peak time
 
*Peak:effect peak time
 
*End:effect end time
 
*End:effect end time
| Specifies the way that a syndrome affects a creature -- more detail can be found on the [[Syndrome#Creature effect tokens|Syndromes page]]
+
| Specifies the way that a syndrome affects a creature -- more detail can be found on the {{L|Syndrome#Creature effect tokens|Syndromes page}}
  
 
|}
 
|}
  
 
==See Also==
 
==See Also==
* [[Inorganic material definition token]]
+
* {{L|Inorganic material definition token}}
* [[Syndrome]]
+
* {{L|Syndrome}}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

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)