diff --git a/alien-overhaul-plan.md b/alien-overhaul-plan.md index f399dac..4138963 100644 --- a/alien-overhaul-plan.md +++ b/alien-overhaul-plan.md @@ -34,9 +34,15 @@ so `+2` from `straw_stuffing` already lands exactly on the spec's "5 HP." (verified against code 2026-10-05)**: this is not a new buildable type. `FarmZone.Kind.ANIMAL_PEN` already exists and its rect already drives nav/flow-fields (`farm_sim.gd:123,143,162,175-176`); `AnimalSystem.update_pen_open()` (`animal_system.gd:203`) already implements "open if there's a way - out crossing no structure" — it just has nothing real to check today because the pen's fence in - `farm.tscn` (23 `fence_024` instances under `Zones/AnimalPen`) is static decoration, not - `StructureSystem` entries. The actual work is: delete the decorative fence meshes, let players build + out crossing no structure". **Second correction (2026-10-05, Batch 2 exploration)**: the pen's fence + in `farm.tscn` (23 `fence_024` instances under `Zones/AnimalPen`) is *not* inert decoration — each + instance carries a `StaticBody3D` collider, and `FarmNavigation.build()` marks every StaticBody3D + cell as permanently blocked. So today the pen is a real, indestructible enclosure whose only + opening is closed by the starting `gate` structure (`GameConfig.start_structures`, x=4 z=-6), and + `update_pen_open()` already works against it. Existing tests rely on that pre-built pen + (`test_targets.gd` "the pen's gate shuts the pen", `_pen_by_day`, `_breach`; `test_structures.gd` + fence-on-pen-edge "Blocked" check and `_pen_breach`), so #11 must rework those tests, and must + decide what happens to the starting gate. The actual work is: delete the fence_024 instances, let players build ordinary `fence`/`gate` structures (already in `StructureSystem.ORDER`) around the existing pen rect, and set animals' initial status to the existing DROPPED/loose state (not HOME/"wander", which already means something else — in-pen grazing — in `animal_system.gd`). No new structure type, no new @@ -91,6 +97,11 @@ or during their task: just a numeric default. **Resolved 2026-10-05: (a)** — inject Workbench into `StructureSystem.structures` via a non-purchased, unvalidated `place()` variant so it reuses the existing damage/repair/targeting/save pipeline. +- **Animal Pen starting gate + pen tests (found 2026-10-05, blocks #11)**: once the collidable + fence_024 ring is deleted, the starting gate (`start_structures`) stands alone in open ground. + Decide whether #11 removes it (fully player-built pen, matching Decision 4) or keeps it as a free + starter piece. Either way 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. - **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