CONTENT CONTRACT · VERSION 1
biome
Ground cover, rock and forest of a part of a generated map.
Signature
{ geology: BiomeGeology, grass_ppm: Ppm, id: ContentId, kind: "biome", plants: {BiomePlantBand}, trees: {BiomeTree}, woodland_ppm: (PositivePpm)? }Fields
| Name | Type | Meaning |
|---|---|---|
geology | BiomeGeology | Rock and ore; rock breaks through only where the valley generator lays it. |
grass_ppm | Ppm | Density of the meadow grass against the full meadow. Range: 0…1000000; Unit: ppm |
id | ContentId | Package-qualified identity; unique within its declaring namespace. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$ |
kind | "biome" | Discriminant |
plants | {BiomePlantBand} | Bands of the small-plant draw, rising; the last ends at a whole. Items: 1…16 |
trees | {BiomeTree} | Species of its wood cells with their weights; the order is the species draw. Empty: the biome grows no trees. Items: 0…64 |
woodland_ppm | PositivePpm | Share of the cells of a non-valley zone that grow a tree; absent: no trees there. Range: 1…1000000; Unit: ppm |
Validated example
{
"geology": {
"ore": {
"deep_ore_ppm": 780000,
"ore_ppm": 740000
},
"rock": true
},
"grass_ppm": 650000,
"id": "core:crystal_field",
"kind": "biome",
"plants": [
{
"until_ppm": 440000
},
{
"plant": "daisy",
"until_ppm": 580000
},
{
"plant": "goldenflower",
"until_ppm": 720000
},
{
"plant": "bellflower",
"until_ppm": 860000
},
{
"plant": "grass",
"until_ppm": 1000000
}
],
"trees": [
{
"tree": "core:oak_tree",
"weight": 1
},
{
"tree": "core:birch_tree",
"weight": 1
},
{
"tree": "core:pine_tree",
"weight": 1
},
{
"tree": "core:willow_tree",
"weight": 1
},
{
"tree": "core:maple_tree",
"weight": 1
}
]
}