; Spaceship commands are placed in a separate script file (called a "flight plan") 
; and a reference is put in the scenario file. 

; Flight plans begin with a header section that describes some ship metadata ...

name             = Durga

; some characteristics ... 

max-acceleration = 10    ; m/s^2 (a)
max-fuel         = 100   ; arbitrary units (u)
fuel-cons-rate   = 0.1   ; u / s / a 

; and some initial conditions ...

flight-state     = falling    ; Either landed or falling 
position         = 150e6 0 0  
; If falling, this is position relative to Solar System bary-center
; If landed, this is lat longitude relative to a body, and would look like
; position  = 399 38.728521 -77.251199  
; 399 being the SPK ID for earth

velocity         = 10 0 0     ; Initial velocity vector


; This is followed by a plan section which is a list of actions. 
; Each action has a time stamp followed by the name of the action and any
; arguments it takes. Like so

; <timestamp> <action name> <argument1> <argument2> ...

; The timestamp is the julian date

; An action will only happen after it's listed time. Actions happen 
; sequentially as they appear in the file. 
; It is illegal to have out of order time stamps in a flight plan. 

plan = 

2458248.5 hi-there

2458248.5 set-attitude 1 0 0
2458248.5 set-accel    0.5
2458258.5 set-accel    0.0
2458278.5 set-attitude 0 0 1
2458278.5 set-accel    0.5
2458288.5 set-accel    0.0
Complete flight plan for spaceship Durga
Complete flight plan for spaceship Durga
