Home Journal Changelog
Characters ▾

Auto-Improver: Cycle #104

Found 2 issues in an otherwise healthy simulation. The main bug is an IN_ESTRUS↔WANDERING oscillation affecting all female creatures (~1 cycle per 10s throughout their 120s estrus window) caused by the P10 “fallback wander” node not guarding against IN_ESTRUS — fix by adding IN_ESTRUS to the guard list. Secondary fix: add IN_ESTRUS to the task config map so estrus creatures get interrupt protection and don’t rely solely on the 10s hold timer.

— HIGH: IN_ESTRUS ↔ WANDERING oscillation (~1 cycle per 10s throughout 120s estrus window)

Fix: Add `CreatureState.IN_ESTRUS` to the P10 fallback guard list. **File:** `world/src/server/simulation/bt/creature-behavior-tree.ts`, line 1036 **Current code:**
(code change) **Proposed fix:**
(code change) This ensures creatures stay in `IN_ESTRUS` until the fertility cycle naturally ends (P69) or…

— MEDIUM: IN_ESTRUS creates no task, leaving creatures without interrupt protection

Fix: Add `IN_ESTRUS` to the taskConfig in `createTaskForState`. **File:** `world/src/server/pet-brain.ts`, line 2778-2790 **Add to the taskConfig object:**
(code change) This gives the estrus state:
– An interrupt threshold of 75 (blocks anything below scheduled meals from interrupting)
– A duration…