CONTENT CONTRACT · VERSION 1
MapZone
Prioritized generator rectangle with explicitly anchored population.
Signature
{ bounds: Bounds, flora: ({FloraLayer})?, generator: ZoneGenerator, id: Name, population: {Population}, priority: ZonePriority }Fields
| Name | Type | Meaning |
|---|---|---|
bounds | Bounds | Half-open horizontal area, aligned with the map cell size. |
flora | {FloraLayer} | Harvestable plants scattered over the free natural ground this zone wins; absent zones grow none. Items: 1…16 |
generator | ZoneGenerator | Versioned deterministic terrain generator and its closed parameters. |
id | Name | Package-qualified identity; unique within its declaring namespace. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
population | {Population} | Named spawn groups and their explicit placement anchors. Items: 0…4096; Unique entries |
priority | ZonePriority | Higher-priority zones win in overlapping regions. Range: -2147483648…2147483647; Unit: integer |