File tree Expand file tree Collapse file tree 1 file changed +14
-11
lines changed
Expand file tree Collapse file tree 1 file changed +14
-11
lines changed Original file line number Diff line number Diff line change 5050 create_object(WALL_BLOCKING_HEX,self_tile,self_elevation)
5151
5252procedure map_update_p_proc begin
53- if sierra_security_on then begin
54- if ((self_elevation == 0) and (map_var(MVAR_Security_Level_1) == 1))
55- or ((self_elevation == 1) and (map_var(MVAR_Security_Level_2) == 1))
56- or ( (self_elevation == 2)
57- and (global_var(GVAR_SIERRA_BASE_ENEMY) == 1) or (map_var(MVAR_Security_Level_3) == 1) )
58- or ((cur_map_index == MAP_SIERRA_4) and (map_var(MVAR_Security_Level_4) == 1))
59- then begin
53+ // If Robobrain is in party, he disables the alert almost immediately.
54+ // Party check prevents guard bots from walking out in the "almost" time.
55+ if sierra_security_on and not Robobrain_In_Party then begin
56+ if ((self_elevation == 0) and (map_var(MVAR_Security_Level_1) == 1))
57+ or ((self_elevation == 1) and (map_var(MVAR_Security_Level_2) == 1))
58+ or ( (self_elevation == 2)
59+ and (global_var(GVAR_SIERRA_BASE_ENEMY) == 1) or (map_var(MVAR_Security_Level_3) == 1)
60+ )
61+ or ((cur_map_index == MAP_SIERRA_4) and (map_var(MVAR_Security_Level_4) == 1))
62+ then begin
6063 release_bots;
61- end
62- end else begin
63- contain_bots;
64- end
64+ end
65+ end else begin
66+ contain_bots;
67+ end
6568end
You can’t perform that action at this time.
0 commit comments