Skip to content

Interface: ZoneConstraints

Generation envelope for a body. Designed to be a constant of the consumer's build (one per gameplay zone), referenced by id from a body descriptor.

The lib reads only what is in this shape — biome pools, resource lists, substance vocabulary, terraforming rules and any other gameplay state are carried by the consumer alongside (typically via interface extension).

Properties

archetype

ts
archetype: SeededBodyArchetype;

Body archetype imposed by the zone.


features

ts
features: ZoneFeatureGates;

Optional features and their resolution rules.


ranges

ts
ranges: ZoneRanges;

Numeric envelope for every knob the seed can roll.

Distribué sous la licence indiquée dans le dépôt.