;----логика заданий: куда пойти, рестрикторы и всё такое
[logic] 
active = sr_idle@yan_actor_go_base_science ;agru_go_out_end_task_complete

[sr_idle@yan_actor_go_base_science]
on_info = {+yan_ready_actor_cut2} sr_idle@yan_quest_doc ;%=give_inited_task(storyline:yan_actor_go_base_science:stalker)%

[sr_idle@yan_quest_doc]
on_info = {+yan_quest_doc} sr_idle@yan_otnesti_doc_saharavy  %=give_inited_task(storyline:yan_quest_doc:stalker)%

[sr_idle@yan_otnesti_doc_saharavy]
on_info = {+yan_otnesti_doc_saharavy} sr_idle@yan_quest_levsha %=give_inited_task(storyline:yan_otnesti_doc_saharavy:stalker) -yan_vzyal_quest_doc%

[sr_idle@yan_quest_levsha]
on_info = {+yan_quest_levsha} sr_idle@yan_ystanovka %=give_inited_task(storyline:yan_quest_levsha:stalker)%

[sr_idle@yan_ystanovka]
on_info = {+yan_proriv_k_ystanovke} sr_idle@yan_actor_start_to_go %=give_inited_task(storyline:yan_proriv_k_ystanovke:stalker)%

;-------выдача задания "основная сюжетная линия"{+yan_main_quest_line} sr_idle@yan_actor_start_to_go
[sr_idle@yan_main_quest_line]
on_info = {+yan_ready_vikl_cut6} sr_idle@yan_actor_start_to_go %-yan_ready_vikl_cut6 =give_inited_task(storyline:yan_main_quest_line:stalker)%
on_info2 = {+yan_stop_spawn_cut6} sr_idle@yan_actor_go_to_red_forest

;-------выдача задания "отразить первую волну"
[sr_idle@yan_actor_start_to_go]
on_info = {+yan_actor_start_to_go} sr_idle@yan_actor_destroy_wave1 %=give_inited_task(storyline:yan_repair_defend:stalker)%
on_info2 = {+yan_stop_spawn_cut6} sr_idle@yan_actor_go_to_red_forest

;------выдача задания "отрази первую волну"(отметка на минимапе)
[sr_idle@yan_actor_destroy_wave1]
on_info = {+yan_hold_position_cut6} sr_idle@yan_actor_destroy_wave2 %=give_inited_task(storyline:yan_actor_destroy_wave1:stalker)%
on_info2 = {+yan_stop_spawn_cut6} sr_idle@yan_actor_go_to_red_forest

;------выдача задания "отрази вторую волну"(отметка на минимапе)
[sr_idle@yan_actor_destroy_wave2]
on_info = {+yan_wave_zombie2_cut6} sr_idle@yan_actor_destroy_wave1 %-yan_hold_position_cut6 =give_inited_task(storyline:yan_actor_destroy_wave2:stalker)%
on_info2 = {+yan_stop_spawn_cut6} sr_idle@yan_actor_go_to_red_forest
;on_info3 = {+yan_hold_position_cut6} %=give_inited_task(storyline:yan_main_quest_line:stalker)%

;------выдача задания "идти в красный лес"
[sr_idle@yan_actor_go_to_red_forest]
on_info = {+yan_go_to_red_forest_cut6} sr_idle@stop %=give_inited_task(storyline:yan_actor_go_to_red_forest:stalker)%

[sr_idle@stop]