PARACOSM AGENTOS | API Reference v0.9.1035
Home Simulation API Docs GitHub npm
Home Simulation API Docs GitHub npm AgentOS Discord
paracosm - v0.9.1035
    Preparing search index...

    Interface AgentHealth

    interface AgentHealth {
        alive: boolean;
        boneDensityBase?: number;
        boneDensityPct?: number;
        conditions: string[];
        cumulativeRadiationMsv?: number;
        deathCause?: string;
        deathTime?: number;
        psychScore: number;
        [key: string]: unknown;
    }

    Indexable

    • [key: string]: unknown

      Scenario-defined health fields beyond the standard set

    Index
    alive: boolean
    boneDensityBase?: number

    Immutable starting bone density, captured on first progression tick so the decay curve targets a stable baseline rather than recursively re-decaying its own output (scenario-specific, used by Mars/Lunar physics modules).

    boneDensityPct?: number

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

    conditions: string[]
    cumulativeRadiationMsv?: number

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

    deathCause?: string
    deathTime?: number
    psychScore: number