[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info  = {=actor_in_zone(labx6_gg_attack_sr)} sr_idle@quest_control_1 %=actor_is_wounded =play_sound_attack_gg%

[sr_idle@quest_control_1]
on_game_timer = 10 | sr_idle@quest_control_2 %=run_postprocess(fade_to_black_9_sec) =volume_off =create_squad(labx6_a2_killer_squad:labx6_a2)%

[sr_idle@quest_control_2]
on_game_timer = 72 | sr_idle@quest_control_3 %-tunnel_lab_1_physic_door_0_key_done =run_postprocess(black:3009:true) =disable_ui%

[sr_idle@quest_control_3]
on_info = sr_idle@quest_control_4 %=transfer_all_to_box(x6_a2_box) =remove_ids_objects(tunnel_lab_1_physic_door_0)%

[sr_idle@quest_control_4]
on_game_timer = 20 | sr_idle@quest_control_5 %=teleport_actor(labx6_a2_actor_1_walk:labx6_a2_actor_1_look)%

[sr_idle@quest_control_5]
on_game_timer = 10 | sr_idle@quest_control_6 %=volume_on =stop_postprocess(3009) =enable_actor_torch%

[sr_idle@quest_control_6]
on_game_timer = 10 | sr_idle@quest_control_7 %+labx6_a2_actor_attack%

[sr_idle@quest_control_7]
on_info = {+labx6_a2_actor_attack_1} sr_idle@quest_control_8 %=volume_off%

[sr_idle@quest_control_8]
on_game_timer = 30 | sr_idle@quest_control_10 %=run_postprocess(black:3009:true)%

[sr_idle@quest_control_10]
on_game_timer = 20 | sr_idle@quest_control_11 %=teleport_actor(labx6_a2_actor_2_walk:labx6_a2_actor_2_look)%

[sr_idle@quest_control_11]
on_game_timer = 10 | sr_idle@talk %=volume_on =stop_postprocess(3009) =enable_ui +start_labx6_dialog =remove_squads(labx6_a2_killer_squad)%

[sr_idle@talk]
on_info  = {+yan_labx16_switcher_primary_on} sr_idle@nil %=create_squad(labx6_a2_killer_squad:labx6_a2)%
on_info2 = {+actor_attack_labx6_squad -yan_labx16_switcher_primary_on} sr_idle@quest_control_12

[sr_idle@quest_control_12]
on_game_timer = 20 | sr_idle@nil %=kill_actor%

[sr_idle@nil]
