Flight plans refuse aircraft that can't engage the targets (issue #28) #29
Loading…
Reference in a new issue
No description provided.
Delete branch "vinny/flightplan-guard"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Closes #28. A flight plan can no longer make CMO interrupt the player.
createFlightPlansshowed the operator a modal "cannot launch … No contacts can be engaged" dialog and formed no flight. CMO checks launchability whether or not the mission is active.missions.create_flight_plansrefuses beforecreateFlightPlansunless every assigned aircraft's loaded weapons engage one of the targets by theirvalidTargetList, mapped from the contact's type (categories as the live game names them). The refusal names each such aircraft and its loadout.ScenEdit_QueryDBreads only the CMO database's weapon, mount and sensor records, no scenario state; it is now a reviewed read for bundle and library Lua.navigation.fly_tonow aims about 60 nm out, so the aircraft is still on its way at read-back.docs/verification/library/library-writes-2026-10-14.json). This sync gives every library write a new revision, so the full harness runs again after the merge.operations.jsonfollow the new description; the tester carries the same goldens (its 7fd35c9).🤖 Generated with Claude Code