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 40d:Matgloss 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 "40d"). 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:
{{quality|Exceptional|21:19, 30 March 2011 (UTC)}}{{av}}
+
Preliminary information on tokens used in the material description files, stored at raw/objects/matgloss_*.txt in the default distribution.
'''Matgloss tokens''' are used in material definitions in the raws.
 
  
Matgloss types:
+
These files begin with the filename as the other raws do, then [OBJECT:MATGLOSS]. Individual entries begin with [MATGLOSS_METAL:ID], [MATGLOSS_PLANT:ID], [MATGLOSS_STONE:ID], or [MATGLOSS_WOOD:ID].
* MATGLOSS_STONE - [[Stone token]]
 
* MATGLOSS_METAL - [[Metal token]]
 
* MATGLOSS_PLANT - [[Plant token]]
 
* MATGLOSS_WOOD - [[Wood token]]
 
  
{{Category|Modding}}
+
 
{{Category|Tokens}}
+
==Material tokens==
 +
 
 +
{| {{prettytable}}
 +
|- bgcolor="#ddd"
 +
! #
 +
! Token
 +
! Information
 +
|- 
 +
| 1 || WOOD || Subtypes come from MATGLOSS_WOOD; or USE_RACEGLOSS within creature raws (e.g. ITEMCORPSE)
 +
|- 
 +
| 2 || STONE || Subtypes come from MATGLOSS_STONE; or USE_LAVA_STONE
 +
|- 
 +
| 3 || METAL || Subtypes come from MATGLOSS_METAL
 +
|- 
 +
| 4 || BONE || Subtypes come from CREATURE
 +
|- 
 +
| 5 || IVORY || Subtypes come from CREATURE
 +
|- 
 +
| 6 || HORN || Subtypes come from CREATURE
 +
|- 
 +
| 7 || AMBER || ???
 +
|- 
 +
| 8 || CORAL || Subtypes come from CREATURE
 +
|- 
 +
| 9 || PEARL || Subtypes come from CREATURE
 +
|- 
 +
| 10 || SHELL || Subtypes come from CREATURE
 +
|- 
 +
| 11 || LEATHER || Subtypes come from CREATURE
 +
|- 
 +
| 12 || SILK || Subtypes come from CREATURE
 +
|- 
 +
| 13 || PLANT_ALCOHOL || Subtypes come from MATGLOSS_PLANT
 +
|- 
 +
| 14 || GLASS_GREEN || No subtypes use NONE or NO_MATGLOSS
 +
|-
 +
| 15 || GLASS_CLEAR || No subtypes use NONE or NO_MATGLOSS
 +
|- 
 +
| 16 || GLASS_CRYSTAL || No subtypes use NONE or NO_MATGLOSS
 +
|- 
 +
| 17 || SAND || No subtypes use NONE or NO_MATGLOSS
 +
|- 
 +
| 18 || COAL || Subtype is either COKE or CHARCOAL
 +
|- 
 +
| 19 || POTASH || No subtypes use NONE or NO_MATGLOSS
 +
|- 
 +
| 20 || ASH || No subtypes use NONE or NO_MATGLOSS
 +
|- 
 +
| 21 || PEARLASH || No subtypes use NONE or NO_MATGLOSS
 +
|- 
 +
| 22 || LYE || No subtypes use NONE or NO_MATGLOSS
 +
|- 
 +
| 23 || RENDERED_FAT || Subtypes come from CREATURE
 +
|- 
 +
| 24 || SOAP_ANIMAL || Subtypes come from CREATURE
 +
|- 
 +
| 25 || FAT || Subtypes come from CREATURE
 +
|- 
 +
| 26 || MUD || ???
 +
|- 
 +
| 27 || VOMIT || ???
 +
|- 
 +
| 28 || BLOOD_NONSPECIFIC || Subtypes are probably the same as BLOODTYPE{{verify}}
 +
|- 
 +
| 29 || BLOOD_SPECIFIC || Subtypes come from CREATURE
 +
|- 
 +
| 30 || SLIME || ???
 +
|- 
 +
| 31 || SALT || ???
 +
|- 
 +
| 32 || FILTH_B || ???
 +
|- 
 +
| 33 || FILTH_Y || ???
 +
|- 
 +
| 34 || UNKNOWN_SUBSTANCE || ???
 +
|- 
 +
| 35 || GRIME || ???
 +
|}
 +
 
 +
CREATURE does not appear here in the exe, but has been observed with EXTRACT and CHEESE. PLANT does not appear here, but has been observed with POWDER_MISC. Subtypes come from the appropriate matgloss.
 +
 
 +
==Stone-specific tokens==
 +
 
 +
Soils are considered to be a subtype of stone in the raws.
 +
 
 +
===Layer types===
 +
 
 +
A stone can be tagged with one of:
 +
*[SEDIMENTARY]
 +
*[IGNEOUS_INTRUSIVE]
 +
*[IGNEOUS_EXTRUSIVE]
 +
*[METAMORPHIC]
 +
*[SOIL]
 +
*[SOIL_OCEAN]
 +
 
 +
Additionally these can occur:
 +
*[SEDIMENTARY_OCEAN_SHALLOW]
 +
*[SEDIMENTARY_OCEAN_DEEP]
 +
*[SOIL_SAND]
 +
*[AQUIFER]
 +
 
 +
Layer tags are not mutually exclusive with ENVIRONMENT tags.
 +
 
 +
===ENVIROMENT and ENVIRONMENT_SPEC===
 +
 
 +
Format:
 +
*[ENVIRONMENT:<class>:<inclusion type>:<frequency>]
 +
*[ENVIRONMENT_SPEC:<id>:<inclusion type>:<frequency>]
 +
 
 +
The inclusion type can be CLUSTER, CLUSTER_SMALL, CLUSTER_ONE, or VEIN. CLUSTERs are large ovoids that occupy their entire local map tile if present. CLUSTER_SMALL inclusions are blobs of 3-9 tiles; CLUSTER_ONE inclusions are single tiles; and VEINs are large streaks.
 +
 
 +
If no CLUSTER is present, then zero to two VEINs as well as roughly five to seven other clusters will be present in the local map tile.
 +
 
 +
Anecdotal evidence suggests that each z-layer will tend to reuse the same type of inclusions, leading to multiple clusters of the same type of opal rather than several different types.
 +
 
 +
[[Category:Modding]]
 +
[[Category:Tokens]]

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)