; Здесь содержатся дескрипшены сквадов, которые потом можно создавать используя спец функции.
#include "squad_descr_pripyat.ltx"
#include "squad_descr_jupiter.ltx"
#include "squad_descr_zaton.ltx"
#include "squad_descr_labx8.ltx"
#include "squad_descr_underpass.ltx"
#include "squad_descr_svalka.ltx"

;------------------------------- Simulation SQUADS -------------------------------

[simulation_stalker]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_0, sim_default_stalker_1, sim_default_stalker_2, sim_default_stalker_3, sim_default_stalker_4
npc_in_squad = 2, 3 

[simulation_stalker_1]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_0, sim_default_stalker_0, sim_default_stalker_0, sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_2,  sim_default_stalker_2, sim_default_stalker_2, sim_default_stalker_3, sim_default_stalker_3, sim_default_stalker_4
npc_in_squad = 2, 3 

[simulation_stalker_2]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_0, sim_default_stalker_0, sim_default_stalker_1,  sim_default_stalker_1,  sim_default_stalker_1,  sim_default_stalker_1, sim_default_stalker_2, sim_default_stalker_2, sim_default_stalker_2, sim_default_stalker_3,  sim_default_stalker_3, sim_default_stalker_4,  sim_default_stalker_4
npc_in_squad = 2, 3 

[simulation_stalker_3]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_2, sim_default_stalker_2, sim_default_stalker_2, sim_default_stalker_3, sim_default_stalker_3, sim_default_stalker_4,  sim_default_stalker_4
npc_in_squad = 2, 3 

;--------------- stalkers simulation squads -----------------------

[stalker_sim_squad_novice]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_0, sim_default_stalker_1, sim_default_stalker_2
npc_in_squad = 2, 3

[stalker_sim_squad_advanced]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_2, sim_default_stalker_2
npc_in_squad = 2, 3

[stalker_sim_squad_veteran]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_2, sim_default_stalker_2, sim_default_stalker_3, sim_default_stalker_3, sim_default_stalker_4
npc_in_squad = 2, 3

[simulation_stalker_for_a1]:online_offline_group
faction = stalker
target_smart = {+zat_a1_atack_from_zat_sim_15} zat_a1:nil, nil
spawn_point = zat_sim_15_spawn_for_a1
npc = sim_default_stalker_2, sim_default_stalker_0

;--------------- bandits simulation squads -----------------------

[simulation_bandit]:online_offline_group
faction = bandit
npc_random = sim_default_bandit_0, sim_default_bandit_1, sim_default_bandit_2, sim_default_bandit_3, sim_default_bandit_4
npc_in_squad = 2, 3

[simulation_bandit_1]:online_offline_group
faction = bandit
npc_random = sim_default_bandit_0, sim_default_bandit_1, sim_default_bandit_1, sim_default_bandit_1, sim_default_bandit_2, sim_default_bandit_2, sim_default_bandit_3, sim_default_bandit_4
npc_in_squad = 2, 3 

[simulation_bandit_2]:online_offline_group
faction = bandit
npc_random = sim_default_bandit_1, sim_default_bandit_2, sim_default_bandit_2, sim_default_bandit_2, sim_default_bandit_3, sim_default_bandit_3, sim_default_bandit_4
npc_in_squad = 2, 3 

[simulation_bandit_3]:online_offline_group
faction = bandit
npc_random = sim_default_bandit_1, sim_default_bandit_2, sim_default_bandit_2, sim_default_bandit_3, sim_default_bandit_3, sim_default_bandit_4, sim_default_bandit_4
npc_in_squad = 2, 3 

;--------------- bandits simulation squads new -----------------------

[bandit_sim_squad_novice]:online_offline_group
faction = bandit
npc_random = sim_default_bandit_0, sim_default_bandit_1, sim_default_bandit_2
npc_in_squad = 2, 3

