[logic]
active = sr_idle@line_0

[sr_idle@line_0]
on_info = {!black_screen +agr_actor_inside_9 =actor_on_level(agroprom_underground)} sr_idle@line_0_1 %=play_sound(agru_leader_dolg_pda:dolg:agr_duty_base_commander_name) +agr_actor_inside_10 =give_inited_task(storyline:agru_leader_dolg_task:csky) +agru_open_story_door =play_sound(snork_tunnel_distant)%

[sr_idle@line_0_1]
on_signal = sound_end | sr_idle@line_1

[sr_idle@line_1]
on_info = {+agru_leader_dolg_task_complete} sr_idle@line_2 %=give_inited_task(storyline:agru_go_out_task:csky) =play_sound(agru_kran) =add_cs_text(agru_cs_warning)%

[sr_idle@line_2]
on_info = {+agru_teleport_complete} sr_idle@line_2_1 %+agru_go_out_task_complete =give_inited_task(storyline:agr_take_reward:csky) +agr_duty_first_join +agr_duty_storyline_complete =play_sound(agr_base_commander_reward_pda:dolg:agr_duty_base_commander_name)%

[sr_idle@line_2_1]
on_info = sr_idle@line_3 %=give_inited_task(storyline:agru_find_secret_task:csky)%

[sr_idle@line_3]
on_info = {+agru_find_secret_task_complete} sr_idle@line_3_1 %=play_sound(agru_radio:stalker:sim_strelok_name)%

[sr_idle@line_3_1]
on_signal = sound_end | sr_idle@line_4

[sr_idle@line_4]
on_game_timer = 10 | sr_idle@line_5 %=play_sound(agru_leader_clear_sky_pda:csky:mar_csky_commander_name)%

[sr_idle@line_5]
on_signal = sound_end | sr_idle@line_6 %=give_inited_task(storyline:agru_go_out_end_task:csky) +agru_end_agroprom_underhround%

[sr_idle@line_6]