Injury state tracking, wound aging, recovery timelines, care levels, and long-term sequelae — physics-grounded medical simulation.
Injury in Ananke is physical — surface, internal, and structural damage accumulate per body region. Healing rates depend on care level, nutrition, time, and whether infection is present. Permanent damage leaves lasting impairments. All rates are validated against real-world medical data.
Sample entity after a sword fight — surface, internal, and structural damage per body region.
Days to recovery for the sample entity above. Values from stepWoundAging rates in src/sim/wound-aging.ts.
Permanent damage floor from the fracture prevents full q(0) restoration. PHANTOM_PAIN_THRESHOLD = q(0.30) — fractures with structural ≥ q(0.30) cause phantom pain.
stepWoundAging(entity, elapsedSeconds) each downtime tick — it handles healing, infection worsening, sepsis detection, and phantom pain.careLevel parameter in src/sim/medical.ts to modify healing multipliers.SEPSIS_THRESHOLD = q(0.85) — infection above this triggers a mortality roll.docs/validation-untreated-knife-wound.md for the real-world baseline the healing model is calibrated against.npm run run:validation to verify the fracture recovery and first-aid calibration scenarios.