%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(roi345a).
h(in_state(roi345a,open),0).
stuck(fi345,closed).
has_leak(rfm2).
h(in_state(rfm2,open),0).
stuck(fm2,closed).
has_leak(rox12).
h(in_state(rox12,open),0).
has_leak(fom1).
h(in_state(fom1,open),0).
stuck(lx12,closed).
stuck(lfx12,open).
stuck_at(fmc1_w44,fmc1_g8,1).
stuck_at(fmc1_w44,fmc1_g8,0).
stuck_at(fmc2_w39,fmc2_g2,1).
stuck_at(fmc2_w52,fmc2_g9,0).
stuck_at(fmc3_w6,fmc3_g4,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).

