[MOD 0.15] Tree growth family

Topics and discussion about specific mods
Graveeater
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Jul 07, 2016 8:00 pm
Contact:

[MOD 0.15] Tree growth family

Post by Graveeater »

Motivation
I liked the way trees can grow in the ancient mod tree-farm-lite but I did not like other parts of that mod. I wanted tree growing independent of the remaining parts (farms in particular).
Then I noticed that there are also mods which add tree expansion, but these two concepts did not work together: The tree expansion mods just created mature trees instead of saplings.
So I created my own version of the tree lifecycle two combine this.
Description
The Tree Growth family of mods consists of a core module, tree provider modules (currently only a sample one: tree-growth-scaled-trees) and currently two acting modules.

The purpose of the core module is just to coordinate everything, in particular transport the definitions from the provider modules to the acting modules and to define events. Currently the growth stages can be weighted, the time can be specified and they can be filtered based on tiles. Similarly reproduction can be filtered based on tiles.

A provider module uses the api provided by the core module to define how a tree can grow or reproduce. For example tree-growth-scaled-trees adds scaled versions of vanilla trees which grow from the sapling to the orginal tree. It also defines that the original tree can spawn saplings.

The two acting modules are responsible for growing (tree-growth-natural-growth) and reproducing (tree-growth-natural-expansion) trees. Growing is done by fetching the definitions from the core module and replaces small trees with larger trees after the configured time. Reproduction means creating new saplings near the mature tree.

Currently these four mods need to be used together.
Future
I will probably add more acting modules in the future, I am currently thinking of something construction bot powered to plant and cut trees, similar to tree-farm-lite.
I am also thinking about adding seeds and a building to convert seeds to saplings to allow the player to plant trees.

I would love to see contributions and suggestions, in particular to the tree definitions. Also nice tree art featuring saplings would be nice.

User avatar
KroshkaRoo
Inserter
Inserter
Posts: 20
Joined: Wed Dec 14, 2016 8:46 am
Contact:

Re: [MOD 0.15] Tree growth family

Post by KroshkaRoo »

Hello!
Need to add locale for "Tree growth: Scaled trees."
I make two for my game, en and ru.

I can also translate other Tree Growth mods on Russian.


Sabrewulf
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Jul 11, 2016 12:11 am
Contact:

Re: [MOD 0.15] Tree growth family

Post by Sabrewulf »

Work with modded trees and moded biomes like "Alien Biomes"?

Graveeater
Burner Inserter
Burner Inserter
Posts: 19
Joined: Thu Jul 07, 2016 8:00 pm
Contact:

Re: [MOD 0.15] Tree growth family

Post by Graveeater »

In principle this works with modded trees, yes.
You need to make sure that the mods adding them are loaded first.
For alien-biomes this is already done by an optional-dependency.

However there is no smart behaviour about biomes yet, e.g, your purple trees might expand everywhere.

mrvn
Smart Inserter
Smart Inserter
Posts: 5797
Joined: Mon Sep 05, 2016 9:10 am
Contact:

Re: [MOD 0.15] Tree growth family

Post by mrvn »

I feel that construction bots are too late in the game for this. Instead I think little mobile (driving) units would be better.

I'm also thinking of two buildings:

1) Nursery
A nursery produces saplings.

2) Forestry

A forestry takes saplings and produces wood. It houses a number of mobile units that go out, plant saplings and cut down grown trees.

There could be multiple tires for these. The nursery could take in water, electricity and fertilizer to grow saplings faster. The forestry could have larger range and more space for mobile units. Mobile units could start of as burner units, using some of the harvested wood to power them self and advance to battery or solar powered units. The Forestry could produce not just wood but also seedlings for the nursery and shavings for compost. Then there should be a method of disposing of excess seeds or shavings.

I think wood production should be possible right from the start or researchable right from the start. It should not require construction bots or even filter inserters for a basic setup. Advanced tires though could require them. Like when you advance to compost you need to filter out wood, seeds and shavings. Basic setup only has wood. Or with flight you get flying mobile units that don't have to go around trees to reach places.

Sabrewulf
Burner Inserter
Burner Inserter
Posts: 10
Joined: Mon Jul 11, 2016 12:11 am
Contact:

Re: [MOD 0.15] Tree growth family

Post by Sabrewulf »

What's mean "how much wind affect expansion" at configuration. Have factorio wind? :shock:

Griggers
Burner Inserter
Burner Inserter
Posts: 17
Joined: Sat Apr 22, 2017 3:26 pm
Contact:

Re: [MOD 0.15] Tree growth family

Post by Griggers »

I'm really looking forward to see what you can accomplish whit this mod.

I don't really want the natural spreading but I have been looking so hard to find a good mod to easily place trees in a large scale (preferably by bots) for aesthetics but so far these have been non-existent.
There was the treehouse mod but that one seems abandoned and only had 2 types of trees.
There is also arborium, but that mod can really make a mess of tree clearing with all the seeds and only allows you to manually place trees by hand one by one.

Could you maybe tell how the natural spreading works (like limits or effect on fps/ups)?

User avatar
KroshkaRoo
Inserter
Inserter
Posts: 20
Joined: Wed Dec 14, 2016 8:46 am
Contact:

Re: [MOD 0.15] Tree growth family

Post by KroshkaRoo »

Here is right ru locale for Tree Growth Family
https://yadi.sk/d/rUGy6S0T3KwZzp

User avatar
KroshkaRoo
Inserter
Inserter
Posts: 20
Joined: Wed Dec 14, 2016 8:46 am
Contact:

Re: [MOD 0.15] Tree growth family

Post by KroshkaRoo »

ru locale need to be saved in UTF-8 without BOM

User avatar
KroshkaRoo
Inserter
Inserter
Posts: 20
Joined: Wed Dec 14, 2016 8:46 am
Contact:

Re: [MOD 0.15] Tree growth family

Post by KroshkaRoo »

Hello.
I have CTD in game after the mod update

Code: Select all

Error while running event tree-growth-natural-expansion::on_tick (ID 0)
__tree-growth-natural-expansion__/control/expansion.lua:140: bad argument #1 to 'raise_event' (number expected, got nil)

Post Reply

Return to “Mods”