EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

MapDefinition

A bounded map with local anchors, complete zone coverage and population slots.

Signature

{ anchors: {MapAnchor}, atmosphere: (AtmosphereId)?, biome: BiomeId, bounds: Bounds, cell_mm: PositiveDistance, climate: ClimateId, corruption: (CorruptionDefinition)?, fog: (Fog)?, id: ContentId, in_session: (boolean)?, library: WorldLibraryId, spawn_anchor: Name, structures: ({MapStructure})?, village: (VillageArea)?, zones: {MapZone} }

Fields

NameTypeMeaning
anchors{MapAnchor}Named map placements visible or used by this declaration.
Items: 1…4096; Unique entries
atmosphereAtmosphereIdThe map's mood outdoors (areas go before it); absent: the day's own.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: atmosphere
biomeBiomeIdOpen-land biome of the coast and of zones outside the valley.
Length: 1…129; Pattern: ^[a-z][a-z0-9_]{0,31}:[a-z][a-z0-9_]{0,95}$; Reference: biome
boundsBoundsHalf-open horizontal area, aligned with the map cell size.
cell_mmPositiveDistancePositive map grid spacing; all zone bounds align to this grid.
Range: 1…2147483647; Unit: mm
climateClimateIdClimate 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
corruptionCorruptionDefinitionGrowing corruption (voids, vines, safe spots); absent maps remain healthy. The vines derive from the world seed; only severed vines and hit damage are saved.
fogFogFog over what nobody has explored yet on this map. Absent: no fog.
idContentIdPackage-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}$
in_sessionbooleanBelongs to every session of the game though no passage leads there (reached only by a scene or a `teleport`: a dream, a memory); absent: false, the map belongs to a session when the start map or a passage leads there.
libraryWorldLibraryIdWorld 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_anchorNameLocal anchor identifier used for initial map entry.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$
structures{MapStructure}Structures standing in a new world of this map before anyone builds, placed once at full or partial health; one placed inside another stands in that one's room.
Items: 1…1024; Unique entries
villageVillageAreaThe village: a circle around a local anchor (the village fire); structures marked `village` are built only inside it.
zones{MapZone}Generator regions covering the entire map without equal-priority overlap.
Items: 1…4096; Unique entries