[logic]
active = sr_idle@start_game

[sr_idle@start_game]
on_info = {=actor_on_level(pripyat)} sr_idle@teleport_actor %=disable_ui =teleport_actor(actor_start_game_walk:actor_start_game_look)%

[sr_idle@teleport_actor]
on_info = {!black_screen} sr_idle@look_yarmoshuk %+actor_start_position =spawn_corpse(pri_a16_merc_stalk:pri_a16_merc_stalk_1_way)%

[sr_idle@look_yarmoshuk]
on_info = {=npc_is_moving(pri_a22_military_yarmoshuk)} sr_idle@talk_yarmoshuk %=actor_look(pri_a16_yarmoshuk_1_walk)%

[sr_idle@talk_yarmoshuk]
on_info = {+military_yarmoshuk_dialog_start} sr_idle@wait_dial_end %=enable_ui =spawn_corpse(pri_a16_merc_stalk:pri_a16_merc_stalk_3_way)%

[sr_idle@wait_dial_end]
on_info = {+military_yarmoshuk_dialog_end} sr_idle@wait_fade_to %=disable_ui =spawn_corpse(pri_a16_merc_stalk:pri_a16_merc_stalk_4_way)%

[sr_idle@wait_fade_to]
on_info = {=npc_is_moving(pri_a22_military_yarmoshuk)} sr_idle@fade_to %=actor_look(pri_a16_yarmoshuk_3_walk) =run_postprocess(fade_to_black_9_sec)%

[sr_idle@fade_to]
on_game_timer = 72 | sr_idle@teleport_actor_1 %=run_postprocess(black:3009:true) =teleport_actor(actor_start_game_1_walk:actor_start_game_1_look)%

[sr_idle@teleport_actor_1]
on_game_timer = 10 | sr_idle@talk_kovals %=stop_postprocess(3009) =spawn_corpse(pri_a16_merc_stalk:pri_a16_merc_stalk_5_way)%

[sr_idle@talk_kovals]
on_info = {+colonel_kovalski_dialog_start} sr_idle@wait_dial_kov_end %=enable_ui =spawn_corpse(pri_a16_merc_stalk:pri_a16_merc_stalk_2_way)%

[sr_idle@wait_dial_kov_end]
on_info  = {+colonel_kovalski_dialog_end} sr_idle@wait_give_task %=enable_ui%

[sr_idle@wait_give_task]
on_game_timer = 10 | sr_idle@wait_out_restr %=give_task( koval_zombied_qwest )%

[sr_idle@wait_out_restr]
on_info  = {!actor_in_zone(pri_a21_meet_kovalski_restrictor) -save_game_0} sr_idle@save %+save_game_0 =scenario_autosave( st_save_zat_a1_game_start )%
on_info2 = {+save_game_0} sr_idle@save

[sr_idle@save]
on_game_timer = 10 | sr_idle@attack_zombied %+recon_zombied_attack%

[sr_idle@attack_zombied]
on_info = {=actor_in_zone(pri_uder_sr)} sr_idle@fade_to_1 %=disable_ui =run_postprocess(fade_to_black_9_sec) +actor_in_zone_pri_uder_sr%

[sr_idle@fade_to_1]
on_game_timer = 72 | sr_idle@teleport_actor_2 %=run_postprocess(black:3009:true) =teleport_actor(actor_start_game_1_walk:actor_start_game_1_look)%

[sr_idle@teleport_actor_2]
on_game_timer = 10 | sr_idle@talk_kovals_1 %=stop_postprocess(3009)%

[sr_idle@talk_kovals_1]
on_info = {+colonel_kovalski_1_dialog_start} sr_idle@wait_dial_kov_end_1 %=enable_ui%

[sr_idle@wait_dial_kov_end_1]
on_info = {+colonel_kovalski_1_dialog_end} sr_idle@go_to_under %=enable_ui%

[sr_idle@go_to_under]
on_info = {+colonel_kovalski_flasx8_dialog_end} sr_idle@wait_spawn_spec %=create_squad(pri_a28_recon_zombied_squad:pri_a28_base) =spawn_ids_objects( pri_a15_door )%

[sr_idle@wait_spawn_spec]
on_game_timer = 7200 | {=dist_actor_to_obj_ge(pri_a17_military_colonel_kovalski:20)} sr_idle@go_to_koval %+colonel_kovalski_send_message_1 =send_message( colonel_kovalski_message_1:pri_a17_military_colonel_kovalski:pri_a17_military_colonel_kovalski_name:15000 )%

[sr_idle@go_to_koval]
on_info = {+tarasov_gazol_dialog_end} sr_idle@fade_to_2 %=disable_ui =run_postprocess(fade_to_black_9_sec) +actor_go_to_kbo%

[sr_idle@fade_to_2]
on_game_timer = 72 | sr_idle@teleport_actor_3 %=run_postprocess(black:3009:true) =teleport_actor(actor_kbo_walk:actor_kbo_look)%

[sr_idle@teleport_actor_3]
on_game_timer = 10 | sr_idle@wait_taras %=stop_postprocess(3009) +actor_neer_generator%

[sr_idle@wait_taras]
on_info = {=npc_is_moving(pri_b306_military_captain_tarasov)} sr_idle@look_at_taras %=actor_look(pri_b306_tarasov_1_walk)%

[sr_idle@look_at_taras]
on_info = {+stop_engine_generator} sr_idle@go_to_baza %=actor_look(pri_b306_tarasov_walk) =run_postprocess(fade_to_black_9_sec)%

[sr_idle@go_to_baza]
on_game_timer = 72 | sr_idle@teleport_actor_4 %=run_postprocess(black:3009:true) =teleport_actor(actor_after_pri_b306_walk:actor_after_pri_b306_look)%

[sr_idle@teleport_actor_4]
on_game_timer = 10 | sr_idle@remove_tarasov %=stop_postprocess(3009) =enable_ui%

[sr_idle@remove_tarasov]
on_game_timer = 10 | sr_idle@talk_kovals_2 %=remove_ids_objects(pri_b306_kanistra) =remove_squads( pri_b306_tarasov_squad ) +actor_return_pri_b306%

[sr_idle@talk_kovals_2]
on_info = {+colonel_kovalski_final_dialog_end} sr_idle@surge %=start_surge +scene_makdm_surge_started%

[sr_idle@surge]
on_game_timer = 50 | {=surge_complete} sr_idle@nil %-scene_makdm_surge_started%

[sr_idle@nil]

