Skip to main content

Interface: WorldSystems

Defined in: apps/paracosm/src/engine/core/state.ts:132

Universal settlement metrics shared by every scenario. Fields below the population and morale core are common but optional — a non-Mars scenario might not have pressurizedVolumeM3 for example, and is free to set its own values via the index signature.

Scenario-specific metrics (e.g., a submarine's hullPressureBars or a corporation's quarterlyRevenue) live alongside via [key: string]: number.

Indexable

[key: string]: number

Scenario-defined metrics beyond the universal set.

Properties

foodMonthsReserve

foodMonthsReserve: number

Defined in: apps/paracosm/src/engine/core/state.ts:138

Months of food reserve at current consumption.


infrastructureModules

infrastructureModules: number

Defined in: apps/paracosm/src/engine/core/state.ts:148

Infrastructure modules / building units.


lifeSupportCapacity

lifeSupportCapacity: number

Defined in: apps/paracosm/src/engine/core/state.ts:146

Life support headroom (max sustainable population).


morale

morale: number

Defined in: apps/paracosm/src/engine/core/state.ts:136

Aggregate morale, 0..1.


population

population: number

Defined in: apps/paracosm/src/engine/core/state.ts:134

Alive headcount.


powerKw

powerKw: number

Defined in: apps/paracosm/src/engine/core/state.ts:140

Generated power capacity, kW.


pressurizedVolumeM3

pressurizedVolumeM3: number

Defined in: apps/paracosm/src/engine/core/state.ts:144

Sealed habitable volume, m³ — Mars/Lunar/space-specific, optional in others.


scienceOutput

scienceOutput: number

Defined in: apps/paracosm/src/engine/core/state.ts:150

Science / research output index.


waterLitersPerDay

waterLitersPerDay: number

Defined in: apps/paracosm/src/engine/core/state.ts:142

Daily water budget, liters.