- 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.
DF2014 Talk:Plant token
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 |
|
How dense the normal branches are. The actual effect of the number isn't clear to me? |
BRANCH_RADIUS |
|
How far the normal branches reach. Might be capped at some number? |
CAP_NAME |
|
What the mushroom cap of the tree is named. |
CAP_PERIOD |
|
How fast the mushroom cap (if any) of the tree grows. Lower numbers seem faster? |
CAP_RADIUS |
|
How far the mushroom cap of the tree reaches. Might be capped at some number? |
DIRECTED_BRANCH_DENSITY |
|
Unknown. String dump only, not used by any trees. |
DIRECTED_BRANCHES_NAME |
|
What the directed branches(?) of the tree are named. |
DIRECTED_BRANCH_RADIUS |
|
Unknown. String dump only, not used by any trees. |
HEAVY_BRANCH_DENSITY |
|
How dense the thick branches are. The actual effect of the number isn't clear to me? |
HEAVY_BRANCH_RADIUS |
|
How far the thick branches reach. Might be capped at some number? |
HEAVY_BRANCHES_NAME |
|
What the thick branches of the tree are named. |
LIGHT_BRANCH_DENSITY |
|
How dense the light branches(?) are. |
LIGHT_BRANCH_RADIUS |
|
How far the light branches(?) reach. Might be capped at some number? |
LIGHT_BRANCHES_NAME |
|
What the branches of the tree are named. |
MAX_TRUNK_DIAMETER |
|
How thick the tree's trunk may be. Capped at 3. |
MAX_TRUNK_HEIGHT |
|
How tall the tree's trunk may be. Capped at 8. |
ROOT_DENSITY |
|
How dense the roots are. The actual effect of the number isn't clear to me? |
ROOT_NAME / ROOTS_NAME |
|
What the roots of the tree are named. Both tags exist in string dump. |
ROOT_RADIUS |
|
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 |
|
How much the trunk of the tree can branch out. 0 means the tree will grow straight. |
TRUNK_NAME |
|
What the mushroom cap of the tree is named. |
TRUNK_PERIOD |
|
How fast the tree will grow tall. Lower numbers seem faster? |
TRUNK_WIDTH_PERIOD |
|
How fast the tree will grow broad. Lower numbers seem faster? |
TWIGS_NAME |
|
What the twigs of the tree are named. |
TWIGS_ABOVE_BRANCHES |
|
If the argument is 1, the tree can have twigs above its normal branches. Defaults to 1. |
TWIGS_ABOVE_HEAVY_BRANCHES |
|
If the argument is 1, the tree can have twigs above its thick branches. Defaults to 0. |
TWIGS_ABOVE_TRUNK |
|
If the argument is 1, the tree can have twigs above its trunk. Defaults to 0. |
TWIGS_BELOW_BRANCHES |
|
If the argument is 1, the tree can have twigs below its normal branches. Defaults to 0. |
TWIGS_BELOW_HEAVY_BRANCHES |
|
If the argument is 1, the tree can have twigs below its thick branches. Defaults to 0. |
TWIGS_BELOW_TRUNK |
|
If the argument is 1, the tree can have twigs below its trunk. Defaults to 0. |
TWIGS_SIDE_BRANCHES |
|
If the argument is 1, the tree can have twigs next its normal branches. Defaults to 1. |
TWIGS_SIDE_HEAVY_BRANCHES |
|
If the argument is 1, the tree can have twigs next its thick branches. Defaults to 0. |
TWIGS_SIDE_TRUNK |
|
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)