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 36: Line 36:
 
|-
 
|-
 
| 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 55:
 
*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 63:
 
*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 71:
 
*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 84:
 
|
 
|
 
*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 115:
 
|
 
|
 
*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 247:
 
|
 
|
 
*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 342: Line 342:
 
| 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 363:
 
*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 369:
 
|
 
|
 
*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 382:
 
| 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 592: Line 592:
 
| 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 627:
 
| 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 662:
 
| 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 692: Line 692:
 
| 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 702:
 
| 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 801:
 
*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)