[bandit_sim_squad_advanced]:online_offline_group
faction = bandit
npc_random = sim_default_bandit_1, sim_default_bandit_1, sim_default_bandit_2, sim_default_bandit_2, sim_default_bandit_3
npc_in_squad = 2, 3

[bandit_sim_squad_veteran]:online_offline_group
faction = bandit
npc_random = sim_default_bandit_2, sim_default_bandit_2, sim_default_bandit_3, sim_default_bandit_3, sim_default_bandit_4
npc_in_squad = 2, 3

;--------------- merks simulation squads -----------------------

[simulation_killer]:online_offline_group
faction = killer
npc_random = sim_default_killer_0, sim_default_killer_1, sim_default_killer_1, sim_default_killer_2, sim_default_killer_2, sim_default_killer_3, sim_default_killer_4
npc_in_squad = 2, 3

[merc_sim_squad_novice]:online_offline_group
faction = killer
npc_random = sim_default_killer_0, sim_default_killer_1, sim_default_killer_2
npc_in_squad = 2, 3

[merc_sim_squad_advanced]:online_offline_group
faction = killer
npc_random = sim_default_killer_1, sim_default_killer_1, sim_default_killer_2, sim_default_killer_2, sim_default_killer_3
npc_in_squad = 2, 3

[merc_sim_squad_veteran]:online_offline_group
faction = killer
npc_random = sim_default_killer_2, sim_default_killer_2, sim_default_killer_3, sim_default_killer_3, sim_default_killer_4
npc_in_squad = 2, 3 

;--------------- duty simulation squads -----------------------

[simulation_duty]:online_offline_group
faction = dolg
npc_random = sim_default_duty_0, sim_default_duty_1, sim_default_duty_1, sim_default_duty_2, sim_default_duty_2, sim_default_duty_3, sim_default_duty_4
npc_in_squad = 2, 3

[simulation_duty_1]:online_offline_group
faction = dolg
npc_random = sim_default_duty_0, sim_default_duty_1, sim_default_duty_1, sim_default_duty_2, sim_default_duty_2, sim_default_duty_3, sim_default_duty_4
npc_in_squad = 2, 3

[simulation_duty_2]:online_offline_group
faction = dolg
npc_random = sim_default_duty_0, sim_default_duty_1, sim_default_duty_1, sim_default_duty_2, sim_default_duty_2, sim_default_duty_3, sim_default_duty_4
npc_in_squad = 2, 3

[simulation_duty_3]:online_offline_group
faction = dolg
npc_random = sim_default_duty_0, sim_default_duty_1, sim_default_duty_1, sim_default_duty_2, sim_default_duty_2, sim_default_duty_3, sim_default_duty_4
npc_in_squad = 2, 3

[duty_sim_squad_novice]:online_offline_group
faction = dolg
npc_random = sim_default_duty_0, sim_default_duty_1, sim_default_duty_2
npc_in_squad = 2, 3

[duty_sim_squad_advanced]:online_offline_group
faction = dolg
npc_random = sim_default_duty_1, sim_default_duty_1, sim_default_duty_2, sim_default_duty_2, sim_default_duty_3
npc_in_squad = 2, 3

[duty_sim_squad_veteran]:online_offline_group
faction = dolg
npc_random = sim_default_duty_2, sim_default_duty_2, sim_default_duty_3, sim_default_duty_3, sim_default_duty_4
npc_in_squad = 2, 3

;--------------- freedom simulation squads -----------------------

[simulation_freedom]:online_offline_group
faction = freedom
npc_random = sim_default_freedom_0, sim_default_freedom_1, sim_default_freedom_1, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_3, sim_default_freedom_4
npc_in_squad = 2, 3

[simulation_freedom_1]:online_offline_group
faction = freedom
npc_random = sim_default_freedom_0, sim_default_freedom_1, sim_default_freedom_1, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_3, sim_default_freedom_4
npc_in_squad = 2, 3

