- 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.
Difference between revisions of "Material definition token"
(more info for REACTION_CLASS) |
(Linking tools here) |
||
(63 intermediate revisions by 26 users not shown) | |||
Line 1: | Line 1: | ||
− | {{Quality|Fine | + | {{Quality|Fine}} |
{{av}} | {{av}} | ||
+ | {{Modding}} | ||
− | The following | + | The following [[token]]s can be used in [[material]] definitions (whether for inorganics or those within plants and creatures) as well as in [[:Category:material template raw pages|material templates]]. |
− | ==Material | + | {{Urist asks|q=Materials use specific, often bespoke, units. Are there any tools to help convert from real-world values?|a= |
+ | Here are some web-based [[utilities]] designed for raw authoring. | ||
+ | |||
+ | For [[material science|yield]] and [[strain at yield|elasticity]]: https://putnam3145.github.io/helper | ||
+ | |||
+ | For [[temperature]]: https://jose96xd.github.io/DF_Tools/Modules/TemperatureConverter.html | ||
+ | }} | ||
+ | |||
+ | __TOC__ | ||
+ | {{clear}} | ||
+ | |||
+ | ==Material properties== | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#C0C0C0" | |- bgcolor="#C0C0C0" | ||
Line 10: | Line 22: | ||
! Arguments | ! Arguments | ||
! Description | ! Description | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|USE_MATERIAL_TEMPLATE}} | ||
+ | | | ||
+ | * <template name> | ||
+ | | Resets all material tokens back to their default values, then imports the tokens of the specified preexisting material template (overriding any tokens defined prior to itself in the material). This means USE_MATERIAL_TEMPLATE should be the first token present in any material using it. It cannot be used inside of a [MATERIAL_TEMPLATE:X] which prevents the creation of nested material template structures. | ||
|- | |- | ||
| {{text_anchor|PREFIX}} | | {{text_anchor|PREFIX}} | ||
| | | | ||
− | * | + | * <prefix> or NONE |
| Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. '''Not permitted in material template definitions.''' | | Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. '''Not permitted in material template definitions.''' | ||
Line 20: | Line 38: | ||
| {{text_anchor|STONE_NAME}} | | {{text_anchor|STONE_NAME}} | ||
| | | | ||
− | * | + | * <name> |
− | | Overrides the name of mined out stones (used for native copper/silver/gold/platinum to make them be called "nuggets"). | + | | Overrides the name of [[Item_token#BOULDER|BOULDER]] items (i.e. mined-out stones) made of the material (used for native copper/silver/gold/platinum to make them be called "nuggets" instead of "boulders"). |
|- | |- | ||
| {{text_anchor|IS_GEM}} | | {{text_anchor|IS_GEM}} | ||
| | | | ||
− | * name | + | * <name> |
− | * plural | + | * <plural> |
− | * | + | * OVERWRITE_SOLID (optional) |
| Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be "STP" to automatically append an "s" to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values. | | Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be "STP" to automatically append an "s" to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values. | ||
Line 34: | Line 52: | ||
| {{text_anchor|TEMP_DIET_INFO}} | | {{text_anchor|TEMP_DIET_INFO}} | ||
| | | | ||
− | * type | + | * <type> |
| 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. | | 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. | ||
|- | |- | ||
| {{text_anchor|POWDER_DYE}} | | {{text_anchor|POWDER_DYE}} | ||
− | | [[color]] | + | | |
− | | | + | *<[[Color#Color_tokens|color token]]> |
+ | | Allows the material to be used as [[dye]], and defines color of dyed items. | ||
|- | |- | ||
| {{text_anchor|TILE}} | | {{text_anchor|TILE}} | ||
− | | [[Main:Character table|tile]] | + | | |
+ | *<[[Main:Character table|tile value or character]]> | ||
| 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 ('█'). | ||
|- | |- | ||
| {{text_anchor|ITEM_SYMBOL}} | | {{text_anchor|ITEM_SYMBOL}} | ||
− | | tile | + | | |
− | | Specifies the tile that will be used to represent BOULDER | + | *<[[Main:Character table|tile value or character]]> |
+ | | Specifies the tile that will be used to represent [[Item_token#BOULDER|BOULDER]] items made of this material. Generally only used with stones. Defaults to 7 ('•'). | ||
|- | |- | ||
| {{text_anchor|DISPLAY_COLOR}} | | {{text_anchor|DISPLAY_COLOR}} | ||
| | | | ||
− | *foreground color | + | *<[[Color#Color_values|foreground color]]> |
− | *background color | + | *<[[Color#Color_values|background color]]> |
− | *foreground brightness | + | *<[[Color#Color_values|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 [[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 84: | ||
| {{text_anchor|BUILD_COLOR}} | | {{text_anchor|BUILD_COLOR}} | ||
| | | | ||
− | *foreground color | + | *<[[Color#Color_values|foreground color]]> |
− | *background color | + | *<[[Color#Color_values|background color]]> |
− | *foreground brightness | + | *<[[Color#Color_values|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: [[door]]s, [[floodgate]]s, [[hatch cover]]s, [[bin]]s, [[barrel]]s, and [[cage]]s. Defaults to 7:7:1 (white). | ||
Line 71: | Line 92: | ||
| {{text_anchor|TILE_COLOR}} | | {{text_anchor|TILE_COLOR}} | ||
| | | | ||
− | *foreground color | + | *<[[Color#Color_values|foreground color]]> |
− | *background color | + | *<[[Color#Color_values|background color]]> |
− | *foreground brightness | + | *<[[Color#Color_values|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 [[engraving]]s in this material. Defaults to 7:7:1 (white). | ||
Line 79: | Line 100: | ||
| {{text_anchor|BASIC_COLOR}} | | {{text_anchor|BASIC_COLOR}} | ||
| | | | ||
− | *color | + | *<[[Color#Color_values|foreground color]]> |
− | *brightness | + | *<[[Color#Color_values|foreground brightness]]> |
| The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white). | | The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white). | ||
Line 86: | Line 107: | ||
| {{text_anchor|STATE_COLOR}} | | {{text_anchor|STATE_COLOR}} | ||
| | | | ||
− | *state | + | *<[[Material_definition_token#Material States|material state]]> |
− | *[[color]] | + | *<[[Color#Color_tokens|color token]]> |
− | | | + | | Determines the color of the material at the specified state. See [[Material_definition_token#Material states|below]] for a list of valid material states. Color comes from descriptor_color_standard.txt. The nearest color value is used to display contaminants and body parts made of this material in ASCII and to color items and constructions made from this material with graphics. Example: |
− | Color comes from descriptor_color_standard.txt | ||
[STATE_COLOR:ALL_SOLID:GRAY] | [STATE_COLOR:ALL_SOLID:GRAY] | ||
Line 95: | Line 115: | ||
| {{text_anchor|STATE_NAME}} | | {{text_anchor|STATE_NAME}} | ||
| | | | ||
− | *state | + | *<[[Material_definition_token#Material States|material state]]> |
− | *name | + | *<name> |
− | | | + | | Determines the name of the material at the specified state, as displayed in-game. |
[STATE_NAME:ALL_SOLID:stone] | [STATE_NAME:ALL_SOLID:stone] | ||
|- | |- | ||
− | | {{text_anchor| | + | | {{text_anchor|STATE_ADJ}} |
| | | | ||
− | *state | + | *<[[Material_definition_token#Material States|material state]]> |
− | * | + | *<adjective> |
− | | | + | | Like [[Material_definition_token#STATE_NAME|STATE_NAME]], but used in different situations. Equipment made from the material uses the state adjective and not the state name. |
|- | |- | ||
− | | {{text_anchor| | + | | {{text_anchor|STATE_NAME_ADJ}} |
| | | | ||
− | *state | + | *<[[Material_definition_token#Material States|material state]]> |
− | *adjective | + | *<name> |
− | | | + | *<adjective> |
+ | | Sets both [[Material_definition_token#STATE_NAME|STATE_NAME]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] at the same time. | ||
|- | |- | ||
| {{text_anchor|ABSORPTION}} | | {{text_anchor|ABSORPTION}} | ||
| | | | ||
− | *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 [[glaze]]d. Defaults to 0. | ||
Line 123: | Line 144: | ||
| {{text_anchor|IMPACT_YIELD}} | | {{text_anchor|IMPACT_YIELD}} | ||
| | | | ||
− | * | + | *<pressure> |
− | | Specifies how hard of an impact (in | + | | Specifies how hard of an impact (in kPa) the material can withstand before it will start deforming permanently. Used for blunt-force combat. Defaults to 10000. |
|- | |- | ||
| {{text_anchor|IMPACT_FRACTURE}} | | {{text_anchor|IMPACT_FRACTURE}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000. | | Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000. | ||
Line 135: | Line 156: | ||
| {{text_anchor|IMPACT_STRAIN_AT_YIELD}} or {{text_anchor|IMPACT_ELASTICITY}} | | {{text_anchor|IMPACT_STRAIN_AT_YIELD}} or {{text_anchor|IMPACT_ELASTICITY}} | ||
| | | | ||
− | * | + | *<[[Strain at yield|strain]]> |
| Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value >= 50000), torn (value between 25000 and 49999), or fractured (value <= 24999) | | Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value >= 50000), torn (value between 25000 and 49999), or fractured (value <= 24999) | ||
Line 141: | Line 162: | ||
| {{text_anchor|COMPRESSIVE_YIELD}} | | {{text_anchor|COMPRESSIVE_YIELD}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000. | | Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000. | ||
Line 147: | Line 168: | ||
| {{text_anchor|COMPRESSIVE_FRACTURE}} | | {{text_anchor|COMPRESSIVE_FRACTURE}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000. | | Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000. | ||
Line 153: | Line 174: | ||
| {{text_anchor|COMPRESSIVE_STRAIN_AT_YIELD}} or {{text_anchor|COMPRESSIVE_ELASTICITY}} | | {{text_anchor|COMPRESSIVE_STRAIN_AT_YIELD}} or {{text_anchor|COMPRESSIVE_ELASTICITY}} | ||
| | | | ||
− | * | + | *<[[Strain at yield|strain]]> |
| Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0. | | Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0. | ||
Line 159: | Line 180: | ||
| {{text_anchor|TENSILE_YIELD}} | | {{text_anchor|TENSILE_YIELD}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000. | | Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000. | ||
Line 165: | Line 186: | ||
| {{text_anchor|TENSILE_FRACTURE}} | | {{text_anchor|TENSILE_FRACTURE}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000. | | Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000. | ||
Line 171: | Line 192: | ||
| {{text_anchor|TENSILE_STRAIN_AT_YIELD}} or {{text_anchor|TENSILE_ELASTICITY}} | | {{text_anchor|TENSILE_STRAIN_AT_YIELD}} or {{text_anchor|TENSILE_ELASTICITY}} | ||
| | | | ||
− | * | + | *<[[Strain at yield|strain]]> |
| Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to a latching and tearing bite. Defaults to 0. | | Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to a latching and tearing bite. Defaults to 0. | ||
Line 177: | Line 198: | ||
| {{text_anchor|TORSION_YIELD}} | | {{text_anchor|TORSION_YIELD}} | ||
| | | | ||
− | * | + | *<pressure> |
− | | Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking with a blunt attack ( | + | | Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking with a blunt attack (certain generated creatures can do this). Defaults to 10000. |
|- | |- | ||
| {{text_anchor|TORSION_FRACTURE}} | | {{text_anchor|TORSION_FRACTURE}} | ||
| | | | ||
− | * | + | *<pressure> |
− | | Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking with a blunt attack ( | + | | Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking with a blunt attack (certain generated creatures can do this). Defaults to 10000. |
|- | |- | ||
| {{text_anchor|TORSION_STRAIN_AT_YIELD}} or {{text_anchor|TORSION_ELASTICITY}} | | {{text_anchor|TORSION_STRAIN_AT_YIELD}} or {{text_anchor|TORSION_ELASTICITY}} | ||
| | | | ||
− | * | + | *<[[Strain at yield|strain]]> |
− | | Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking with a blunt attack ( | + | | Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking with a blunt attack (certain generated creatures can do this). Defaults to 0. |
|- | |- | ||
| {{text_anchor|SHEAR_YIELD}} | | {{text_anchor|SHEAR_YIELD}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000. | | Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000. | ||
Line 201: | Line 222: | ||
| {{text_anchor|SHEAR_FRACTURE}} | | {{text_anchor|SHEAR_FRACTURE}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000. | | Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000. | ||
Line 207: | Line 228: | ||
| {{text_anchor|SHEAR_STRAIN_AT_YIELD}} or {{text_anchor|SHEAR_ELASTICITY}} | | {{text_anchor|SHEAR_STRAIN_AT_YIELD}} or {{text_anchor|SHEAR_ELASTICITY}} | ||
| | | | ||
− | * | + | *<[[Strain at yield|strain]]> |
| Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0. | | Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0. | ||
Line 213: | Line 234: | ||
| {{text_anchor|BENDING_YIELD}} | | {{text_anchor|BENDING_YIELD}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000. | | Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000. | ||
Line 219: | Line 240: | ||
| {{text_anchor|BENDING_FRACTURE}} | | {{text_anchor|BENDING_FRACTURE}} | ||
| | | | ||
− | * | + | *<pressure> |
| Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000. | | Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000. | ||
Line 225: | Line 246: | ||
| {{text_anchor|BENDING_STRAIN_AT_YIELD}} or {{text_anchor|BENDING_ELASTICITY}} | | {{text_anchor|BENDING_STRAIN_AT_YIELD}} or {{text_anchor|BENDING_ELASTICITY}} | ||
| | | | ||
− | * | + | *<[[Strain at yield|strain]]> |
| Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0. | | Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0. | ||
Line 231: | Line 252: | ||
| {{text_anchor|MAX_EDGE}} | | {{text_anchor|MAX_EDGE}} | ||
| | | | ||
− | *value | + | *<value> |
− | | How sharp the material is. Used in cutting calculations | + | | How sharp the material is. Used in cutting calculations. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000. |
|- | |- | ||
| {{text_anchor|MATERIAL_VALUE}} | | {{text_anchor|MATERIAL_VALUE}} | ||
| | | | ||
− | *value | + | *<[[item value]]> |
| Value modifier for the material. Defaults to 1. This number can be made negative by placing a "-" in front, resulting in things that you are paid to buy and must pay to sell. | | Value modifier for the material. Defaults to 1. This number can be made negative by placing a "-" in front, resulting in things that you are paid to buy and must pay to sell. | ||
Line 243: | Line 264: | ||
| {{text_anchor|MULTIPLY_VALUE}} | | {{text_anchor|MULTIPLY_VALUE}} | ||
| | | | ||
− | *value | + | *<[[item value]]> |
| Multiplies the value of the material. '''Not permitted in material template definitions.''' | | Multiplies the value of the material. '''Not permitted in material template definitions.''' | ||
Line 249: | Line 270: | ||
| {{text_anchor|SPEC_HEAT}} | | {{text_anchor|SPEC_HEAT}} | ||
| | | | ||
− | *specific heat capacity | + | *<specific heat capacity> |
− | | Rate at which the material heats up or cools down (in | + | | Rate at which the material heats up or cools down (in J⋅kg<sup>−1</sup>⋅K<sup>−1</sup>.). If set to NONE, the temperature will be fixed at its initial value. See [[Temperature]] for more information. Defaults to NONE. |
|- | |- | ||
| {{text_anchor|HEATDAM_POINT}} | | {{text_anchor|HEATDAM_POINT}} | ||
| | | | ||
− | *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 will burn for a very long time (9 months and 16.8 days). Defaults to NONE. | ||
Line 261: | Line 282: | ||
| {{text_anchor|COLDDAM_POINT}} | | {{text_anchor|COLDDAM_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Temperature below which the material takes damage from cold. Defaults to NONE. | | Temperature below which the material takes damage from cold. Defaults to NONE. | ||
Line 267: | Line 288: | ||
| {{text_anchor|IGNITE_POINT}} | | {{text_anchor|IGNITE_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Temperature at which the material will catch fire. Defaults to NONE. | | Temperature at which the material will catch fire. Defaults to NONE. | ||
Line 273: | Line 294: | ||
| {{text_anchor|MELTING_POINT}} | | {{text_anchor|MELTING_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Temperature at which the material melts. Defaults to NONE. | | Temperature at which the material melts. Defaults to NONE. | ||
Line 279: | Line 300: | ||
| {{text_anchor|BOILING_POINT}} | | {{text_anchor|BOILING_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Temperature at which the material boils. Defaults to NONE. | | Temperature at which the material boils. Defaults to NONE. | ||
Line 285: | Line 306: | ||
| {{text_anchor|MAT_FIXED_TEMP}} | | {{text_anchor|MAT_FIXED_TEMP}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
− | | | + | | Items composed of this material will initially have this temperature. Used in conjunction with <code>[SPEC_HEAT:NONE]</code> to make material's temperature fixed at the specified value. Defaults to NONE. |
|- | |- | ||
| {{text_anchor|IF_EXISTS_SET_HEATDAM_POINT}} | | {{text_anchor|IF_EXISTS_SET_HEATDAM_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Changes a material's HEATDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | | Changes a material's HEATDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | ||
Line 297: | Line 318: | ||
| {{text_anchor|IF_EXISTS_SET_COLDDAM_POINT}} | | {{text_anchor|IF_EXISTS_SET_COLDDAM_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Changes a material's COLDDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | | Changes a material's COLDDAM_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | ||
Line 303: | Line 324: | ||
| {{text_anchor|IF_EXISTS_SET_IGNITE_POINT}} | | {{text_anchor|IF_EXISTS_SET_IGNITE_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Changes a material's IGNITE_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | | Changes a material's IGNITE_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | ||
Line 309: | Line 330: | ||
| {{text_anchor|IF_EXISTS_SET_MELTING_POINT}} | | {{text_anchor|IF_EXISTS_SET_MELTING_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Changes a material's MELTING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | | Changes a material's MELTING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | ||
Line 315: | Line 336: | ||
| {{text_anchor|IF_EXISTS_SET_BOILING_POINT}} | | {{text_anchor|IF_EXISTS_SET_BOILING_POINT}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Changes a material's BOILING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | | Changes a material's BOILING_POINT, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | ||
Line 321: | Line 342: | ||
| {{text_anchor|IF_EXISTS_SET_MAT_FIXED_TEMP}} | | {{text_anchor|IF_EXISTS_SET_MAT_FIXED_TEMP}} | ||
| | | | ||
− | *temperature | + | *<[[temperature]]> |
| Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | | Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. '''Not permitted in material template definitions.''' | ||
Line 327: | Line 348: | ||
| {{text_anchor|SOLID_DENSITY}} | | {{text_anchor|SOLID_DENSITY}} | ||
| | | | ||
− | *density | + | *<[[density]]> |
− | | Specifies the density (in | + | | Specifies the density (in kg/m³) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of weak-in-impact-yield blunt attacks to pierce armor. Defaults to NONE. |
|- | |- | ||
| {{text_anchor|LIQUID_DENSITY}} | | {{text_anchor|LIQUID_DENSITY}} | ||
| | | | ||
− | *density | + | *<[[density]]> |
− | | Specifies the density of the material when in liquid form. Defaults to NONE. | + | | Specifies the density of the material when in liquid form. Defaults to NONE. Also affects combat calculations; affects blunt force damage like SOLID_DENSITY, but only for attacks made by liquids (e.g. forgotten beasts made of water). |
|- | |- | ||
| {{text_anchor|MOLAR_MASS}} | | {{text_anchor|MOLAR_MASS}} | ||
| | | | ||
− | *value | + | *<value> |
− | | | + | | Specifies (in kg/mol) the molar mass of the material in gaseous form. Only affects combat calculations like the densities, and only for attacks made by gases (e.g. forgotten beasts made of steam). |
|- | |- | ||
| {{text_anchor|EXTRACT_STORAGE}} | | {{text_anchor|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] [[plant token]]s. Defaults to BARREL. | ||
Line 350: | Line 371: | ||
| {{text_anchor|BUTCHER_SPECIAL}} | | {{text_anchor|BUTCHER_SPECIAL}} | ||
| | | | ||
− | *[[item token]] | + | *<[[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 356: | Line 377: | ||
| {{text_anchor|MEAT_NAME}} | | {{text_anchor|MEAT_NAME}} | ||
| | | | ||
− | *prefix | + | *<prefix> |
− | *name | + | *<name> |
− | *adjective | + | *<adjective> |
| When a creature is butchered, meat yielded from organs made from this material will be named via this token. | | When a creature is butchered, meat yielded from organs made from this material will be named via this token. | ||
Line 364: | Line 385: | ||
| {{text_anchor|BLOCK_NAME}} | | {{text_anchor|BLOCK_NAME}} | ||
| | | | ||
− | *singular | + | *<singular> |
− | *plural | + | *<plural> |
| Specifies the name of [[block]]s made from this material. | | Specifies the name of [[block]]s made from this material. | ||
Line 376: | Line 397: | ||
| {{text_anchor|MATERIAL_REACTION_PRODUCT}} | | {{text_anchor|MATERIAL_REACTION_PRODUCT}} | ||
| | | | ||
− | *reaction reference | + | *<reaction reference> |
− | *[[material token]] | + | *<[[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 384: | Line 405: | ||
| {{text_anchor|ITEM_REACTION_PRODUCT}} | | {{text_anchor|ITEM_REACTION_PRODUCT}} | ||
| | | | ||
− | *item reference | + | *<item reference> |
− | *[[item token]] | + | *<[[item token]]> |
− | *[[material token]] | + | *<[[material token]]> |
| Used with reaction raws to associate a reagent material with a complete item. The first argument is used by HAS_ITEM_REACTION_PRODUCT and GET_ITEM_DATA_FROM_REAGENT in reaction raws. The rest refers to the type of item, then its material. | | Used with reaction raws to associate a reagent material with a complete item. The first argument is used by HAS_ITEM_REACTION_PRODUCT and GET_ITEM_DATA_FROM_REAGENT in reaction raws. The rest refers to the type of item, then its material. | ||
[ITEM_REACTION_PRODUCT:BAG_ITEM:PLANT_GROWTH:LEAVES:LOCAL_PLANT_MAT:LEAF] | [ITEM_REACTION_PRODUCT:BAG_ITEM:PLANT_GROWTH:LEAVES:LOCAL_PLANT_MAT:LEAF] | ||
Line 393: | Line 414: | ||
| {{text_anchor|REACTION_CLASS}} | | {{text_anchor|REACTION_CLASS}} | ||
| | | | ||
− | *reaction | + | *<reaction class name> |
− | | Used to classify all items made of the material so that reactions can use them as generic reagents. | + | | Used to classify all items made of the material, so that reactions can use them as generic reagents. |
− | In default raws are used | + | In default raws, the following are used: |
− | * FAT, TALLOW, SOAP, PARCHMENT, MILK, CHEESE, WAX | + | * FAT, TALLOW, SOAP, PARCHMENT, PAPER_PLANT, PAPER_SLURRY, MILK, CHEESE, WAX |
* CAN_GLAZE - items made from this material can be glazed. | * CAN_GLAZE - items made from this material can be glazed. | ||
* FLUX - can be used as [[flux]] in pig iron and steel making. | * FLUX - can be used as [[flux]] in pig iron and steel making. | ||
* GYPSUM - can be processed into [[gypsum plaster]]. | * GYPSUM - can be processed into [[gypsum plaster]]. | ||
− | * CALCIUM_CARBONATE - can be used in production of [[quicklime]]. | + | * CALCIUM_CARBONATE - can be used in production of [[quicklime]]. |
|- | |- | ||
| {{text_anchor|METAL_ORE}} | | {{text_anchor|METAL_ORE}} | ||
| | | | ||
− | * | + | * <inorganic material name e.g. [[lead|LEAD]]> |
− | * value | + | * <value> |
− | | Makes BOULDER acceptable as a [[Reactions#Reagents|reagent]] in reactions that require [[Item_token#Related_Tokens|"METAL_ORE:MATERIAL_NAME"]], as well as [[Smelter|smelting]] directly into metal [[bar]]s.<br /> Places the material under "Metal Ores" in Stone stockpiles.<br /> | + | | Makes BOULDER acceptable as a [[Reactions#Reagents|reagent]] in reactions that require [[Item_token#Related_Tokens|"METAL_ORE:MATERIAL_NAME"]], as well as [[Smelter|smelting]] directly into metal [[bar]]s.<br /> Places the material under "Metal Ores" in Stone stockpiles.<br /> The specified value determines the probability for this product (see [[Tetrahedrite]] or [[Galena]] for details). |
|- | |- | ||
| {{text_anchor|THREAD_METAL}} | | {{text_anchor|THREAD_METAL}} | ||
| | | | ||
− | * | + | * <inorganic material name e.g. [[Raw_adamantine|RAW_ADAMANTINE]]> |
− | * value | + | * <value> |
− | | Makes BOULDER acceptable for [[Strand extractor|strand extraction]] into threads; see also STOCKPILE_THREAD_METAL. Value presumably determines the probability of this product extracted.{{verify}} | + | | Makes BOULDER items made of the material acceptable for [[Strand extractor|strand extraction]] into threads; see also STOCKPILE_THREAD_METAL. Value presumably determines the probability of this product extracted.{{verify}} |
|- | |- | ||
| {{text_anchor|HARDENS_WITH_WATER}} | | {{text_anchor|HARDENS_WITH_WATER}} | ||
| | | | ||
− | * [[material token]] | + | * <[[material token]]> |
| Allows the material to be used to make [[healthcare|casts]]. | | Allows the material to be used to make [[healthcare|casts]]. | ||
Line 425: | Line 446: | ||
| {{text_anchor|SOAP_LEVEL}} | | {{text_anchor|SOAP_LEVEL}} | ||
| | | | ||
− | *value | + | *<value> |
− | | [[Soap]] has [SOAP_LEVEL:2] | + | | Determines effectiveness of soap - if the amount of grime on a body part is more than 3-SOAP_LEVEL, it sets it to 3-SOAP_LEVEL; as such setting it above 3 is bad. [[Soap]] has [SOAP_LEVEL:2]. Defaults to 0. |
|- | |- | ||
Line 432: | Line 453: | ||
| | | | ||
| Begins defining a [[syndrome]] applied by the material. Multiple syndromes can be specified. See [[Syndrome token]]. | | Begins defining a [[syndrome]] applied by the material. Multiple syndromes can be specified. See [[Syndrome token]]. | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|ANTLER}} | ||
+ | | | ||
+ | | Found in the raws of several antler-wielding animals. It is used to show an antler as bodypart. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|HAIR}} | ||
+ | | | ||
+ | | Probably used in graphics. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|FEATHER}} | ||
+ | | | ||
+ | | Probably used in graphics. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|SCALE}} | ||
+ | | | ||
+ | | Probably used in graphics. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|HOOF}} | ||
+ | | | ||
+ | | Probably used in graphics. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|CHITIN}} | ||
+ | | | ||
+ | | Probably used in graphics. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|CARTILAGE}} | ||
+ | | | ||
+ | | Probably used in graphics. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|NERVOUS_TISSUE}} | ||
+ | | | ||
+ | | Probably used in graphics. | ||
+ | | | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|MEAT_CATEGORY}} | ||
+ | | category | ||
+ | | Probably used in graphics. The following values for "category" are used in the vanilla raws: STANDARD, EYE, BRIAN, LUNG, HEART, LIVER, INTESTINES, STOMACH, GIZZARD, PANCREAS, SPLEEN, KIDNEY. | ||
|} | |} | ||
− | ==Material | + | |
+ | |||
+ | |||
+ | ===Material states=== | ||
+ | |||
+ | The following is a list of valid material states: | ||
+ | |||
+ | {| {{prettytable}} | ||
+ | |- | ||
+ | |'''SOLID''' | ||
+ | |- | ||
+ | |'''LIQUID''' | ||
+ | |- | ||
+ | |'''GAS''' | ||
+ | |- | ||
+ | |'''POWDER''' (or '''SOLID_POWDER''') | ||
+ | |- | ||
+ | |'''PASTE''' (or '''SOLID_PASTE''') | ||
+ | |- | ||
+ | |'''PRESSED''' (or '''SOLID_PRESSED''') | ||
+ | |} | ||
+ | |||
+ | The following can be specified within tokens such as [[Material_definition_token#STATE_NAME|STATE_NAME]], [[Material_definition_token#STATE_NAME_ADJ|STATE_NAME_ADJ]] and [[Material_definition_token#STATE_ADJ|STATE_ADJ]] to make them apply to several of the above material states simultaneously: | ||
+ | |||
+ | {| {{prettytable}} | ||
+ | |- bgcolor="#C0C0C0" | ||
+ | !Value | ||
+ | !Description | ||
+ | |- | ||
+ | |'''ALL''' | ||
+ | |Denotes all possible material states. | ||
+ | |- | ||
+ | |'''ALL_SOLID''' | ||
+ | |Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'. | ||
+ | |} | ||
+ | |||
+ | ==Material usage tokens== | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#C0C0C0" | |- bgcolor="#C0C0C0" | ||
Line 444: | Line 554: | ||
| {{text_anchor|IMPLIES_ANIMAL_KILL}} | | {{text_anchor|IMPLIES_ANIMAL_KILL}} | ||
| | | | ||
− | | Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals ( | + | | Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals ([[elf|Elves]] in vanilla) will refuse to accept these items in trade. |
|- | |- | ||
Line 479: | Line 589: | ||
| {{text_anchor|POWDER_MISC_PLANT}} | | {{text_anchor|POWDER_MISC_PLANT}} | ||
| | | | ||
− | | Classifies the material as plant powder, allowing its storage | + | | Classifies the material as plant powder, allowing its storage in food stockpiles under "Milled Plant". |
|- | |- | ||
| {{text_anchor|POWDER_MISC_CREATURE}} | | {{text_anchor|POWDER_MISC_CREATURE}} | ||
| | | | ||
− | | Classifies the material as creature powder, allowing its storage in food stockpiles under "Bone Meal". | + | | Classifies the material as creature powder, allowing its storage in food stockpiles under "Bone Meal". Unlike milled plants, such as sugar and flour, "Bone Meal" barrels or pots may not contain bags. Custom reactions using this product better use buckets or jugs instead. |
|- | |- | ||
Line 529: | Line 639: | ||
| {{text_anchor|LIQUID_MISC}} | | {{text_anchor|LIQUID_MISC}} | ||
| | | | ||
− | | Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown | + | | Classifies the material as a generic liquid. Implied by LIQUID_MISC_PLANT, LIQUID_MISC_CREATURE, and LIQUID_MISC_OTHER. Exact behavior unknown, possibly vestigial. |
|- | |- | ||
| {{text_anchor|STRUCTURAL_PLANT_MAT}} | | {{text_anchor|STRUCTURAL_PLANT_MAT}} | ||
| | | | ||
− | | Classifies the material as plant, allowing its storage in food stockpiles under "Plants". | + | | Classifies the material as a plant, allowing its storage in food stockpiles under "Plants". |
|- | |- | ||
| {{text_anchor|SEED_MAT}} | | {{text_anchor|SEED_MAT}} | ||
| | | | ||
− | | Classifies the material as plant seed, allowing its storage in food stockpiles under "Seeds". | + | | Classifies the material as a plant seed, allowing its storage in food stockpiles under "Seeds". |
|- | |- | ||
Line 565: | Line 675: | ||
| | | | ||
| Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material. | | Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material. | ||
+ | |||
+ | |- | ||
+ | | {{text_anchor|HAIR}} | ||
+ | | | ||
+ | | Classifies the material as hair, allowing for its use for spinners and restriction from refuse stockpiles by material. | ||
|- | |- | ||
Line 594: | Line 709: | ||
| {{text_anchor|GENERATES_MIASMA}} | | {{text_anchor|GENERATES_MIASMA}} | ||
| | | | ||
− | | Material generates miasma when it rots | + | | Material generates miasma when it rots. |
|- | |- | ||
Line 604: | Line 719: | ||
| {{text_anchor|ROTS}} | | {{text_anchor|ROTS}} | ||
| | | | ||
− | | Material will rot if not stockpiled appropriately | + | | Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot. |
+ | |||
+ | |- | ||
+ | | {{text_anchor|NERVOUS_TISSUE}} | ||
+ | | | ||
+ | | In most living creatures, it controls many bodily functions and movements by sending signals around the body. See: [[Nervous tissue]] | ||
|- | |- | ||
Line 649: | Line 769: | ||
| {{text_anchor|EVAPORATES}} | | {{text_anchor|EVAPORATES}} | ||
| | | | ||
− | | | + | | Contaminants composed of this material evaporate over time, slowly disappearing from the map. Used internally by water. |
|- | |- | ||
Line 684: | Line 804: | ||
| {{text_anchor|ITEMS_METAL}} | | {{text_anchor|ITEMS_METAL}} | ||
| | | | ||
− | | | + | | The material can be made into minecarts, wheelbarrows, and stepladders at the metalsmith's forge. |
|- | |- | ||
Line 704: | Line 824: | ||
| {{text_anchor|ITEMS_SOFT}} | | {{text_anchor|ITEMS_SOFT}} | ||
| | | | ||
− | | | + | | The material can be made into clothing, amulets, bracelets, earrings, backpacks, and quivers, contingent on which workshops accept the material. Given to [[plant fiber]], [[silk]] and [[wool]]. |
|- | |- | ||
| {{text_anchor|ITEMS_HARD}} | | {{text_anchor|ITEMS_HARD}} | ||
| | | | ||
− | | Random [[finished goods|crafts]] made from this material include all seven items. Given to [[stone]], [[wood]], [[bone]], [[shell]], [[chitin]], [[nail|claws]], [[tooth|teeth]], [[horn|horns]], [[horn|hooves]] and [[wax|beeswax]]. [[Hair]], [[pearl|pearls]] and eggshells also have the tag. | + | | The material can be made into furniture, crafts, mechanisms, and blocks, contingent on which workshops accept the material. Random [[finished goods|crafts]] made from this material include all seven items. Given to [[stone]], [[wood]], [[bone]], [[shell]], [[chitin]], [[nail|claws]], [[tooth|teeth]], [[horn|horns]], [[horn|hooves]] and [[wax|beeswax]]. [[Hair]], [[pearl|pearls]] and eggshells also have the tag. |
|- | |- | ||
| {{text_anchor|IS_STONE}} | | {{text_anchor|IS_STONE}} | ||
| | | | ||
− | | Used to define that | + | | Used to define that the material is a stone. Allows its usage in [[masonry]] and [[stonecrafting]] and storage in stone stockpiles, among other effects. |
|- | |- | ||
Line 744: | Line 864: | ||
| {{text_anchor|IS_GLASS}} | | {{text_anchor|IS_GLASS}} | ||
| | | | ||
− | | Used internally by green glass, clear glass, and crystal glass. | + | | Used internally by green glass, clear glass, and crystal glass. Appears to only affect the [[Reaction#GLASS_MATERIAL|[GLASS_MATERIAL]]] reaction token. Does not cause the game to treat the material like glass, i.e being referred to as "raw" instead of "rough" in its raw form or being displayed in the "glass" trade/embark category. |
+ | |||
+ | |- | ||
+ | | {{text_anchor|IS_CERAMIC}} | ||
+ | | | ||
+ | | Defines the material as a ceramic. Examples include CERAMIC_EARTHENWARE, CERAMIC_STONEWARE and CERAMIC_PORCELAIN. | ||
|- | |- | ||
Line 794: | Line 919: | ||
| {{text_anchor|ITEMS_QUERN}} | | {{text_anchor|ITEMS_QUERN}} | ||
| | | | ||
− | | Querns and millstones can be made out of this material. | + | | Querns and millstones can be made out of this material. Does not appear to work. |
|} | |} | ||
==Syndrome tokens== | ==Syndrome tokens== | ||
− | + | Below is a table with some of the tokens you can use when declaring a [SYNDROME] token. For all the tokens you can use, see the [[Syndrome token]] page. | |
− | For | ||
{| {{prettytable}} | {| {{prettytable}} | ||
Line 881: | Line 1,005: | ||
|} | |} | ||
− | ==See | + | ==See also== |
* [[Inorganic material definition token]] | * [[Inorganic material definition token]] | ||
* [[Syndrome]] | * [[Syndrome]] | ||
+ | * [[Hardcoded material]] | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} | ||
+ | [[ru:Material definition token]] |
Latest revision as of 07:56, 20 December 2024
v50.15 · v0.47.05 This article is about the current version of DF.Note that some content may still need to be updated. |
Modding |
---|
Tokens |
Audio · Biome · Graphics · Interaction · Mod info · Plant · Speech · Sphere · Syndrome · World |
Body tokens |
Body · Body detail plan · Bodygloss · Tissue |
Creature tokens |
Creature · Creature mannerism · Personality · Creature variation · Procedural graphics layer |
Descriptor tokens |
Descriptor color · Color · Descriptor pattern · Descriptor shape |
Entity tokens |
Entity · Ethic · Language · Value · Position |
Job tokens |
Building · Labor · Reaction · Skill · Unit type |
Item tokens |
Item type · Item definition · Ammo · Armor · Instrument · Tool · Trap component · Weapon |
Material tokens |
Material type · Material definition · Inorganic material definition |
The following tokens can be used in material definitions (whether for inorganics or those within plants and creatures) as well as in material templates.
Urist asks... | Materials use specific, often bespoke, units. Are there any tools to help convert from real-world values? | ||
---|---|---|---|
Here are some web-based utilities designed for raw authoring. For yield and elasticity: https://putnam3145.github.io/helper For temperature: https://jose96xd.github.io/DF_Tools/Modules/TemperatureConverter.html |
Material properties[edit]
Token | Arguments | Description | |
---|---|---|---|
USE_MATERIAL_TEMPLATE |
|
Resets all material tokens back to their default values, then imports the tokens of the specified preexisting material template (overriding any tokens defined prior to itself in the material). This means USE_MATERIAL_TEMPLATE should be the first token present in any material using it. It cannot be used inside of a [MATERIAL_TEMPLATE:X] which prevents the creation of nested material template structures. | |
PREFIX |
|
Applies a prefix to all items made from the material. For PLANT and CREATURE materials, this defaults to the plant/creature name. Not permitted in material template definitions. | |
STONE_NAME |
|
Overrides the name of BOULDER items (i.e. mined-out stones) made of the material (used for native copper/silver/gold/platinum to make them be called "nuggets" instead of "boulders"). | |
IS_GEM |
|
Used to indicate that said material is a gemstone - when tiles are mined out, rough gems will be yielded instead of boulders. Plural can be "STP" to automatically append an "s" to the singular form, and OVERWRITE_SOLID will override the relevant STATE_NAME and STATE_ADJ values. | |
TEMP_DIET_INFO |
|
Specifies what the material should be treated as when drinking water contaminated by it, for generating unhappy thoughts. Valid values are BLOOD, SLIME, VOMIT, ICHOR, PUS, GOO, GRIME, and FILTH. | |
POWDER_DYE | Allows the material to be used as dye, and defines color of dyed items. | ||
TILE | Specifies the tile that will be used to represent unmined tiles made of this material. Generally only used with stones. Defaults to 219 ('█'). | ||
ITEM_SYMBOL | Specifies the tile that will be used to represent BOULDER items made of this material. Generally only used with stones. Defaults to 7 ('•'). | ||
DISPLAY_COLOR | The on-screen color of the material. Uses a standard 3-digit 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] | ||
BUILD_COLOR | The color of objects made of this material which use both the foreground and background color: doors, floodgates, hatch covers, bins, barrels, and cages. Defaults to 7:7:1 (white). | ||
TILE_COLOR | The color of unmined tiles containing this material (for stone and soil), as well as engravings in this material. Defaults to 7:7:1 (white). | ||
BASIC_COLOR | The color of objects made of this material which use only the foreground color, including workshops, floors and boulders, and smoothed walls. Defaults to 7:1 (white). | ||
STATE_COLOR | Determines the color of the material at the specified state. See below for a list of valid material states. Color comes from descriptor_color_standard.txt. The nearest color value is used to display contaminants and body parts made of this material in ASCII and to color items and constructions made from this material with graphics. Example:
[STATE_COLOR:ALL_SOLID:GRAY] | ||
STATE_NAME |
|
Determines the name of the material at the specified state, as displayed in-game.
[STATE_NAME:ALL_SOLID:stone] | |
STATE_ADJ |
|
Like STATE_NAME, but used in different situations. Equipment made from the material uses the state adjective and not the state name. | |
STATE_NAME_ADJ |
|
Sets both STATE_NAME and STATE_ADJ at the same time. | |
ABSORPTION |
|
The material's tendency to absorb liquids. Containers made of materials with nonzero absorption cannot hold liquids unless they have been glazed. Defaults to 0. | |
IMPACT_YIELD |
|
Specifies how hard of an impact (in kPa) the material can withstand before it will start deforming permanently. Used for blunt-force combat. Defaults to 10000. | |
IMPACT_FRACTURE |
|
Specifies how hard of an impact the material can withstand before it will fail entirely. Used for blunt-force combat. Defaults to 10000. | |
IMPACT_STRAIN_AT_YIELD or IMPACT_ELASTICITY |
|
Specifies how much the material will have given (in parts-per-100000) when the yield point is reached. Used for blunt-force combat. Defaults to 0. Apparently affects in combat whether the corresponding tissue is bruised (value >= 50000), torn (value between 25000 and 49999), or fractured (value <= 24999) | |
COMPRESSIVE_YIELD |
|
Specifies how hard the material can be compressed before it will start deforming permanently. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000. | |
COMPRESSIVE_FRACTURE |
|
Specifies how hard the material can be compressed before it will fail entirely. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 10000. | |
COMPRESSIVE_STRAIN_AT_YIELD or COMPRESSIVE_ELASTICITY |
|
Specifies how much the material will have given when it has been compressed to its yield point. Determines a tissue's resistance to pinching and response to strangulation. Defaults to 0. | |
TENSILE_YIELD |
|
Specifies how hard the material can be stretched before it will start deforming permanently. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000. | |
TENSILE_FRACTURE |
|
Specifies how hard the material can be stretched before it will fail entirely. Determines a tissue's resistance to a latching and tearing bite. Defaults to 10000. | |
TENSILE_STRAIN_AT_YIELD or TENSILE_ELASTICITY |
|
Specifies how much the material will have given when it is stretched to its yield point. Determines a tissue's resistance to a latching and tearing bite. Defaults to 0. | |
TORSION_YIELD |
|
Specifies how hard the material can be twisted before it will start deforming permanently. Used for latching and shaking with a blunt attack (certain generated creatures can do this). Defaults to 10000. | |
TORSION_FRACTURE |
|
Specifies how hard the material can be twisted before it will fail entirely. Used for latching and shaking with a blunt attack (certain generated creatures can do this). Defaults to 10000. | |
TORSION_STRAIN_AT_YIELD or TORSION_ELASTICITY |
|
Specifies how much the material will have given when it is twisted to its yield point. Used for latching and shaking with a blunt attack (certain generated creatures can do this). Defaults to 0. | |
SHEAR_YIELD |
|
Specifies how hard the material can be sheared before it will start deforming permanently. Used for cutting calculations. Defaults to 10000. | |
SHEAR_FRACTURE |
|
Specifies how hard the material can be sheared before it will fail entirely. Used for cutting calculations. Defaults to 10000. | |
SHEAR_STRAIN_AT_YIELD or SHEAR_ELASTICITY |
|
Specifies how much the material will have given when sheared to its yield point. Used for cutting calculations. Defaults to 0. | |
BENDING_YIELD |
|
Specifies how hard the material can be bent before it will start deforming permanently. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000. | |
BENDING_FRACTURE |
|
Specifies how hard the material can be bent before it will fail entirely. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 10000. | |
BENDING_STRAIN_AT_YIELD or BENDING_ELASTICITY |
|
Specifies how much the material will have given when bent to its yield point. Determines a tissue's resistance to being mangled with a joint lock. Defaults to 0. | |
MAX_EDGE |
|
How sharp the material is. Used in cutting calculations. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000. | |
MATERIAL_VALUE | Value modifier for the material. Defaults to 1. This number can be made negative by placing a "-" in front, resulting in things that you are paid to buy and must pay to sell. | ||
MULTIPLY_VALUE | Multiplies the value of the material. Not permitted in material template definitions. | ||
SPEC_HEAT |
|
Rate at which the material heats up or cools down (in J⋅kg−1⋅K−1.). If set to NONE, the temperature will be fixed at its initial value. See Temperature for more information. Defaults to NONE. | |
HEATDAM_POINT | 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. | ||
COLDDAM_POINT | Temperature below which the material takes damage from cold. Defaults to NONE. | ||
IGNITE_POINT | Temperature at which the material will catch fire. Defaults to NONE. | ||
MELTING_POINT | Temperature at which the material melts. Defaults to NONE. | ||
BOILING_POINT | Temperature at which the material boils. Defaults to NONE. | ||
MAT_FIXED_TEMP | Items composed of this material will initially have this temperature. Used in conjunction with [SPEC_HEAT:NONE] to make material's temperature fixed at the specified value. Defaults to NONE.
| ||
IF_EXISTS_SET_HEATDAM_POINT | Changes a material's HEATDAM_POINT, but only if it was not set to NONE. Not permitted in material template definitions. | ||
IF_EXISTS_SET_COLDDAM_POINT | Changes a material's COLDDAM_POINT, but only if it was not set to NONE. Not permitted in material template definitions. | ||
IF_EXISTS_SET_IGNITE_POINT | Changes a material's IGNITE_POINT, but only if it was not set to NONE. Not permitted in material template definitions. | ||
IF_EXISTS_SET_MELTING_POINT | Changes a material's MELTING_POINT, but only if it was not set to NONE. Not permitted in material template definitions. | ||
IF_EXISTS_SET_BOILING_POINT | Changes a material's BOILING_POINT, but only if it was not set to NONE. Not permitted in material template definitions. | ||
IF_EXISTS_SET_MAT_FIXED_TEMP | Changes a material's MAT_FIXED_TEMP, but only if it was not set to NONE. Not permitted in material template definitions. | ||
SOLID_DENSITY |
|
Specifies the density (in kg/m³) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of weak-in-impact-yield blunt attacks to pierce armor. Defaults to NONE. | |
LIQUID_DENSITY |
|
Specifies the density of the material when in liquid form. Defaults to NONE. Also affects combat calculations; affects blunt force damage like SOLID_DENSITY, but only for attacks made by liquids (e.g. forgotten beasts made of water). | |
MOLAR_MASS |
|
Specifies (in kg/mol) the molar mass of the material in gaseous form. Only affects combat calculations like the densities, and only for attacks made by gases (e.g. forgotten beasts made of steam). | |
EXTRACT_STORAGE | * 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 tokens. Defaults to BARREL. | |
BUTCHER_SPECIAL | 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. | ||
MEAT_NAME |
|
When a creature is butchered, meat yielded from organs made from this material will be named via this token. | |
BLOCK_NAME |
|
Specifies the name of blocks made from this material. | |
WAFERS | The material forms "wafers" instead of "bars". | ||
MATERIAL_REACTION_PRODUCT |
|
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] | |
ITEM_REACTION_PRODUCT |
|
Used with reaction raws to associate a reagent material with a complete item. The first argument is used by HAS_ITEM_REACTION_PRODUCT and GET_ITEM_DATA_FROM_REAGENT in reaction raws. The rest refers to the type of item, then its material.
[ITEM_REACTION_PRODUCT:BAG_ITEM:PLANT_GROWTH:LEAVES:LOCAL_PLANT_MAT:LEAF] | |
REACTION_CLASS |
|
Used to classify all items made of the material, so that reactions can use them as generic reagents.
In default raws, the following are used:
| |
METAL_ORE |
|
Makes BOULDER acceptable as a reagent in reactions that require "METAL_ORE:MATERIAL_NAME", as well as smelting directly into metal bars. Places the material under "Metal Ores" in Stone stockpiles. The specified value determines the probability for this product (see Tetrahedrite or Galena for details). | |
THREAD_METAL |
|
Makes BOULDER items made of the material acceptable for strand extraction into threads; see also STOCKPILE_THREAD_METAL. Value presumably determines the probability of this product extracted.[Verify] | |
HARDENS_WITH_WATER | Allows the material to be used to make casts. | ||
SOAP_LEVEL |
|
Determines effectiveness of soap - if the amount of grime on a body part is more than 3-SOAP_LEVEL, it sets it to 3-SOAP_LEVEL; as such setting it above 3 is bad. Soap has [SOAP_LEVEL:2]. Defaults to 0. | |
SYNDROME | Begins defining a syndrome applied by the material. Multiple syndromes can be specified. See Syndrome token. | ||
ANTLER | Found in the raws of several antler-wielding animals. It is used to show an antler as bodypart. | ||
HAIR | Probably used in graphics. | ||
FEATHER | Probably used in graphics. | ||
SCALE | Probably used in graphics. | ||
HOOF | Probably used in graphics. | ||
CHITIN | Probably used in graphics. | ||
CARTILAGE | Probably used in graphics. | ||
NERVOUS_TISSUE | Probably used in graphics. | ||
MEAT_CATEGORY | category | Probably used in graphics. The following values for "category" are used in the vanilla raws: STANDARD, EYE, BRIAN, LUNG, HEART, LIVER, INTESTINES, STOMACH, GIZZARD, PANCREAS, SPLEEN, KIDNEY. |
Material states[edit]
The following is a list of valid material states:
SOLID |
LIQUID |
GAS |
POWDER (or SOLID_POWDER) |
PASTE (or SOLID_PASTE) |
PRESSED (or SOLID_PRESSED) |
The following can be specified within tokens such as STATE_NAME, STATE_NAME_ADJ and STATE_ADJ to make them apply to several of the above material states simultaneously:
Value | Description |
---|---|
ALL | Denotes all possible material states. |
ALL_SOLID | Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'. |
Material usage tokens[edit]
Token | Arguments | Description |
---|---|---|
IMPLIES_ANIMAL_KILL | Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals (Elves in vanilla) will refuse to accept these items in trade. | |
ALCOHOL_PLANT | Classifies the material as plant-based alcohol, allowing its storage in food stockpiles under "Drink (Plant)". | |
ALCOHOL_CREATURE | Classifies the material as animal-based alcohol, allowing its storage in food stockpiles under "Drink (Animal)". | |
ALCOHOL | Classifies the material as generic alcohol. Implied by both ALCOHOL_PLANT and ALCOHOL_CREATURE. Exact behavior unknown, possibly vestigial. | |
CHEESE_PLANT | Classifies the material as plant-based cheese, allowing its storage in food stockpiles under "Cheese (Plant)". | |
CHEESE_CREATURE | Classifies the material as animal-based cheese, allowing its storage in food stockpiles under "Cheese (Animal)". | |
CHEESE | Classifies the material as generic cheese. Implied by both CHEESE_PLANT and CHEESE_CREATURE. Exact behavior unknown, possibly vestigial. | |
POWDER_MISC_PLANT | Classifies the material as plant powder, allowing its storage in food stockpiles under "Milled Plant". | |
POWDER_MISC_CREATURE | Classifies the material as creature powder, allowing its storage in food stockpiles under "Bone Meal". Unlike milled plants, such as sugar and flour, "Bone Meal" barrels or pots may not contain bags. Custom reactions using this product better use buckets or jugs instead. | |
POWDER_MISC | Classifies the material as generic powder. Implied by both POWDER_MISC_PLANT and POWDER_MISC_CREATURE. Exact behavior unknown, possibly vestigial. | |
STOCKPILE_GLOB or STOCKPILE_GLOB_SOLID | Permits globs of the material in solid form to be stored in food stockpiles under "Fat" - without it, dwarves will come by and "clean" the items, destroying them (unless [DO_NOT_CLEAN_GLOB] is also included). | |
STOCKPILE_GLOB_PASTE | Classifies the material as milled paste, allowing its storage in food stockpiles under "Paste". | |
STOCKPILE_GLOB_PRESSED | Classifies the material as pressed goods, allowing its storage in food stockpiles under "Pressed Material". | |
STOCKPILE_PLANT_GROWTH | Classifies the material as a plant growth (e.g. fruits, leaves), allowing its storage in food stockpiles under Plant Growth/Fruit. | |
LIQUID_MISC_PLANT | Classifies the material as a plant extract, allowing its storage in food stockpiles under "Extract (Plant)". | |
LIQUID_MISC_CREATURE | Classifies the material as a creature extract, allowing its storage in food stockpiles under "Extract (Animal)". | |
LIQUID_MISC_OTHER | Classifies the material as a miscellaneous liquid, allowing its storage 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, possibly vestigial. | |
STRUCTURAL_PLANT_MAT | Classifies the material as a plant, allowing its storage in food stockpiles under "Plants". | |
SEED_MAT | Classifies the material as a plant seed, allowing its storage in food stockpiles under "Seeds". | |
BONE | Classifies the material as bone, allowing its use for bone carvers and restriction from stockpiles by material. | |
WOOD | Classifies the material as wood, allowing its use for carpenters and storage in wood stockpiles. Entities opposed to killing plants (i.e. Elves) will refuse to accept these items in trade. | |
THREAD_PLANT | Classifies the material as plant fiber, allowing its use for clothiers and storage in cloth stockpiles under "Thread (Plant)" and "Cloth (Plant)". | |
TOOTH | Classifies the material as tooth, allowing its use for bone carvers and restriction from stockpiles by material. | |
HORN | Classifies the material as horn, allowing its use for bone carvers and restriction from stockpiles by material. | |
HAIR | Classifies the material as hair, allowing for its use for spinners and restriction from refuse stockpiles by material. | |
PEARL | Classifies the material as pearl, allowing its use for bone carvers and restriction from stockpiles by material. | |
SHELL | Classifies the material as shell, allowing its use for bone carvers and restriction from stockpiles by material. | |
LEATHER | Classifies the material as leather, allowing its use for leatherworkers and storage in leather stockpiles. | |
SILK | Classifies the material as silk, allowing its use for clothiers and storage in cloth stockpiles under "Thread (Silk)" and "Cloth (Silk)". | |
SOAP | Classifies the material as soap, allowing it to be used as a bath detergent and stored in bar/block stockpiles under "Bars: Other Materials".[Verify] | |
GENERATES_MIASMA | Material generates miasma when it rots. | |
MEAT | Classifies the material as edible meat.[Verify] | |
ROTS | Material will rot if not stockpiled appropriately. Currently only affects food and refuse, other items made of this material will not rot. | |
NERVOUS_TISSUE | In most living creatures, it controls many bodily functions and movements by sending signals around the body. See: Nervous tissue | |
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."). | |
ICHOR_MAP_DESCRIPTOR | Tells the game to classify contaminants of this material as being "ichor". | |
GOO_MAP_DESCRIPTOR | Tells the game to classify contaminants of this material as being "goo". | |
SLIME_MAP_DESCRIPTOR | Tells the game to classify contaminants of this material as being "slime". | |
PUS_MAP_DESCRIPTOR | Tells the game to classify contaminants of this material as being "pus". | |
SWEAT_MAP_DESCRIPTOR | Tells the game to classify contaminants of this material as being "sweat". | |
TEARS_MAP_DESCRIPTOR | Tells the game to classify contaminants of this material as being "tears". | |
SPIT_MAP_DESCRIPTOR | Tells the game to classify contaminants of this material as being "spit". | |
EVAPORATES | Contaminants composed of this material evaporate over time, slowly disappearing from the map. Used internally by water. | |
ENTERS_BLOOD | Used for materials which cause syndromes, causes it to enter the creature's blood instead of simply spattering on the surface. | |
EDIBLE_VERMIN | Can be eaten by vermin. | |
EDIBLE_RAW | Can be eaten raw. | |
EDIBLE_COOKED | Can be cooked and then eaten. | |
DO_NOT_CLEAN_GLOB | Prevents globs made of this material from being cleaned up and destroyed. | |
NO_STONE_STOCKPILE | Prevents the material from showing up in Stone stockpile settings. | |
ITEMS_METAL | The material can be made into minecarts, wheelbarrows, and stepladders at the metalsmith's forge. | |
ITEMS_BARRED | Equivalent to ITEMS_HARD. Given to bone. | |
ITEMS_SCALED | Equivalent to ITEMS_HARD. Given to shell. | |
ITEMS_LEATHER | Equivalent to ITEMS_SOFT. Given to leather. | |
ITEMS_SOFT | The material can be made into clothing, amulets, bracelets, earrings, backpacks, and quivers, contingent on which workshops accept the material. Given to plant fiber, silk and wool. | |
ITEMS_HARD | The material can be made into furniture, crafts, mechanisms, and blocks, contingent on which workshops accept the material. Random crafts made from this material include all seven items. Given to stone, wood, bone, shell, chitin, claws, teeth, horns, hooves and beeswax. Hair, pearls and eggshells also have the tag. | |
IS_STONE | Used to define that the material is a stone. Allows its usage in masonry and stonecrafting and storage in stone stockpiles, among other effects. | |
UNDIGGABLE | Used for a stone that cannot be dug into. | |
DISPLAY_UNGLAZED | Causes containers made of this material to be prefixed with "unglazed" if they have not yet been glazed. | |
YARN | Classifies the material as yarn, allowing its use for clothiers and its storage in cloth stockpiles under "Thread (Yarn)" and "Cloth (Yarn)". | |
STOCKPILE_THREAD_METAL | Classifies the material as metal thread, permitting thread and cloth to be stored in cloth stockpiles under "Thread (Metal)" and "Cloth (Metal)". | |
IS_METAL | Defines the material as being metal, allowing it to be used at forges. | |
IS_GLASS | Used internally by green glass, clear glass, and crystal glass. Appears to only affect the [GLASS_MATERIAL] reaction token. Does not cause the game to treat the material like glass, i.e being referred to as "raw" instead of "rough" in its raw form or being displayed in the "glass" trade/embark category. | |
IS_CERAMIC | Defines the material as a ceramic. Examples include CERAMIC_EARTHENWARE, CERAMIC_STONEWARE and CERAMIC_PORCELAIN. | |
CRYSTAL_GLASSABLE | Can be used in the production of crystal glass. | |
ITEMS_WEAPON | Melee weapons can be made out of this material. | |
ITEMS_WEAPON_RANGED | Ranged weapons can be made out of this material. | |
ITEMS_ANVIL | Anvils can be made out of this material. | |
ITEMS_AMMO | Ammunition can be made out of this material. | |
ITEMS_DIGGER | Picks can be made out of this material. | |
ITEMS_ARMOR | Armor can be made out of this material. | |
ITEMS_DELICATE | Used internally by amber and coral. Functionally equivalent to ITEMS_HARD. | |
ITEMS_SIEGE_ENGINE | Siege engine parts can be made out of this material. Does not appear to work. | |
ITEMS_QUERN | Querns and millstones can be made out of this material. Does not appear to work. |
Syndrome tokens[edit]
Below is a table with some of the tokens you can use when declaring a [SYNDROME] token. For all the tokens you can use, see the Syndrome token page.
Token | Arguments | Description |
---|---|---|
SYN_NAME |
|
Defines the name of the syndrome |
SYN_INJECTED | Syndrome can be contracted by injection (by a creature) | |
SYN_CONTACT | Syndrome can be contracted on contact (e.g. poison dust or liquid) | |
SYN_INHALED | Syndrome can be contracted by inhalation (e.g. poison vapor or gas) | |
SYN_INGESTED | Syndrome can be contracted by ingestion (when the material is eaten in solid or liquid form) | |
SYN_AFFECTED_CLASS |
|
Adds a class of creatures to those affected, such as CREATURE_CLASS:GENERAL_POISON |
SYN_IMMUNE_CLASS |
|
Makes the class of creatures immune to the syndrome |
SYN_AFFECTED_CREATURE |
|
Adds a specific creature to those affected. |
SYN_IMMUNE_CREATURE |
|
Makes the creature immune to the syndrome |
CE_PAIN CE_SWELLING CE_OOZING CE_BRUISING CE_BLISTERS CE_NUMBNESS CE_PARALYSIS CE_FEVER CE_BLEEDING CE_COUGH_BLOOD CE_VOMIT_BLOOD CE_NAUSEA CE_UNCONSCIOUSNESS CE_NECROSIS CE_IMPAIR_FUNCTION CE_DROWSINESS CE_DIZZINESS |
Place affected:
Timeline:
|
Specifies the way that a syndrome affects a creature -- more detail can be found on the Syndromes page |