[logic]
active = sr_idle@start

[sr_idle@start]
on_info = {+pri_a20_talk_with_colonel_complete -pri_a18_use_idol_done} sr_idle@sokolov_vano_recreate_1

[sr_idle@sokolov_vano_recreate_1]
on_info = {-pri_a18_sokolov_exist =squad_exist(pri_a16_sokolov_squad)} %=remove_squad(pri_a16_sokolov_squad) +pri_a18_sokolov_exist%
on_info2 = {-pri_a18_vano_exist =squad_exist(pri_a16_vano_squad)} %=remove_squad(pri_a16_vano_squad) +pri_a18_vano_exist%
on_info3 = sr_idle@sokolov_vano_recreate_2

[sr_idle@sokolov_vano_recreate_2]
on_info = {+leader_achievement_gained +pri_a18_sokolov_exist -pri_a18_once_sokolov_create} %=create_squad(pri_a16_sokolov_squad_strong:pri_b35_mercs) +pri_a18_once_sokolov_create%, {+pri_a18_sokolov_exist -pri_a18_once_sokolov_create} %=create_squad(pri_a16_sokolov_squad:pri_b35_mercs) +pri_a18_once_sokolov_create% 
on_info2 = {+leader_achievement_gained +pri_a18_vano_exist -pri_a18_once_vano_create} %=create_squad(pri_a16_vano_squad_strong:pri_b35_mercs) +pri_a18_once_vano_create%, {+pri_a18_vano_exist -pri_a18_once_vano_create} %=create_squad(pri_a16_vano_squad:pri_b35_mercs) +pri_a18_once_vano_create%
on_info3 = sr_idle@skelja_merkulov_recreate_1 %+pri_a18_skelja_merkulov_can_work%




[sr_idle@skelja_merkulov_recreate_1]
on_info = {+pri_a18_sokolov_exist -pri_a18_vano_exist =squad_exist(pri_a22_military_merkulov_squad) -pri_a18_once_merkulov_remove} %=remove_squad(pri_a22_military_merkulov_squad) +pri_a18_once_merkulov_remove%
on_info2 = {+pri_a18_vano_exist -pri_a18_sokolov_exist =squad_exist(pri_a22_military_skelja_squad) -pri_a18_once_skelja_remove} %=remove_squad(pri_a22_military_skelja_squad) +pri_a18_once_skelja_remove%
on_info3 = {-pri_a18_vano_exist -pri_a18_sokolov_exist =squad_exist(pri_a22_military_merkulov_squad) =squad_exist(pri_a22_military_skelja_squad) -pri_a18_once_merkulov_and_skelja_remove} %=remove_squad(pri_a22_military_merkulov_squad) =remove_squad(pri_a22_military_skelja_squad) +pri_a18_once_merkulov_and_skelja_remove%
on_info4 = sr_idle@skelja_merkulov_recreate_2
 
[sr_idle@skelja_merkulov_recreate_2]
on_info = {+leader_achievement_gained +pri_a18_once_merkulov_remove -pri_a18_once_merkulov_create} %=create_squad(pri_a22_military_merkulov_squad_strong:pri_b35_mercs) +pri_a18_once_merkulov_create%, {+pri_a18_once_merkulov_remove -pri_a18_once_merkulov_create} %=create_squad(pri_a22_military_merkulov_squad:pri_b35_mercs) +pri_a18_once_merkulov_create% 
on_info2 = {+leader_achievement_gained +pri_a18_once_skelja_remove -pri_a18_once_skelja_create} %=create_squad(pri_a22_military_skelja_squad_strong:pri_b35_mercs) +pri_a18_once_skelja_create%, {+pri_a18_once_skelja_remove -pri_a18_once_skelja_create} %=create_squad(pri_a22_military_skelja_squad:pri_b35_mercs) +pri_a18_once_skelja_create% 
on_info3 = {+leader_achievement_gained +pri_a18_once_merkulov_and_skelja_remove -pri_a18_once_merkulov_create -pri_a18_once_skelja_create} %=create_squad(pri_a22_military_merkulov_squad_strong:pri_b35_mercs) =create_squad(pri_a22_military_skelja_squad_strong:pri_b35_mercs) +pri_a18_once_merkulov_create +pri_a18_once_skelja_create%, {+pri_a18_once_merkulov_and_skelja_remove -pri_a18_once_merkulov_create -pri_a18_once_skelja_create} %=create_squad(pri_a22_military_merkulov_squad:pri_b35_mercs) =create_squad(pri_a22_military_skelja_squad:pri_b35_mercs) +pri_a18_once_merkulov_create +pri_a18_once_skelja_create%
on_info4 = sr_idle@after
 

 
 
[sr_idle@after]
on_info = {+pri_a18_actor_enemy +pri_a18_sokolov_exist =squad_exist(pri_a16_sokolov_squad) =dist_to_story_obj_ge(pri_a16_sokolov_squad:100)} %=kill_squad(pri_a16_sokolov_squad) +pri_a18_sokolov_or_skelja_killed%
on_info2 = {+pri_a18_actor_enemy +pri_a18_sokolov_exist =squad_exist(pri_a16_sokolov_squad_strong) =dist_to_story_obj_ge(pri_a16_sokolov_squad_strong:100)} %=kill_squad(pri_a16_sokolov_squad_strong) +pri_a18_sokolov_or_skelja_killed%
on_info3 = {+pri_a18_actor_enemy +pri_a18_once_skelja_create =squad_exist(pri_a22_military_skelja_squad) =dist_to_story_obj_ge(pri_a22_military_skelja_squad:100)} %=kill_squad(pri_a22_military_skelja_squad) +pri_a18_sokolov_or_skelja_killed%
on_info4 = {+pri_a18_actor_enemy +pri_a18_once_skelja_create =squad_exist(pri_a22_military_skelja_squad_strong) =dist_to_story_obj_ge(pri_a22_military_skelja_squad_strong:100)} %=kill_squad(pri_a22_military_skelja_squad_strong) +pri_a18_sokolov_or_skelja_killed%
on_info5 = {+pri_a18_actor_enemy +pri_a18_vano_exist =squad_exist(pri_a16_vano_squad) =dist_to_story_obj_ge(pri_a16_vano_squad:100)} %=kill_squad(pri_a16_vano_squad) +pri_a18_vano_or_merkulov_killed%
on_info6 = {+pri_a18_actor_enemy +pri_a18_vano_exist =squad_exist(pri_a16_vano_squad_strong) =dist_to_story_obj_ge(pri_a16_vano_squad_strong:100)} %=kill_squad(pri_a16_vano_squad_strong) +pri_a18_vano_or_merkulov_killed%
on_info7 = {+pri_a18_actor_enemy +pri_a18_once_merkulov_create =squad_exist(pri_a22_military_merkulov_squad) =dist_to_story_obj_ge(pri_a22_military_merkulov_squad:100)} %=kill_squad(pri_a22_military_merkulov_squad) +pri_a18_vano_or_merkulov_killed%
on_info8 = {+pri_a18_actor_enemy +pri_a18_once_merkulov_create =squad_exist(pri_a22_military_merkulov_squad_strong) =dist_to_story_obj_ge(pri_a22_military_merkulov_squad_strong:100)} %=kill_squad(pri_a22_military_merkulov_squad_strong) +pri_a18_vano_or_merkulov_killed%
on_info9 = {+pri_a18_sokolov_or_skelja_killed +pri_a18_vano_or_merkulov_killed} sr_idle@nil


[sr_idle@nil]