[simulation_freedom_2]:online_offline_group
faction = freedom
npc_random = sim_default_freedom_0, sim_default_freedom_1, sim_default_freedom_1, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_3, sim_default_freedom_4
npc_in_squad = 2, 3

[simulation_freedom_3]:online_offline_group
faction = freedom
npc_random = sim_default_freedom_0, sim_default_freedom_1, sim_default_freedom_1, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_3, sim_default_freedom_4
npc_in_squad = 2, 3

[freedom_sim_squad_novice]:online_offline_group
faction = freedom
npc_random = sim_default_freedom_0, sim_default_freedom_1, sim_default_freedom_2
npc_in_squad = 2, 3

[freedom_sim_squad_advanced]:online_offline_group
faction = freedom
npc_random = sim_default_freedom_1, sim_default_freedom_1, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_3
npc_in_squad = 2, 3

[freedom_sim_squad_veteran]:online_offline_group
faction = freedom
npc_random = sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_3, sim_default_freedom_3, sim_default_freedom_4
npc_in_squad = 2, 3

;--------------- monolith simulation squads -----------------------

[simulation_monolith_squad]:online_offline_group
faction = monolith
npc = sim_default_monolith_0, sim_default_monolith_1, sim_default_monolith_1, sim_default_monolith_2, sim_default_monolith_3
npc_in_squad = 2, 3

[monolith_sim_squad_novice]:online_offline_group
faction = monolith
npc = sim_default_monolith_0, sim_default_monolith_1, sim_default_monolith_2
npc_in_squad = 2, 3

[monolith_sim_squad_advanced]:online_offline_group
faction = monolith
npc = sim_default_monolith_2, sim_default_monolith_2, sim_default_monolith_3
npc_in_squad = 2, 3

[monolith_sim_squad_veteran]:online_offline_group
faction = monolith
npc = sim_default_monolith_3, sim_default_monolith_3, sim_default_monolith_4
npc_in_squad = 2, 3

;--------------- zombied simulation squads -----------------------

[simulation_zombied_1]:online_offline_group
faction 		= zombied
npc_random 		= sim_default_zombied_1, sim_default_zombied_1, sim_default_zombied_2, sim_default_zombied_2, sim_default_zombied_3
npc_in_squad = 2, 3

[simulation_zombied_2]:online_offline_group
faction 		= zombied
npc_random 		= sim_default_zombied_2, sim_default_zombied_2, sim_default_zombied_3, sim_default_zombied_3
npc_in_squad = 2, 3

[simulation_zombied_3]:online_offline_group
faction 		= zombied
npc_random 		= sim_default_zombied_3, sim_default_zombied_4
npc_in_squad = 2, 3

[zombied_sim_squad_novice]:online_offline_group
faction 		= zombied
npc_random 		= sim_default_zombied_1, sim_default_zombied_2
npc_in_squad = 2, 3

[zombied_sim_squad_advanced]:online_offline_group
faction 		= zombied
npc_random 		= sim_default_zombied_2, sim_default_zombied_3
npc_in_squad = 2, 3

[zombied_sim_squad_veteran]:online_offline_group
faction 		= zombied
npc_random 		= sim_default_zombied_3, sim_default_zombied_4
npc_in_squad = 2, 3

;--------------- monster simulation squads -----------------------

[simulation_bloodsucker]:online_offline_group
faction = monster_predatory_night
npc_random = bloodsucker_weak, bloodsucker_weak, bloodsucker_weak, bloodsucker_normal, bloodsucker_normal, bloodsucker_strong
npc_in_squad = 1, 1

[simulation_boar]:online_offline_group
faction = monster_vegetarian
npc_random = boar_normal, boar_normal, boar_normal, boar_strong
npc_in_squad = 1, 2

[simulation_burer]:online_offline_group
faction = monster_zombied_night
npc_random = burer_normal
npc_in_squad = 1, 2

[simulation_dog]:online_offline_group
faction = monster_predatory_day
npc_random = dog_weak, dog_normal, dog_strong, dog_cute
npc_in_squad = 2, 4

