diff --git a/client/tests/visual_scenarios.gd b/client/tests/visual_scenarios.gd index 88add8ecf..2b14eb1b2 100644 --- a/client/tests/visual_scenarios.gd +++ b/client/tests/visual_scenarios.gd @@ -93,6 +93,22 @@ func apply_setup(scenario_name: String, tree_root: Node) -> bool: # player spawns at Hub (50,58). Captures real fog pipeline output. pass + "implant_pending": + # #960: overlay the diegetic Layer-1 "generating" indicator for + # visual sign-off. Loaded via load() — class_name isn't available + # in -s mode (per this file's header note). + var pending_script: GDScript = load("res://ui/implant/implant_pending.gd") + var theme_res: Resource = load("res://ui/implant/default_implant.tres") + var layer := CanvasLayer.new() + layer.layer = 100 + tree_root.add_child(layer) + var indicator: Control = pending_script.new() + indicator.name = "VisualImplantPending" + layer.add_child(indicator) + indicator.apply_implant_theme(theme_res) + indicator.position = Vector2(370.0, 240.0) # centered at 960x540 + indicator.start("GENERATING LAYER 1") + _: push_warning("VisualScenarios: unknown scenario '%s'" % scenario_name) return false diff --git a/tests/visual.json b/tests/visual.json index 4d7e92772..1686b8d17 100644 --- a/tests/visual.json +++ b/tests/visual.json @@ -68,6 +68,10 @@ "ticks": 10, "live": true, "description": "Live server: Hub spawn fog — real pipeline regression test" + }, + "implant_pending": { + "ticks": 1, + "description": "ImplantPending — diegetic Layer-1 generating indicator (#960)" } }, "flows": {