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.

Difference between revisions of "40d:Wood token"

From Dwarf Fortress Wiki
Jump to navigation Jump to search
(Fixing links within namespace (2423/2470))
 
(4 intermediate revisions by the same user not shown)
Line 5: Line 5:
 
|- style='background-color:#ddd'
 
|- style='background-color:#ddd'
 
! Token
 
! Token
 +
! Arguments
 
! Description
 
! Description
 +
 
|-
 
|-
|[NAME:text]||The name of the tree.
+
| {{text anchor|NAME}}
 +
| text
 +
| The name of the tree.
 +
 
 
|-
 
|-
|[ADJ:text]||The adjective used to describe items made of this wood.
+
| {{text anchor|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.
+
| {{text anchor|AUTUMNCOLOR}}
 +
|
 +
| Causes the tree to change colors in autumn and lose its leaves during winter.
 +
 
 
|-
 
|-
|[TILE:num]||What number tile is used to represent this tree. See [[Main:character table|character table]]. Defaults to 24 [↑].
+
| {{text anchor|TILE}}
 +
| tile
 +
| What number tile is used to represent this tree. See [[Main:character table|character table]]. Defaults to 24 [↑].
 +
 
 
|-
 
|-
|[DEAD_TILE:num]||What tile is used if the tree is dead. Defaults to 198 [╞].
+
| {{text anchor|DEAD_TILE}}
 +
| tile
 +
| What tile is used if the tree is dead. Defaults to 198 [╞].
 +
 
 
|-
 
|-
|[SAPLING_TILE:num]||What tile is used for saplings of this tree. Defaults to 231 [τ].
+
| {{text anchor|SAPLING_TILE}}
 +
| tile
 +
| What tile is used for saplings of this tree. Defaults to 231 [τ].
 +
 
 
|-
 
|-
|[DEAD_SAPLING_TILE:num]||What tile is used for dead saplings of this tree. Defaults to 231 [τ].
+
| {{text anchor|DEAD_SAPLING_TILE}}
 +
| tile
 +
| What tile is used for dead saplings of this tree. Defaults to 231 [τ].
 +
 
 
|-
 
|-
|[COLOR:a:b:c]||The [[color]] of the tree. Defaults to 2:0:0 (dark green).
+
| {{text anchor|COLOR}}
 +
|
 +
* fg
 +
* bg
 +
* bright
 +
| The [[color]] of the tree. Defaults to 2:0:0 (dark green).
 +
 
 
|-
 
|-
|[DEAD_COLOR:a:b:c]||The [[color]] of the tree when it is (un)dead. Defaults to 0:0:1 (dark gray).
+
| {{text anchor|DEAD_COLOR}}
 +
|
 +
* fg
 +
* bg
 +
* bright
 +
| The [[color]] of the tree when it is (un)dead. Defaults to 0:0:1 (dark gray).
 +
 
 
|-
 
|-
|[SAPLING_COLOR:a:b:c]||The [[color]] of saplings of this tree. Defaults to 2:0:0 (dark green).
+
| {{text anchor|SAPLING_COLOR}}
 +
|
 +
* fg
 +
* bg
 +
* bright
 +
| The [[color]] of saplings of this tree. Defaults to 2:0:0 (dark green).
 +
 
 
|-
 
|-
|[DEAD_SAPLING_COLOR:a:b:c]||The [[color]] of dead saplings of this tree. Defaults to 0:0:1 (dark gray).
+
| {{text anchor|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.
+
| {{text anchor|PREFSTRING}}
 +
| string
 +
| Why dwarves like this tree.
 +
 
 
|-
 
|-
|[SAPLING_DROWN_LEVEL:num]||Unused, presumably specifies the water depth at which saplings of the tree will die. Defaults to 4.
+
| {{text anchor|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:num]||Unused, presumably specifies the water depth at which the tree will die. Defaults to 7.
+
| {{text anchor|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]||This tree appears near water features. Not mutually exclusive with the [DRY] tag.
+
| {{text anchor|WET}}
 +
|
 +
| Allows the tree to grow near water features (i.e. rivers, brooks, and murky pools).
 +
 
 
|-
 
|-
|[DRY]||This tree appears away from water features. Not mutually exclusive with the [WET] tag.
+
| {{text anchor|DRY}}
 +
|
 +
| Allows the tree to grow away from water features.
 +
 
 
|-
 
|-
|[BIOME:biome]||What [[biome token|biome]] this tree appears in.
+
| {{text anchor|BIOME}}
 +
| biome
 +
| What [[biome token|biome]] this tree appears in.
 +
 
 
|-
 
|-
|[SAPLING]||Causes young trees to be called "<tree> sapling" instead of "young <tree>".
+
| {{text anchor|SAPLING}}
 +
|
 +
| Causes young trees to be called "<tree> sapling" instead of "young <tree>".
 +
 
 
|-
 
|-
|[FREQUENCY:num]||Unknown. Presumably determines how frequently this tree appears within its biomes. Defaults to 50.
+
| {{text anchor|FREQUENCY}}
 +
| num
 +
| Determines how often this tree appears within its environment. Defaults to 50.
 +
 
 
|-
 
|-
|[GOOD]||This tree only appears in Good aligned regions.
+
| {{text anchor|GOOD}}
 +
|
 +
| This tree only appears in Good aligned regions.
 +
 
 
|-
 
|-
|[EVIL]||This tree only appears in Evil aligned regions.
+
| {{text anchor|EVIL}}
 +
|
 +
| This tree only appears in Evil aligned regions.
 +
 
 
|-
 
|-
|[SAVAGE]||This tree only appears in Savage regions.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|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.
+
| {{text anchor|LIQUID_DENSITY}}
 +
| num
 +
| The density of wood from this tree when molten. Defaults to NONE.
 
|}
 
|}
  
 
{{Category|Modding}}
 
{{Category|Modding}}
 
{{Category|Tokens}}
 
{{Category|Tokens}}

Latest revision as of 00:06, 25 June 2025

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.