[smart_terrain]
squad_id = 2
max_population = 4
respawn_params = respawn@pri_monolith
respawn_only_smart = false
respawn_idle = 86400
respawn_radius = 1000
;arrive_dist = 0
;smart_control = nil
;att_restr = nil
;def_restr = nil
;safe_restr = nil
;spawn_point = nil

[respawn@pri_monolith] ;-- Type: faction {monolith} = pripyat base
spawn_monolith@novice
spawn_monolith@veteran
spawn_monolith@advanced
;spawn_monolith_special
;spawn_monolith_special_2
;spawn_monolith_special_3
;spawn_monolith_special_4
;spawn_monolith_special_5
;spawn_monolith_special_6
;spawn_monolith_special_7
spawn_deserted_base

[spawn_monolith@novice]
spawn_squads = monolith_sim_squad_novice, monolith_sim_squad_novice, monolith_sim_squad_advanced
spawn_num = {+pri_monolith_haron_dead +pri_monolith_trader_dead +pri_monolith_tech_dead} 0, 2

[spawn_monolith@advanced]
spawn_squads = monolith_sim_squad_advanced, monolith_sim_squad_advanced, monolith_sim_squad_novice
spawn_num = {+pri_monolith_haron_dead +pri_monolith_trader_dead +pri_monolith_tech_dead} 0, 2

[spawn_monolith@veteran]
spawn_squads = monolith_sim_squad_veteran, monolith_sim_squad_advanced, monolith_sim_squad_advanced
spawn_num = {+pri_monolith_haron_dead +pri_monolith_trader_dead +pri_monolith_tech_dead} 0, 2

;[spawn_monolith_special]
;spawn_squads = monolith_base_mlra_squad
;spawn_num = {!squad_name_exist(monolith_base_mlra_squad) -pri_monolith_haron_dead -pri_monolith_trader_dead -pri_monolith_tech_dead} 1, 0

;[spawn_monolith_special_2]
;spawn_squads = monolith_base_mlra_squad
;spawn_num = {!squad_name_exist(monolith_base_mlra_squad) -pri_monolith_haron_dead -pri_monolith_trader_dead -pri_monolith_tech_dead} 1, 0

;[spawn_monolith_special_3]
;spawn_squads = monolith_base_mlr2_squad
;spawn_num = {!squad_name_exist(monolith_base_mlr2_squad) -pri_monolith_haron_dead -pri_monolith_trader_dead -pri_monolith_tech_dead} 1, 0

;[spawn_monolith_special_4]
;spawn_squads = monolith_base_mlr3_squad
;spawn_num = {!squad_name_exist(monolith_base_mlr3_squad) -pri_monolith_haron_dead -pri_monolith_trader_dead -pri_monolith_tech_dead} 1, 0

;[spawn_monolith_special_5]
;spawn_squads = monolith_base_mlr4_squad
;spawn_num = {!squad_name_exist(monolith_base_mlr4_squad) -pri_monolith_haron_dead -pri_monolith_trader_dead -pri_monolith_tech_dead} 1, 0

;[spawn_monolith_special_6]
;spawn_squads = monolith_base_mlr5_squad
;spawn_num = {!squad_name_exist(monolith_base_mlr5_squad) -pri_monolith_haron_dead -pri_monolith_trader_dead -pri_monolith_tech_dead} 1, 0

;[spawn_monolith_special_7]
;spawn_squads = monolith_base_mlr6_squad
;spawn_num = {!squad_name_exist(monolith_base_mlr6_squad) -pri_monolith_haron_dead -pri_monolith_trader_dead -pri_monolith_tech_dead} 1, 0


[spawn_deserted_base]
spawn_squads = military_base_mlr_squad
spawn_num = {!squad_name_exist(military_base_mlr_squad) =actor_community(actor_army) +pri_monolith_haron_dead +pri_monolith_trader_dead +pri_monolith_tech_dead} 1, 0


[on_changing_level]
on_info = %=script(redone_xr_dynamic_object:dynamic_object:misc\spawn_object\pri_monolith_terrain_object.ltx)%

;[smart_control]

[exclusive]
pri_monolith_monolith_trader = pripyat\pri_monolith_smart_logic.ltx
pri_monolith_monolith_mechanic = pripyat\pri_monolith_smart_logic.ltx

prayer_1 = pripyat\pri_monolith_smart_logic.ltx
prayer_2 = pripyat\pri_monolith_smart_logic.ltx
prayer_3 = pripyat\pri_monolith_smart_logic.ltx
prayer_4 = pripyat\pri_monolith_smart_logic.ltx
prayer_5 = pripyat\pri_monolith_smart_logic.ltx

monolith_eidolon = pripyat\monolith_eidolon.ltx
