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

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

Trees are stored in the matgloss_wood.txt file.

Token Arguments Description
 NAME text The name of the tree.
 ADJ text The adjective used to describe items made of this wood.
 AUTUMNCOLOR Causes the tree to change colors in autumn and lose its leaves during winter.
 TILE tile What number tile is used to represent this tree. See character table. Defaults to 24 [↑].
 DEAD_TILE tile What tile is used if the tree is dead. Defaults to 198 [╞].
 SAPLING_TILE tile What tile is used for saplings of this tree. Defaults to 231 [τ].
 DEAD_SAPLING_TILE tile What tile is used for dead saplings of this tree. Defaults to 231 [τ].
 COLOR
  • fg
  • bg
  • bright
The color of the tree. Defaults to 2:0:0 (dark green).
 DEAD_COLOR
  • fg
  • bg
  • bright
The color of the tree when it is (un)dead. Defaults to 0:0:1 (dark gray).
 SAPLING_COLOR
  • fg
  • bg
  • bright
The color of saplings of this tree. Defaults to 2:0:0 (dark green).
 DEAD_SAPLING_COLOR
  • fg
  • bg
  • bright
The color of dead saplings of this tree. Defaults to 0:0:1 (dark gray).
 PREFSTRING string Why dwarves like this tree.
 SAPLING_DROWN_LEVEL depth Specifies the water depth at which saplings of the tree will die, defaulting to 4. Does not work due to a bug.
 TREE_DROWN_LEVEL depth Specifies the water depth at which the tree will die, defaulting to 7. Does not work due to a bug (and wouldn't work anyways because trees block water and thus cannot become submerged).
 WET Allows the tree to grow near water features (i.e. rivers, brooks, and murky pools).
 DRY Allows the tree to grow away from water features.
 BIOME biome What biome this tree appears in.
 SAPLING Causes young trees to be called "<tree> sapling" instead of "young <tree>".
 FREQUENCY num Determines how often this tree appears within its environment. Defaults to 50.
 GOOD This tree only appears in Good aligned regions.
 EVIL This tree only appears in Evil aligned regions.
 SAVAGE This tree only appears in Savage regions.
 SPEC_HEAT num The specific heat capacity of wood from this tree. Defaults to 420, but not actually used - the game hardcodes this value to 420 for all trees.
 HEATDAM_POINT num The temperature at which heat will begin to damage wood from this tree. Defaults to 10250.
 COLDDAM_POINT num The temperature at which frost will begin to damage wood from this tree. Defaults to 9900.
 IGNITE_POINT num The temperature at which wood from this tree will burst into flames. Defaults to 10508.
 MELTING_POINT num The temperature at which wood from this tree will melt into a puddle of goo. Defaults to NONE.
 BOILING_POINT num The temperature at which wood from this tree will boil into a cloud of vapor. Defaults to NONE.
 FIXED_TEMP num The temperature wood from this tree emits naturally. Defaults to NONE.
 SOLID_DENSITY num The density of wood from this tree when solid. Defaults to 500.
 LIQUID_DENSITY num The density of wood from this tree when molten. Defaults to NONE.