- Create binding for FlightPlan mod: https://forum.kerbalspaceprogram.com/index.php?/topic/216393-flight-plan/
use { Vessel } from ksp::vessel
use { flight_plan } from ksp::addons
use { CONSOLE } from ksp::console
use { current_time } from ksp::game
pub fn main_flight(vessel: Vessel) -> Result<Unit, string> = {
const fp = flight_plan().ok_or("Flight plan not available")?
CONSOLE.print_line("FP: Version " + fp.version)
fp.circularize(current_time() + 300)
}