%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(rox12).
h(in_state(rox12,open),0).
has_leak(rfha).
h(in_state(rfha,open),0).
has_leak(fom3).
h(in_state(fom3,open),0).
stuck(lfm4,open).
has_leak(fom4).
h(in_state(fom4,open),0).
has_leak(foha).
h(in_state(foha,open),0).
stuck(rx12,open).
stuck(lfha,open).
stuck(lx345,open).
stuck(ffha,closed).
stuck_at(fmc4_w60,fmc4_g3,1).
stuck_at(fmc3_w60,fmc3_g3,1).
stuck_at(fmc3_w41,fmc3_g4,0).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

