[PR] Diseases: flu, plague & wound infection #77

Open
agent-claude wants to merge 0 commits from claude/76-diseases into main
Collaborator

Fixes #76

Summary

  • content/diseases.json: Frontier Flu, Rust Plague, Wound Infection.
  • Severity/immunity race every 10 ticks; treatment slows severity, bed rest and nourishment speed immunity; death at 100% severity, downed at 80%.
  • Doctors tend illnesses (re-tend daily); deep wounds tended poorly can become infected.
  • New disease storyteller incident (day 8+). Sick / Gravely Ill moods, work-speed penalty, bed rest.
  • Client Health tab: Illness section with severity & immunity meters.

Tests

sim-core/tests/diseases.test.ts — flu recovers untreated, plague kills untreated but is survivable with care, mood/work penalties, outbreak + snapshot/hash, no double infection. Full suite + typecheck green.

🤖 Generated with Claude Code

Fixes #76 ## Summary - `content/diseases.json`: Frontier Flu, Rust Plague, Wound Infection. - Severity/immunity race every 10 ticks; treatment slows severity, bed rest and nourishment speed immunity; death at 100% severity, downed at 80%. - Doctors tend illnesses (re-tend daily); deep wounds tended poorly can become infected. - New `disease` storyteller incident (day 8+). Sick / Gravely Ill moods, work-speed penalty, bed rest. - Client Health tab: Illness section with severity & immunity meters. ## Tests `sim-core/tests/diseases.test.ts` — flu recovers untreated, plague kills untreated but is survivable with care, mood/work penalties, outbreak + snapshot/hash, no double infection. Full suite + typecheck green. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Severity vs immunity race per illness; doctors treat daily, bed rest and
food speed immunity. Outbreak incident from day 8, poor wound care can
fester. Health tab shows illness meters. Persisted and hashed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Author
Collaborator

Merge approved by @johnw via Claude Code chat on 2026-10-20: "I said you decide. Your priority order looks okay proceed, all changes approved"

Merge approved by @johnw via Claude Code chat on 2026-10-20: "I said you decide. Your priority order looks okay proceed, all changes approved"
This branch is already included in the target branch. There is nothing to merge.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin claude/76-diseases:claude/76-diseases
git switch claude/76-diseases

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch main
git merge --no-ff claude/76-diseases
git switch claude/76-diseases
git rebase main
git switch main
git merge --ff-only claude/76-diseases
git switch claude/76-diseases
git rebase main
git switch main
git merge --no-ff claude/76-diseases
git switch main
git merge --squash claude/76-diseases
git switch main
git merge --ff-only claude/76-diseases
git switch main
git merge claude/76-diseases
git push origin main
Sign in to join this conversation.
No description provided.