ba0c10d54ece650ae0d0a8e94a50cc74672c0504
Blueprint capture and the Create Blueprint enable check previously resolved each selected id via findBuilding() only, silently dropping construction sites. Extract the capture logic into two testable lib/sim helpers (captureBlueprintFromSelection, selectionHasPlaceableBuilding) that resolve each id as an operational building or a construction site alike, reusing readBuildingConfig for recipe/schematic/layout/splitter config. BlueprintPanel now delegates to them. Add regression tests covering site capture, site recipe capture, mixed operational+site selection, and the placeable-selection predicate. Implements REQ-UI-BLUEPRINT-CREATE / REQ-UI-BLUEPRINT-STORAGE. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01DZR44tA8sn4dPqDzAVXyps
Description
No description provided
Languages
C++
96%
CMake
2.2%
Python
1.2%
C
0.6%