AutoElite/FlightPlan
SDxWiki

autoElite Flight Plan Subsystem

Controls normal flight from planet to planet. The player can load the flight plan with a list of planets and then execute the flight plan. When the plan is executed the Flight Computer will launch, fly to the next planet, dock, buy fuel, fly to the next planet. This will continue until the final destination planet is reached. The flight plan uses a slightly modified version of the already existant docking computer.

API

;FlyTo(PlanetName):Maps a route to the named planet, creates the flight plan and executes it. ;AddPlanetToFlightPlan(PlanetName):Adds a destination to the flight plan ;ExecuteFlightPlan():Launches the player and begins executing the flight plan ;GetFlightPlanStatus():Reports on the current status of the flight plan. ;SetFlightPlanStatus(NewStatus):Overrides the current status of the flight plan.

UI

Enhancements

TODO

;SaveFlightPlan(): Saves a flight plan so that it can be easily retrieved or shared with others. ;IsDockedAt(PlanetName): Returns true if we're docked at the named planet.