[logic]
active = sr_idle@wait

[sr_idle@wait]
on_actor_in_zone = lim_sr_secret_zone_1 | sr_idle@camera %=disable_ui =actor_look(lim_lamps_point)%

[sr_idle@camera]
on_game_timer = 20 | sr_idle@go_lamps %=turn_on(redlim_teleport_lamp_37:redlim_teleport_lamp_29:redlim_teleport_lamp_21) =play_sound(lamp_turn_on)%

[sr_idle@go_lamps]
on_game_timer = 20 | sr_idle@go_lamps_1 %=turn_on(redlim_teleport_lamp_36:redlim_teleport_lamp_28:redlim_teleport_lamp_20) =play_sound(lamp_turn_on)%

[sr_idle@go_lamps_1]
on_game_timer = 20 | sr_idle@go_lamps_2 %=turn_on(redlim_teleport_lamp_35:redlim_teleport_lamp_27:redlim_teleport_lamp_19) =play_sound(lamp_turn_on)%

[sr_idle@go_lamps_2]
on_game_timer = 20 | sr_idle@go_lamps_3 %=turn_on(redlim_teleport_lamp_34:redlim_teleport_lamp_26:redlim_teleport_lamp_18) =play_sound(lamp_turn_on)%

[sr_idle@go_lamps_3]
on_game_timer = 20 | sr_idle@go_lamps_4 %=enable_ui =turn_on(redlim_teleport_lamp_33:redlim_teleport_lamp_25:redlim_teleport_lamp_17) =play_sound(lamp_turn_on)%

[sr_idle@go_lamps_4]
on_game_timer = 20 | sr_idle@go_lamps_5 %=turn_on(redlim_teleport_lamp_32:redlim_teleport_lamp_24:redlim_teleport_lamp_16) =play_sound(lamp_turn_on)%

[sr_idle@go_lamps_5]
on_game_timer = 20 | sr_idle@go_lamps_6 %=turn_on(redlim_teleport_lamp_31:redlim_teleport_lamp_23:redlim_teleport_lamp_15) =play_sound(lamp_turn_on)%

[sr_idle@go_lamps_6]
on_game_timer = 20 | sr_idle@go_cod_lock %=turn_on(redlim_teleport_lamp_30:redlim_teleport_lamp_22:redlim_teleport_lamp_14) =play_sound(lamp_turn_on)%

[sr_idle@go_cod_lock]
on_info = {+start_scene_lim_teleport_x5} sr_idle@scene %=disable_ui =run_postprocess(black:3009:true) =create_squad(lim_a5_actor_squad:lim_a5) =teleport_actor(lim_a5_actor_walk:lim_a5_actor_look)%

[sr_idle@scene]
on_game_timer = 10 | sr_idle@scene_1 %=stop_postprocess(3009) =enab_actor_torch%

[sr_idle@scene_1]
on_info = {=squad_exist(lim_a5_actor_squad)} sr_idle@scene_2 %+open_door_lim_teleport_x5%

[sr_idle@scene_2]
on_info = {+close_door_lim_teleport_x5} sr_idle@scene_3

[sr_idle@scene_3]
on_game_timer = 70 | sr_idle@scene_4 %=disable_ui =run_postprocess(black:3009:true)%

[sr_idle@scene_4]
on_game_timer = 10 | sr_idle@scene_5 %=remove_squad(lim_a5_actor_squad)%

[sr_idle@scene_5]
on_info = {!squad_exist(lim_a5_actor_squad)} sr_idle@scene_6 %=cleaner_weapons -actor_arrived =teleport_actor(lim_actor_laba_walk:lim_actor_laba_look)%

[sr_idle@scene_6]
