followups: wave-1 notes for #16-#21; LAYOUT: loose animals are no longer lost at the edge

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-06 13:23:51 -04:00
parent 287b6ac6cc
commit 24899cac90
2 changed files with 63 additions and 8 deletions

View file

@ -36,8 +36,8 @@ and numbers (kept out of Batch 1 so no two workers edited `game/RULES.md` at onc
(`weapon_3..6`) in project.godot.
- Co-op: `FarmProjectiles.advance_replica()` moves the partner's view of every shot at the global
`projectile_speed`, not the new per-shot speed — cosmetic only (damage resolves on the host).
- The Propane Torch replays the shared "kick" attack animation on every damage tick while held
(a wobble, not a flame effect) — placeholder until it gets real visuals.
- ~~The Propane Torch replays the shared "kick" attack animation on every damage tick while held
(a wobble, not a flame effect) — placeholder until it gets real visuals.~~ Resolved by #17.
- `shuriken_count` > 1 fires every shuriken along the same line (no spread), though its comment
says "tunable up for a spread". Default is 1, so no gameplay impact today.
@ -56,11 +56,11 @@ and numbers (kept out of Batch 1 so no two workers edited `game/RULES.md` at onc
dropping the `campaign.is_daytime()` checks in `interactions.gd`'s upgrade path.
## Crop fields (#13)
- `ThiefBehavior.field_rect` is now the bounding box of all three crop fields (it spans the pen
and the open yard), so a crop-seeking ground thief anywhere in it with a clear line goes straight
instead of following the flow field. Per-field rects would be more precise.
- ~~`ThiefBehavior.field_rect` is now the bounding box of all three crop fields.~~ Resolved by #20
(`field_rects`, one per field).
- test_farm_layout's MAX_TRAVEL sanity bound went 12 → 13 s (Lettuce Field ↔ Scrap Heap is 12.6 s).
- `game/LAYOUT.md`'s zone table and "Crop units" section don't list the two new fields.
- ~~`game/LAYOUT.md`'s zone table and "Crop units" section don't list the two new fields.~~
Resolved by #20.
## Loose animals (#12)
- A pre-overhaul save (FarmState v4) migrates with every surviving animal penned — but since #11
@ -70,10 +70,64 @@ and numbers (kept out of Batch 1 so no two workers edited `game/RULES.md` at onc
## UFOs (#15)
- `game/resources/scenarios/ufos.tres` exists but isn't in `CampaignDebug.SCENARIOS` (F2 cycling):
adding it means updating test_roster's hardcoded 6-scenario check.
- UFOs render with the crow's placeholder bird mesh and reuse the crow's arrival sound.
- ~~UFOs render with the crow's placeholder bird mesh and reuse the crow's arrival sound.~~
Resolved by #19 (saucer mesh, own renderer/shader, `ufo_arrive` cue).
- Night plans scale counts per night, not per group: the smallest UFO group at the default
`wave_count_scale` 7 is 7 UFOs.
## Post-overhaul fix batch (#16–#22, 2026-10-06)
Co-op / pouch (#16):
- test_coop's loopback drops every n-th message by a running count that includes reliable ones,
so new traffic shifts which messages drop (#16 had to reset it in `_crowd`). Seeded random
drops, or counting only unreliable messages, would be less brittle.
- On the partner's machine `_count_removal` still records kill events into local state until the
next sync (same pattern as the goop roll #16 guarded).
- Pumpkin bomb and turret kills credit goop to the nearest scarecrow (plan default); the thrower
could be carried on the bomb instead.
- The partner panel could show the friend's pouch total.
- A host reopening a co-op save banks P2's pouch into the shed at load, even if P2 rejoins that
morning (nothing is lost).
- `game/RULES.md` says the pouch holds 15; the config is 8 (16 upgraded). Stale before #16.
Torch (#17):
- Add a permanent partner-view torch check to test_coop `_weapons_shown` (left out to avoid
colliding with #16/#22 in that file).
- On the partner's machine the event-lit flame's hold (0.3 s) is only 0.1 s longer than the event
cadence; network jitter could make it flicker. Lengthen the hold for event-lit effects if seen.
- The band starts at the scarecrow (so a thief in melee range burns), making the burned area right
in front about 2.4 m wide. Tune if it feels generous.
- The night look's global desaturation mutes the flame at night.
UFO (#19):
- `README.md` (~line 74) still says "one MultiMesh for the flyers" and "three types".
- Both flyer batches draw every active slot (most scaled to nothing); pack each type into its own
dense block if big hordes show vertex cost.
- Polish: a belly glow or tractor-beam cone during the dive; a synthesized UFO warble instead of
the Kenney sweep.
South crop fields (#20):
- The Radar minimap (`radar_hud.gd` `_to_map`, 190×190 square) now squashes the 60×80 map.
- `README.md` (~lines 62, 499) and the `game_config.gd` radar comment (~line 313) still say 60×60.
- Enemies and dropped crop tokens sit at y ≈ 0–0.4, so they sink into the 0.2–0.65 m soil (the
sunflower field already had this).
- The ~2.1 m corn may hide thieves or the scarecrow from the camera; the fields are 35–40 m from
the start — playtest the balance.
- East-side spawns between z 18 and 38 are funnelled round the old outer fence at x ≈ 48.2;
consider trimming that stretch of the spawn ring.
Roaming animals (#21):
- Integration fix 55ebae4 sends a thief straight at loose loot in clear view at any distance.
An out-of-sight loose target still makes it walk the pen's flow field and give up after 10 s,
and `_claim_home` picks a random animal (possibly the farthest). Preferring visible or nearer
loose animals would make animal thieves more purposeful.
- No screen-edge alert or tutorial tip for loose animals (the "loose" arrow fires only for dropped
items now).
- Stale text: `farm_state.gd` (~line 70) says loose animals graze outside the pen;
`soak_night.gd`'s scripted guard only chases dropped loot; RULES says "at most 3 follow" but
`max_following_animals` is 5.
- The loose spot at (12, 0.5) is 2 m from the sunflower field.
## Spec items from the review with no task
- **Straw Bandages**: the spec's upgrade exists as "Straw stuffing" (+2 max HP, 3 → 5, numbers
already match). Display rename not in any task; heal-on-purchase unspecified.