97 lines
6.4 KiB
Markdown
97 lines
6.4 KiB
Markdown
# Alien overhaul — follow-ups (outside docs/tasks.md scope)
|
||
|
||
Ideas and gaps noticed during the overhaul that no task in `docs/tasks.md` covers. Not scheduled;
|
||
promote to a task only with the user's say-so.
|
||
|
||
## Docs sweep after renames/rebalances
|
||
Batch 1 workers changed in-game text only, so the player-facing docs still describe the old names
|
||
and numbers (kept out of Batch 1 so no two workers edited `game/RULES.md` at once):
|
||
- `game/RULES.md` — sprint 1.6x / 3 s (lines ~263, ~331); "Slowing trap" / "Automated defense"
|
||
(~288, ~333-334, ~361-362); thief / fence breaker enemy descriptions, alert examples, night
|
||
titles.
|
||
- `game/README.md`, `game/PLAYTEST.md`, `game/first-game.md` — structure names
|
||
(`game/first-game-plan.md` is a historical design doc; probably leave it).
|
||
|
||
- `game/scripts/campaign_debug.gd` — the developer-only F1/F2 debug readout still says
|
||
"Thieves", "thief/crow/breaker" (#14 left dev-facing text alone).
|
||
- Code comments with example output ("50 crows, 20 thieves and 6 fence breakers" in
|
||
`assessment.gd`, `phase_hud.gd`, `farm_sim.gd`) now describe stale wording.
|
||
|
||
- `game/LAYOUT.md` — the Animal Pen row still describes the brown paddock fence and the starting
|
||
gate (both removed by #11).
|
||
|
||
## Playtest after #11 (player-built pen)
|
||
- A thief escaping a fully fenced pen breaks whichever ring piece is nearest its route to the map
|
||
edge (the escape field is global), not necessarily the gate — the old scene fence funnelled
|
||
every escape through the gate.
|
||
- `FarmSim._breaker_goals()` treats every structure within `guard_range` of a zone as "guarding"
|
||
it, so a full 24-piece player-built pen gives fence breakers up to 24 guarding targets before
|
||
they turn on the scarecrow (it used to be the one gate). test_roster builds only the gate to keep
|
||
its old narrative; real nights with a full ring are untested. Possible tuning: count only gates,
|
||
or cap guarding goals per zone.
|
||
|
||
## Weapons (#7)
|
||
- Only `weapon_1`/`weapon_2` input actions exist, so the Potato Cannon, Shurikens, Propane Torch,
|
||
and Alien Ray are reachable only by Tab / d-pad cycling. Direct keys need new input actions
|
||
(`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.
|
||
- `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.
|
||
|
||
## Workbench (#9)
|
||
- `FarmNavigation._rasterize_into()` now tags a structure id even over cells already blocked by
|
||
scene collision (needed because the granted Workbench sits on its table prop's own collider).
|
||
Side effect: a player structure built flush against a wall also tags the wall cells in its
|
||
inflate band — movement is unchanged (still blocked), only barrier detection sees it. Cleaner
|
||
long-term: exclude the Workbench table's collider from the nav bake so the structure owns its cells.
|
||
- The Workbench is unconditionally a fence-breaker goal while unbroken (it never falls within
|
||
`guard_range` of the pen/shed/crop fields). Playtest whether breakers trekking to the house is fun.
|
||
- `game/LAYOUT.md`'s Work Area row (8…14, −24…−15) is stale: the zone sits at ~(28.6, −25.3).
|
||
|
||
## Structure levels (#10)
|
||
- Upgrading a turret/tar patch is daytime-only (a judgment call — repair stays any-phase). Flip by
|
||
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.
|
||
- 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.
|
||
|
||
## Loose animals (#12)
|
||
- A pre-overhaul save (FarmState v4) migrates with every surviving animal penned — but since #11
|
||
the pen has no scene fence, so unless that save's structures already enclose the pen, those
|
||
animals stand in an open pen and stray at night. Only affects saves made before the overhaul.
|
||
|
||
## 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.
|
||
- Night plans scale counts per night, not per group: the smallest UFO group at the default
|
||
`wave_count_scale` 7 is 7 UFOs.
|
||
|
||
## 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.
|
||
- **Fear upgrade**: the spec has one; the game has two (`wide_fear` +30% radius, `quick_fear` 20%
|
||
faster recharge). Keep the split or consolidate — undecided.
|
||
- **Rapid Fire scope**: live value is 3.0x (`game_config.tres`), matching the spec, but it only
|
||
applies to the Corn Shooter (`requires: corn_shooter`). Undecided whether it should cover the new
|
||
weapons from #7. Also `game_config.gd`'s default (1.333, "fires a third faster") is stale versus
|
||
the `.tres` (3.0, "fires 3x faster!!!!!") — harmless at runtime, confusing to read.
|
||
|
||
## Housekeeping
|
||
- Flaky check: test_roster "'All three' sends in crows, thieves, and a fence breaker" fails in
|
||
roughly a third to a half of runs on unchanged code (seen at 7fce796, 814449a, 5b72e83; isolated
|
||
reruns pass). The debug scenario's enemy-type roll is time-seeded (`randomize()`); seeding it in
|
||
the test would make it deterministic.
|
||
- Plan says 23 `fence_024` instances under `Zones/AnimalPen`; `farm.tscn` contains 24 `fence_024`
|
||
references in total — #11's explorer should confirm which belong to the pen.
|
||
- Baseline before the overhaul (2026-10-05, `fb90f3e`): 891 checks pass, 25 fail, plus one
|
||
`SCRIPT ERROR: Invalid access to property or key 'outside' on a base object of type 'Nil'`
|
||
during `test_economy`. Up from 22-23 on 2026-10-04 — the extra failures arrived with the
|
||
committed co-op/retune work, cause not investigated.
|