plan: post-overhaul fix batch #16-#22 (docs/plan.md, docs/tasks.md)

Seven playtest issues traced to root causes: per-player co-op pouch,
Propane Torch band of fire, Alien Ray beam, primitive UFO model, crop
fields on the south soil with their own plant models, free-roaming
animals, and the joining player's store.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-06 12:40:04 -04:00
parent decf96bcb1
commit 26b735d3e6
2 changed files with 486 additions and 0 deletions

View file

@ -167,3 +167,56 @@ this overhaul; judge tasks by *new* FAIL lines versus the baseline, not by a zer
logic.
*Acceptance:* new test confirming animals spawn loose at campaign start, can be led into a
freshly-enclosed pen, and behave per existing containment/escape/theft rules once penned.
# Post-overhaul fix batch (2026-10-06)
Root causes, approach, files, and decisions live in `docs/plan.md` (#16–#22). Wave 1 runs in
parallel; wave 2 waits on the task named.
## Wave 1
- [ ] **#16 Per-player pouch in co-op.** [user item 1] Blocks #22.
Shed stays shared; pouch becomes one per avatar slot (shared `pouch_capacity`, so one
`pouch_upgrade` grows both). Every gather/deposit/pay path takes the acting slot. HUD shows the
local pouch. FarmState v7 + migration, CoopSession PROTOCOL 4.
*Acceptance:* test_coop proves separate pouches, no cross-banking in the shed, own-pouch paying;
v6 save migrates; solo unchanged; no new FAIL lines.
- [ ] **#17 Propane Torch sprays a band of fire.** [user item 2] Blocks #18.
Rectangular band hit test from the muzzle (`torch_width`, longer `torch_range`, drop
`torch_arc`); particle flame lit while fire is held (also on the partner's screen via the
existing attack events); own sound.
*Acceptance:* test_weapons band in/out/behind checks, sustained hold ticks and stops on release,
flame visible only while held.
- [ ] **#19 UFO model built from primitives.** [user item 4]
Merged primitive saucer ArrayMesh drawn by a second HordeRenderer with its own shader (vertex
colors, no flap, keeps hit flash/night glow).
*Acceptance:* test_roster: UFOs render in the UFO renderer, not the bird one; crows unchanged.
- [ ] **#20 New crop fields on the south soil, with their own plant models.** [user item 5]
Lettuce field → SW soil, corn field → SE soil; playable map extends south (z −45…35); SouthFields
hay points move out; per-field thief rects; lettuce/corn use their own plant prefabs and crop
tokens; LAYOUT.md updated.
*Acceptance:* test_farm_layout (fields on soil, inside map, no overlaps, not sunflower models);
test_theft staged-field cases pass.
- [ ] **#21 Animals roam the whole farm, never lost on their own.** [user item 6]
No self-escape to the edge; dropped/leash-broken animals and animals leaving an open pen become
LOOSE; loose animals roam the playable map day and night; only an Alien carrying one off the
map loses it.
*Acceptance:* reworked test_targets loose/drop/breach cases; test_structures pen checks pass.
## Wave 2
- [ ] **#18 Alien Ray fires a beam.** [user item 3] Blocked by #17.
Held beam, ticked damage, clipped at walls, pierces enemies along it; emissive beam mesh; config
range/width/tick/pierce replace speed/lifetime.
*Acceptance:* test_weapons same-step far hit, wall blocks, two-in-line both hit, beam visible
only while held.
- [ ] **#22 Joining player can open the store.** [user item 7] Blocked by #16.
Failing test_coop case first (both shops), then fix: client shop prompt (`_gather_node`),
host keeps a partner's press pending until focus is valid, interact closes the client menu,
partner purchases equip on the buyer's slot and pay from the buyer's pouch.
*Acceptance:* new test_coop cases pass for shed and Workbench; two-process smoke opens the shed.