%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(loi345b,closed).
stuck(lhb,closed).
stuck(rm5,closed).
has_leak(foha).
h(in_state(foha,open),0).
stuck(lm2,closed).
stuck(ri12,closed).
stuck(ri345a,open).
stuck(fm4,closed).
stuck(rom5,closed).
stuck(rm5,open).
stuck_at(fmc3_w53,fmc3_g3,0).
stuck_at(fmc4_w52,fmc4_g9,0).
stuck_at(fmc1_w28,fmc1_g11,0).
stuck_at(fmc1_w53,fmc1_g3,0).
stuck_at(fmc1_w52,fmc1_g9,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

