[logic]
active = sr_idle@info

[sr_idle@info]
on_info = {+b10_hunter_break_dialog_7} sr_idle@spawn_1
on_info2 = {+b10_hunter_break_dialog_8} sr_idle@spawn_1
on_info3 = {+b10_hunter_break_dialog_9} sr_idle@spawn_1

[sr_idle@spawn_1]
on_info = {~40} %=spawn_object(jup_b1_half_artifact:zagadka_treh_spawn_varios_rare_art_1)% sr_idle@spawn_2, {~60} %=spawn_object(jup_b1_half_artifact:zagadka_treh_spawn_varios_rare_art_4)% sr_idle@spawn_2

[sr_idle@spawn_2]
on_info = {~40} %=spawn_object(af_quest_b14_twisted:zagadka_treh_spawn_varios_rare_art_2)% sr_idle@have, {~60} %=spawn_object(af_quest_b14_twisted:zagadka_treh_spawn_varios_rare_art_3)% sr_idle@have

[sr_idle@have]
on_info = {=actor_has_item(af_quest_b14_twisted)} %=remove_squad(sim_hunter_baza_art_squad)% sr_idle@have_two
on_info2 = {+b10_hunter_break_dialog_8} %+a2_trade_rare_art_dialog% sr_idle@next_info
on_info3 = {+b10_hunter_break_dialog_9} %+a2_trade_rare_art_dialog% sr_idle@next_info

[sr_idle@next_info]
on_info = {+b10_hunter_break_dialog_8 +b10_hunter_break_dialog_13 +b10_hunter_break_dialog_14} sr_idle@next_time
on_info2 = {+b10_hunter_break_dialog_12 +b10_hunter_break_dialog_13 +b10_hunter_break_dialog_14} sr_idle@next_time

[sr_idle@next_time]
on_game_timer = 5000 | {!actor_in_zone(hunter_both_chanel_sr)} %=remove_squad(sim_hunter_baza_art_squad)% sr_idle@next_spawn

[sr_idle@next_spawn]
on_info = {=actor_in_zone(hunter_both_chanel_sr)} %=spawn_object(sv_secret_three_compass:secret_three_ritual_rare_art_spawn_1) =spawn_object(sv_secret_three_half:secret_three_ritual_rare_art_spawn_3) =spawn_object(sv_secret_three_twisted:secret_three_ritual_rare_art_spawn_2) =spawn_corpse(sim_hunter_2:a6_sv_terrain_artmen_go_under_anomal_walk) =spawn_object_in(detector_scientific:sim_hunter_2) =spawn_object_in(sv_a6_not_scary_pda:sim_hunter_2)% sr_idle@nil

[sr_idle@have_two]
on_info = {=actor_has_item(jup_b1_half_artifact)} sr_idle@time

[sr_idle@time]
on_game_timer = 30 | %=messeg_actor_3 =clear_smart_terrain(a6_sv_terrain)% sr_idle@time_2

[sr_idle@time_2]
on_game_timer = 30 | %=messeg_hunter_4 +messeg_hunter_4 =create_squad(sim_hunter_baza_art_squad:a6_sv_terrain) =spawn_object(sv_secret_three_compass:secret_three_ritual_rare_art_spawn_1) =spawn_object_in(detector_scientific:sim_hunter_2) =spawn_object_in(sv_a6_not_scary_pda:sim_hunter_2)% sr_idle@info_2

[sr_idle@info_2]
on_info = {+b10_hunter_break_dialog_10} sr_idle@zone

[sr_idle@zone]
on_info = {=actor_in_zone(sv_secret_three_ritual_rare_half_sr) =actor_has_item(jup_b1_half_artifact)} sr_idle@tutorial %=run_tutorial(sv_secret_three_ritual_rare_half)%
on_info2 = {+sv_secret_three_ritual_rare_half} sr_idle@zone_2

[sr_idle@tutorial]
on_info = {!actor_in_zone(sv_secret_three_ritual_rare_half_sr)} sr_idle@start %=stop_tutorial%
on_info2 = {+sv_secret_three_ritual_rare_half} sr_idle@zone_2

[sr_idle@zone_2]
on_info = {=actor_in_zone(sv_secret_three_ritual_rare_twisted_sr) =actor_has_item(af_quest_b14_twisted)} sr_idle@tutorial_2 %=run_tutorial(sv_secret_three_ritual_rare_twisted)%
on_info2 = {+sv_secret_three_ritual_rare_twisted} sr_idle@time_3

[sr_idle@tutorial_2]
on_info = {!actor_in_zone(sv_secret_three_ritual_rare_twisted_sr)} sr_idle@start %=stop_tutorial%
on_info2 = {+sv_secret_three_ritual_rare_twisted} sr_idle@process_time

[sr_idle@process_time]
on_game_timer = 30 | %=disable_ui =run_postprocess(fade_in)% sr_idle@teleport

[sr_idle@teleport]
on_game_timer = 15 | %=teleport_actor(a6_sv_teleport_actor_about_ritual_1_walk:a6_sv_teleport_actor_about_ritual_1_look) +a6_sv_secret_art_fire_life_info_1% sr_idle@look

[sr_idle@look]
on_game_timer = 60 | %=run_postprocess(fade_in)% sr_idle@teleport_1

[sr_idle@teleport_1]
on_game_timer = 15 | %=teleport_actor(a6_sv_teleport_actor_about_ritual_2_walk:a6_sv_teleport_actor_about_ritual_2_look) +a6_sv_secret_art_fire_life_info_2% sr_idle@look_1

[sr_idle@look_1]
on_game_timer = 60 | %=run_postprocess(fade_in)% sr_idle@teleport_2

[sr_idle@teleport_2]
on_game_timer = 15 | %=teleport_actor(a6_sv_teleport_actor_about_ritual_3_walk:a6_sv_teleport_actor_about_ritual_3_look)% sr_idle@time_4

[sr_idle@time_4]
on_info = %=play_sound(a6_spatial_bubble_rupture)%
on_game_timer = 45 | %=start_secret_zone =teleport_actor(a6_sv_teleport_actor_about_ritual_3_walk:a6_sv_teleport_actor_about_ritual_3_look)% sr_particle@particle

[sr_particle@particle]
name = anomaly2\anomaly_spatial_bubble_idle
path = a6_sv_ritual_anomal_bubble_way
mode = 2
looped = true
on_info = %=play_sound(a6_spatial_bubble_static)%
on_game_timer = 10 | %=stop_secret_zone =enable_ui +a6_spatial_anomal_ritual_end%
on_info2 = {+a6_artmen_anomal_kill_him} sr_particle@rupture_particle

[sr_particle@rupture_particle]
name = anomaly2\anomaly_spatial_bubble_rupture
path = a6_sv_ritual_anomal_bubble_way
mode = 2
looped = false
on_game_timer = 45 | %=play_sound(a6_particle_anomal_kill_stalker) +a6_particle_anomal_kill_stalker%
on_signal = particle_end | sr_idle@nil

[sr_idle@nil]