Inventory grid harness: the cargo state follows a thermal view on the same panel (kills cargo-thermal-kept); the mutation script can run named switch mutants

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-12-01 05:23:14 +01:00
commit 799b4c4c9f
2 changed files with 6 additions and 4 deletions

View file

@ -914,6 +914,8 @@ public static class InventoryGridParityCapture
var iconMultiplier = panel.NodePrototype.GetComponent<InventoryCell>().Icon.pixelsPerUnitMultiplier;
var grid = panel.Grid;
state.Setup?.Invoke(panel, fixture);
// A bay shown after the thermal view on the same panel must not draw pipes.
if (state.Cargo) panel.Display(fixture.Ship, false, true);
if (state.Cargo) panel.Display(fixture.Ship.CargoBays.First());
else panel.Display(fixture.Ship, state.Hud, state.Thermal);
MutateLook(panel, state);