%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(fm4,closed).
has_leak(loi345a).
h(in_state(loi345a,open),0).
stuck(rhb,closed).
has_leak(rom4).
h(in_state(rom4,open),0).
has_leak(ffhb).
h(in_state(ffhb,open),0).
stuck(fm2,open).
stuck(loi345a,open).
stuck(fom3,closed).
stuck_at(fmc2_w60,fmc2_g2,0).
stuck_at(fmc1_w4,fmc1_g2,0).
stuck_at(fmc1_w38,fmc1_g10,0).
stuck_at(fmc3_w52,fmc3_g9,0).
stuck_at(fmc1_w6,fmc1_g4,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: plus_z
goal(T,fwd_rcs) :- time(T),
                   h(maneuver_of(plus_z,fwd_rcs),T).

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

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

