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.

DF2014 Talk:Plant token

From Dwarf Fortress Wiki
Jump to navigation Jump to search

New tree tokens[edit]

(Some of) The new tokens usable for trees. They need some heavy experimentation, so I'm not adding them to the main page yet. Also, the init file TREE_* tokens to give your tree parts individual tiles, verified with TREE_TWIGS. I'm not going to add all those into the table.

Token Arguments Description
BRANCH_DENSITY
  • number
How dense the normal branches are. The actual effect of the number isn't clear to me?
BRANCH_RADIUS
  • number
How far the normal branches reach. Might be capped at some number?
CAP_NAME
  • tile name?
What the mushroom cap of the tree is named.
CAP_PERIOD
  • number
How fast the mushroom cap (if any) of the tree grows. Lower numbers seem faster?
CAP_RADIUS
  • number
How far the mushroom cap of the tree reaches. Might be capped at some number?
DIRECTED_BRANCH_DENSITY
  • number?
Unknown. String dump only, not used by any trees.
DIRECTED_BRANCHES_NAME
  • tile name?
What the directed branches(?) of the tree are named.
DIRECTED_BRANCH_RADIUS
  • number?
Unknown. String dump only, not used by any trees.
HEAVY_BRANCH_DENSITY
  • number
How dense the thick branches are. The actual effect of the number isn't clear to me?
HEAVY_BRANCH_RADIUS
  • number
How far the thick branches reach. Might be capped at some number?
HEAVY_BRANCHES_NAME
  • tile name?
What the thick branches of the tree are named.
LIGHT_BRANCH_DENSITY
  • number
How dense the light branches(?) are.
LIGHT_BRANCH_RADIUS
  • number
How far the light branches(?) reach. Might be capped at some number?
LIGHT_BRANCHES_NAME
  • tile name?
What the branches of the tree are named.
MAX_TRUNK_DIAMETER
  • number
How thick the tree's trunk may be. Capped at 3.
MAX_TRUNK_HEIGHT
  • number
How tall the tree's trunk may be. Capped at 8.
ROOT_DENSITY
  • number
How dense the roots are. The actual effect of the number isn't clear to me?
ROOT_NAME / ROOTS_NAME
  • tile name?
What the roots of the tree are named. Both tags exist in string dump.
ROOT_RADIUS
  • number
How far the roots reach. Might be capped at some number?
STANDARD_TILE_NAMES The tree uses the default names for its tiles (roots, twigs, trunk, ...).
TREE_HAS_MUSHROOM_CAP The tree has a rounded cap.
TRUNK_BRANCHING
  • number
How much the trunk of the tree can branch out. 0 means the tree will grow straight.
TRUNK_NAME
  • tile name?
What the mushroom cap of the tree is named.
TRUNK_PERIOD
  • number
How fast the tree will grow tall. Lower numbers seem faster?
TRUNK_WIDTH_PERIOD
  • number
How fast the tree will grow broad. Lower numbers seem faster?
TWIGS_NAME
  • tile name?
What the twigs of the tree are named.
TWIGS_ABOVE_BRANCHES
  • 0 or 1
If the argument is 1, the tree can have twigs above its normal branches. Defaults to 1.
TWIGS_ABOVE_HEAVY_BRANCHES
  • 0 or 1
If the argument is 1, the tree can have twigs above its thick branches. Defaults to 0.
TWIGS_ABOVE_TRUNK
  • 0 or 1
If the argument is 1, the tree can have twigs above its trunk. Defaults to 0.
TWIGS_BELOW_BRANCHES
  • 0 or 1
If the argument is 1, the tree can have twigs below its normal branches. Defaults to 0.
TWIGS_BELOW_HEAVY_BRANCHES
  • 0 or 1
If the argument is 1, the tree can have twigs below its thick branches. Defaults to 0.
TWIGS_BELOW_TRUNK
  • 0 or 1
If the argument is 1, the tree can have twigs below its trunk. Defaults to 0.
TWIGS_SIDE_BRANCHES
  • 0 or 1
If the argument is 1, the tree can have twigs next its normal branches. Defaults to 1.
TWIGS_SIDE_HEAVY_BRANCHES
  • 0 or 1
If the argument is 1, the tree can have twigs next its thick branches. Defaults to 0.
TWIGS_SIDE_TRUNK
  • 0 or 1
If the argument is 1, the tree can have twigs next its trunk. Defaults to 0.

Woodless trees[edit]

It appears, trees with [TREE:NONE:NONE] will not appear in the overworld at all. Having tested several tropical embarks I've not found a single abaca or banana tree, and more tellingly, replacing an existing TREE token with defined wood with [TREE:NONE:NONE] will replace the tree entirely with another species from the same biome. --Samanato 02:18, 15 June 2014 (UTC)

GROWTH_TRUNK_HEIGHT_PERC[edit]

This only appears on palm trees in vanilla; likely modifies the height at which the specified growth begins to appear on a plant. Needs verification. Qeveren (talk) 21:11, 16 January 2023 (UTC)

Yeah, that's what it does. The percent of the height above which the plant growth will occur. The second value is always -1; I speculate it's intended to control if the growths appear above or below the percent specified, but isn't implemented yet (no growths appear if it's any other value). Qeveren (talk) 22:22, 16 January 2023 (UTC)