[simulation_pseudodog]:online_offline_group
faction = monster_predatory_day
npc_random = pseudodog_normal
npc_in_squad = 1, 3

[simulation_flesh]:online_offline_group
faction = monster_vegetarian
npc_random = flesh_normal, flesh_normal, flesh_normal, flesh_strong
npc_in_squad = 2, 4

[simulation_snork]:online_offline_group
faction = monster_zombied_night
npc_random = snork_weak, snork_weak, snork_normal, snork_normal, snork_strong
npc_in_squad = 2, 3

[simulation_controller]:online_offline_group
faction = monster_zombied_day
npc_random = m_controller_normal
npc_in_squad = 1, 1

[simulation_mix_dogs]:online_offline_group
faction = monster_predatory_day
npc_random = pseudodog_normal, pseudodog_normal, dog_weak, dog_normal, dog_strong, dog_cute
npc_in_squad = 2, 3

[simulation_mix_boar_flesh]:online_offline_group
faction = monster_vegetarian
npc_random = flesh_normal, flesh_normal, flesh_normal, flesh_strong, boar_normal, boar_normal, boar_normal, boar_strong
npc_in_squad = 2, 3

[simulation_poltergeist_tele]:online_offline_group
faction = monster
npc = m_poltergeist_normal_tele
npc_in_squad = 1, 2

[simulation_chimera]:online_offline_group
faction = monster_predatory_night
npc_random = chimera_normal
npc_in_squad = 1, 1

[simulation_chimera_zaton]:online_offline_group
faction = monster_predatory_night
npc_random = chimera_normal
npc_in_squad = 1, 1
target_smart = {=is_dark_night} nil, {~50} zat_sim_5, {~50} zat_sim_3, {~50} zat_sim_1, {~50} zat_sim_18, {~50} zat_sim_10, {~50} zat_sim_7, zat_sim_26

[simulation_chimera_pripyat]:online_offline_group
faction = monster_predatory_night
npc_random = chimera_normal
npc_in_squad = 1, 1
target_smart = {=is_dark_night} nil, pri_a17
 
[simulation_chimera_jupiter]:online_offline_group
faction = monster_predatory_night
npc_random = chimera_normal
npc_in_squad = 1, 1 

[simulation_psy_dog]:online_offline_group
faction = monster_predatory_day
npc_random = psy_dog_normal
npc_in_squad = 1, 1 

[simulation_tushkano]:online_offline_group
faction = monster_predatory_day
npc_random = tushkano_normal
npc_in_squad = 3, 4

[simulation_gigant]:online_offline_group
faction = monster_predatory_day
npc_random = gigant_normal
npc_in_squad = 1, 1 

;--------------- test -------------------------------------------- 

[simulation_dog_01]:simulation_dog
target_smart = smart_02:smart_01:loop

[merc_jupiter]:jup_b47_merc_guard_squad
target_smart = {-teleported} smart_01, smart_02
spawn_point = spawn_01
story_id = merc_jupiter

[merc_zaton]:zat_b103_lost_merc_squad1
target_smart = smart_03
spawn_point = spawn_01

[corr_selo_squad]:online_offline_group
faction = monster
npc = tushkano_normal
target_smart = corr_selo_smart
spawn_point = corr_selo_smart_tushkano_home

[corr_selo_02_squad]:online_offline_group
faction = monster
npc = tushkano_normal
target_smart = corr_selo_02_smart
spawn_point = corr_selo_02_smart_tushkano_home

[hein_selo_squad]:online_offline_group
faction = stalker
npc = sim_default_stalker_0
target_smart = {-teleported} redstain_selo_smart_terrain, redstain_selo_smart_terrain_0000

[hein_selo_dog]:online_offline_group
faction = monster
npc = dog_normal
target_smart = smart_03
spawn_point = smart_03_way_dog

