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.

v0.31:Inorganic material definition token

From Dwarf Fortress Wiki
Jump to navigation Jump to search
This article is about an older version of DF.

The following tokens can be used in inorganic material definitions, generally those for stones, gems, and metals. They cannot be used with materials attached to plants or creatures.

Token Description
[WAFERS] Used on metals, causes the metal to be made into wafers instead of Template:Ls.
[DEEP_SPECIAL] Causes the stone to form hollow tubes leading to Hell. Used for Template:L
[METAL_ORE:metal:chance] Allows the ore to be Template:L into metal. Multiple tokens allow multiple types of metal to be smelted from a single ore.
[THREAD_METAL:metal:chance] Allows strands to be extracted from the metal at a Template:L.
[DEEP_SURFACE] Causes the stone to line the landscape of Template:L. Used for Template:L.
[AQUIFER] Allows the stone to support an Template:L.
[METAMORPHIC] Causes the material to form Template:Ls.
[SEDIMENTARY] Causes the material to form Template:Ls.
[SOIL] Causes the material to form Template:L layers, allowing it to appear in (almost) any biome. Mining is faster and produces no stones.
[SOIL_OCEAN] Causes the material to form Template:L layers. Mining is faster and produces no stones.
[SOIL_SAND] Causes the material to form Template:L layers, allowing it to appear in Template:Ls and Template:Ls. Mining is faster and produces no stones. Sand layers can also be used used for making Template:L. Can be combined with [SOIL].
[SEDIMENTARY_OCEAN_SHALLOW] Permits an already [SEDIMENTARY] stone layer to appear underneath shallow ocean regions.
[SEDIMENTARY_OCEAN_DEEP] Permits an already [SEDIMENTARY] stone layer to appear underneath deep ocean regions.
[IGNEOUS_INTRUSIVE] Causes the material to form Template:Ls.
[IGNEOUS_EXTRUSIVE] Causes the material to form Template:Ls.
[ENVIRONMENT:class:type:freq] Specifies what types of layers will contain this mineral. See below.
[ENVIRONMENT_SPEC:stone:type:freq] Specifies which specific minerals will contain this mineral. See below.
[LAVA] Causes the stone to line the edges of Template:L pools and volcanoes, and causes the stone to be formed when Template:L and Template:L are mixed.

ENVIROMENT and ENVIRONMENT_SPEC

Format:

  • [ENVIRONMENT:<class>:<inclusion type>:<frequency>]
    • Class may be ALL_STONE, IGNEOUS_ALL, SOIL, SOIL_OCEAN, SOIL_SAND, METAMORPHIC, SEDIMENTARY, IGNEOUS_INTRUSIVE, IGNEOUS_EXTRUSIVE, or ALLUVIAL.
      • ALL_STONE is equivalent to METAMORPHIC, SEDIMENTARY, IGNEOUS_INTRUSIVE, IGNEOUS_EXTRUSIVE, and ALLUVIAL.
      • IGNEOUS_ALL is equivalent to IGNEOUS_INTRUSIVE and IGNEOUS_EXTRUSIVE.
  • [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.

The frequency number varies from 1 to 100 and determines the relative frequency at which the stone will be chosen to appear - if all frequency values are the same, then all stones will be equally likely to appear.

See Also