%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
stuck(rhb,open).
stuck(rm2,open).
stuck(fom1,open).
stuck(rm3,closed).
has_leak(rom1).
h(in_state(rom1,open),0).
has_leak(rom1).
h(in_state(rom1,open),0).
has_leak(lom5).
h(in_state(lom5,open),0).
has_leak(ffm2).
h(in_state(ffm2,open),0).
stuck(rom4,open).
stuck(ffm2,closed).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

% Maneuver to be performed: plus_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).

