Task #23: remove the zone banner and the message feed

The user asked to drop the pop-up status lines, including replies to the
player's own actions.

- farm.tscn (edited as text): the ZoneBanner and Hud/ToastFeed nodes, their
  ext_resources, and FarmSim's toasts export are gone. zone_banner.gd and
  toast_feed.gd (with their .uid files) are deleted.
- FarmSim: no toast wiring, no arrival_message, no outside-the-fence or
  sunrise lines. Main: no lobby-failure or microphone lines; _set_hud only
  hides Hud. CampaignDebug: F2 no longer toasts (the F1 readout shows the
  scenario).
- CoopSession: the host no longer sends "toast" or "arrived" events, and
  the partner no longer handles them. The joined/left/version lines are gone
  (the partner's main menu still says why a session ended). A refused
  build request still sends the error sound. PROTOCOL stays 5: the other
  messages and records are unchanged, and _apply_event ignores unknown
  kinds, so mixed builds still work together.
- BuildMode.message is removed (no test listens to it). Interactions.message
  and UpgradePanel.message stay because tests listen to them.
- test_farm_layout: the banner checks are removed.
- RULES.md, README.md, COOP.md, and LAYOUT.md no longer describe the banner
  or toasts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Forrest 2026-10-06 16:02:37 -04:00
parent 6a9575dfe4
commit 1e91ccf594
18 changed files with 37 additions and 286 deletions

View file

@ -196,7 +196,7 @@ they roam the whole farm and are never lost on their own.
is loose where it fell and roams from there. If that's inside the pen, it's home again.
- **Leading animals home (D6).**
- Walk up to a loose animal and it follows the scarecrow, walking its trail in line, gates
included. At most 3 follow at once; a toast says so when the line is full.
included. At most 3 follow at once.
- Inside the pen it's home (penned) and stays calm for 30 s (it won't get out of an open pen).
- A follower whose scarecrow gets more than 20 m away is loose where it stands.
- Thieves can't take an animal that's following the scarecrow.
@ -205,7 +205,7 @@ they roam the whole farm and are never lost on their own.
following it) walk through the gate, but wandering animals and enemies can't.
- **The pen is open** when there's a way out that crosses no structure: nothing built yet, or a
gate or fence broken or taken down.
- A toast says so when it happens, and so does the morning review.
- The morning review says so.
- At night (night and dawn), one calm penned animal gets out of an open pen every 10 s. It's
loose at once (no longer penned): it walks out through the opening at 1.1 m/s, then roams like
any loose animal. The night's record counts it as strayed.
@ -280,8 +280,8 @@ Implemented in Step 4. The numbers are in `GameConfig`.
**2 straw**. The straw is paid when the patch completes.
- Releasing early, taking a hit, or using fear cancels it.
- Keep holding to patch again.
- It isn't available at full health, while gathering, or without the straw (a message says
what's missing).
- It isn't available at full health, while gathering, or without the straw (an error sound
plays).
- It works in any phase (D8).
- **Defeat:** at **0 HP** the scarecrow falls and the game is over at once (scarecrow first,
ahead of a stripped farm). A Game Over panel offers **Retry the night** (D9) and **New
@ -319,8 +319,7 @@ Implemented in Step 5. The numbers are in `GameConfig`; the gather points are li
- the East Road: scrap, the abandoned car;
- the South Fields: straw, on the old plowed fields.
- They grow back overnight like the others. Gathering is still daytime only.
- Building, the enemies' paths, and the night stay inside the fence. At dusk and at nightfall,
a scarecrow still outside gets a warning.
- Building, the enemies' paths, and the night stay inside the fence.
- **Work area:** press E / X at the tool table, by day, to open the upgrade menu (below).
- **Persistence:** materials (shed and pouch), used gather points, and upgrades carry over
between nights and are restored by a retry.
@ -389,7 +388,7 @@ Implemented in Step 6. The numbers are in `GameConfig`.
- A fully enclosed target always has a route, which ends at the cheapest barrier. The thief
stops there and hits it (2 damage every 1.2 s, so about 12 s for a fence) until it breaks,
then carries on. A fence breaker does the same at 8 damage every 1.5 s.
- A broken structure leaves debris and a **"Breach!"** toast.
- A broken structure leaves debris, and the breach alarm sounds.
- Enemy routes are rebuilt over a few ticks whenever structures change. There are six routes:
the farm's edge, the pen, the three shed piles, and the fence breakers' targets. Measured: about
120 ms in total over 47 ticks, at most 2.6 ms in one tick.