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| | + | {{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 [[ | + | 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> | ||
− | | | + | | Rests all material tokens to 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. |
|- | |- | ||
Line 353: | Line 354: | ||
| | | | ||
*<value> | *<value> | ||
− | | Specifies (in kg/mol) the molar mass of the material in gaseous form. | + | | 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). |
|- | |- |