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 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.
If you are creating a redirect to the current version's page, do not use any namespace. For example: use #REDIRECT [[Cat]], not #REDIRECT [[Main:Cat]] or #REDIRECT [[cv:Cat]]. See DF:Versions for more information.
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 1: | Line 1: | ||
− | {{Quality|Fine}} | + | {{Quality|Fine|11:11, 18 May 2015 (UTC)}} |
{{av}} | {{av}} | ||
− | |||
− | The following | + | The following tokens can be used in material definitions (whether for inorganics or those within plants and creatures) as well as in material templates. |
− | + | ==Material Properties== | |
− | |||
− | |||
− | ==Material | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#C0C0C0" | |- bgcolor="#C0C0C0" | ||
Line 14: | Line 10: | ||
! Arguments | ! Arguments | ||
! Description | ! Description | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 50: | Line 40: | ||
| {{text_anchor|POWDER_DYE}} | | {{text_anchor|POWDER_DYE}} | ||
| | | | ||
− | *<[[Color# | + | *<[[Color#Color_values|color token]]> |
| Allows the material to be used as [[dye]], and defines color of dyed items. | | Allows the material to be used as [[dye]], and defines color of dyed items. | ||
Line 100: | Line 90: | ||
| | | | ||
*<[[Material_definition_token#Material States|material state]]> | *<[[Material_definition_token#Material States|material state]]> | ||
− | *<[[Color# | + | *<[[Color#Color_values|color token]]> |
− | | Determines the color of the material at the specified state. See [[Material_definition_token#Material | + | | 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. Example: |
[STATE_COLOR:ALL_SOLID:GRAY] | [STATE_COLOR:ALL_SOLID:GRAY] | ||
Line 245: | Line 235: | ||
| | | | ||
*<value> | *<value> | ||
− | | 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. | + | | How sharp the material is. Used in cutting calculations. Does not allow an inferior metal to penetrate superior armor. Applying a value of at least 10000 to a stone will allow weapons to be made from that stone. Defaults to 10000. |
|- | |- | ||
Line 263: | Line 253: | ||
| | | | ||
*<specific heat capacity> | *<specific heat capacity> | ||
− | | Rate at which the material heats up or cools down (in joules/ | + | | Rate at which the material heats up or cools down (in joules/kilokelvin). If set to NONE, the temperature will be fixed at its initial value. See [[Temperature]] for more information. Defaults to NONE. |
|- | |- | ||
Line 341: | Line 331: | ||
| | | | ||
*<density> | *<density> | ||
− | | Specifies the density (in kilograms per cubic meter) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of | + | | Specifies the density (in kilograms per cubic meter) of the material when in solid form. Also affects combat calculations; affects blunt-force damage and ability of edged weapons to pierce tissue layers{{verify}}. Defaults to NONE. |
|- | |- | ||
Line 347: | Line 337: | ||
| | | | ||
*<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. |
|- | |- | ||
Line 353: | Line 343: | ||
| | | | ||
*<value> | *<value> | ||
− | | | + | | Supposedly not used{{verify}}. Theoretically, should determine density (at given pressure) in gas state, on which in turn would depend (together with weight of vaporized material) on the volume covered by spreading vapors. Defaults to NONE. |
|- | |- | ||
Line 413: | Line 403: | ||
* 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]].{{version|0.42.01}} |
|- | |- | ||
Line 439: | Line 429: | ||
| | | | ||
*<value> | *<value> | ||
− | | | + | | [[Soap]] has [SOAP_LEVEL:2]. Effects unknown. Defaults to 0. |
|- | |- | ||
Line 445: | Line 435: | ||
| | | | ||
| 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]]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|} | |} | ||
− | + | ===Material States=== | |
− | |||
− | |||
− | ===Material | ||
The following is a list of valid material states: | The following is a list of valid material states: | ||
Line 509: | Line 443: | ||
{| {{prettytable}} | {| {{prettytable}} | ||
|- | |- | ||
− | | | + | |SOLID |
|- | |- | ||
− | | | + | |LIQUID |
|- | |- | ||
− | | | + | |GAS |
|- | |- | ||
− | | | + | |POWDER (or SOLID_POWDER) |
|- | |- | ||
− | | | + | |PASTE (or SOLID_PASTE) |
|- | |- | ||
− | | | + | |PRESSED (or SOLID_PRESSED) |
|} | |} | ||
Line 525: | Line 459: | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | |- | + | |- |
!Value | !Value | ||
!Description | !Description | ||
|- | |- | ||
− | | | + | |ALL |
|Denotes all possible material states. | |Denotes all possible material states. | ||
|- | |- | ||
− | | | + | |ALL_SOLID |
|Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'. | |Denotes 'SOLID', 'POWDER', 'PASTE' and 'PRESSED'. | ||
|} | |} | ||
− | ==Material | + | ==Material Usage Tokens== |
{| {{prettytable}} | {| {{prettytable}} | ||
|- bgcolor="#C0C0C0" | |- bgcolor="#C0C0C0" | ||
Line 546: | Line 480: | ||
| {{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 ([[elf|Elves]] | + | | Lets the game know that an animal was likely killed in the production of this item. Entities opposed to killing animals (which currently does '''not''' include [[elf|Elves]]) will refuse to accept these items in trade. |
|- | |- | ||
Line 586: | Line 520: | ||
| {{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". |
|- | |- | ||
Line 667: | Line 601: | ||
| | | | ||
| 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. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 712: | Line 641: | ||
| | | | ||
| Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot. | | Material will rot if not stockpiled appropriately. Currently only affects [[food]] and [[refuse]], other items made of this material will not rot. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 796: | Line 720: | ||
| {{text_anchor|ITEMS_METAL}} | | {{text_anchor|ITEMS_METAL}} | ||
| | | | ||
− | | | + | | Allows the creation of metal furniture at the metalsmith's forge. |
|- | |- | ||
Line 816: | Line 740: | ||
| {{text_anchor|ITEMS_SOFT}} | | {{text_anchor|ITEMS_SOFT}} | ||
| | | | ||
− | | | + | | Random [[finished goods|crafts]] made from this material cannot be made into rings, crowns, scepters or figurines. 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. |
|- | |- | ||
Line 856: | Line 780: | ||
| {{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. |
− | |||
− | |||
− | |||
− | |||
− | |||
|- | |- | ||
Line 911: | Line 830: | ||
| {{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.{{verify}} |
|} | |} | ||
==Syndrome tokens== | ==Syndrome tokens== | ||
− | + | ||
+ | For more details, see the [[Syndrome token]] page. | ||
{| {{prettytable}} | {| {{prettytable}} | ||
Line 1,000: | Line 920: | ||
* [[Inorganic material definition token]] | * [[Inorganic material definition token]] | ||
* [[Syndrome]] | * [[Syndrome]] | ||
− | |||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} | ||
[[ru:Material definition token]] | [[ru:Material definition token]] |