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:
parent
6a9575dfe4
commit
1e91ccf594
18 changed files with 37 additions and 286 deletions
|
|
@ -66,7 +66,6 @@
|
|||
[ext_resource type="Script" uid="uid://bvvdfx5idf2u5" path="res://game/scripts/campaign_debug.gd" id="101_campaign_debug"]
|
||||
[ext_resource type="Script" uid="uid://c6auf64ahke4k" path="res://game/scripts/farm_sim.gd" id="102_farm_sim"]
|
||||
[ext_resource type="Script" uid="uid://clqvqr3bnsp5k" path="res://game/scripts/alert_manager.gd" id="103_threats"]
|
||||
[ext_resource type="Script" uid="uid://f647f4bijmdy" path="res://game/scripts/toast_feed.gd" id="104_toasts"]
|
||||
[ext_resource type="Script" uid="uid://e768baxfmoit" path="res://game/scripts/scarecrow_hud.gd" id="105_scarecrow_hud"]
|
||||
[ext_resource type="Script" uid="uid://b6pkgit825mrl" path="res://game/scripts/end_panel.gd" id="106_end_panel"]
|
||||
[ext_resource type="Script" uid="uid://dc3i7w50plvjs" path="res://game/scripts/resource_hud.gd" id="107_resource_hud"]
|
||||
|
|
@ -110,7 +109,6 @@
|
|||
[ext_resource type="PackedScene" uid="uid://chk3qbbrouuhw" path="res://assets/farm/ithappy/farm/prefabs/assets/prop/barrel_005.tscn" id="233_barrel_005"]
|
||||
[ext_resource type="Script" uid="uid://dewrnp06jkx2y" path="res://game/scripts/farm_marker.gd" id="234_farm_marker"]
|
||||
[ext_resource type="PackedScene" uid="uid://dge2nlq7ko5pj" path="res://assets/farm/ithappy/farm/prefabs/assets/prop/pointer_002.tscn" id="235_pointer_002"]
|
||||
[ext_resource type="Script" uid="uid://dbfcgsdrh5v60" path="res://game/scripts/zone_banner.gd" id="236_zone_banner"]
|
||||
[ext_resource type="PackedScene" uid="uid://cxtonxmvu4t6" path="res://assets/farm/ithappy/farm/prefabs/assets/plant/plant_001.tscn" id="237_plant_001"]
|
||||
[ext_resource type="PackedScene" uid="uid://43cd6lkj4xrm" path="res://assets/farm/ithappy/farm/prefabs/assets/plant/plant_004.tscn" id="238_plant_004"]
|
||||
[ext_resource type="PackedScene" uid="uid://1p6k2a6oiqne" path="res://assets/farm/ithappy/farm/prefabs/assets/plant/plant_005.tscn" id="239_plant_005"]
|
||||
|
|
@ -3674,11 +3672,6 @@ shape = SubResource("BoxShape3D_bounds_we")
|
|||
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 54.8, 1.5, -6.3)
|
||||
shape = SubResource("BoxShape3D_bounds_we")
|
||||
|
||||
[node name="ZoneBanner" type="CanvasLayer" parent="." unique_id=940903714 node_paths=PackedStringArray("zones", "target")]
|
||||
script = ExtResource("236_zone_banner")
|
||||
zones = NodePath("../Zones")
|
||||
target = NodePath("../Player")
|
||||
|
||||
[node name="Hud" type="CanvasLayer" parent="." unique_id=666315498]
|
||||
|
||||
[node name="Alerts" type="Control" parent="Hud" unique_id=110836126]
|
||||
|
|
@ -3691,14 +3684,6 @@ grow_vertical = 2
|
|||
mouse_filter = 2
|
||||
script = ExtResource("103_threats")
|
||||
|
||||
[node name="ToastFeed" type="VBoxContainer" parent="Hud" unique_id=1261899939]
|
||||
anchors_preset = 10
|
||||
anchor_right = 1.0
|
||||
offset_top = 152.0
|
||||
grow_horizontal = 2
|
||||
mouse_filter = 2
|
||||
script = ExtResource("104_toasts")
|
||||
|
||||
[node name="ScarecrowHud" type="Control" parent="Hud" unique_id=1120148247]
|
||||
layout_mode = 3
|
||||
anchors_preset = 15
|
||||
|
|
@ -3785,13 +3770,12 @@ grow_vertical = 2
|
|||
mouse_filter = 2
|
||||
script = ExtResource("114_upgrades")
|
||||
|
||||
[node name="FarmSim" type="Node" parent="." unique_id=117307361 node_paths=PackedStringArray("campaign", "zones", "player", "camera", "toasts", "alerts", "hud", "end_panel", "resource_hud", "build_hud", "phase_hud", "asset_hud", "review_panel", "upgrade_panel", "shed_panel", "sun", "world_environment")]
|
||||
[node name="FarmSim" type="Node" parent="." unique_id=117307361 node_paths=PackedStringArray("campaign", "zones", "player", "camera", "alerts", "hud", "end_panel", "resource_hud", "build_hud", "phase_hud", "asset_hud", "review_panel", "upgrade_panel", "shed_panel", "sun", "world_environment")]
|
||||
script = ExtResource("102_farm_sim")
|
||||
campaign = NodePath("../Campaign")
|
||||
zones = NodePath("../Zones")
|
||||
player = NodePath("../Player")
|
||||
camera = NodePath("../Camera")
|
||||
toasts = NodePath("../Hud/ToastFeed")
|
||||
alerts = NodePath("../Hud/Alerts")
|
||||
hud = NodePath("../Hud/ScarecrowHud")
|
||||
end_panel = NodePath("../Hud/EndPanel")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue