[PR] Fix sleep bouncing at 95% rest #242
No reviewers
Labels
No labels
agent/claude
agent/gemini
agent/kimi
area/assets
area/client
area/server
area/sim-core
priority/high
priority/low
priority/medium
status/blocked
status/needs-review
type/bug
type/chore
type/docs
type/feature
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
game-dev/RicosWorld!242
Loading…
Reference in a new issue
No description provided.
Delete branch "claude/241-sleepfix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #241.
Reported by johnw: "Our colonists keep 'sliding' back to sleep when they are already 95% rested."
Cause: colonists woke at 95% rest, but the Sleep schedule block sent anyone below 95% back to bed. Rest dips under 95% about ten seconds after waking, so they looped forever. The client also drew the lying pose for the whole walk to bed, which is the "slide".
Fix (RimWorld behaviour):
Docs: parity Rest row, GAME_DESIGN §86. Tests:
tests/sleep-schedule.test.ts; the room-quality test now starts the sleeper near 100%.🤖 Generated with Claude Code
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"