GrowingFlora is a Terasology module that generate and grow plants organically over time.
If you are interested on making the assets for dynamic plants, you might want to check out PlantPack
GrowingFlora needs these modules to run properly:
- Core | Minimum Version 1.0.0
- CoreBlocks | Minimum Version 1.0.0
- AnotherWorld | Minimum Version 0.2.0
GrowingFlora not only handles the organic growth of plants, but also the generation of it. You can find the world generation code for the plants in
Grass growth/spread is also handled by GrowingFlora. This allows a block of grass to spread to a dirt block and turning it into a grass block. You can find the grass growth/spread code in
Trees generation, trees growth, and saplings are also handled by GrowingFlora.
Trees are divided into 3 main parts.
Trees can have varying shapes. Shapes that currently exist can be found in
TreeCutDamage is considered as a physical damage by the engine, it also have a directPickup set to true. You can find more information about this damage type in assets/prefabs/damage
You can find the code for trees management in