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}}
+
{{migrated article}}
 +
{{Quality|Unrated}}
 
{{av}}
 
{{av}}
 
{{Modding}}
 
{{Modding}}
  
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]].
+
The following [[token]]s can be used in [[material]] definitions (whether for inorganics or those within plants and creatures) as well as in [[material templates]].
  
 
__TOC__
 
__TOC__
Line 19: Line 20:
 
|
 
|
 
* <template name>
 
* <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.
+
| Imports the properties of the specified preexisting material template.  
  
 
|-
 
|-
Line 353: Line 354:
 
|
 
|
 
*<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).
+
| Specifies (in kg/mol) the molar mass of the material in gaseous form. Also affects combat calculations like the densities, but only for attacks made by gases (e.g. forgotten beasts made of steam).
  
 
|-
 
|-
Line 445: Line 446:
 
|
 
|
 
| 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}}
 
| {{text_anchor|ANTLER}}
 
|
 
|
| Found in the raws of several antler-wielding animals. It is used to show an antler as bodypart.
+
| This is since .50 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 states===
 
===Material states===

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)

This page is a member of 2 hidden categories: