[logic]
active = sr_idle@wait

[sr_idle@wait]
on_info = {+start_ivan_detectiv_quest} sr_idle@quest_timer

[sr_idle@quest_timer]
on_game_timer = 86400 | {-start_detective_final_dialog} sr_idle@quest_control_0 %+ivan_detectiv_quest_no_time -start_ivan_detectiv_quest%
on_info  = {+bar_ivan_det_one_dial_end} sr_idle@quest_control_0
on_info2 = {+bar_ivan_det_dial_1_end}   sr_idle@quest_control_0

[sr_idle@quest_control_0]
on_info = {=squad_exist(radar_a1_night_squad)} sr_idle@quest_control_1 %=create_squad(bar_a1_fp_dolg_squad:bar_a1)%

[sr_idle@quest_control_1]
on_game_timer = 30 | {!black_screen} sr_idle@quest_control_2 %=give_task( fplay_tim_quest ) +bar_tim_chess_dialog_yes%

[sr_idle@quest_control_2]
on_game_timer = 30 | sr_idle@quest_control_3 %=give_task( fplay_elena_quest ) +fplay_elena_quest_start%

[sr_idle@quest_control_3]
on_game_timer = 30 | sr_idle@nil %=give_task( fplay_masalet_quest ) +fplay_masalet_quest_start%

[sr_idle@nil]
