%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(lfx12).
h(in_state(lfx12,open),0).
stuck(lm2,open).
has_leak(ffm3).
h(in_state(ffm3,open),0).
stuck(fi345,open).
stuck(rm1,closed).
stuck(rx12,closed).
stuck(lm4,open).
stuck(fom1,open).
stuck(rm1,open).
has_leak(fom1).
h(in_state(fom1,open),0).
stuck_at(fmc1_w28,fmc1_g11,1).
stuck_at(fmc2_w60,fmc2_g11,1).
stuck_at(fmc3_w16,fmc3_g9,1).
%%%%%%%%%%%%     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).

