%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(ffm1).
h(in_state(ffm1,open),0).
stuck(rm1,closed).
stuck(rm3,closed).
stuck(lx345,closed).
has_leak(rfx345).
h(in_state(rfx345,open),0).
has_leak(ffhb).
h(in_state(ffhb,open),0).
has_leak(lom4).
h(in_state(lom4,open),0).
stuck(fm2,open).
stuck_at(fmc3_w44,fmc3_g8,1).
stuck_at(fmc2_w4,fmc2_g2,0).
stuck_at(fmc1_w60,fmc1_g11,0).
stuck_at(fmc1_w39,fmc1_g2,0).
stuck_at(fmc1_w60,fmc1_g2,1).
%%%%%%%%%%%%     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).

