Quick Nav


Back To Top

Overview

T-Re(e)plant is focused on the maintenance and replaceability (ie replantability) of trees. It offers the ability to do things such as heal trees (including from pollution damage), protect them from being damaged by biters, extinguish forest fires, and replant trees that have been mined or killed. Almost every feature is configurable.

Replanting

Replanting is the core of the mod, and comes in two forms. The original form was to allow stumps to be mined, giving a placeable tree item. The newer form makes trees have a chance of giving saplings - potentially more than one - on mining, allowing for them to generally be replanted.

There is also a "Tree replanting machine", which will take saplings or tree items (requesting them from the logistics network as necessary) and place them amongst other similar trees, allowing for a more automatic regrowth of the forest.

Other Content

Other included features are a tree healing capsule, which can repair health (and optionally pollution damage) to trees, a command - /findStumps to find tree stumps, and water capsules, which can extinguish fires in a large radius.
A water capsule extinguishing a large area of a forest fire.

The mod also gives options to be able to mine and place the large rocks and to preserve decoratives around placed entities, to allow for a more natural factory that feels more integrated with the environment.

Configuration Settings

This mod contains several config options to modify values and behaviors - such as for balance or server safety concerns, or simply personal taste - to your preferences. Note that several settings may have bounds imposed on their values, either logically or explicitly; these can usually be seen in the actual settings files or ingame. These are listed in order found in the source code, which is generally the order in which they were added; They may be present in a different order ingame or in the configuration files.
The settings for the mod, when installed, can be found ingame, in the mod settings menu.

Repairable trees

Type: bool
Current Default Value:
false
Enable this to make repair packs work on trees.

Biter-proof trees

Type: bool
Current Default Value:
true
Enable this to disable attacks on trees - i.e. biters destroying trees and rocks to get to their target.

Long-life stumps

Type: bool
Current Default Value:
true
Enable this to make stumps last much longer than normal so that you can repair them more easily.

Mineable stumps

Type: bool
Current Default Value:
true
Enable this to make the stumps mineable and drop their parent tree type placeable anew. This is the core of the mod.

Increased stump hitbox

Type: bool
Current Default Value:
false
Enable this to make stumps have bigger hitboxes to make mining them easier.

Trees drop selves

Type: bool
Current Default Value:
true
Enable this to make trees drop themselves as well as their wood.

Trees drop seeds

Type: bool
Current Default Value:
false
Enable this to make trees sometimes drop seeds which can replant them elsewhere.

Tree healing capsule repairs pollution damage

Type: bool
Current Default Value:
false
If true, the tree healing capsule will repair pollution damage.

Allow rocks to be moved around

Type: bool
Current Default Value:
true

Preserve decoratives

Type: bool
Current Default Value:
true
Whether to preserve decoratives from being removed by building near them. Adds some naturalism and can reduce pollution with some mods.

Sapling Drop Rate

Type: double
Current Default Value:
1.0

Automated tree healing capsule deployment threshold

Type: int
Current Default Value:
2
How many pollution-damaged trees in an area are necessary to enable an attempt for construction robots (if unlocked) to schedule deployment of tree healing capsules to the area. Set to 0 to disable automated repair entirely.

Source Code

The source code for T-Re(e)plant can be found here:GitHub

Downloads

Via Factorio Mod Portal