plan: thirty nights + no pop-up lines (#23-#28)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-06 15:52:02 -04:00
parent dcfc8544b9
commit 6a9575dfe4
2 changed files with 358 additions and 361 deletions

View file

@ -232,3 +232,53 @@ parallel; wave 2 waits on the task named.
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.
# Thirty nights — task list (2026-10-06)
Narrative, decisions, defaults, and file pointers are in `docs/plan.md` ("Harvest Season — thirty
nights"). The user's calls: 30 nights, phase lengths unchanged, permanent losses, upgrade tiers +
timed shed stock, and no pop-up status lines.
## Wave 1
- [ ] **#23 Remove the zone banner and the message feed.** [user: pop-ups]
Delete `ZoneBanner` and `ToastFeed` (nodes, scripts, `.uid` files), every `toasts.push`, the
`FarmSim.toasts` export, and the co-op `"toast"`/`"arrived"` events (PROTOCOL bump if the wire
format changes). Docs follow.
*Acceptance:* no new FAIL lines; `rg "toasts|ToastFeed|ZoneBanner" game` finds no code;
coop_smoke passes.
- [ ] **#24 Nights by count, per-night enemy speed and HP.** Blocks #25, #27.
`night_plan_path(n)` for 1..`campaign_nights` (stays 5 here); `NightPlan.enemy_speed_scale` /
`enemy_hp_scale` applied at nightfall (HP floored, never below the type's own); HP bars use each
enemy's own full HP (host and replica); debug F3 / Shift+F3 jump the morning by a day.
*Acceptance:* scaling-on-spawn checks (crow 1→1, thief 3→4, breaker 6→9 at 1.6); default plans
unchanged; F3 keeps the farm; no new FAIL lines.
- [ ] **#26 Upgrade tiers and timed shed stock.**
`"levels"`, per-level `"mult"`/`"add"`/`"texts"`, `upgrade_cost_growth` 1.8,
`upgrade_level_days` [1, 8, 16], shed `"from_day"`; nine stat upgrades get 3 levels (level 1 =
the user's current values); panel shows levels and arrival days; soak buyer buys levels.
*Acceptance:* tests for cost growth, day gates, stacked effects, hidden stock, save/retry/co-op
levels, old saves as level 1; no new FAIL lines.
## Wave 2
- [ ] **#25 Arrivals wait for a free character.** Blocked by #24.
`EnemySystem.can_spawn`; due ground arrivals wait for a free character without holding back
other types; dropped and counted at sunrise; `GameConfig.character_pool` (48/20 for now).
*Acceptance:* full-pool wait, crows unaffected, sunrise drop counted; no new FAIL lines.
- [ ] **#27 The thirty nights.** Blocked by #24.
Old night 5 → `night_30.tres` (enlarged finale, user's title/hint kept); new night 5 "Lights in
the sky"; `game/tools/make_nights.gd` writes nights 6–29 from the plan's recipe;
`campaign_nights = 30`; RULES/README/PLAYTEST updated.
*Acceptance:* 30 valid plans at played scales; roster intro order; night 30 longest; the
back-to-back test samples nights and still reaches the farmers' return; no new FAIL lines.
## Wave 3
- [ ] **#28 Thirty-night soak, pool sizes, and a balance report.** Blocked by #23–#27.
`soak_night.gd --mode=cycle --cycles=30` × 3 seeds; headless tick cost at pools 48/20 vs 64/28;
`docs/thirty-night-soak.md`.
*Acceptance:* the report exists with per-night numbers; no crash, stuck queue, or invalid plan.