ForestTypes.module
README.md
ForestTypes
The five ready forest types (oakWoodland, beechForest, birchGrove, mixedMaple, autumnWood) Rules.place reads: each names its canopy and understory tree mix, its shrubs, ferns, floor flowers, a light value (0 deep shade to 1 airy, which thickens or thins the undergrowth) and a default season.
local Types = require("~.ForestTypes")
local t = Types.get("beechForest") -- { name, canopy, understory, shrubs, ferns, floorFlowers, light, season }
Types.names() -- every registered type name
Types.define("myWood", { ... }) -- your own, built the same way
Called by Rules.place and by ForestBuilder.build's type option; copy one of the five built-in tables as the starting point for a new one.