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 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 1: | Line 1: | ||
− | + | {{av}} | |
− | :''You may be looking for | + | :''You may be looking for {{L|Material definition token}}.'' |
− | Material tokens are used to refer to various types of materials in | + | Material tokens are used to refer to various types of materials, mainly in reactions. They can take the following forms: |
+ | * BUILTIN:NONE specifies one of the hardcoded materials listed below (COAL takes a subtype in place of NONE) | ||
+ | * INORGANIC:NAME specifies a custom inorganic material, such as stone or metal. | ||
+ | * CREATURE_MAT:CREATURE_ID:NAME specifies a material associated with a specific creature. | ||
+ | ** LOCAL_CREATURE_MAT:NAME can be used within a creature definition to refer to a material belonging to that creature. | ||
+ | * PLANT_MAT:PLANT_ID:NAME specifies a material associated with a specific plant. | ||
+ | ** LOCAL_PLANT_MAT:NAME can be used within a plant definition to refer to a material belonging to that plant. | ||
+ | * GET_MATERIAL_FROM_REAGENT:REAGENT_ID:REACTION_PRODUCT_ID specifies a material related to a reagent's material within a {{L|reaction}} specified by a [MATERIAL_REACTION_PRODUCT] token elsewhere (or the reagent's material itself, if REACTION_PRODUCT_ID is NONE). | ||
{| {{prettytable}} | {| {{prettytable}} | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
|- bgcolor="#ddd" | |- bgcolor="#ddd" | ||
! # | ! # | ||
Line 69: | Line 17: | ||
! Information | ! Information | ||
|- | |- | ||
− | | 0 || INORGANIC || Placeholder for rock, used in arena mode | + | | 0 || INORGANIC || Placeholder for rock, used in arena mode. |
|- | |- | ||
− | | 1 || AMBER || | + | | 1 || AMBER || |
|- | |- | ||
− | | 2 || CORAL || | + | | 2 || CORAL || |
|- | |- | ||
− | | 3 || GLASS_GREEN || | + | | 3 || GLASS_GREEN || |
|- | |- | ||
− | | 4 || GLASS_CLEAR || | + | | 4 || GLASS_CLEAR || |
|- | |- | ||
− | | 5 || GLASS_CRYSTAL || | + | | 5 || GLASS_CRYSTAL || |
|- | |- | ||
− | | 6 || WATER || | + | | 6 || WATER || |
|- | |- | ||
− | | 7 || COAL || | + | | 7 || COAL || Subtype is either COKE or CHARCOAL |
|- | |- | ||
− | | 8 || POTASH || | + | | 8 || POTASH || |
|- | |- | ||
− | | 9 || ASH || | + | | 9 || ASH || |
|- | |- | ||
− | | 10 || PEARLASH || | + | | 10 || PEARLASH || |
|- | |- | ||
− | | 11 || LYE || | + | | 11 || LYE || |
|- | |- | ||
− | | 12 || MUD || | + | | 12 || MUD || |
|- | |- | ||
− | | 13 || VOMIT || | + | | 13 || VOMIT || |
|- | |- | ||
− | | 14 || SALT || | + | | 14 || SALT || |
|- | |- | ||
− | | 15 || FILTH_B || | + | | 15 || FILTH_B || |
|- | |- | ||
− | | 16 || FILTH_Y || | + | | 16 || FILTH_Y || |
|- | |- | ||
− | | 17 || UNKNOWN_SUBSTANCE || | + | | 17 || UNKNOWN_SUBSTANCE || |
|- | |- | ||
− | | 18 || GRIME || | + | | 18 || GRIME || |
|} | |} | ||
{{Category|Modding}} | {{Category|Modding}} | ||
{{Category|Tokens}} | {{Category|Tokens}} |