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

@ -64,9 +64,9 @@ pack (`assets/farm/ithappy/farm/prefabs/assets/`).
arrive at random points all along the map's edge. The rest of the farm is scenery. `Zones/` holds one `FarmZone` per area (crop field,
animal pen, supply shed, work area, woodlot, scrap heap, haystacks) with its props as children,
the 30 `CropUnit`s of the crop field, and the perimeter (fence, gap `FarmMarker`s, and
scarecrow-only `PlayerBounds` on physics layer 3). `ZoneBanner` shows the zone's name when the
scarecrow walks in. `FarmNavigation` rasterizes the farm's collision into a 0.5 m grid for
ground enemies. Details, travel times, and how to edit: [`game/LAYOUT.md`](game/LAYOUT.md).
scarecrow-only `PlayerBounds` on physics layer 3). `FarmNavigation` rasterizes the farm's
collision into a 0.5 m grid for ground enemies. Details, travel times, and how to edit:
[`game/LAYOUT.md`](game/LAYOUT.md).
`game/tools/render_overview.gd` renders a top-down picture (`--zones` draws the zones).
* **Enemies and theft** — `FarmSim` (`game/scripts/farm_sim.gd`) runs the farm's simulation in a
fixed order each physics tick and applies the phase rules.
@ -90,7 +90,8 @@ pack (`assets/farm/ithappy/farm/prefabs/assets/`).
- a "!" over a targeted item and a filling ring while it's taken;
- a token outlined in the category's color, and a badge, on the carrier or on the ground.
- **`AlertManager`** draws labeled edge-of-screen arrows: grouped, prioritized, escape alerts
escalating, at most 5 at once. **`ToastFeed`** shows event toasts.
escalating, at most 5 at once. There's no message feed: events are heard, and shown by
the alerts, the HUD, and the morning review.
- Shooting a carrier drops its loot, and walking up to it recovers it. A carrier that gets off
the farm loses it for good.
- The scarecrow's weapons (`ScarecrowCombat`): mouse or right-stick aim, hold fire. It starts
@ -291,10 +292,10 @@ game/
scenes/ main.tscn (main scene: the menus over the farm), farm.tscn, player.tscn
scripts/ player_character.gd, follow_camera.gd, campaign_controller.gd, farm_state.gd,
game_config.gd, campaign_debug.gd, farm_zones.gd, farm_zone.gd, farm_marker.gd,
crop_unit.gd, farm_navigation.gd, zone_banner.gd, farm_sim.gd, enemy_system.gd,
crop_unit.gd, farm_navigation.gd, farm_sim.gd, enemy_system.gd,
thief_behavior.gd, loot_system.gd, farm_projectiles.gd, scarecrow_combat.gd,
weapon_models.gd, pumpkin_bombs.gd,
alert_manager.gd, toast_feed.gd, scarecrow.gd, scarecrow_hud.gd,
alert_manager.gd, scarecrow.gd, scarecrow_hud.gd,
end_panel.gd, resource_store.gd, gather_node.gd, workbench.gd,
interactions.gd, resource_hud.gd, structure_system.gd, build_mode.gd,
build_hud.gd, action_edges.gd, night_plan.gd, wave_director.gd, day_night.gd,
@ -499,7 +500,7 @@ from its morning. The farm layout suite checks one non-overlapping zone per kind
60 × 60 m map, zone lookup, the 30 crop units, the farm's edge and its side names, the remaining
north and east fence with no holes outside its gaps (and the open south and west), ground-enemy
routes from anywhere on the edge to every zone, that the scarecrow can walk out through a gap,
zone-to-zone travel times (at most 12 s), and the zone banner. The theft
and zone-to-zone travel times (at most 12 s). The theft
suite runs crop theft on the real farm, by crows: claiming, flying in and landing, the steal
timer, carrying, escaping over the fence (crop lost), one hit killing a crow and dropping its crop
exactly once, touch recovery, stale handles after slot reuse, shots hitting thieves and cruising