CONTENT CONTRACT · VERSION 1
MapExtensionDefinition
Additions to a map of the same package or of a declared dependency, from a file of their own (a puzzle meadow, a dungeon): the loader merges them into the map before anything reads it, so parallel content never edits the one map record.
Signature
{ anchors: ({MapAnchor})?, id: ContentId, layout_clearings: ({ValleyClearing})?, map: MapId, structures: ({MapStructure})?, zones: ({MapZone})? }Fields
| Name | Type | Meaning |
|---|---|---|
anchors | {MapAnchor} | Anchors added to the map; local IDs stay unique across the map and all its extensions. Items: 1…1024; Unique entries |
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}$ |
layout_clearings | {ValleyClearing} | Clearings added to the map's valley layout (the one zone with a `valley` layout). Items: 1…64 |
map | MapId | Map it extends, declared by the same package or by a declared dependency. Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: map |
structures | {MapStructure} | Structure placements added after the map's own, in this order. Items: 1…1024; Unique entries |
zones | {MapZone} | Zones added to the map. Items: 1…256; Unique entries |