Under the class design tab, having a class with a bridge selected still has the "No bridge (required for ships of 500 tons or more)" text show in the bottom right panel even though the class has a bridge assigned.
No bridge text even though a bridge is assigned
Summary
Class Design tab still shows the "No bridge (required for ships of 500 tons or more)" warning in the bottom-right panel even when the class has a bridge assigned (always, engine 0.1.0-alpha). Source: ShipClassCalculator.GetDesignWarnings is_bridge stat lookup on the component stats dict.
Description
Steps to reproduce
- Open Class Design, select a a class with a bridge, observe "No bridge (required for ships of 500 tons or more)" text appearing.
Expected: "No bridge (required for ships of 500 tons or more)" should not be displayed.
Frequency: Always
Activity 7
- Issue opened by pascal
- Triage by pascal
- Status open → triaged by pascal
- Triage by pascal
- Status triaged → in_progress by pascal
-
Ppascal
Fixed on branch
fix/prot1-bridge-warning, commit fe520114f — bridge detection now acceptsis_bridge(legacy),command_rating(JSON-seeded designs), or ComponentTypecommand_control. Regression tests added; ShipClassCalculatorTests 97/97, related ClassDesign fixtures 255/255. - Status in_progress → resolved by pascal
Sign in to join the discussion.