Saxonberg Server API
    Preparing search index...

    Variable RESPIRATION_DEFAULTSConst

    RESPIRATION_DEFAULTS: {
        ANOXIA_FLOOR_PCT: number;
        ANOXIA_LETHAL_SEC: number;
        DEATH_CAUSE_BY_CAUSE: Record<RespirationCause, string>;
        DRAIN_PER_SEC_BY_CAUSE: Record<RespirationCause, number>;
        EMISSION_INTERVAL_MS: number;
        INHALE_HOLD_SEC: number;
        MAX_REASONABLE_GAP_SEC: number;
        RECOVER_PER_SEC: number;
        TANK_TAP_PER_SEC: number;
        UNPREPARED_GRACE_SEC: number;
    } = ...

    Every respiration dial as a module const-object (the METABOLIC_DEFAULTS precedent). All magnitudes are defensible playtest defaults — the structure is the deliverable, the rates are tuned. Times are GAME-seconds; *_PER_SEC are %-points per game-second. Rates are playtest-tuned, not plan decisions.

    Type Declaration

    • ANOXIA_FLOOR_PCT: number

      Lethal floor: dwell at/below this spo2 accrues toward death.

    • ANOXIA_LETHAL_SEC: number

      Dwell at/below the floor before the death seam fires (game-seconds).

    • DEATH_CAUSE_BY_CAUSE: Record<RespirationCause, string>

      Cause-of-death string by cause (the death seam's causeOfDeath).

    • DRAIN_PER_SEC_BY_CAUSE: Record<RespirationCause, number>

      spo2 drain rate per game-second by cause. Vacuum-vs-water tuning (a per-medium split) would live here later; v1 keys by cause.

    • EMISSION_INTERVAL_MS: number

      Game-ms per drain/recovery emission tick (→ WorldClockApi.every).

    • INHALE_HOLD_SEC: number

      Voluntary breath-hold extension set by inhale (game-seconds).

    • MAX_REASONABLE_GAP_SEC: number

      Far-past guard (reuse metabolism's 4h) — a gap this long = absence.

    • RECOVER_PER_SEC: number

      spo2 recovery rate per game-second on return to breathable air.

    • TANK_TAP_PER_SEC: number

      W2: litres of air a worn tank yields per game-second under supply.

    • UNPREPARED_GRACE_SEC: number

      Automatic breath-hold grace on first submersion (game-seconds).