[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {+fplay_denis_dialog_end} sr_idle@quest_control_1 %=spawn_object(jup_b32_ph_scanner:den_scan_art_way) =spawn_object(jup_b209_ph_scanner:den_scan_anom_way)%

[sr_idle@quest_control_1]
on_info = {=actor_in_zone(radar_scanner_res)} sr_idle@quest_control_2 %=run_tutorial( sr_tutor_scan_res )%

[sr_idle@quest_control_2]
on_info  = {+sr_tutor_scan_res_done} sr_idle@quest_control_3 %=stop_tutorial%
on_info2 = { !actor_in_zone( radar_scanner_res ) } sr_idle@quest_control_1 %=stop_tutorial%

[sr_idle@quest_control_3]
on_game_timer = 30 | sr_idle@quest_control_4 %=give_task( fplay_scan_anom_quest )%

[sr_idle@quest_control_4]
on_game_timer = 30 | sr_idle@quest_control_5 %=give_task( fplay_scan_art_quest )%

[sr_idle@quest_control_5]
on_game_timer = 16 | sr_idle@nil %=destroy_object%

[sr_idle@nil]
