Plan: #12 can't start animals DROPPED as-is (they run off the map); needs a design decision

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-05 14:38:42 -04:00
parent c0a740860c
commit 8c9097d75e

View file

@ -103,6 +103,17 @@ or during their task:
Decide whether #11 removes it (fully player-built pen, matching Decision 4) or keeps it as a free
starter piece. **Resolved 2026-10-05: remove it** — the pen is fully player-built. The existing pen tests listed under Decision 4 must build a fence/gate
ring in their setup so they keep covering pen open/closed, straying, and breach behavior.
- **#12 "start loose" can't reuse DROPPED as-is (found 2026-10-05, blocks #12)**: in
`animal_system.gd` `step()`, a DROPPED animal inside the pen rect is immediately turned back to
HOME (`in_pen(pos) → loot.animal_home()`), with or without a built ring; outside the rect it runs
`_stray()`, which walks it down `escape_field` to the nearest farm edge at `stray_speed` (1.1 m/s)
in every phase and calls `loot.animal_escaped()` → LOST on arrival. So "set initial status to
DROPPED" either does nothing (animals at their pen spots) or loses the whole herd within about a
minute of day 1 (animals placed outside). Also, `LootSystem.sync_from_state()` resets every
non-lost animal to HOME each morning and FarmState only persists `lost_animals` — so "loose, not
reset into the pen each morning" needs a persisted per-animal penned/loose record in FarmState.
Needs a design decision (calm "loose" grazing behavior vs. literal DROPPED) before #12 is
dispatched.
- **Supply Shed as a real purchase UI**: the review flagged that `shed_stock.gd` is currently just
a stockpile zone, not a store — all purchasing happens through the Workbench's `UpgradePanel`.
Proceeding on the assumption that Supply Shed becomes its own purchase surface for weapons/items