%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(lfi345a).
h(in_state(lfi345a,open),0).
has_leak(rfhb).
h(in_state(rfhb,open),0).
stuck(ri345a,open).
stuck(lha,open).
stuck(li12,open).
has_leak(lom4).
h(in_state(lom4,open),0).
stuck(ffhb,closed).
stuck(fom4,open).
has_leak(lfha).
h(in_state(lfha,open),0).
stuck(li345a,open).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: minus_z

goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(minus_z,fwd_rcs),T).

goal(T,left_rcs) :- time(T),
                   h(maneuver_of(minus_z,left_rcs),T).

goal(T,right_rcs) :- time(T),
                   h(maneuver_of(minus_z,right_rcs),T).

