[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {!black_screen =actor_on_level(l15u_pripyat_und) +bar_rus_degtyar_to_x5_dialog_end} sr_idle@quest_control_1 %+actor_must_save_contra%

[sr_idle@quest_control_1]
on_info  = {+actor_attack_friend_squad =actor_active_knife(wpn_knife)} sr_idle@quest_control_2 %=disable_ui() =run_postprocess(black:6127:true) =clear_all_laba_smarts%
on_info2 = {+actor_attack_friend_squad !actor_active_knife(wpn_knife)} sr_idle@nil
on_info3 = {+lab_kontra_degt_and_other_dial_end} sr_idle@quest_control_6 %=remove_squads(bar_a7_degtyrev_squad:jup_a14_lena_squad)%

[sr_idle@quest_control_2]
on_game_timer = 8 | sr_idle@quest_control_3 %=teleport_actor(x5_a2_actorgres_1_walk:x5_a2_actorgres_1_look) =restore_actor_health%

[sr_idle@quest_control_3]
on_game_timer = 10 | sr_idle@quest_control_4 %=create_squad(x5_a2_gres_squad:x5_a2) =stop_postprocess(6127)%

[sr_idle@quest_control_4]
on_info = {+squad_gres_attack_actor} sr_idle@quest_control_5

[sr_idle@quest_control_5]
on_game_timer = 30 | sr_idle@end %=enable_ui%

[sr_idle@end]
on_game_timer = 8 | sr_idle@nil %=kill_actor%

[sr_idle@quest_control_6]
on_info  = {+actor_attack_friend_squad =actor_active_knife(wpn_knife)} sr_idle@quest_control_2 %=disable_ui() =run_postprocess(black:6127:true) =clear_all_laba_smarts%
on_info2 = {+actor_attack_friend_squad !actor_active_knife(wpn_knife)} sr_idle@nil
on_info3 = {=actor_in_zone( sr_double_laba )} sr_idle@quest_control_7 %=disable_ui() =run_postprocess(black:6127:true) =teleport_actor(x5_a4_actor_1_walk:x5_a4_actor_1_look)%

[sr_idle@quest_control_7]
on_game_timer = 8 | sr_idle@quest_control_8 %=create_squad(x5_a4_agent_squad:x5_a4) =create_squad(x5_a4_agent_1_squad:x5_a4) =create_squad(x5_a4_agent_2_squad:x5_a4)%

[sr_idle@quest_control_8]
on_game_timer = 8 | sr_idle@quest_control_9 %=stop_postprocess(6127) =enable_actor_nightvision =enab_actor_torch%

[sr_idle@quest_control_9]
on_game_timer = 8 | sr_idle@quest_control_10 %=actor_look(x5_a4_stalker_5_walk) +laba_double_agent_1_go =control_hostage_squad =actor_is_thinking_only(thoughts_in_my_head_20)%

[sr_idle@quest_control_10]
on_info = {+laba_double_degtyrev_go} sr_idle@quest_control_11 %=actor_look(x5_a4_stalker_4_walk)%

[sr_idle@quest_control_11]
on_info = {+laba_double_agent_2_go} sr_idle@quest_control_12 %=actor_look(x5_a4_stalker_6_walk)%

[sr_idle@quest_control_12]
on_info = {+all_laba_double_agents_stay} sr_idle@quest_control_13 %=enable_ui +start_attack_x5_a4%

[sr_idle@quest_control_13]
on_info = {+go_to_bar_from_laba} sr_idle@nil %+actor_can_go_to_laba_teleport%

[sr_idle@nil]
