[logic]
active = sr_idle@wait_actor

[sr_idle@wait_actor]
on_info = {+tele_start_1_used} sr_idle@wait_tutor

[sr_idle@wait_tutor]
on_info = {=actor_in_zone(con_mon_sr_tele_start_2)} sr_idle@run_tutor %=run_tutorial( con_mon_generator_2_tutor )%

[sr_idle@run_tutor]
on_info  = { !actor_in_zone( con_mon_sr_tele_start_2 ) } sr_idle@wait_tutor %=stop_tutorial%
on_info2 = {+tele_start_2_used} sr_idle@wait_teleport %=stop_tutorial =spawn_ids_objects(mon_gen_2:mon_gen_4:mon_gen_6) =yan_gluk%

[sr_idle@wait_teleport]
on_timer = 1000 | sr_idle@wait_deactivate %=play_sound_looped(x16_hum_2)%

[sr_idle@wait_deactivate]
on_info = {-tele_start_1_used} sr_idle@wait_actor %=stop_sound_looped%
