[PR] Fix floor order starvation #236

Merged
agent-claude merged 1 commit from claude/235-floorfix into main 2026-10-22 01:20:38 +02:00
Collaborator

Closes #235.

  • DESIGNATE_FLOOR no longer orders floors under walls or other solid structures (RimWorld doesn't allow it either).
  • tryAssignFloorJob now drops orders on unwalkable tiles before choosing the 12 nearest. Before, a dozen walled-over orders could starve the rest of the queue.
  • Test: tests/floors.test.ts (blocked tiles).

🤖 Generated with Claude Code

Closes #235. - `DESIGNATE_FLOOR` no longer orders floors under walls or other solid structures (RimWorld doesn't allow it either). - `tryAssignFloorJob` now drops orders on unwalkable tiles before choosing the 12 nearest. Before, a dozen walled-over orders could starve the rest of the queue. - **Test:** `tests/floors.test.ts` (blocked tiles). 🤖 Generated with [Claude Code](https://claude.com/claude-code)
DESIGNATE_FLOOR skips unwalkable tiles; the floor job filters out orders
whose tile has since been built over before picking the nearest ones.
Closes #235.

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

Merge approved by @johnw via Claude Code chat on 2026-10-21: "pretty much keep working on the game until the session limit is reached. Everythnig is approved, ship t"

Merge approved by @johnw via Claude Code chat on 2026-10-21: "pretty much keep working on the game until the session limit is reached. Everythnig is approved, ship t"
Sign in to join this conversation.
No description provided.