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.

40d:Matgloss token

From Dwarf Fortress Wiki
Revision as of 22:44, 3 September 2008 by Ikkonoishi (talk | contribs) (Moved material tokens to material token page from the item token page.)
Jump to navigation Jump to search

Preliminary information on tokens used in the material description files, stored at raw/objects/matgloss_*.txt in the default distribution.

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].


Material tokens

# Token
1 WOOD
2 STONE
3 METAL
4 BONE
5 IVORY
6 HORN
7 AMBER
8 CORAL
9 PEARL
10 SHELL
11 LEATHER
12 SILK
13 PLANT_ALCOHOL
14 GLASS_GREEN
15 GLASS_CLEAR
16 GLASS_CRYSTAL
17 SAND
18 COAL
19 POTASH
20 ASH
21 PEARLASH
22 LYE
23 RENDERED_FAT
24 SOAP_ANIMAL
25 FAT
26 MUD
27 VOMIT
28 BLOOD_NONSPECIFIC
29 BLOOD_SPECIFIC
30 SLIME
31 SALT
32 FILTH_B
33 FILTH_Y
34 UNKNOWN_SUBSTANCE
35 GRIME

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.