;Test squads
[test_squad_snork_for_renderman]:online_offline_group
faction = monster_zombied_day
npc = snork_weak, snork_weak, snork_normal, snork_normal, snork_strong
target_smart = alex_selo_smart_terrain

[test_squad_zulus_for_renderman]:online_offline_group
faction = dolg
npc = sim_default_stalker_1
spawn_point = alex_selo_smart_terrain_stalker_walk_1
target_smart = alex_selo_smart_terrain

[test_squad_for_alex_selo]:online_offline_group
faction = dolg
npc = jup_b1_stalker_1, jup_b1_stalker_2, jup_b1_stalker_3, jup_b1_stalker_4
spawn_point = alex_selo_smart_walk_1
target_smart = alex_selo_smart
story_id = test_squad_for_alex_selo

[test_duty]:online_offline_group
faction = dolg
npc = sim_default_duty_4, sim_default_duty_4, sim_default_duty_4, sim_default_duty_4, sim_default_duty_4
target_smart = smart_1
behaviour = dolg

[test_stalker]:online_offline_group
auto_id = true
faction = stalker
npc = sim_default_stalker_1, sim_default_stalker_1
target_smart = smart_1

[test_freedom]:online_offline_group
faction = freedom
npc = sim_default_freedom_1
target_smart = smart_3:smart_1


;[pl]:online_offline_group
;faction = freedom
;npc = sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_2
;target_smart = smart_terrain_4
;spawn_point = smart_terrain_4_spawn

[test_freedom2]:online_offline_group
faction = freedom
npc = sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_2, sim_default_freedom_2
;active_task = smart_terrain_3
relationship = friend
;sympathy = 0

[test_duty2]:online_offline_group
faction = dolg
npc = sim_default_duty_4, sim_default_duty_4, sim_default_duty_4, sim_default_duty_4, sim_default_duty_4
relationship = friend
target_smart = smart_terrain_3
spawn_point = path_walk_3

[test_bandit]:online_offline_group
faction = bandit
npc = sim_default_bandit_3,sim_default_bandit_3,sim_default_bandit_3,sim_default_bandit_3,sim_default_bandit_3
;active_task = smart_terrain_3
relationship = friend
;show_spot = {-test_info_1} true, false
;sympathy = 0

[test_yojig_selo_squad]:online_offline_group
;faction = stalker
npc = sim_default_stalker_1
;, sim_default_stalker_1, sim_default_stalker_1
;target_smart = {-suitable} smart_1, {+suitable} smart_2
;story_id = test_yojig_selo_squad
faction = army
;npc = pri_a25_base_medic
spawn_point = pri_a16_medic_walk_spawn_point
target_smart = {+pri_a25_rfi_source_eliminated} pri_a16, {+pri_a25_task_start} pri_a25_smart_terrain, pri_a16
story_id = pri_a25_base_army_medic

[test_yojig_squad]:online_offline_group
faction = stalker
npc_random = sim_default_stalker_0, sim_default_stalker_1, sim_default_stalker_2, sim_default_stalker_3, sim_default_stalker_4
npc_in_squad = 5, 5 
;npc = sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_1, sim_default_stalker_1
target_smart = {+test_info} smart_2, smart_1
story_id = test_yojig_squad

[test_tgm_bug_test_3_bandit]:online_offline_group
faction = bandit
npc = sim_default_bandit_0
target_smart = smart_terrain_1:smart_terrain_2:loop

[test_tgm_bug_test_3_stalker]:online_offline_group
faction = stalker
npc = sim_default_stalker_4
target_smart = smart_terrain_2:smart_terrain_1:loop

; ------------------------------- lain_selo ------------------------
[lain_selo_dog]:online_offline_group
faction = monster_predatory_day
npc = dog_weak, dog_normal, dog_strong
target_smart = lain_test_smart_terrain
spawn_point = lain_test_smart_terrain_home

