[logic]
active = sr_idle@zone

[sr_idle@zone]
on_actor_in_zone = sr_teleport_zone | sr_idle@wait

[sr_idle@wait]
on_info  = {+start_radar} sr_idle@start_teleport_radar %=play_sound(jup_b16_oasis_noise)%
on_info2 = {+start_military} sr_idle@start_teleport_military %=play_sound(jup_b16_oasis_noise)%
on_info3 = {+start_limansk} sr_idle@start_teleport_limansk %=play_sound(jup_b16_oasis_noise)%
on_info4 = {+start_darkscape} sr_idle@start_teleport_darkscape %=play_sound(jup_b16_oasis_noise)%
on_info5 = {+start_aver} sr_idle@start_teleport_aver %=play_sound(jup_b16_oasis_noise)%
on_info6 = {+start_chaes_1} sr_idle@start_teleport_chaes_1 %=play_sound(jup_b16_oasis_noise)%
on_info7 = {+start_x_5} sr_idle@start_teleport_x_5 %=play_sound(jup_b16_oasis_noise)%
on_info8 = {+start_redlim} sr_idle@start_teleport_redlim %=play_sound(jup_b16_oasis_noise)%
;
;Телепортация на Радар - fake - на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_radar]
on_game_timer = 8 | sr_idle@radar_start %-radar_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@radar_start]
on_game_timer = 40 | sr_idle@radar_continue %-radar_y =run_postprocess(black:6127:true)%

[sr_idle@radar_continue]
on_game_timer = 8 | sr_idle@wait_1 %-start_radar +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Телепортация на Склады - fake - на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_military]
on_game_timer = 8 | sr_idle@military_start %-military_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@military_start]
on_game_timer = 40 | sr_idle@military_continue %-military_y =run_postprocess(black:6127:true)%

[sr_idle@military_continue]
on_game_timer = 8 | sr_idle@wait_2 %-start_military +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Телепортация в Лиманск - fake-на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_limansk]
on_game_timer = 8 | sr_idle@limansk_start %-limansk_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@limansk_start]
on_game_timer = 40 | sr_idle@limansk_continue %-limansk_y =run_postprocess(black:6127:true)%

[sr_idle@limansk_continue]
on_game_timer = 8 | sr_idle@wait_3 %-start_limansk +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Телепортация в Тёмную Лощину - fake - на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_darkscape]
on_game_timer = 8 | sr_idle@darkscape_start %-darkscape_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@darkscape_start]
on_game_timer = 40 | sr_idle@darkscape_continue %-darkscape_y =run_postprocess(black:6127:true)%

[sr_idle@darkscape_continue]
on_game_timer = 8 | sr_idle@wait_4 %-start_darkscape +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Телепортация в Лесную Чащу - fake - на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_aver]
on_game_timer = 8 | sr_idle@aver_start %-aver_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@aver_start]
on_game_timer = 40 | sr_idle@aver_continue %-aver_y =run_postprocess(black:6127:true)%

[sr_idle@aver_continue]
on_game_timer = 8 | sr_idle@wait_5 %-start_aver +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Телепортация на ЧАЭС - fake -на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_chaes_1]
on_game_timer = 8 | sr_idle@chaes_1_start %-chaes_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@chaes_1_start]
on_game_timer = 40 | sr_idle@chaes_1_continue %-chaes_y =run_postprocess(black:6127:true)%

[sr_idle@chaes_1_continue]
on_game_timer = 8 | sr_idle@wait_6 %-start_chaes_1 +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Телепортация в подземку - fake - на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_x_5]
on_game_timer = 8 | sr_idle@x_5_start %-laba_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@x_5_start]
on_game_timer = 40 | sr_idle@x_5_continue %-laba_y =run_postprocess(black:6127:true)%

[sr_idle@x_5_continue]
on_game_timer = 8 | sr_idle@wait_7 %-start_x_5 +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Телепортация в Лиманск_Рыжий Лес - fake - на самом деле восстанавливаем телепорт
;-------------------------------------------------------------------------------
[sr_idle@start_teleport_redlim]
on_game_timer = 8 | sr_idle@redlim_start %-redlim_x =run_postprocess(blink) =teleport_actor(teleport_actor_walk:teleport_actor_look) =disable_ui()%

[sr_idle@redlim_start]
on_game_timer = 40 | sr_idle@redlim_continue %-redlim_y =run_postprocess(black:6127:true)%

[sr_idle@redlim_continue]
on_game_timer = 8 | sr_idle@wait_8 %-start_redlim +effects_stop =play_sound(jup_b16_oasis_noise)%
;
;Здесь зачистка Зоны от бесхозного оружия и непосредственно телепортация - real - прямо в левел_ченжер
;-------------------------------------------------------------------------------
[sr_idle@wait_1]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_radar_walk:actor_radar_look)%

[sr_idle@wait_2]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_military_walk:actor_military_look)%

[sr_idle@wait_3]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_limansk_walk:actor_limansk_look)%

[sr_idle@wait_4]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_darkscape_walk:actor_darkscape_look)%

[sr_idle@wait_5]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_aver_walk:actor_aver_look)%

[sr_idle@wait_6]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_chaes_walk:actor_chaes_look)%

[sr_idle@wait_7]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_laba_walk:actor_laba_look)%

[sr_idle@wait_8]
on_signal = sound_end | sr_idle@wait_10 %=cleaner_weapons =teleport_actor(actor_redlim_walk:actor_redlim_look)%

[sr_idle@wait_10]
on_actor_not_in_zone = sr_teleport_zone | sr_idle@zone
