EverambleGAME API / 1

CONTENT CONTRACT · VERSION 1

MapZone

Prioritized generator rectangle with explicitly anchored population.

Signature

{ bare: (boolean)?, biome: (BiomeId)?, bounds: Bounds, counters: ({ZoneCounter})?, flora: ({FloraLayer})?, generator: ZoneGenerator, id: Name, population: {Population}, priority: ZonePriority, respawn_anchor: (Name)? }

Fields

NameTypeMeaning
barebooleanTrue: the ground this zone wins grows no grass tufts or small plants (a dungeon's floor). Absent: cover as the surface allows.
biomeBiomeIdBiome of the open ground this zone wins: its grass, small plants and, with its woodland_ppm, its trees (rock only in the valley). Absent: the map's biome. Trees grow only on the start map's zones.
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.
counters{ZoneCounter}Counter chips the HUD shows while a local player is in this zone (the keys of a dungeon).
Items: 1…4
flora{FloraLayer}Harvestable plants scattered over the free natural ground this zone wins; absent zones grow none.
Items: 1…16
generatorZoneGeneratorVersioned deterministic terrain generator and its closed parameters.
idNamePackage-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
priorityZonePriorityHigher-priority zones win in overlapping regions.
Range: -2147483648…2147483647; Unit: integer
respawn_anchorNameLocal anchor of the same map where a player who fell in this zone (and was not revived) gets up, instead of the world's home (a dungeon entrance). Absent: the home.
Length: 1…96; Pattern: ^[a-z][a-z0-9_]{0,95}$