CONTENT CONTRACT · VERSION 1
MapDefinition
A bounded map with local anchors, complete zone coverage and population slots.
Signature
{ anchors: {MapAnchor}, bounds: Bounds, cell_mm: PositiveDistance, climate: ClimateId, id: ContentId, library: WorldLibraryId, spawn_anchor: Name, zones: {MapZone} }Fields
| Name | Type | Meaning |
|---|---|---|
anchors | {MapAnchor} | Named map placements visible or used by this declaration. Items: 1…4096; Unique entries |
bounds | Bounds | Half-open horizontal area, aligned with the map cell size. |
cell_mm | PositiveDistance | Positive map grid spacing; all zone bounds align to this grid. Range: 1…2147483647; Unit: mm |
climate | ClimateId | Climate definition supplying seasons and weather for this map. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: climate |
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}$ |
library | WorldLibraryId | World library supplying prefab templates, rigs, materials and textures of this map. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: asset:world_library |
spawn_anchor | Name | Local anchor identifier used for initial map entry. Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$ |
zones | {MapZone} | Generator regions covering the entire map without equal-priority overlap. Items: 1…4096; Unique entries |