[PR] Prisoners, wardens & gradual recruitment #75

Open
agent-claude wants to merge 0 commits from claude/74-prisoners into main
Collaborator

Fixes #74

What

  • Capture: a RimWorld-style prisoner loop replaces instant raider recruitment. Captured raiders are tended, given a prison bed, and fed.
  • Wardens: the new Warden work type wears a prisoner's resistance down over days until they agree to join.
  • Escapes: prisoners kept outdoors try to escape far more often than those in a walled cell. Escapees turn hostile.
  • Release: right-click a prisoner to let them go.
  • Client: prisoners have an orange tint and a [P] tag, and the inspector shows their resistance.

Testing

  • New prisoners.test.ts (3 tests): the full capture → tend → bed → feed → recruit loop, escapes from open beds, and release.
  • Updated the decision test for the new Take prisoner option.
  • npm test passes (132 sim-core, 6 server), the typecheck is clean, and the client builds.

🤖 Generated with Claude Code

Fixes #74 ## What - **Capture:** a RimWorld-style prisoner loop replaces instant raider recruitment. Captured raiders are tended, given a prison bed, and fed. - **Wardens:** the new **Warden** work type wears a prisoner's resistance down over days until they agree to join. - **Escapes:** prisoners kept outdoors try to escape far more often than those in a walled cell. Escapees turn hostile. - **Release:** right-click a prisoner to let them go. - **Client:** prisoners have an orange tint and a `[P]` tag, and the inspector shows their resistance. ## Testing - New `prisoners.test.ts` (3 tests): the full capture → tend → bed → feed → recruit loop, escapes from open beds, and release. - Updated the decision test for the new **Take prisoner** option. - `npm test` passes (132 sim-core, 6 server), the typecheck is clean, and the client builds. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
- The wounded-raider decision now offers "Take prisoner": prisoners get
  resistance, are tended by doctors and carried to a bed that becomes
  their prison bed.
- New Warden work type: daily visits bring a meal and wear resistance
  down; once broken, visits can recruit the prisoner.
- Daily escape attempts (30% in the open, 3% in a walled cell); escapees
  turn hostile and flee. RELEASE_PRISONER command (right-click).
- Client: prisoner tint and [P] tag, resistance in the inspector,
  Warden column in the Work window.

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/74-prisoners:claude/74-prisoners
git switch claude/74-prisoners

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/74-prisoners
git switch claude/74-prisoners
git rebase main
git switch main
git merge --ff-only claude/74-prisoners
git switch claude/74-prisoners
git rebase main
git switch main
git merge --no-ff claude/74-prisoners
git switch main
git merge --squash claude/74-prisoners
git switch main
git merge --ff-only claude/74-prisoners
git switch main
git merge claude/74-prisoners
git push origin main
Sign in to join this conversation.
No description provided.