[logic]
active = sr_idle@start

[sr_idle@start]
on_info = {=actor_in_zone(sv_a8_zone_binocular_sr) +a10_mironyk_break_dialog_1} %=activate_weapon_slot(5)% sr_idle@time

[sr_idle@time]
on_game_timer = 200 | %=create_squad(freedom_box_squad:a8_sv_terrain)% sr_idle@remove
on_info = {!actor_in_zone(sv_a8_zone_binocular_sr)} sr_idle@start

[sr_idle@remove]
on_info = {+a8_freedom_in_angar_and_remove_lost} %=remove_squad(freedom_box_squad)% sr_idle@zone
on_info2 = {+a10_mironyk_break_dialog_3} sr_idle@mironyk

[sr_idle@mironyk]
on_info = {+a7_koldun_break_dialog_1} %=remove_squad(a10_dolg_mironyk_squad)% sr_idle@mironyk_spawn

[sr_idle@mironyk_spawn]
on_info = {+a10_grif_break_dialog_4} %=spawn_corpse(a10_dolg_mironyk:a8_sv_terrain_angar_freedom_baza_spawn) =create_squad(freedom_angar_squad:a8_sv_terrain) =spawn_object(sv_a8_mironyk_1_pda:a8_sv_terrain_angar_mironyk_pda_spawn)% sr_idle@spawn_bomb

[sr_idle@spawn_bomb]
on_info = {=actor_has_item(sv_a8_mironyk_1_pda)} %=spawn_object_in(pri_a25_explosive_charge_item:a8_mironyk_rukzak_bobm) +sv_a8_mironyk_dead_pda_info% sr_idle@has_bomb

[sr_idle@has_bomb]
on_info = {=actor_has_item(pri_a25_explosive_charge_item)} %+a8_angar_explosive_charge_item% sr_idle@nil

[sr_idle@zone]
on_info = {=actor_in_zone(sv_a8_lost_angar_sr)} %=disable_ui =run_postprocess(black:1996:true) =teleport_actor(a8_sv_terrain_actor_angar_dialog_mironyk_walk:a8_sv_terrain_actor_angar_dialog_mironyk_look) =activate_weapon_slot(5)% sr_idle@messeg_actor

[sr_idle@messeg_actor]
on_game_timer = 30 | %=messeg_actor_1% sr_idle@messeg_mironyk

[sr_idle@messeg_mironyk]
on_game_timer = 80 | %=messeg_mironyk_1% sr_idle@spawn_mironyk

[sr_idle@spawn_mironyk]
on_game_timer = 30 | %+messeg_mironyk_1 =teleport_squad(a10_dolg_mironyk_squad:a8_sv_terrain_angar_mironyk_spawn) =stop_postprocess(1996)% sr_idle@spawn

[sr_idle@spawn]
on_info = {+a10_mironyk_break_dialog_2} %=spawn_corpse(sim_freedom_1:a8_sv_terrain_freedom_dead_spawn) =spawn_object_in(sv_a8_mironyk_2_pda:a10_dolg_mironyk)% sr_idle@info

[sr_idle@info]
on_info = {+a8_mironyk_see_death_freedom} sr_idle@freedom
on_info2 = {+a8_actor_looser_go_out_angar} sr_idle@nil

[sr_idle@freedom]
on_game_timer = 40 | %=play_sound(a8_freedom_podstava_box)% sr_idle@signal

[sr_idle@signal]
on_signal = sound_end | %+a8_freedom_oblava_box% sr_idle@out

[sr_idle@out]
on_info = {+a8_mironyk_help_me_dinamite} sr_idle@time_out
on_info2 = {+a8_actor_looser_go_out_angar} sr_idle@nil

[sr_idle@time_out]
on_game_timer = 70 | %+a8_mironyk_stay_dinamite_out_angar% sr_idle@bomb
on_info = {+a8_actor_looser_go_out_angar} sr_idle@nil

[sr_idle@bomb]
on_info = {=sv_a8_freedom_in_bomb_has} %=barrel_explode(pri_a25_antenna_grenade)% sr_idle@nil
on_info2 = {+a10_dolg_mironyk_death +a8_mironyk_stay_dinamite_out_angar} sr_idle@nil
on_info3 = {=sv_a8_freedom_bomb_has +freedom_angar_death} sr_idle@nil
on_info4 = {+a8_actor_looser_go_out_angar} sr_idle@nil

[sr_idle@nil]