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:Stone token

From Dwarf Fortress Wiki
Revision as of 17:58, 16 August 2010 by Quietust (talk | contribs)
Jump to navigation Jump to search
This article is about an older version of DF.

Stones are stored in the matgloss_stone_*.txt files. These include soils, layer stones, minerals, and gems.

Token Description
[NAME:name] The name of the stone.
[STONE_NAME:name] The name of the stone when mined out. Used for "nuggets" of native metals.
[GEM:singular:plural] Makes the stone drop rough gems instead of chunks of rock. The plural form can be "STP", which just appends an "s" to the end.
[TILE:num] What number tile is used to represent unmined stone of this type. See character table. Defaults to 219 [█].
[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] Causes the stone to occur near Template:L.
[REACTION_CLASS:name] Categorizes the stone for usage in certain reactions. Used for flux stones.
[ITEM_SYMBOL:num] Specifies the tile used to represent mined stones (but not rough gems). Defaults to 7 [•].
[COLOR:a:b:c] Sets the Template:L of the stone for all situations. Equivalent to [TILE_COLOR:a:b:c], [BUILD_COLOR:b:a:X] (if a and b are equal, X is 1, otherwise it is 0), and [BASIC_COLOR:a:c]
[TILE_COLOR:a:b:c] Sets the color of tiles bearing the unmined stone, as well as Template:Ls in this material. Defaults to 7:7:1 (white with light gray background).
[BUILD_COLOR:a:b:c] Sets the color of stone objects which use both the foreground and background color, such as Template:Ls and Template:Ls. Defaults to 7:7:1 (white with light gray background).
[BASIC_COLOR:a:b] Sets the color of stone objects which use only the foreground color, including workshops, floors/boulders, and smoothed walls. Defaults to 7:0 (light gray).
[VALUE:num] The Template:L of the stone. Defaults to 1.
[AQUIFER] Allows the stone to support an Template:L.
[METAMORPHIC] Classifies the stone as a Template:L.
[SEDIMENTARY] Classifies the stone as a Template:L.
[SOIL] Classifies the material as a Template:L layer. Mining is faster and produces no stones.
[SOIL_OCEAN] Classifies the material as a Template:L layer. Mining is faster and produces no stones.
[SOIL_SAND] Classifies a soil layer as Template:L, permitting it to be used for making Template:L. Typically used along with [SOIL], though may not be required.
[SEDIMENTARY_OCEAN_SHALLOW] Allows an already [SEDIMENTARY] stone layer to appear underneath shallow ocean regions.
[SEDIMENTARY_OCEAN_DEEP] Allows an already [SEDIMENTARY] stone layer to appear underneath deep ocean regions.
[IGNEOUS_INTRUSIVE] Classifies the stone as an Template:L.
[IGNEOUS_EXTRUSIVE] Classifies the stone as an Template:L.
[ENVIRONMENT:class:type:frequency] Specifies what types of layers will contain this mineral. See below.
[ENVIRONMENT_SPEC:stone:type:frequency] Specifies which specific minerals will contain this mineral. See below.
[LAVA] Causes the stone to line the edges of Template:Ls and Template:Ls, and causes the stone to be formed when Template:L and Template:L are mixed.
[SHARP] Allows the stone to be made into weapons having Template:L.
[GLASS] Allows rough gems of this material to be used to make crystal Template:L.
[SPEC_HEAT:num] The specific heat capacity of the stone. Defaults to 800.
[HEATDAM_POINT:num] The temperature at which heat will begin to damage the stone. Defaults to NONE.
[COLDDAM_POINT:num] The temperature at which frost will begin to damage the stone. Defaults to NONE.
[IGNITE_POINT:num] The temperature at which the stone will burst into flames. Defaults to NONE.
[MELTING_POINT:num] The temperature at which the stone will melt. Defaults to 11500.
[BOILING_POINT:num] The temperature at which the stone will boil into a cloud of vapor. Defaults to 14000.
[FIXED_TEMP:num] The temperature this stone emits naturally. Defaults to NONE.
[SOLID_DENSITY:num] The density of the stone when solid. Defaults to 2670.
[LIQUID_DENSITY:num] The density of the stone when molten. Defaults to 3300.

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.

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 layer stone will tend to reuse the same type of inclusions, leading to multiple clusters of the same type of opal rather than several different types.