%%%%%%%%%      Initial Situation       %%%%%%%%%%
%%%%%%%%% FAULTS and OTHER EXCEPTIONS  %%%%%%%%%%
has_leak(lohb).
h(in_state(lohb,open),0).
stuck(fha,closed).
has_leak(lom2).
h(in_state(lom2,open),0).
stuck(lom4,open).
has_leak(roi345a).
h(in_state(roi345a,open),0).
stuck(ffm4,closed).
stuck(lfm4,open).
has_leak(rom4).
h(in_state(rom4,open),0).
stuck(ri345a,closed).
stuck(lom3,closed).
%%%%%%%%%%%%     GOALS     %%%%%%%%%%%%%

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

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

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

