Skip to main content

Interface: AgentHealth

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

Indexable

[key: string]: unknown

Scenario-defined health fields beyond the standard set

Properties

alive

alive: boolean

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


boneDensityPct?

optional boneDensityPct: number

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

Bone density percentage (scenario-specific, used by Mars/Lunar)


conditions

conditions: string[]

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


cumulativeRadiationMsv?

optional cumulativeRadiationMsv: number

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

Cumulative radiation exposure in millisieverts (scenario-specific, used by Mars/Lunar)


deathCause?

optional deathCause: string

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


deathYear?

optional deathYear: number

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


psychScore

psychScore: number

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