;[lain_selo_tushkano_squad]:online_offline_group
;faction = monster_predatory_night
;npc = tushkano_normal
;target_smart = selo_smart_terrain
;spawn_point = selo_smart_terrain_mob_home

;[lain_selo_stalker_squad]:online_offline_group
;faction = stalker
;npc = sim_default_stalker_2
;target_smart = selo_smart_terrain
;spawn_point = selo_smart_terrain_walker_walk

[lain_selo_snork_squad]:online_offline_group
faction = monster_zombied_day
npc = snork_weak, snork_weak, snork_weak, snork_weak, snork_weak
target_smart = level_prefix_smart_terrain
spawn_point = snork_spown_point

[renderman_selo_test_snork]:online_offline_group
faction = monster_zombied_day
npc = snork_weak
target_smart = renderman_selo_smart

[renderman_selo_test_stalker_squad]:online_offline_group
faction = stalker
npc = jup_a10_stalker_vano, jup_b220_trapper 
target_smart = alex_selo_smart_terrain

[alex_selo_squad_1]:online_offline_group
faction = stalker
npc = sim_default_stalker_1
target_smart = alex_selo_smart: alex_selo_smart_terrain 

[plecha_selo_stalker_squad]:online_offline_group
faction = stalker
npc = sim_default_stalker_2
target_smart = pl_selo_smart
spawn_point = way

[sim_stalker_squad_1]:online_offline_group
faction 		= freedom
npc 			= sim_default_freedom_2,sim_default_freedom_2,sim_default_freedom_2
;npc_random 		= sim_default_zombied_1
target_smart = nil
;run_string xr_effects.create_squad_member(nil,nil,{"sim_default_freedom_2", "sim_stalker_squad_1"})
;run_string alife():object(57):remove_squad()
;run_string xr_effects.clear_smart_terrain(nil,nil,{"sim_smart_1"})
;run_string level.object_by_id(42):set_npc_position(patrol("tst"):point(0))
;run_string alife():object(56):set_squad_position(patrol("tst"):point(0))

[sim_stalker_squad_2]:online_offline_group
faction = dolg
npc = sim_default_duty_2,sim_default_duty_2,sim_default_duty_2

[sim_monolith_squad_3]:online_offline_group
faction = monolith
npc = sim_default_monolith_2,sim_default_monolith_2,sim_default_monolith_2

[sim_stalker_squad_4]:online_offline_group
faction = bandit
npc = sim_default_bandit_2,sim_default_bandit_2,sim_default_bandit_2


[sim_snork_4]:online_offline_group
faction = monster_zombied_day
npc = snork_normal,snork_normal,snork_normal
behaviour = monster
arrive_dist = 30
story_id = test_squad

[sim_boar]:online_offline_group
faction = monster_vegetarian
npc = boar_normal
target_smart = selo_smart_terrain
spawn_point = selo_smart_terrain_home

[sim_polter]:online_offline_group
faction = monster
npc = m_poltergeist_normal_tele
target_smart = selo_smart_terrain
spawn_point = selo_smart_terrain_polter_home

[sim_pseudodog]:online_offline_group
faction = monster_predatory_day
npc = psy_dog
target_smart = selo_smart_terrain
spawn_point = selo_smart_terrain_pseudodog_home

[bes_sim_boar]:online_offline_group
faction = monster_vegetarian
npc = boar_normal
target_smart = bes_test_smart_terrain:bes_test_smart_terrain_1:loop
spawn_point = bes_test_smart_terrain_1_home_1

[simulation_boar_test]:online_offline_group
faction = monster_vegetarian
npc_random =  boar_strong, boar_normal
npc_in_squad = 1, 3

[conrack_test_squad]:online_offline_group
sympathy = 0
faction = stalker
npc = conrack_selo_stalker, conrack_selo_stalker, conrack_selo_stalker, conrack_selo_stalker
target_smart = conrack_selo_smart
spawn_point =  conrack_selo_smart_st_3_stay
story_id = conrack_test_squad