script ; EB Background Script
;=======================================================
;  Modyfication 23.09.2006
;  - fixed php generator, regenerated gov_aib.php part of script
;  - added fixed Prthia horse discount
;  - added micelenious scripts in Section 4
;  - fixed numidia -> saba mixup
;  - fixed internal names to external names in population script
;---------------------------
;  Modyfication 20.09.2006
;=======================================================
;0) GOVT SCRIPTS
;1) Population Replenish script
;2)  Money Assistence
;	a)  Difficult start help
;	b)  City Income Bonus
;3) Parthia horse dicount
;4) Section 4 - miscelenious scripts
;I) 4 turn script

;========================================================
;Index:
;----------------------------------------
;1: Puppet ruler script
;2: Reforms
;  2a: Celtic Reforms
;  2b: Saka Reforms
;  2c: Roman Reforms
;  2d: Seleukid Cataphract Reforms
;  2e: Pan-Caucasus Empire Reform - Hayasdan
;  2f: Persia Reform - Hayasdan
;  2g: Carthage Reform
;  2h: Sweboz Reform
;3: Government Building Management
;4: Population Replenishment
;5: Money Assistance
;  5a: Difficult Start Help
;  5b: City Income Bonus
;  5c: Building Upkeep (disabled until decent balancing is done)
;6: Victory Conditions
;  6a: Flash VCs Script
;  6b: Victory Conditions Triggers
;7: Allied Cities Script
;  7a: Qarthadastim vs. Ptolemaioi (Ammonion)
;  7b: Attacks on Chersonesos (KH)
;  7c: Attacks on Byzantion (Pontos)
;  7d: Halikarnassos (Ptolemaioi)
;  7e: Kallatis (Getai)
;  7f: Qarthadastim vs. Ptolemaioi (Kyrene)
;  7g: Seleukids vs. Ptolemaioi (Kyrene)
;  7h: Nikaia (Pontos)
;  7i: Pantikapaion (KH)
;  7j: KH vs. Pontos (Sinope)
;  7k: Thermon (KH)
;  7l: Trapezous (KH)
;  7m: Qarthadastim vs. Romani (Messana)
;8: Special Events
;  8a: The Chersonesos Event
;  8b: Tomb Of Alexander
;  8c: Baktrian Independence
;  8d: Roman Triumph
;  8e: Seleukid Anabasis
;  8f: Pahlava Shahanshah
;  8g: Sweboz Triumphs
;  8h: Devastation Script
;  8i: Nomad Horse Discount
;  8j: Gauls - Epeiros Alliance
;  8k: Celtiberian Alliance
;  8l: Rhegion (Romani only)
;  8m: Spartan Agoge Messages
;  8n: Xanthippos
;  8o: Yuezhi Invasion
;  8p: Casse Landing
;  8q: Naravas
;9: Central European Defence
;10: Four Turns Per Year Script
;========================================================

; Memory cells:
; 57,5 (used for faction-specific thingies (gauls-epeiros, pontus)); 74,16 (used for Celtiberian Alliance);
; 68,11 (Xanthippos); 86,5 (Pan-Caucasus Reforms); (Naravas) 95,4; 99,4

declare_counter First_Turn
declare_counter seasonCounter

select_ui_element advisor_dismiss_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up

suspend_unscripted_advice true

declare_counter victory
monitor_event SettlementTurnStart SettlementName Terhazza
and SettlementBuildingExists = hinterland_victory
set_counter victory 1
end_monitor
;========================
;
;  BEGIN AutoRun
;
;========================
declare_counter autoTurnCount
set_counter autoTurnCount 0
;
declare_counter autoRunStartFaction
;
if I_LocalFaction seleucid
    set_counter autoRunStartFaction 1
end_if
;
if I_CompareCounter autoTurnCount > 0
    wait 1.0
    console_command control britons
end_if
;
monitor_event FactionTurnStart FactionType seleucid
          and I_CompareCounter autoTurnCount > 0
          and I_CompareCounter autoRunStartFaction = 0
    inc_counter autoTurnCount -1
    console_command control pontus
end_monitor
;
monitor_event FactionTurnStart FactionType germans
          and I_CompareCounter autoTurnCount > 0
          and I_CompareCounter autoRunStartFaction = 1
    inc_counter autoTurnCount -1
    console_command control seleucid
end_monitor
;
monitor_event FactionTurnEnd FactionType slave
          and I_CompareCounter autoTurnCount > 0
    console_command control britons
end_monitor
;
declare_counter clickAutoResolve
monitor_event PreBattlePanelOpen TrueCondition
          and I_CompareCounter autoTurnCount > 0
    set_counter clickAutoResolve 1
end_monitor
;
monitor_conditions I_CompareCounter clickAutoResolve = 1
    set_counter clickAutoResolve 0
    select_ui_element prebattle_auto_resolve_button
    simulate_mouse_click lclick_down
    simulate_mouse_click lclick_up
end_monitor
;
;monitor_event FactionTurnStart FactionType pontus
;          and I_CompareCounter autoTurnCount > 0
;          and Treasury < 1000
;    console_command add_money pontus, 1500
;end_monitor
;
;declare_counter declineDiplomaticOffer
;monitor_event DiplomacyPanelOpen TrueCondition
;          and I_CompareCounter autoTurnCount > 0
;    console_command puppify_my_love
;    set_counter declineDiplomaticOffer 1
;end_monitor
;
;monitor_conditions I_CompareCounter declineDiplomaticOffer = 1
;    select_ui_element diplomacy_decline_offer_button
;    simulate_mouse_click lclick_down
;    simulate_mouse_click lclick_up
;end_monitor
;========================
;
;  END AutoRun
;
;========================
;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; Section 1: Puppets
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2: Reforms
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter Romanii_Reform
declare_counter Saka_Reform
declare_counter Celt_Reform

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2a: Celtic Reforms
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
declare_counter Celt_ForumCount
declare_counter Celt_CityCount
declare_counter Celt_TempleCount
declare_counter HadCeltReform1
declare_counter HadCeltReform2
;
;  Determine if reforms have already occurred
;
monitor_event SettlementTurnEnd SettlementIsLocal
          and SettlementBuildingExists = celt2
    set_counter HadCeltReform1 1
    terminate_monitor
end_monitor
;
monitor_event SettlementTurnEnd SettlementIsLocal
          and SettlementBuildingExists = celt3
    set_counter HadCeltReform2 1
    terminate_monitor
end_monitor
;
; Count Celtic great markets
;
monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = forum
	inc_counter Celt_ForumCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = forum
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_ForumCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = forum
	inc_counter Celt_ForumCount 1
end_monitor

; Count Celtic large cities
monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = proconsuls_palace
	inc_counter Celt_CityCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = proconsuls_palace
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_CityCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = proconsuls_palace
	inc_counter Celt_CityCount 1
end_monitor

; Count Celtic major temples
;temple_of_battle_awesome_temple

monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_battle_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = temple_of_battle_awesome_temple
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_battle_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

;temple_of_farming_awesome_temple

monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_farming_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = temple_of_farming_awesome_temple
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_farming_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

;temple_of_fertility_awesome_temple

monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_fertility_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = temple_of_fertility_awesome_temple
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_fertility_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

;temple_of_forge_awesome_temple

monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_forge_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = temple_of_forge_awesome_temple
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_forge_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

;temple_of_fun_awesome_temple

monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_fun_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = temple_of_fun_awesome_temple
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_fun_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

;temple_of_governors_awesome_temple

monitor_event SettlementTurnStart FactionType gauls
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_governors_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType scythia
and SettlementBuildingExists = temple_of_governors_awesome_temple
and I_CompareCounter Celt_Reform < 2
	inc_counter Celt_TempleCount 1
end_monitor

monitor_event SettlementTurnStart FactionType britons
and I_CompareCounter Celt_Reform < 2
and SettlementBuildingExists = temple_of_governors_awesome_temple
	inc_counter Celt_TempleCount 1
end_monitor

;reset Celt counters
monitor_event FactionTurnEnd FactionIsLocal

if I_CompareCounter Celt_ForumCount > 5
        set_counter Celt_Reform 1
end_if

if I_CompareCounter Celt_ForumCount > 9
and I_CompareCounter Celt_CityCount > 5
and I_CompareCounter Celt_TempleCount > 5

        set_counter Celt_Reform 2
end_if

if I_CompareCounter Celt_Reform < 2
	set_counter Celt_ForumCount 0
	set_counter Celt_CityCount 0
	set_counter Celt_TempleCount 0
end_if
end_monitor

monitor_event FactionTurnStart FactionIsLocal
and I_CompareCounter Celt_ForumCount > 5
set_counter Celt_Reform 1
end_monitor

monitor_event FactionTurnStart FactionIsLocal
and I_CompareCounter Celt_ForumCount > 9
and I_CompareCounter Celt_CityCount > 5
and I_CompareCounter Celt_TempleCount > 5
set_counter Celt_Reform 2
end_monitor
;
monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command create_building Ak_Ink "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command create_building Alalia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command create_building Alexandreia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command create_building Alexandreia_Ariana "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command create_building Alexandreia_Eschate "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command create_building Alexandropolis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command create_building Amaseia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command create_building Apollonia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command create_building Ammonion "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command create_building Ani-Kamah "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command create_building Ankyra "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command create_building Antiocheia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command create_building Antiocheia_Margiane "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command create_building Apameia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command create_building Arbela "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command create_building Ariminum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command create_building Armavir "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command create_building Arpi "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command create_building Arretium "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command create_building Arse "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command create_building Asaak "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command create_building Ascaucalis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command create_building Asodat "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command create_building Athenai "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command create_building Attuaca "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command create_building Augila_settlement "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command create_building Avaricum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command create_building Aventicos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command create_building Axum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command create_building Bagacos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command create_building Baikor "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command create_building Baktra "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command create_building Bibracte "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command create_building Chach "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command create_building Bocchoris "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command create_building Bononia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command create_building Bostra "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command create_building Bratosporios "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command create_building Burdigala "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command create_building Buridava "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command create_building Byzantion "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command create_building Caern_Brigantae "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command create_building Camulosadae "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command create_building Capua "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command create_building Carna "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command create_building Carrodunum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command create_building Cenabum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command create_building Chalkis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command create_building Charax "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command create_building Chersonesos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command create_building Chighu "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command create_building Atiqa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command create_building Dalminion "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command create_building Damaskos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command create_building Darioritum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command create_building Demetrias "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command create_building Diospolis_Megale "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command create_building Babylon "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command create_building Eburonum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command create_building Edessa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command create_building Ekbatana "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command create_building Emain_Macha "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command create_building Emporion "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command create_building Epidamnos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command create_building Gabai "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command create_building Gader "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command create_building Garama "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command create_building Gava_Alanna "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command create_building Gava_Aursa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command create_building Gava_Haomavarga "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command create_building Gava_Mazsakata "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command create_building Gava_Roxsalanna "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command create_building Gava_Saka "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command create_building Gava_Thissakata "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command create_building Gava_Yazyga "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command create_building Gava_Yugra "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command create_building Gawjam_Bastarnoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command create_building Gawjam_Gotanoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command create_building Gawjam_Habukoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command create_building Arctaunon "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command create_building Gawjam_Heruskoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command create_building Gawjam_Kimbroz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command create_building Gawjam_Rugoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command create_building Gawjam_Silengoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command create_building Gawjam_Skandzawarjoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command create_building Gelonus "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command create_building Gergovia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command create_building Gerrha "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command create_building Gintaras_Ostan "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command create_building Gordu_Neuriji "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command create_building Halikarnassos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command create_building Hekatompylos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command create_building Hibis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command create_building Hierosolyma "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command create_building Homna "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command create_building Ictis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command create_building Ippone "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command create_building Ipsos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command create_building Iuvavoaeta "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command create_building Ivernis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command create_building Kabalaka "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command create_building Kallatis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command create_building Karali "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command create_building Karkathiokerta "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command create_building Karmana "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command create_building Kart_Hadast "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command create_building Khiva "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command create_building Kirtan "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command create_building Kophen "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command create_building Korinthos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command create_building Kotais "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command create_building Kydonia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command create_building Kyrene "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command create_building Lemonum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command create_building Lepki "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command create_building Lilibeo "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command create_building Lucarottea "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command create_building Marakanda "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command create_building Maryab "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command create_building Massalia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command create_building Mastia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command create_building Mazaka "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command create_building Mediolanum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command create_building Memphis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command create_building Meroe "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command create_building Messana "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command create_building Mtskheta "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command create_building Mytilene "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command create_building Naissos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command create_building Nikaia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command create_building Nisa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command create_building Numantia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command create_building Olbia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command create_building Opiana "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command create_building Oxtraca "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command create_building Pallantia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command create_building Palmyra "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command create_building Pantikapaion "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command create_building Paraitonion "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia

and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command create_building Patala "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command create_building Patavium "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command create_building Pella "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command create_building Pergamon "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command create_building Persepolis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command create_building Petra "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command create_building Phraaspa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command create_building Prophthasia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command create_building Pselkis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command create_building Ptolemais_Theron "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command create_building Pura "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command create_building Ratae "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command create_building Rhegion "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command create_building Rhodos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command create_building Rome "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command create_building Sabata "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command create_building Sala "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command create_building Salamis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command create_building Sardis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command create_building Sarmiszegethusa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon
and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command create_building Segesta "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command create_building Segestica "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command create_building Seleukeia "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command create_building Seliun_Pilis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command create_building Serdike "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command create_building Side "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command create_building Sidon "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command create_building Siga "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command create_building Singidunum "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command create_building Sinope "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command create_building Sparte "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command create_building Sucum-Murgi "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command create_building Sulek "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command create_building Susa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command create_building Swebotraustastamnoz "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command create_building Syracuse "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command create_building Taksashila "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command create_building Tamane "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command create_building Tanais "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command create_building Taras "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command create_building Tarsos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command create_building Terhazza "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command create_building Thermon "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command create_building Lixus "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command create_building Tolosa "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command create_building Trapezous "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command create_building Tuat "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command create_building Tyde "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command create_building Tylis "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command create_building Ubar "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command create_building Uspe "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command create_building Veldideno "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command create_building Vellika "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command create_building Vesontio "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command create_building Viennos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command create_building Vindelicoppidos "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command create_building Vindobona "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command create_building Ynys_Mon "celt1"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform = 0
and not SettlementBuildingExists = celt1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command create_building Zadrakata "celt1"

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command create_building Ak_Ink "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command create_building Alalia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command create_building Alexandreia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command create_building Alexandreia_Ariana "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command create_building Alexandreia_Eschate "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command create_building Alexandropolis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command create_building Amaseia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command create_building Apollonia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command create_building Ammonion "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command create_building Ani-Kamah "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command create_building Ankyra "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command create_building Antiocheia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command create_building Antiocheia_Margiane "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command create_building Apameia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command create_building Arbela "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command create_building Ariminum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command create_building Armavir "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command create_building Arpi "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command create_building Arretium "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command create_building Arse "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command create_building Asaak "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command create_building Ascaucalis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command create_building Asodat "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command create_building Athenai "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command create_building Attuaca "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command create_building Augila_settlement "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command create_building Avaricum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command create_building Aventicos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command create_building Axum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command create_building Bagacos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command create_building Baikor "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command create_building Baktra "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command create_building Bibracte "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command create_building Chach "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command create_building Bocchoris "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command create_building Bononia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command create_building Bostra "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command create_building Bratosporios "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command create_building Burdigala "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command create_building Buridava "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command create_building Byzantion "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command create_building Caern_Brigantae "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command create_building Camulosadae "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command create_building Capua "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command create_building Carna "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command create_building Carrodunum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command create_building Cenabum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command create_building Chalkis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command create_building Charax "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command create_building Chersonesos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command create_building Chighu "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command create_building Atiqa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command create_building Dalminion "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command create_building Damaskos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command create_building Darioritum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command create_building Demetrias "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command create_building Diospolis_Megale "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command create_building Babylon "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command create_building Eburonum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command create_building Edessa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command create_building Ekbatana "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command create_building Emain_Macha "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command create_building Emporion "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command create_building Epidamnos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command create_building Gabai "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command create_building Gader "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command create_building Garama "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command create_building Gava_Alanna "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command create_building Gava_Aursa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command create_building Gava_Haomavarga "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command create_building Gava_Mazsakata "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command create_building Gava_Roxsalanna "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command create_building Gava_Saka "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command create_building Gava_Thissakata "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command create_building Gava_Yazyga "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command create_building Gava_Yugra "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command create_building Gawjam_Bastarnoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command create_building Gawjam_Gotanoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command create_building Gawjam_Habukoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command create_building Arctaunon "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command create_building Gawjam_Heruskoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command create_building Gawjam_Kimbroz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command create_building Gawjam_Rugoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command create_building Gawjam_Silengoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command create_building Gawjam_Skandzawarjoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command create_building Gelonus "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command create_building Gergovia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command create_building Gerrha "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command create_building Gintaras_Ostan "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command create_building Gordu_Neuriji "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command create_building Halikarnassos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command create_building Hekatompylos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command create_building Hibis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command create_building Hierosolyma "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command create_building Homna "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command create_building Ictis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command create_building Ippone "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command create_building Ipsos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command create_building Iuvavoaeta "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command create_building Ivernis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command create_building Kabalaka "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command create_building Kallatis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command create_building Karali "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command create_building Karkathiokerta "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command create_building Karmana "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command create_building Kart_Hadast "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command create_building Khiva "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command create_building Kirtan "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command create_building Kophen "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command create_building Korinthos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command create_building Kotais "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command create_building Kydonia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command create_building Kyrene "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command create_building Lemonum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command create_building Lepki "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command create_building Lilibeo "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command create_building Lucarottea "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command create_building Marakanda "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command create_building Maryab "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command create_building Massalia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command create_building Mastia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command create_building Mazaka "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command create_building Mediolanum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command create_building Memphis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command create_building Meroe "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command create_building Messana "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command create_building Mtskheta "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command create_building Mytilene "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command create_building Naissos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command create_building Nikaia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command create_building Nisa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command create_building Numantia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command create_building Olbia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command create_building Opiana "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command create_building Oxtraca "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command create_building Pallantia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command create_building Palmyra "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command create_building Pantikapaion "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command create_building Paraitonion "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia
and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command create_building Patala "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command create_building Patavium "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command create_building Pella "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command create_building Pergamon "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command create_building Persepolis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command create_building Petra "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command create_building Phraaspa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command create_building Prophthasia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command create_building Pselkis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command create_building Ptolemais_Theron "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command create_building Pura "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command create_building Ratae "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command create_building Rhegion "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command create_building Rhodos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command create_building Rome "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command create_building Sabata "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command create_building Sala "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command create_building Salamis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command create_building Sardis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command create_building Sarmiszegethusa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon
and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command create_building Segesta "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command create_building Segestica "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command create_building Seleukeia "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command create_building Seliun_Pilis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command create_building Serdike "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command create_building Side "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command create_building Sidon "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command create_building Siga "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command create_building Singidunum "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command create_building Sinope "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command create_building Sparte "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command create_building Sucum-Murgi "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command create_building Sulek "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command create_building Susa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command create_building Swebotraustastamnoz "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command create_building Syracuse "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command create_building Taksashila "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command create_building Tamane "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command create_building Tanais "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command create_building Taras "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command create_building Tarsos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command create_building Terhazza "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command create_building Thermon "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command create_building Lixus "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command create_building Tolosa "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command create_building Trapezous "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command create_building Tuat "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command create_building Tyde "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command create_building Tylis "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command create_building Ubar "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command create_building Uspe "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command create_building Veldideno "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command create_building Vellika "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command create_building Vesontio "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command create_building Viennos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command create_building Vindelicoppidos "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command create_building Vindobona "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command create_building Ynys_Mon "celt2"

end_if
end_monitor



monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform = 1
and not SettlementBuildingExists = celt2
and not SettlementBuildingExists = celt3

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command create_building Zadrakata "celt2"

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt3"
console_command create_building Adrumeto "muster_field_E"
console_command set_building_health Adrumeto Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt3"
console_command create_building Adrumeto "militia_barracks_E1"
console_command set_building_health Adrumeto Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt3"
console_command create_building Adrumeto "city_barracks_E1"
console_command set_building_health Adrumeto Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt3"
console_command create_building Adrumeto "army_barracks_E1"
console_command set_building_health Adrumeto Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command create_building Adrumeto "celt3"
console_command create_building Adrumeto "royal_barracks_E1"
console_command set_building_health Adrumeto Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Adrumeto = seleucid
and not I_SettlementOwner Adrumeto = parthia
and not I_SettlementOwner Adrumeto = pontus
and not I_SettlementOwner Adrumeto = numidia
and not I_SettlementOwner Adrumeto = romans_julii
and not I_SettlementOwner Adrumeto = egypt
and not I_SettlementOwner Adrumeto = germans
and not I_SettlementOwner Adrumeto = greek_cities
and not I_SettlementOwner Adrumeto = macedon
and not I_SettlementOwner Adrumeto = carthage
and not I_SettlementOwner Adrumeto = romans_scipii
and not I_SettlementOwner Adrumeto = dacia
and not I_SettlementOwner Adrumeto = armenia
and not I_SettlementOwner Adrumeto = spain
and not I_SettlementOwner Adrumeto = thrace
and not I_SettlementOwner Adrumeto = romans_brutii
and not I_SettlementOwner Adrumeto = saba
and not I_SettlementOwner Adrumeto = slave

console_command set_building_health Adrumeto Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command create_building Ak_Ink "celt3"
console_command create_building Ak_Ink "muster_field_E"
console_command set_building_health Ak_Ink Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command create_building Ak_Ink "celt3"
console_command create_building Ak_Ink "militia_barracks_E1"
console_command set_building_health Ak_Ink Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command create_building Ak_Ink "celt3"
console_command create_building Ak_Ink "city_barracks_E1"
console_command set_building_health Ak_Ink Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command create_building Ak_Ink "celt3"
console_command create_building Ak_Ink "army_barracks_E1"
console_command set_building_health Ak_Ink Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command create_building Ak_Ink "celt3"
console_command create_building Ak_Ink "royal_barracks_E1"
console_command set_building_health Ak_Ink Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ak_Ink = seleucid
and not I_SettlementOwner Ak_Ink = parthia
and not I_SettlementOwner Ak_Ink = pontus
and not I_SettlementOwner Ak_Ink = numidia
and not I_SettlementOwner Ak_Ink = romans_julii
and not I_SettlementOwner Ak_Ink = egypt
and not I_SettlementOwner Ak_Ink = germans
and not I_SettlementOwner Ak_Ink = greek_cities
and not I_SettlementOwner Ak_Ink = macedon
and not I_SettlementOwner Ak_Ink = carthage
and not I_SettlementOwner Ak_Ink = romans_scipii
and not I_SettlementOwner Ak_Ink = dacia
and not I_SettlementOwner Ak_Ink = armenia
and not I_SettlementOwner Ak_Ink = spain
and not I_SettlementOwner Ak_Ink = thrace
and not I_SettlementOwner Ak_Ink = romans_brutii
and not I_SettlementOwner Ak_Ink = saba
and not I_SettlementOwner Ak_Ink = slave

console_command set_building_health Ak_Ink Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command create_building Alalia "celt3"
console_command create_building Alalia "muster_field_E"
console_command set_building_health Alalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command create_building Alalia "celt3"
console_command create_building Alalia "militia_barracks_E1"
console_command set_building_health Alalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command create_building Alalia "celt3"
console_command create_building Alalia "city_barracks_E1"
console_command set_building_health Alalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command create_building Alalia "celt3"
console_command create_building Alalia "army_barracks_E1"
console_command set_building_health Alalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command create_building Alalia "celt3"
console_command create_building Alalia "royal_barracks_E1"
console_command set_building_health Alalia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Alalia = seleucid
and not I_SettlementOwner Alalia = parthia
and not I_SettlementOwner Alalia = pontus
and not I_SettlementOwner Alalia = numidia
and not I_SettlementOwner Alalia = romans_julii
and not I_SettlementOwner Alalia = egypt
and not I_SettlementOwner Alalia = germans
and not I_SettlementOwner Alalia = greek_cities
and not I_SettlementOwner Alalia = macedon
and not I_SettlementOwner Alalia = carthage
and not I_SettlementOwner Alalia = romans_scipii
and not I_SettlementOwner Alalia = dacia
and not I_SettlementOwner Alalia = armenia
and not I_SettlementOwner Alalia = spain
and not I_SettlementOwner Alalia = thrace
and not I_SettlementOwner Alalia = romans_brutii
and not I_SettlementOwner Alalia = saba
and not I_SettlementOwner Alalia = slave

console_command set_building_health Alalia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command create_building Alexandreia "celt3"
console_command create_building Alexandreia "muster_field_E"
console_command set_building_health Alexandreia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command create_building Alexandreia "celt3"
console_command create_building Alexandreia "militia_barracks_E1"
console_command set_building_health Alexandreia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command create_building Alexandreia "celt3"
console_command create_building Alexandreia "city_barracks_E1"
console_command set_building_health Alexandreia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command create_building Alexandreia "celt3"
console_command create_building Alexandreia "army_barracks_E1"
console_command set_building_health Alexandreia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command create_building Alexandreia "celt3"
console_command create_building Alexandreia "royal_barracks_E1"
console_command set_building_health Alexandreia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Alexandreia = seleucid
and not I_SettlementOwner Alexandreia = parthia
and not I_SettlementOwner Alexandreia = pontus
and not I_SettlementOwner Alexandreia = numidia
and not I_SettlementOwner Alexandreia = romans_julii
and not I_SettlementOwner Alexandreia = egypt
and not I_SettlementOwner Alexandreia = germans
and not I_SettlementOwner Alexandreia = greek_cities
and not I_SettlementOwner Alexandreia = macedon
and not I_SettlementOwner Alexandreia = carthage
and not I_SettlementOwner Alexandreia = romans_scipii
and not I_SettlementOwner Alexandreia = dacia
and not I_SettlementOwner Alexandreia = armenia
and not I_SettlementOwner Alexandreia = spain
and not I_SettlementOwner Alexandreia = thrace
and not I_SettlementOwner Alexandreia = romans_brutii
and not I_SettlementOwner Alexandreia = saba
and not I_SettlementOwner Alexandreia = slave

console_command set_building_health Alexandreia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command create_building Alexandreia_Ariana "celt3"
console_command create_building Alexandreia_Ariana "muster_field_E"
console_command set_building_health Alexandreia_Ariana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command create_building Alexandreia_Ariana "celt3"
console_command create_building Alexandreia_Ariana "militia_barracks_E1"
console_command set_building_health Alexandreia_Ariana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command create_building Alexandreia_Ariana "celt3"
console_command create_building Alexandreia_Ariana "city_barracks_E1"
console_command set_building_health Alexandreia_Ariana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command create_building Alexandreia_Ariana "celt3"
console_command create_building Alexandreia_Ariana "army_barracks_E1"
console_command set_building_health Alexandreia_Ariana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command create_building Alexandreia_Ariana "celt3"
console_command create_building Alexandreia_Ariana "royal_barracks_E1"
console_command set_building_health Alexandreia_Ariana Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Alexandreia_Ariana = seleucid
and not I_SettlementOwner Alexandreia_Ariana = parthia
and not I_SettlementOwner Alexandreia_Ariana = pontus
and not I_SettlementOwner Alexandreia_Ariana = numidia
and not I_SettlementOwner Alexandreia_Ariana = romans_julii
and not I_SettlementOwner Alexandreia_Ariana = egypt
and not I_SettlementOwner Alexandreia_Ariana = germans
and not I_SettlementOwner Alexandreia_Ariana = greek_cities
and not I_SettlementOwner Alexandreia_Ariana = macedon
and not I_SettlementOwner Alexandreia_Ariana = carthage
and not I_SettlementOwner Alexandreia_Ariana = romans_scipii
and not I_SettlementOwner Alexandreia_Ariana = dacia
and not I_SettlementOwner Alexandreia_Ariana = armenia
and not I_SettlementOwner Alexandreia_Ariana = spain
and not I_SettlementOwner Alexandreia_Ariana = thrace
and not I_SettlementOwner Alexandreia_Ariana = romans_brutii
and not I_SettlementOwner Alexandreia_Ariana = saba
and not I_SettlementOwner Alexandreia_Ariana = slave

console_command set_building_health Alexandreia_Ariana Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command create_building Alexandreia_Eschate "celt3"
console_command create_building Alexandreia_Eschate "muster_field_E"
console_command set_building_health Alexandreia_Eschate Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command create_building Alexandreia_Eschate "celt3"
console_command create_building Alexandreia_Eschate "militia_barracks_E1"
console_command set_building_health Alexandreia_Eschate Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command create_building Alexandreia_Eschate "celt3"
console_command create_building Alexandreia_Eschate "city_barracks_E1"
console_command set_building_health Alexandreia_Eschate Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command create_building Alexandreia_Eschate "celt3"
console_command create_building Alexandreia_Eschate "army_barracks_E1"
console_command set_building_health Alexandreia_Eschate Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command create_building Alexandreia_Eschate "celt3"
console_command create_building Alexandreia_Eschate "royal_barracks_E1"
console_command set_building_health Alexandreia_Eschate Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Alexandreia_Eschate = seleucid
and not I_SettlementOwner Alexandreia_Eschate = parthia
and not I_SettlementOwner Alexandreia_Eschate = pontus
and not I_SettlementOwner Alexandreia_Eschate = numidia
and not I_SettlementOwner Alexandreia_Eschate = romans_julii
and not I_SettlementOwner Alexandreia_Eschate = egypt
and not I_SettlementOwner Alexandreia_Eschate = germans
and not I_SettlementOwner Alexandreia_Eschate = greek_cities
and not I_SettlementOwner Alexandreia_Eschate = macedon
and not I_SettlementOwner Alexandreia_Eschate = carthage
and not I_SettlementOwner Alexandreia_Eschate = romans_scipii
and not I_SettlementOwner Alexandreia_Eschate = dacia
and not I_SettlementOwner Alexandreia_Eschate = armenia
and not I_SettlementOwner Alexandreia_Eschate = spain
and not I_SettlementOwner Alexandreia_Eschate = thrace
and not I_SettlementOwner Alexandreia_Eschate = romans_brutii
and not I_SettlementOwner Alexandreia_Eschate = saba
and not I_SettlementOwner Alexandreia_Eschate = slave

console_command set_building_health Alexandreia_Eschate Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command create_building Alexandropolis "celt3"
console_command create_building Alexandropolis "muster_field_E"
console_command set_building_health Alexandropolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command create_building Alexandropolis "celt3"
console_command create_building Alexandropolis "militia_barracks_E1"
console_command set_building_health Alexandropolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command create_building Alexandropolis "celt3"
console_command create_building Alexandropolis "city_barracks_E1"
console_command set_building_health Alexandropolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command create_building Alexandropolis "celt3"
console_command create_building Alexandropolis "army_barracks_E1"
console_command set_building_health Alexandropolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command create_building Alexandropolis "celt3"
console_command create_building Alexandropolis "royal_barracks_E1"
console_command set_building_health Alexandropolis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Alexandropolis = seleucid
and not I_SettlementOwner Alexandropolis = parthia
and not I_SettlementOwner Alexandropolis = pontus
and not I_SettlementOwner Alexandropolis = numidia
and not I_SettlementOwner Alexandropolis = romans_julii
and not I_SettlementOwner Alexandropolis = egypt
and not I_SettlementOwner Alexandropolis = germans
and not I_SettlementOwner Alexandropolis = greek_cities
and not I_SettlementOwner Alexandropolis = macedon
and not I_SettlementOwner Alexandropolis = carthage
and not I_SettlementOwner Alexandropolis = romans_scipii
and not I_SettlementOwner Alexandropolis = dacia
and not I_SettlementOwner Alexandropolis = armenia
and not I_SettlementOwner Alexandropolis = spain
and not I_SettlementOwner Alexandropolis = thrace
and not I_SettlementOwner Alexandropolis = romans_brutii
and not I_SettlementOwner Alexandropolis = saba
and not I_SettlementOwner Alexandropolis = slave

console_command set_building_health Alexandropolis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command create_building Amaseia "celt3"
console_command create_building Amaseia "muster_field_E"
console_command set_building_health Amaseia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command create_building Amaseia "celt3"
console_command create_building Amaseia "militia_barracks_E1"
console_command set_building_health Amaseia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command create_building Amaseia "celt3"
console_command create_building Amaseia "city_barracks_E1"
console_command set_building_health Amaseia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command create_building Amaseia "celt3"
console_command create_building Amaseia "army_barracks_E1"
console_command set_building_health Amaseia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command create_building Amaseia "celt3"
console_command create_building Amaseia "royal_barracks_E1"
console_command set_building_health Amaseia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Amaseia = seleucid
and not I_SettlementOwner Amaseia = parthia
and not I_SettlementOwner Amaseia = pontus
and not I_SettlementOwner Amaseia = numidia
and not I_SettlementOwner Amaseia = romans_julii
and not I_SettlementOwner Amaseia = egypt
and not I_SettlementOwner Amaseia = germans
and not I_SettlementOwner Amaseia = greek_cities
and not I_SettlementOwner Amaseia = macedon
and not I_SettlementOwner Amaseia = carthage
and not I_SettlementOwner Amaseia = romans_scipii
and not I_SettlementOwner Amaseia = dacia
and not I_SettlementOwner Amaseia = armenia
and not I_SettlementOwner Amaseia = spain
and not I_SettlementOwner Amaseia = thrace
and not I_SettlementOwner Amaseia = romans_brutii
and not I_SettlementOwner Amaseia = saba
and not I_SettlementOwner Amaseia = slave

console_command set_building_health Amaseia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command create_building Apollonia "celt3"
console_command create_building Apollonia "muster_field_E"
console_command set_building_health Apollonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command create_building Apollonia "celt3"
console_command create_building Apollonia "militia_barracks_E1"
console_command set_building_health Apollonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command create_building Apollonia "celt3"
console_command create_building Apollonia "city_barracks_E1"
console_command set_building_health Apollonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command create_building Apollonia "celt3"
console_command create_building Apollonia "army_barracks_E1"
console_command set_building_health Apollonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command create_building Apollonia "celt3"
console_command create_building Apollonia "royal_barracks_E1"
console_command set_building_health Apollonia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Apollonia = seleucid
and not I_SettlementOwner Apollonia = parthia
and not I_SettlementOwner Apollonia = pontus
and not I_SettlementOwner Apollonia = numidia
and not I_SettlementOwner Apollonia = romans_julii
and not I_SettlementOwner Apollonia = egypt
and not I_SettlementOwner Apollonia = germans
and not I_SettlementOwner Apollonia = greek_cities
and not I_SettlementOwner Apollonia = macedon
and not I_SettlementOwner Apollonia = carthage
and not I_SettlementOwner Apollonia = romans_scipii
and not I_SettlementOwner Apollonia = dacia
and not I_SettlementOwner Apollonia = armenia
and not I_SettlementOwner Apollonia = spain
and not I_SettlementOwner Apollonia = thrace
and not I_SettlementOwner Apollonia = romans_brutii
and not I_SettlementOwner Apollonia = saba
and not I_SettlementOwner Apollonia = slave

console_command set_building_health Apollonia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command create_building Ammonion "celt3"
console_command create_building Ammonion "muster_field_E"
console_command set_building_health Ammonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command create_building Ammonion "celt3"
console_command create_building Ammonion "militia_barracks_E1"
console_command set_building_health Ammonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command create_building Ammonion "celt3"
console_command create_building Ammonion "city_barracks_E1"
console_command set_building_health Ammonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command create_building Ammonion "celt3"
console_command create_building Ammonion "army_barracks_E1"
console_command set_building_health Ammonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command create_building Ammonion "celt3"
console_command create_building Ammonion "royal_barracks_E1"
console_command set_building_health Ammonion Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ammonion = seleucid
and not I_SettlementOwner Ammonion = parthia
and not I_SettlementOwner Ammonion = pontus
and not I_SettlementOwner Ammonion = numidia
and not I_SettlementOwner Ammonion = romans_julii
and not I_SettlementOwner Ammonion = egypt
and not I_SettlementOwner Ammonion = germans
and not I_SettlementOwner Ammonion = greek_cities
and not I_SettlementOwner Ammonion = macedon
and not I_SettlementOwner Ammonion = carthage
and not I_SettlementOwner Ammonion = romans_scipii
and not I_SettlementOwner Ammonion = dacia
and not I_SettlementOwner Ammonion = armenia
and not I_SettlementOwner Ammonion = spain
and not I_SettlementOwner Ammonion = thrace
and not I_SettlementOwner Ammonion = romans_brutii
and not I_SettlementOwner Ammonion = saba
and not I_SettlementOwner Ammonion = slave

console_command set_building_health Ammonion Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command create_building Ani-Kamah "celt3"
console_command create_building Ani-Kamah "muster_field_E"
console_command set_building_health Ani-Kamah Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command create_building Ani-Kamah "celt3"
console_command create_building Ani-Kamah "militia_barracks_E1"
console_command set_building_health Ani-Kamah Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command create_building Ani-Kamah "celt3"
console_command create_building Ani-Kamah "city_barracks_E1"
console_command set_building_health Ani-Kamah Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command create_building Ani-Kamah "celt3"
console_command create_building Ani-Kamah "army_barracks_E1"
console_command set_building_health Ani-Kamah Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command create_building Ani-Kamah "celt3"
console_command create_building Ani-Kamah "royal_barracks_E1"
console_command set_building_health Ani-Kamah Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ani-Kamah = seleucid
and not I_SettlementOwner Ani-Kamah = parthia
and not I_SettlementOwner Ani-Kamah = pontus
and not I_SettlementOwner Ani-Kamah = numidia
and not I_SettlementOwner Ani-Kamah = romans_julii
and not I_SettlementOwner Ani-Kamah = egypt
and not I_SettlementOwner Ani-Kamah = germans
and not I_SettlementOwner Ani-Kamah = greek_cities
and not I_SettlementOwner Ani-Kamah = macedon
and not I_SettlementOwner Ani-Kamah = carthage
and not I_SettlementOwner Ani-Kamah = romans_scipii
and not I_SettlementOwner Ani-Kamah = dacia
and not I_SettlementOwner Ani-Kamah = armenia
and not I_SettlementOwner Ani-Kamah = spain
and not I_SettlementOwner Ani-Kamah = thrace
and not I_SettlementOwner Ani-Kamah = romans_brutii
and not I_SettlementOwner Ani-Kamah = saba
and not I_SettlementOwner Ani-Kamah = slave

console_command set_building_health Ani-Kamah Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command create_building Ankyra "celt3"
console_command create_building Ankyra "muster_field_E"
console_command set_building_health Ankyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command create_building Ankyra "celt3"
console_command create_building Ankyra "militia_barracks_E1"
console_command set_building_health Ankyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command create_building Ankyra "celt3"
console_command create_building Ankyra "city_barracks_E1"
console_command set_building_health Ankyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command create_building Ankyra "celt3"
console_command create_building Ankyra "army_barracks_E1"
console_command set_building_health Ankyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command create_building Ankyra "celt3"
console_command create_building Ankyra "royal_barracks_E1"
console_command set_building_health Ankyra Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ankyra = seleucid
and not I_SettlementOwner Ankyra = parthia
and not I_SettlementOwner Ankyra = pontus
and not I_SettlementOwner Ankyra = numidia
and not I_SettlementOwner Ankyra = romans_julii
and not I_SettlementOwner Ankyra = egypt
and not I_SettlementOwner Ankyra = germans
and not I_SettlementOwner Ankyra = greek_cities
and not I_SettlementOwner Ankyra = macedon
and not I_SettlementOwner Ankyra = carthage
and not I_SettlementOwner Ankyra = romans_scipii
and not I_SettlementOwner Ankyra = dacia
and not I_SettlementOwner Ankyra = armenia
and not I_SettlementOwner Ankyra = spain
and not I_SettlementOwner Ankyra = thrace
and not I_SettlementOwner Ankyra = romans_brutii
and not I_SettlementOwner Ankyra = saba
and not I_SettlementOwner Ankyra = slave

console_command set_building_health Ankyra Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command create_building Antiocheia "celt3"
console_command create_building Antiocheia "muster_field_E"
console_command set_building_health Antiocheia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command create_building Antiocheia "celt3"
console_command create_building Antiocheia "militia_barracks_E1"
console_command set_building_health Antiocheia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command create_building Antiocheia "celt3"
console_command create_building Antiocheia "city_barracks_E1"
console_command set_building_health Antiocheia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command create_building Antiocheia "celt3"
console_command create_building Antiocheia "army_barracks_E1"
console_command set_building_health Antiocheia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command create_building Antiocheia "celt3"
console_command create_building Antiocheia "royal_barracks_E1"
console_command set_building_health Antiocheia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Antiocheia = seleucid
and not I_SettlementOwner Antiocheia = parthia
and not I_SettlementOwner Antiocheia = pontus
and not I_SettlementOwner Antiocheia = numidia
and not I_SettlementOwner Antiocheia = romans_julii
and not I_SettlementOwner Antiocheia = egypt
and not I_SettlementOwner Antiocheia = germans
and not I_SettlementOwner Antiocheia = greek_cities
and not I_SettlementOwner Antiocheia = macedon
and not I_SettlementOwner Antiocheia = carthage
and not I_SettlementOwner Antiocheia = romans_scipii
and not I_SettlementOwner Antiocheia = dacia
and not I_SettlementOwner Antiocheia = armenia
and not I_SettlementOwner Antiocheia = spain
and not I_SettlementOwner Antiocheia = thrace
and not I_SettlementOwner Antiocheia = romans_brutii
and not I_SettlementOwner Antiocheia = saba
and not I_SettlementOwner Antiocheia = slave

console_command set_building_health Antiocheia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command create_building Antiocheia_Margiane "celt3"
console_command create_building Antiocheia_Margiane "muster_field_E"
console_command set_building_health Antiocheia_Margiane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command create_building Antiocheia_Margiane "celt3"
console_command create_building Antiocheia_Margiane "militia_barracks_E1"
console_command set_building_health Antiocheia_Margiane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command create_building Antiocheia_Margiane "celt3"
console_command create_building Antiocheia_Margiane "city_barracks_E1"
console_command set_building_health Antiocheia_Margiane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command create_building Antiocheia_Margiane "celt3"
console_command create_building Antiocheia_Margiane "army_barracks_E1"
console_command set_building_health Antiocheia_Margiane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command create_building Antiocheia_Margiane "celt3"
console_command create_building Antiocheia_Margiane "royal_barracks_E1"
console_command set_building_health Antiocheia_Margiane Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Antiocheia_Margiane = seleucid
and not I_SettlementOwner Antiocheia_Margiane = parthia
and not I_SettlementOwner Antiocheia_Margiane = pontus
and not I_SettlementOwner Antiocheia_Margiane = numidia
and not I_SettlementOwner Antiocheia_Margiane = romans_julii
and not I_SettlementOwner Antiocheia_Margiane = egypt
and not I_SettlementOwner Antiocheia_Margiane = germans
and not I_SettlementOwner Antiocheia_Margiane = greek_cities
and not I_SettlementOwner Antiocheia_Margiane = macedon
and not I_SettlementOwner Antiocheia_Margiane = carthage
and not I_SettlementOwner Antiocheia_Margiane = romans_scipii
and not I_SettlementOwner Antiocheia_Margiane = dacia
and not I_SettlementOwner Antiocheia_Margiane = armenia
and not I_SettlementOwner Antiocheia_Margiane = spain
and not I_SettlementOwner Antiocheia_Margiane = thrace
and not I_SettlementOwner Antiocheia_Margiane = romans_brutii
and not I_SettlementOwner Antiocheia_Margiane = saba
and not I_SettlementOwner Antiocheia_Margiane = slave

console_command set_building_health Antiocheia_Margiane Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command create_building Apameia "celt3"
console_command create_building Apameia "muster_field_E"
console_command set_building_health Apameia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command create_building Apameia "celt3"
console_command create_building Apameia "militia_barracks_E1"
console_command set_building_health Apameia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command create_building Apameia "celt3"
console_command create_building Apameia "city_barracks_E1"
console_command set_building_health Apameia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command create_building Apameia "celt3"
console_command create_building Apameia "army_barracks_E1"
console_command set_building_health Apameia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command create_building Apameia "celt3"
console_command create_building Apameia "royal_barracks_E1"
console_command set_building_health Apameia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Apameia = seleucid
and not I_SettlementOwner Apameia = parthia
and not I_SettlementOwner Apameia = pontus
and not I_SettlementOwner Apameia = numidia
and not I_SettlementOwner Apameia = romans_julii
and not I_SettlementOwner Apameia = egypt
and not I_SettlementOwner Apameia = germans
and not I_SettlementOwner Apameia = greek_cities
and not I_SettlementOwner Apameia = macedon
and not I_SettlementOwner Apameia = carthage
and not I_SettlementOwner Apameia = romans_scipii
and not I_SettlementOwner Apameia = dacia
and not I_SettlementOwner Apameia = armenia
and not I_SettlementOwner Apameia = spain
and not I_SettlementOwner Apameia = thrace
and not I_SettlementOwner Apameia = romans_brutii
and not I_SettlementOwner Apameia = saba
and not I_SettlementOwner Apameia = slave

console_command set_building_health Apameia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command create_building Arbela "celt3"
console_command create_building Arbela "muster_field_E"
console_command set_building_health Arbela Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command create_building Arbela "celt3"
console_command create_building Arbela "militia_barracks_E1"
console_command set_building_health Arbela Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command create_building Arbela "celt3"
console_command create_building Arbela "city_barracks_E1"
console_command set_building_health Arbela Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command create_building Arbela "celt3"
console_command create_building Arbela "army_barracks_E1"
console_command set_building_health Arbela Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command create_building Arbela "celt3"
console_command create_building Arbela "royal_barracks_E1"
console_command set_building_health Arbela Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Arbela = seleucid
and not I_SettlementOwner Arbela = parthia
and not I_SettlementOwner Arbela = pontus
and not I_SettlementOwner Arbela = numidia
and not I_SettlementOwner Arbela = romans_julii
and not I_SettlementOwner Arbela = egypt
and not I_SettlementOwner Arbela = germans
and not I_SettlementOwner Arbela = greek_cities
and not I_SettlementOwner Arbela = macedon
and not I_SettlementOwner Arbela = carthage
and not I_SettlementOwner Arbela = romans_scipii
and not I_SettlementOwner Arbela = dacia
and not I_SettlementOwner Arbela = armenia
and not I_SettlementOwner Arbela = spain
and not I_SettlementOwner Arbela = thrace
and not I_SettlementOwner Arbela = romans_brutii
and not I_SettlementOwner Arbela = saba
and not I_SettlementOwner Arbela = slave

console_command set_building_health Arbela Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command create_building Ariminum "celt3"
console_command create_building Ariminum "muster_field_E"
console_command set_building_health Ariminum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command create_building Ariminum "celt3"
console_command create_building Ariminum "militia_barracks_E1"
console_command set_building_health Ariminum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command create_building Ariminum "celt3"
console_command create_building Ariminum "city_barracks_E1"
console_command set_building_health Ariminum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command create_building Ariminum "celt3"
console_command create_building Ariminum "army_barracks_E1"
console_command set_building_health Ariminum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command create_building Ariminum "celt3"
console_command create_building Ariminum "royal_barracks_E1"
console_command set_building_health Ariminum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ariminum = seleucid
and not I_SettlementOwner Ariminum = parthia
and not I_SettlementOwner Ariminum = pontus
and not I_SettlementOwner Ariminum = numidia
and not I_SettlementOwner Ariminum = romans_julii
and not I_SettlementOwner Ariminum = egypt
and not I_SettlementOwner Ariminum = germans
and not I_SettlementOwner Ariminum = greek_cities
and not I_SettlementOwner Ariminum = macedon
and not I_SettlementOwner Ariminum = carthage
and not I_SettlementOwner Ariminum = romans_scipii
and not I_SettlementOwner Ariminum = dacia
and not I_SettlementOwner Ariminum = armenia
and not I_SettlementOwner Ariminum = spain
and not I_SettlementOwner Ariminum = thrace
and not I_SettlementOwner Ariminum = romans_brutii
and not I_SettlementOwner Ariminum = saba
and not I_SettlementOwner Ariminum = slave

console_command set_building_health Ariminum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command create_building Armavir "celt3"
console_command create_building Armavir "muster_field_E"
console_command set_building_health Armavir Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command create_building Armavir "celt3"
console_command create_building Armavir "militia_barracks_E1"
console_command set_building_health Armavir Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command create_building Armavir "celt3"
console_command create_building Armavir "city_barracks_E1"
console_command set_building_health Armavir Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command create_building Armavir "celt3"
console_command create_building Armavir "army_barracks_E1"
console_command set_building_health Armavir Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command create_building Armavir "celt3"
console_command create_building Armavir "royal_barracks_E1"
console_command set_building_health Armavir Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Armavir = seleucid
and not I_SettlementOwner Armavir = parthia
and not I_SettlementOwner Armavir = pontus
and not I_SettlementOwner Armavir = numidia
and not I_SettlementOwner Armavir = romans_julii
and not I_SettlementOwner Armavir = egypt
and not I_SettlementOwner Armavir = germans
and not I_SettlementOwner Armavir = greek_cities
and not I_SettlementOwner Armavir = macedon
and not I_SettlementOwner Armavir = carthage
and not I_SettlementOwner Armavir = romans_scipii
and not I_SettlementOwner Armavir = dacia
and not I_SettlementOwner Armavir = armenia
and not I_SettlementOwner Armavir = spain
and not I_SettlementOwner Armavir = thrace
and not I_SettlementOwner Armavir = romans_brutii
and not I_SettlementOwner Armavir = saba
and not I_SettlementOwner Armavir = slave

console_command set_building_health Armavir Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command create_building Arpi "celt3"
console_command create_building Arpi "muster_field_E"
console_command set_building_health Arpi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command create_building Arpi "celt3"
console_command create_building Arpi "militia_barracks_E1"
console_command set_building_health Arpi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command create_building Arpi "celt3"
console_command create_building Arpi "city_barracks_E1"
console_command set_building_health Arpi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command create_building Arpi "celt3"
console_command create_building Arpi "army_barracks_E1"
console_command set_building_health Arpi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command create_building Arpi "celt3"
console_command create_building Arpi "royal_barracks_E1"
console_command set_building_health Arpi Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Arpi = seleucid
and not I_SettlementOwner Arpi = parthia
and not I_SettlementOwner Arpi = pontus
and not I_SettlementOwner Arpi = numidia
and not I_SettlementOwner Arpi = romans_julii
and not I_SettlementOwner Arpi = egypt
and not I_SettlementOwner Arpi = germans
and not I_SettlementOwner Arpi = greek_cities
and not I_SettlementOwner Arpi = macedon
and not I_SettlementOwner Arpi = carthage
and not I_SettlementOwner Arpi = romans_scipii
and not I_SettlementOwner Arpi = dacia
and not I_SettlementOwner Arpi = armenia
and not I_SettlementOwner Arpi = spain
and not I_SettlementOwner Arpi = thrace
and not I_SettlementOwner Arpi = romans_brutii
and not I_SettlementOwner Arpi = saba
and not I_SettlementOwner Arpi = slave

console_command set_building_health Arpi Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command create_building Arretium "celt3"
console_command create_building Arretium "muster_field_E"
console_command set_building_health Arretium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command create_building Arretium "celt3"
console_command create_building Arretium "militia_barracks_E1"
console_command set_building_health Arretium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command create_building Arretium "celt3"
console_command create_building Arretium "city_barracks_E1"
console_command set_building_health Arretium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command create_building Arretium "celt3"
console_command create_building Arretium "army_barracks_E1"
console_command set_building_health Arretium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command create_building Arretium "celt3"
console_command create_building Arretium "royal_barracks_E1"
console_command set_building_health Arretium Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Arretium = seleucid
and not I_SettlementOwner Arretium = parthia
and not I_SettlementOwner Arretium = pontus
and not I_SettlementOwner Arretium = numidia
and not I_SettlementOwner Arretium = romans_julii
and not I_SettlementOwner Arretium = egypt
and not I_SettlementOwner Arretium = germans
and not I_SettlementOwner Arretium = greek_cities
and not I_SettlementOwner Arretium = macedon
and not I_SettlementOwner Arretium = carthage
and not I_SettlementOwner Arretium = romans_scipii
and not I_SettlementOwner Arretium = dacia
and not I_SettlementOwner Arretium = armenia
and not I_SettlementOwner Arretium = spain
and not I_SettlementOwner Arretium = thrace
and not I_SettlementOwner Arretium = romans_brutii
and not I_SettlementOwner Arretium = saba
and not I_SettlementOwner Arretium = slave

console_command set_building_health Arretium Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command create_building Arse "celt3"
console_command create_building Arse "muster_field_E"
console_command set_building_health Arse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command create_building Arse "celt3"
console_command create_building Arse "militia_barracks_E1"
console_command set_building_health Arse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command create_building Arse "celt3"
console_command create_building Arse "city_barracks_E1"
console_command set_building_health Arse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command create_building Arse "celt3"
console_command create_building Arse "army_barracks_E1"
console_command set_building_health Arse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command create_building Arse "celt3"
console_command create_building Arse "royal_barracks_E1"
console_command set_building_health Arse Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Arse = seleucid
and not I_SettlementOwner Arse = parthia
and not I_SettlementOwner Arse = pontus
and not I_SettlementOwner Arse = numidia
and not I_SettlementOwner Arse = romans_julii
and not I_SettlementOwner Arse = egypt
and not I_SettlementOwner Arse = germans
and not I_SettlementOwner Arse = greek_cities
and not I_SettlementOwner Arse = macedon
and not I_SettlementOwner Arse = carthage
and not I_SettlementOwner Arse = romans_scipii
and not I_SettlementOwner Arse = dacia
and not I_SettlementOwner Arse = armenia
and not I_SettlementOwner Arse = spain
and not I_SettlementOwner Arse = thrace
and not I_SettlementOwner Arse = romans_brutii
and not I_SettlementOwner Arse = saba
and not I_SettlementOwner Arse = slave

console_command set_building_health Arse Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command create_building Asaak "celt3"
console_command create_building Asaak "muster_field_E"
console_command set_building_health Asaak Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command create_building Asaak "celt3"
console_command create_building Asaak "militia_barracks_E1"
console_command set_building_health Asaak Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command create_building Asaak "celt3"
console_command create_building Asaak "city_barracks_E1"
console_command set_building_health Asaak Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command create_building Asaak "celt3"
console_command create_building Asaak "army_barracks_E1"
console_command set_building_health Asaak Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command create_building Asaak "celt3"
console_command create_building Asaak "royal_barracks_E1"
console_command set_building_health Asaak Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Asaak = seleucid
and not I_SettlementOwner Asaak = parthia
and not I_SettlementOwner Asaak = pontus
and not I_SettlementOwner Asaak = numidia
and not I_SettlementOwner Asaak = romans_julii
and not I_SettlementOwner Asaak = egypt
and not I_SettlementOwner Asaak = germans
and not I_SettlementOwner Asaak = greek_cities
and not I_SettlementOwner Asaak = macedon
and not I_SettlementOwner Asaak = carthage
and not I_SettlementOwner Asaak = romans_scipii
and not I_SettlementOwner Asaak = dacia
and not I_SettlementOwner Asaak = armenia
and not I_SettlementOwner Asaak = spain
and not I_SettlementOwner Asaak = thrace
and not I_SettlementOwner Asaak = romans_brutii
and not I_SettlementOwner Asaak = saba
and not I_SettlementOwner Asaak = slave

console_command set_building_health Asaak Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command create_building Ascaucalis "celt3"
console_command create_building Ascaucalis "muster_field_E"
console_command set_building_health Ascaucalis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command create_building Ascaucalis "celt3"
console_command create_building Ascaucalis "militia_barracks_E1"
console_command set_building_health Ascaucalis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command create_building Ascaucalis "celt3"
console_command create_building Ascaucalis "city_barracks_E1"
console_command set_building_health Ascaucalis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command create_building Ascaucalis "celt3"
console_command create_building Ascaucalis "army_barracks_E1"
console_command set_building_health Ascaucalis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command create_building Ascaucalis "celt3"
console_command create_building Ascaucalis "royal_barracks_E1"
console_command set_building_health Ascaucalis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ascaucalis = seleucid
and not I_SettlementOwner Ascaucalis = parthia
and not I_SettlementOwner Ascaucalis = pontus
and not I_SettlementOwner Ascaucalis = numidia
and not I_SettlementOwner Ascaucalis = romans_julii
and not I_SettlementOwner Ascaucalis = egypt
and not I_SettlementOwner Ascaucalis = germans
and not I_SettlementOwner Ascaucalis = greek_cities
and not I_SettlementOwner Ascaucalis = macedon
and not I_SettlementOwner Ascaucalis = carthage
and not I_SettlementOwner Ascaucalis = romans_scipii
and not I_SettlementOwner Ascaucalis = dacia
and not I_SettlementOwner Ascaucalis = armenia
and not I_SettlementOwner Ascaucalis = spain
and not I_SettlementOwner Ascaucalis = thrace
and not I_SettlementOwner Ascaucalis = romans_brutii
and not I_SettlementOwner Ascaucalis = saba
and not I_SettlementOwner Ascaucalis = slave

console_command set_building_health Ascaucalis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command create_building Asodat "celt3"
console_command create_building Asodat "muster_field_E"
console_command set_building_health Asodat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command create_building Asodat "celt3"
console_command create_building Asodat "militia_barracks_E1"
console_command set_building_health Asodat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command create_building Asodat "celt3"
console_command create_building Asodat "city_barracks_E1"
console_command set_building_health Asodat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command create_building Asodat "celt3"
console_command create_building Asodat "army_barracks_E1"
console_command set_building_health Asodat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command create_building Asodat "celt3"
console_command create_building Asodat "royal_barracks_E1"
console_command set_building_health Asodat Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Asodat = seleucid
and not I_SettlementOwner Asodat = parthia
and not I_SettlementOwner Asodat = pontus
and not I_SettlementOwner Asodat = numidia
and not I_SettlementOwner Asodat = romans_julii
and not I_SettlementOwner Asodat = egypt
and not I_SettlementOwner Asodat = germans
and not I_SettlementOwner Asodat = greek_cities
and not I_SettlementOwner Asodat = macedon
and not I_SettlementOwner Asodat = carthage
and not I_SettlementOwner Asodat = romans_scipii
and not I_SettlementOwner Asodat = dacia
and not I_SettlementOwner Asodat = armenia
and not I_SettlementOwner Asodat = spain
and not I_SettlementOwner Asodat = thrace
and not I_SettlementOwner Asodat = romans_brutii
and not I_SettlementOwner Asodat = saba
and not I_SettlementOwner Asodat = slave

console_command set_building_health Asodat Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command create_building Athenai "celt3"
console_command create_building Athenai "muster_field_E"
console_command set_building_health Athenai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command create_building Athenai "celt3"
console_command create_building Athenai "militia_barracks_E1"
console_command set_building_health Athenai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command create_building Athenai "celt3"
console_command create_building Athenai "city_barracks_E1"
console_command set_building_health Athenai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command create_building Athenai "celt3"
console_command create_building Athenai "army_barracks_E1"
console_command set_building_health Athenai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command create_building Athenai "celt3"
console_command create_building Athenai "royal_barracks_E1"
console_command set_building_health Athenai Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Athenai = seleucid
and not I_SettlementOwner Athenai = parthia
and not I_SettlementOwner Athenai = pontus
and not I_SettlementOwner Athenai = numidia
and not I_SettlementOwner Athenai = romans_julii
and not I_SettlementOwner Athenai = egypt
and not I_SettlementOwner Athenai = germans
and not I_SettlementOwner Athenai = greek_cities
and not I_SettlementOwner Athenai = macedon
and not I_SettlementOwner Athenai = carthage
and not I_SettlementOwner Athenai = romans_scipii
and not I_SettlementOwner Athenai = dacia
and not I_SettlementOwner Athenai = armenia
and not I_SettlementOwner Athenai = spain
and not I_SettlementOwner Athenai = thrace
and not I_SettlementOwner Athenai = romans_brutii
and not I_SettlementOwner Athenai = saba
and not I_SettlementOwner Athenai = slave

console_command set_building_health Athenai Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command create_building Attuaca "celt3"
console_command create_building Attuaca "muster_field_E"
console_command set_building_health Attuaca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command create_building Attuaca "celt3"
console_command create_building Attuaca "militia_barracks_E1"
console_command set_building_health Attuaca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command create_building Attuaca "celt3"
console_command create_building Attuaca "city_barracks_E1"
console_command set_building_health Attuaca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command create_building Attuaca "celt3"
console_command create_building Attuaca "army_barracks_E1"
console_command set_building_health Attuaca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command create_building Attuaca "celt3"
console_command create_building Attuaca "royal_barracks_E1"
console_command set_building_health Attuaca Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Attuaca = seleucid
and not I_SettlementOwner Attuaca = parthia
and not I_SettlementOwner Attuaca = pontus
and not I_SettlementOwner Attuaca = numidia
and not I_SettlementOwner Attuaca = romans_julii
and not I_SettlementOwner Attuaca = egypt
and not I_SettlementOwner Attuaca = germans
and not I_SettlementOwner Attuaca = greek_cities
and not I_SettlementOwner Attuaca = macedon
and not I_SettlementOwner Attuaca = carthage
and not I_SettlementOwner Attuaca = romans_scipii
and not I_SettlementOwner Attuaca = dacia
and not I_SettlementOwner Attuaca = armenia
and not I_SettlementOwner Attuaca = spain
and not I_SettlementOwner Attuaca = thrace
and not I_SettlementOwner Attuaca = romans_brutii
and not I_SettlementOwner Attuaca = saba
and not I_SettlementOwner Attuaca = slave

console_command set_building_health Attuaca Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command create_building Augila_settlement "celt3"
console_command create_building Augila_settlement "muster_field_E"
console_command set_building_health Augila_settlement Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command create_building Augila_settlement "celt3"
console_command create_building Augila_settlement "militia_barracks_E1"
console_command set_building_health Augila_settlement Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command create_building Augila_settlement "celt3"
console_command create_building Augila_settlement "city_barracks_E1"
console_command set_building_health Augila_settlement Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command create_building Augila_settlement "celt3"
console_command create_building Augila_settlement "army_barracks_E1"
console_command set_building_health Augila_settlement Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command create_building Augila_settlement "celt3"
console_command create_building Augila_settlement "royal_barracks_E1"
console_command set_building_health Augila_settlement Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Augila_settlement = seleucid
and not I_SettlementOwner Augila_settlement = parthia
and not I_SettlementOwner Augila_settlement = pontus
and not I_SettlementOwner Augila_settlement = numidia
and not I_SettlementOwner Augila_settlement = romans_julii
and not I_SettlementOwner Augila_settlement = egypt
and not I_SettlementOwner Augila_settlement = germans
and not I_SettlementOwner Augila_settlement = greek_cities
and not I_SettlementOwner Augila_settlement = macedon
and not I_SettlementOwner Augila_settlement = carthage
and not I_SettlementOwner Augila_settlement = romans_scipii
and not I_SettlementOwner Augila_settlement = dacia
and not I_SettlementOwner Augila_settlement = armenia
and not I_SettlementOwner Augila_settlement = spain
and not I_SettlementOwner Augila_settlement = thrace
and not I_SettlementOwner Augila_settlement = romans_brutii
and not I_SettlementOwner Augila_settlement = saba
and not I_SettlementOwner Augila_settlement = slave

console_command set_building_health Augila_settlement Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command create_building Avaricum "celt3"
console_command create_building Avaricum "muster_field_E"
console_command set_building_health Avaricum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command create_building Avaricum "celt3"
console_command create_building Avaricum "militia_barracks_E1"
console_command set_building_health Avaricum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command create_building Avaricum "celt3"
console_command create_building Avaricum "city_barracks_E1"
console_command set_building_health Avaricum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command create_building Avaricum "celt3"
console_command create_building Avaricum "army_barracks_E1"
console_command set_building_health Avaricum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command create_building Avaricum "celt3"
console_command create_building Avaricum "royal_barracks_E1"
console_command set_building_health Avaricum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Avaricum = seleucid
and not I_SettlementOwner Avaricum = parthia
and not I_SettlementOwner Avaricum = pontus
and not I_SettlementOwner Avaricum = numidia
and not I_SettlementOwner Avaricum = romans_julii
and not I_SettlementOwner Avaricum = egypt
and not I_SettlementOwner Avaricum = germans
and not I_SettlementOwner Avaricum = greek_cities
and not I_SettlementOwner Avaricum = macedon
and not I_SettlementOwner Avaricum = carthage
and not I_SettlementOwner Avaricum = romans_scipii
and not I_SettlementOwner Avaricum = dacia
and not I_SettlementOwner Avaricum = armenia
and not I_SettlementOwner Avaricum = spain
and not I_SettlementOwner Avaricum = thrace
and not I_SettlementOwner Avaricum = romans_brutii
and not I_SettlementOwner Avaricum = saba
and not I_SettlementOwner Avaricum = slave

console_command set_building_health Avaricum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command create_building Aventicos "celt3"
console_command create_building Aventicos "muster_field_E"
console_command set_building_health Aventicos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command create_building Aventicos "celt3"
console_command create_building Aventicos "militia_barracks_E1"
console_command set_building_health Aventicos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command create_building Aventicos "celt3"
console_command create_building Aventicos "city_barracks_E1"
console_command set_building_health Aventicos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command create_building Aventicos "celt3"
console_command create_building Aventicos "army_barracks_E1"
console_command set_building_health Aventicos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command create_building Aventicos "celt3"
console_command create_building Aventicos "royal_barracks_E1"
console_command set_building_health Aventicos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Aventicos = seleucid
and not I_SettlementOwner Aventicos = parthia
and not I_SettlementOwner Aventicos = pontus
and not I_SettlementOwner Aventicos = numidia
and not I_SettlementOwner Aventicos = romans_julii
and not I_SettlementOwner Aventicos = egypt
and not I_SettlementOwner Aventicos = germans
and not I_SettlementOwner Aventicos = greek_cities
and not I_SettlementOwner Aventicos = macedon
and not I_SettlementOwner Aventicos = carthage
and not I_SettlementOwner Aventicos = romans_scipii
and not I_SettlementOwner Aventicos = dacia
and not I_SettlementOwner Aventicos = armenia
and not I_SettlementOwner Aventicos = spain
and not I_SettlementOwner Aventicos = thrace
and not I_SettlementOwner Aventicos = romans_brutii
and not I_SettlementOwner Aventicos = saba
and not I_SettlementOwner Aventicos = slave

console_command set_building_health Aventicos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command create_building Axum "celt3"
console_command create_building Axum "muster_field_E"
console_command set_building_health Axum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command create_building Axum "celt3"
console_command create_building Axum "militia_barracks_E1"
console_command set_building_health Axum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command create_building Axum "celt3"
console_command create_building Axum "city_barracks_E1"
console_command set_building_health Axum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command create_building Axum "celt3"
console_command create_building Axum "army_barracks_E1"
console_command set_building_health Axum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command create_building Axum "celt3"
console_command create_building Axum "royal_barracks_E1"
console_command set_building_health Axum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Axum = seleucid
and not I_SettlementOwner Axum = parthia
and not I_SettlementOwner Axum = pontus
and not I_SettlementOwner Axum = numidia
and not I_SettlementOwner Axum = romans_julii
and not I_SettlementOwner Axum = egypt
and not I_SettlementOwner Axum = germans
and not I_SettlementOwner Axum = greek_cities
and not I_SettlementOwner Axum = macedon
and not I_SettlementOwner Axum = carthage
and not I_SettlementOwner Axum = romans_scipii
and not I_SettlementOwner Axum = dacia
and not I_SettlementOwner Axum = armenia
and not I_SettlementOwner Axum = spain
and not I_SettlementOwner Axum = thrace
and not I_SettlementOwner Axum = romans_brutii
and not I_SettlementOwner Axum = saba
and not I_SettlementOwner Axum = slave

console_command set_building_health Axum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command create_building Bagacos "celt3"
console_command create_building Bagacos "muster_field_E"
console_command set_building_health Bagacos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command create_building Bagacos "celt3"
console_command create_building Bagacos "militia_barracks_E1"
console_command set_building_health Bagacos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command create_building Bagacos "celt3"
console_command create_building Bagacos "city_barracks_E1"
console_command set_building_health Bagacos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command create_building Bagacos "celt3"
console_command create_building Bagacos "army_barracks_E1"
console_command set_building_health Bagacos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command create_building Bagacos "celt3"
console_command create_building Bagacos "royal_barracks_E1"
console_command set_building_health Bagacos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Bagacos = seleucid
and not I_SettlementOwner Bagacos = parthia
and not I_SettlementOwner Bagacos = pontus
and not I_SettlementOwner Bagacos = numidia
and not I_SettlementOwner Bagacos = romans_julii
and not I_SettlementOwner Bagacos = egypt
and not I_SettlementOwner Bagacos = germans
and not I_SettlementOwner Bagacos = greek_cities
and not I_SettlementOwner Bagacos = macedon
and not I_SettlementOwner Bagacos = carthage
and not I_SettlementOwner Bagacos = romans_scipii
and not I_SettlementOwner Bagacos = dacia
and not I_SettlementOwner Bagacos = armenia
and not I_SettlementOwner Bagacos = spain
and not I_SettlementOwner Bagacos = thrace
and not I_SettlementOwner Bagacos = romans_brutii
and not I_SettlementOwner Bagacos = saba
and not I_SettlementOwner Bagacos = slave

console_command set_building_health Bagacos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command create_building Baikor "celt3"
console_command create_building Baikor "muster_field_E"
console_command set_building_health Baikor Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command create_building Baikor "celt3"
console_command create_building Baikor "militia_barracks_E1"
console_command set_building_health Baikor Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command create_building Baikor "celt3"
console_command create_building Baikor "city_barracks_E1"
console_command set_building_health Baikor Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command create_building Baikor "celt3"
console_command create_building Baikor "army_barracks_E1"
console_command set_building_health Baikor Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command create_building Baikor "celt3"
console_command create_building Baikor "royal_barracks_E1"
console_command set_building_health Baikor Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Baikor = seleucid
and not I_SettlementOwner Baikor = parthia
and not I_SettlementOwner Baikor = pontus
and not I_SettlementOwner Baikor = numidia
and not I_SettlementOwner Baikor = romans_julii
and not I_SettlementOwner Baikor = egypt
and not I_SettlementOwner Baikor = germans
and not I_SettlementOwner Baikor = greek_cities
and not I_SettlementOwner Baikor = macedon
and not I_SettlementOwner Baikor = carthage
and not I_SettlementOwner Baikor = romans_scipii
and not I_SettlementOwner Baikor = dacia
and not I_SettlementOwner Baikor = armenia
and not I_SettlementOwner Baikor = spain
and not I_SettlementOwner Baikor = thrace
and not I_SettlementOwner Baikor = romans_brutii
and not I_SettlementOwner Baikor = saba
and not I_SettlementOwner Baikor = slave

console_command set_building_health Baikor Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command create_building Baktra "celt3"
console_command create_building Baktra "muster_field_E"
console_command set_building_health Baktra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command create_building Baktra "celt3"
console_command create_building Baktra "militia_barracks_E1"
console_command set_building_health Baktra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command create_building Baktra "celt3"
console_command create_building Baktra "city_barracks_E1"
console_command set_building_health Baktra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command create_building Baktra "celt3"
console_command create_building Baktra "army_barracks_E1"
console_command set_building_health Baktra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command create_building Baktra "celt3"
console_command create_building Baktra "royal_barracks_E1"
console_command set_building_health Baktra Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Baktra = seleucid
and not I_SettlementOwner Baktra = parthia
and not I_SettlementOwner Baktra = pontus
and not I_SettlementOwner Baktra = numidia
and not I_SettlementOwner Baktra = romans_julii
and not I_SettlementOwner Baktra = egypt
and not I_SettlementOwner Baktra = germans
and not I_SettlementOwner Baktra = greek_cities
and not I_SettlementOwner Baktra = macedon
and not I_SettlementOwner Baktra = carthage
and not I_SettlementOwner Baktra = romans_scipii
and not I_SettlementOwner Baktra = dacia
and not I_SettlementOwner Baktra = armenia
and not I_SettlementOwner Baktra = spain
and not I_SettlementOwner Baktra = thrace
and not I_SettlementOwner Baktra = romans_brutii
and not I_SettlementOwner Baktra = saba
and not I_SettlementOwner Baktra = slave

console_command set_building_health Baktra Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command create_building Bibracte "celt3"
console_command create_building Bibracte "muster_field_E"
console_command set_building_health Bibracte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command create_building Bibracte "celt3"
console_command create_building Bibracte "militia_barracks_E1"
console_command set_building_health Bibracte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command create_building Bibracte "celt3"
console_command create_building Bibracte "city_barracks_E1"
console_command set_building_health Bibracte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command create_building Bibracte "celt3"
console_command create_building Bibracte "army_barracks_E1"
console_command set_building_health Bibracte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command create_building Bibracte "celt3"
console_command create_building Bibracte "royal_barracks_E1"
console_command set_building_health Bibracte Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Bibracte = seleucid
and not I_SettlementOwner Bibracte = parthia
and not I_SettlementOwner Bibracte = pontus
and not I_SettlementOwner Bibracte = numidia
and not I_SettlementOwner Bibracte = romans_julii
and not I_SettlementOwner Bibracte = egypt
and not I_SettlementOwner Bibracte = germans
and not I_SettlementOwner Bibracte = greek_cities
and not I_SettlementOwner Bibracte = macedon
and not I_SettlementOwner Bibracte = carthage
and not I_SettlementOwner Bibracte = romans_scipii
and not I_SettlementOwner Bibracte = dacia
and not I_SettlementOwner Bibracte = armenia
and not I_SettlementOwner Bibracte = spain
and not I_SettlementOwner Bibracte = thrace
and not I_SettlementOwner Bibracte = romans_brutii
and not I_SettlementOwner Bibracte = saba
and not I_SettlementOwner Bibracte = slave

console_command set_building_health Bibracte Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command create_building Chach "celt3"
console_command create_building Chach "muster_field_E"
console_command set_building_health Chach Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command create_building Chach "celt3"
console_command create_building Chach "militia_barracks_E1"
console_command set_building_health Chach Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command create_building Chach "celt3"
console_command create_building Chach "city_barracks_E1"
console_command set_building_health Chach Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command create_building Chach "celt3"
console_command create_building Chach "army_barracks_E1"
console_command set_building_health Chach Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command create_building Chach "celt3"
console_command create_building Chach "royal_barracks_E1"
console_command set_building_health Chach Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Chach = seleucid
and not I_SettlementOwner Chach = parthia
and not I_SettlementOwner Chach = pontus
and not I_SettlementOwner Chach = numidia
and not I_SettlementOwner Chach = romans_julii
and not I_SettlementOwner Chach = egypt
and not I_SettlementOwner Chach = germans
and not I_SettlementOwner Chach = greek_cities
and not I_SettlementOwner Chach = macedon
and not I_SettlementOwner Chach = carthage
and not I_SettlementOwner Chach = romans_scipii
and not I_SettlementOwner Chach = dacia
and not I_SettlementOwner Chach = armenia
and not I_SettlementOwner Chach = spain
and not I_SettlementOwner Chach = thrace
and not I_SettlementOwner Chach = romans_brutii
and not I_SettlementOwner Chach = saba
and not I_SettlementOwner Chach = slave

console_command set_building_health Chach Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command create_building Bocchoris "celt3"
console_command create_building Bocchoris "muster_field_E"
console_command set_building_health Bocchoris Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command create_building Bocchoris "celt3"
console_command create_building Bocchoris "militia_barracks_E1"
console_command set_building_health Bocchoris Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command create_building Bocchoris "celt3"
console_command create_building Bocchoris "city_barracks_E1"
console_command set_building_health Bocchoris Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command create_building Bocchoris "celt3"
console_command create_building Bocchoris "army_barracks_E1"
console_command set_building_health Bocchoris Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command create_building Bocchoris "celt3"
console_command create_building Bocchoris "royal_barracks_E1"
console_command set_building_health Bocchoris Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Bocchoris = seleucid
and not I_SettlementOwner Bocchoris = parthia
and not I_SettlementOwner Bocchoris = pontus
and not I_SettlementOwner Bocchoris = numidia
and not I_SettlementOwner Bocchoris = romans_julii
and not I_SettlementOwner Bocchoris = egypt
and not I_SettlementOwner Bocchoris = germans
and not I_SettlementOwner Bocchoris = greek_cities
and not I_SettlementOwner Bocchoris = macedon
and not I_SettlementOwner Bocchoris = carthage
and not I_SettlementOwner Bocchoris = romans_scipii
and not I_SettlementOwner Bocchoris = dacia
and not I_SettlementOwner Bocchoris = armenia
and not I_SettlementOwner Bocchoris = spain
and not I_SettlementOwner Bocchoris = thrace
and not I_SettlementOwner Bocchoris = romans_brutii
and not I_SettlementOwner Bocchoris = saba
and not I_SettlementOwner Bocchoris = slave

console_command set_building_health Bocchoris Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command create_building Bononia "celt3"
console_command create_building Bononia "muster_field_E"
console_command set_building_health Bononia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command create_building Bononia "celt3"
console_command create_building Bononia "militia_barracks_E1"
console_command set_building_health Bononia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command create_building Bononia "celt3"
console_command create_building Bononia "city_barracks_E1"
console_command set_building_health Bononia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command create_building Bononia "celt3"
console_command create_building Bononia "army_barracks_E1"
console_command set_building_health Bononia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command create_building Bononia "celt3"
console_command create_building Bononia "royal_barracks_E1"
console_command set_building_health Bononia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Bononia = seleucid
and not I_SettlementOwner Bononia = parthia
and not I_SettlementOwner Bononia = pontus
and not I_SettlementOwner Bononia = numidia
and not I_SettlementOwner Bononia = romans_julii
and not I_SettlementOwner Bononia = egypt
and not I_SettlementOwner Bononia = germans
and not I_SettlementOwner Bononia = greek_cities
and not I_SettlementOwner Bononia = macedon
and not I_SettlementOwner Bononia = carthage
and not I_SettlementOwner Bononia = romans_scipii
and not I_SettlementOwner Bononia = dacia
and not I_SettlementOwner Bononia = armenia
and not I_SettlementOwner Bononia = spain
and not I_SettlementOwner Bononia = thrace
and not I_SettlementOwner Bononia = romans_brutii
and not I_SettlementOwner Bononia = saba
and not I_SettlementOwner Bononia = slave

console_command set_building_health Bononia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command create_building Bostra "celt3"
console_command create_building Bostra "muster_field_E"
console_command set_building_health Bostra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command create_building Bostra "celt3"
console_command create_building Bostra "militia_barracks_E1"
console_command set_building_health Bostra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command create_building Bostra "celt3"
console_command create_building Bostra "city_barracks_E1"
console_command set_building_health Bostra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command create_building Bostra "celt3"
console_command create_building Bostra "army_barracks_E1"
console_command set_building_health Bostra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command create_building Bostra "celt3"
console_command create_building Bostra "royal_barracks_E1"
console_command set_building_health Bostra Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Bostra = seleucid
and not I_SettlementOwner Bostra = parthia
and not I_SettlementOwner Bostra = pontus
and not I_SettlementOwner Bostra = numidia
and not I_SettlementOwner Bostra = romans_julii
and not I_SettlementOwner Bostra = egypt
and not I_SettlementOwner Bostra = germans
and not I_SettlementOwner Bostra = greek_cities
and not I_SettlementOwner Bostra = macedon
and not I_SettlementOwner Bostra = carthage
and not I_SettlementOwner Bostra = romans_scipii
and not I_SettlementOwner Bostra = dacia
and not I_SettlementOwner Bostra = armenia
and not I_SettlementOwner Bostra = spain
and not I_SettlementOwner Bostra = thrace
and not I_SettlementOwner Bostra = romans_brutii
and not I_SettlementOwner Bostra = saba
and not I_SettlementOwner Bostra = slave

console_command set_building_health Bostra Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command create_building Bratosporios "celt3"
console_command create_building Bratosporios "muster_field_E"
console_command set_building_health Bratosporios Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command create_building Bratosporios "celt3"
console_command create_building Bratosporios "militia_barracks_E1"
console_command set_building_health Bratosporios Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command create_building Bratosporios "celt3"
console_command create_building Bratosporios "city_barracks_E1"
console_command set_building_health Bratosporios Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command create_building Bratosporios "celt3"
console_command create_building Bratosporios "army_barracks_E1"
console_command set_building_health Bratosporios Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command create_building Bratosporios "celt3"
console_command create_building Bratosporios "royal_barracks_E1"
console_command set_building_health Bratosporios Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Bratosporios = seleucid
and not I_SettlementOwner Bratosporios = parthia
and not I_SettlementOwner Bratosporios = pontus
and not I_SettlementOwner Bratosporios = numidia
and not I_SettlementOwner Bratosporios = romans_julii
and not I_SettlementOwner Bratosporios = egypt
and not I_SettlementOwner Bratosporios = germans
and not I_SettlementOwner Bratosporios = greek_cities
and not I_SettlementOwner Bratosporios = macedon
and not I_SettlementOwner Bratosporios = carthage
and not I_SettlementOwner Bratosporios = romans_scipii
and not I_SettlementOwner Bratosporios = dacia
and not I_SettlementOwner Bratosporios = armenia
and not I_SettlementOwner Bratosporios = spain
and not I_SettlementOwner Bratosporios = thrace
and not I_SettlementOwner Bratosporios = romans_brutii
and not I_SettlementOwner Bratosporios = saba
and not I_SettlementOwner Bratosporios = slave

console_command set_building_health Bratosporios Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command create_building Burdigala "celt3"
console_command create_building Burdigala "muster_field_E"
console_command set_building_health Burdigala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command create_building Burdigala "celt3"
console_command create_building Burdigala "militia_barracks_E1"
console_command set_building_health Burdigala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command create_building Burdigala "celt3"
console_command create_building Burdigala "city_barracks_E1"
console_command set_building_health Burdigala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command create_building Burdigala "celt3"
console_command create_building Burdigala "army_barracks_E1"
console_command set_building_health Burdigala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command create_building Burdigala "celt3"
console_command create_building Burdigala "royal_barracks_E1"
console_command set_building_health Burdigala Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Burdigala = seleucid
and not I_SettlementOwner Burdigala = parthia
and not I_SettlementOwner Burdigala = pontus
and not I_SettlementOwner Burdigala = numidia
and not I_SettlementOwner Burdigala = romans_julii
and not I_SettlementOwner Burdigala = egypt
and not I_SettlementOwner Burdigala = germans
and not I_SettlementOwner Burdigala = greek_cities
and not I_SettlementOwner Burdigala = macedon
and not I_SettlementOwner Burdigala = carthage
and not I_SettlementOwner Burdigala = romans_scipii
and not I_SettlementOwner Burdigala = dacia
and not I_SettlementOwner Burdigala = armenia
and not I_SettlementOwner Burdigala = spain
and not I_SettlementOwner Burdigala = thrace
and not I_SettlementOwner Burdigala = romans_brutii
and not I_SettlementOwner Burdigala = saba
and not I_SettlementOwner Burdigala = slave

console_command set_building_health Burdigala Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command create_building Buridava "celt3"
console_command create_building Buridava "muster_field_E"
console_command set_building_health Buridava Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command create_building Buridava "celt3"
console_command create_building Buridava "militia_barracks_E1"
console_command set_building_health Buridava Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command create_building Buridava "celt3"
console_command create_building Buridava "city_barracks_E1"
console_command set_building_health Buridava Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command create_building Buridava "celt3"
console_command create_building Buridava "army_barracks_E1"
console_command set_building_health Buridava Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command create_building Buridava "celt3"
console_command create_building Buridava "royal_barracks_E1"
console_command set_building_health Buridava Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Buridava = seleucid
and not I_SettlementOwner Buridava = parthia
and not I_SettlementOwner Buridava = pontus
and not I_SettlementOwner Buridava = numidia
and not I_SettlementOwner Buridava = romans_julii
and not I_SettlementOwner Buridava = egypt
and not I_SettlementOwner Buridava = germans
and not I_SettlementOwner Buridava = greek_cities
and not I_SettlementOwner Buridava = macedon
and not I_SettlementOwner Buridava = carthage
and not I_SettlementOwner Buridava = romans_scipii
and not I_SettlementOwner Buridava = dacia
and not I_SettlementOwner Buridava = armenia
and not I_SettlementOwner Buridava = spain
and not I_SettlementOwner Buridava = thrace
and not I_SettlementOwner Buridava = romans_brutii
and not I_SettlementOwner Buridava = saba
and not I_SettlementOwner Buridava = slave

console_command set_building_health Buridava Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command create_building Byzantion "celt3"
console_command create_building Byzantion "muster_field_E"
console_command set_building_health Byzantion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command create_building Byzantion "celt3"
console_command create_building Byzantion "militia_barracks_E1"
console_command set_building_health Byzantion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command create_building Byzantion "celt3"
console_command create_building Byzantion "city_barracks_E1"
console_command set_building_health Byzantion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command create_building Byzantion "celt3"
console_command create_building Byzantion "army_barracks_E1"
console_command set_building_health Byzantion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command create_building Byzantion "celt3"
console_command create_building Byzantion "royal_barracks_E1"
console_command set_building_health Byzantion Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Byzantion = seleucid
and not I_SettlementOwner Byzantion = parthia
and not I_SettlementOwner Byzantion = pontus
and not I_SettlementOwner Byzantion = numidia
and not I_SettlementOwner Byzantion = romans_julii
and not I_SettlementOwner Byzantion = egypt
and not I_SettlementOwner Byzantion = germans
and not I_SettlementOwner Byzantion = greek_cities
and not I_SettlementOwner Byzantion = macedon
and not I_SettlementOwner Byzantion = carthage
and not I_SettlementOwner Byzantion = romans_scipii
and not I_SettlementOwner Byzantion = dacia
and not I_SettlementOwner Byzantion = armenia
and not I_SettlementOwner Byzantion = spain
and not I_SettlementOwner Byzantion = thrace
and not I_SettlementOwner Byzantion = romans_brutii
and not I_SettlementOwner Byzantion = saba
and not I_SettlementOwner Byzantion = slave

console_command set_building_health Byzantion Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command create_building Caern_Brigantae "celt3"
console_command create_building Caern_Brigantae "muster_field_E"
console_command set_building_health Caern_Brigantae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command create_building Caern_Brigantae "celt3"
console_command create_building Caern_Brigantae "militia_barracks_E1"
console_command set_building_health Caern_Brigantae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command create_building Caern_Brigantae "celt3"
console_command create_building Caern_Brigantae "city_barracks_E1"
console_command set_building_health Caern_Brigantae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command create_building Caern_Brigantae "celt3"
console_command create_building Caern_Brigantae "army_barracks_E1"
console_command set_building_health Caern_Brigantae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command create_building Caern_Brigantae "celt3"
console_command create_building Caern_Brigantae "royal_barracks_E1"
console_command set_building_health Caern_Brigantae Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Caern_Brigantae = seleucid
and not I_SettlementOwner Caern_Brigantae = parthia
and not I_SettlementOwner Caern_Brigantae = pontus
and not I_SettlementOwner Caern_Brigantae = numidia
and not I_SettlementOwner Caern_Brigantae = romans_julii
and not I_SettlementOwner Caern_Brigantae = egypt
and not I_SettlementOwner Caern_Brigantae = germans
and not I_SettlementOwner Caern_Brigantae = greek_cities
and not I_SettlementOwner Caern_Brigantae = macedon
and not I_SettlementOwner Caern_Brigantae = carthage
and not I_SettlementOwner Caern_Brigantae = romans_scipii
and not I_SettlementOwner Caern_Brigantae = dacia
and not I_SettlementOwner Caern_Brigantae = armenia
and not I_SettlementOwner Caern_Brigantae = spain
and not I_SettlementOwner Caern_Brigantae = thrace
and not I_SettlementOwner Caern_Brigantae = romans_brutii
and not I_SettlementOwner Caern_Brigantae = saba
and not I_SettlementOwner Caern_Brigantae = slave

console_command set_building_health Caern_Brigantae Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command create_building Camulosadae "celt3"
console_command create_building Camulosadae "muster_field_E"
console_command set_building_health Camulosadae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command create_building Camulosadae "celt3"
console_command create_building Camulosadae "militia_barracks_E1"
console_command set_building_health Camulosadae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command create_building Camulosadae "celt3"
console_command create_building Camulosadae "city_barracks_E1"
console_command set_building_health Camulosadae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command create_building Camulosadae "celt3"
console_command create_building Camulosadae "army_barracks_E1"
console_command set_building_health Camulosadae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command create_building Camulosadae "celt3"
console_command create_building Camulosadae "royal_barracks_E1"
console_command set_building_health Camulosadae Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Camulosadae = seleucid
and not I_SettlementOwner Camulosadae = parthia
and not I_SettlementOwner Camulosadae = pontus
and not I_SettlementOwner Camulosadae = numidia
and not I_SettlementOwner Camulosadae = romans_julii
and not I_SettlementOwner Camulosadae = egypt
and not I_SettlementOwner Camulosadae = germans
and not I_SettlementOwner Camulosadae = greek_cities
and not I_SettlementOwner Camulosadae = macedon
and not I_SettlementOwner Camulosadae = carthage
and not I_SettlementOwner Camulosadae = romans_scipii
and not I_SettlementOwner Camulosadae = dacia
and not I_SettlementOwner Camulosadae = armenia
and not I_SettlementOwner Camulosadae = spain
and not I_SettlementOwner Camulosadae = thrace
and not I_SettlementOwner Camulosadae = romans_brutii
and not I_SettlementOwner Camulosadae = saba
and not I_SettlementOwner Camulosadae = slave

console_command set_building_health Camulosadae Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command create_building Capua "celt3"
console_command create_building Capua "muster_field_E"
console_command set_building_health Capua Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command create_building Capua "celt3"
console_command create_building Capua "militia_barracks_E1"
console_command set_building_health Capua Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command create_building Capua "celt3"
console_command create_building Capua "city_barracks_E1"
console_command set_building_health Capua Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command create_building Capua "celt3"
console_command create_building Capua "army_barracks_E1"
console_command set_building_health Capua Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command create_building Capua "celt3"
console_command create_building Capua "royal_barracks_E1"
console_command set_building_health Capua Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Capua = seleucid
and not I_SettlementOwner Capua = parthia
and not I_SettlementOwner Capua = pontus
and not I_SettlementOwner Capua = numidia
and not I_SettlementOwner Capua = romans_julii
and not I_SettlementOwner Capua = egypt
and not I_SettlementOwner Capua = germans
and not I_SettlementOwner Capua = greek_cities
and not I_SettlementOwner Capua = macedon
and not I_SettlementOwner Capua = carthage
and not I_SettlementOwner Capua = romans_scipii
and not I_SettlementOwner Capua = dacia
and not I_SettlementOwner Capua = armenia
and not I_SettlementOwner Capua = spain
and not I_SettlementOwner Capua = thrace
and not I_SettlementOwner Capua = romans_brutii
and not I_SettlementOwner Capua = saba
and not I_SettlementOwner Capua = slave

console_command set_building_health Capua Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command create_building Carna "celt3"
console_command create_building Carna "muster_field_E"
console_command set_building_health Carna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command create_building Carna "celt3"
console_command create_building Carna "militia_barracks_E1"
console_command set_building_health Carna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command create_building Carna "celt3"
console_command create_building Carna "city_barracks_E1"
console_command set_building_health Carna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command create_building Carna "celt3"
console_command create_building Carna "army_barracks_E1"
console_command set_building_health Carna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command create_building Carna "celt3"
console_command create_building Carna "royal_barracks_E1"
console_command set_building_health Carna Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Carna = seleucid
and not I_SettlementOwner Carna = parthia
and not I_SettlementOwner Carna = pontus
and not I_SettlementOwner Carna = numidia
and not I_SettlementOwner Carna = romans_julii
and not I_SettlementOwner Carna = egypt
and not I_SettlementOwner Carna = germans
and not I_SettlementOwner Carna = greek_cities
and not I_SettlementOwner Carna = macedon
and not I_SettlementOwner Carna = carthage
and not I_SettlementOwner Carna = romans_scipii
and not I_SettlementOwner Carna = dacia
and not I_SettlementOwner Carna = armenia
and not I_SettlementOwner Carna = spain
and not I_SettlementOwner Carna = thrace
and not I_SettlementOwner Carna = romans_brutii
and not I_SettlementOwner Carna = saba
and not I_SettlementOwner Carna = slave

console_command set_building_health Carna Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command create_building Carrodunum "celt3"
console_command create_building Carrodunum "muster_field_E"
console_command set_building_health Carrodunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command create_building Carrodunum "celt3"
console_command create_building Carrodunum "militia_barracks_E1"
console_command set_building_health Carrodunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command create_building Carrodunum "celt3"
console_command create_building Carrodunum "city_barracks_E1"
console_command set_building_health Carrodunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command create_building Carrodunum "celt3"
console_command create_building Carrodunum "army_barracks_E1"
console_command set_building_health Carrodunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command create_building Carrodunum "celt3"
console_command create_building Carrodunum "royal_barracks_E1"
console_command set_building_health Carrodunum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Carrodunum = seleucid
and not I_SettlementOwner Carrodunum = parthia
and not I_SettlementOwner Carrodunum = pontus
and not I_SettlementOwner Carrodunum = numidia
and not I_SettlementOwner Carrodunum = romans_julii
and not I_SettlementOwner Carrodunum = egypt
and not I_SettlementOwner Carrodunum = germans
and not I_SettlementOwner Carrodunum = greek_cities
and not I_SettlementOwner Carrodunum = macedon
and not I_SettlementOwner Carrodunum = carthage
and not I_SettlementOwner Carrodunum = romans_scipii
and not I_SettlementOwner Carrodunum = dacia
and not I_SettlementOwner Carrodunum = armenia
and not I_SettlementOwner Carrodunum = spain
and not I_SettlementOwner Carrodunum = thrace
and not I_SettlementOwner Carrodunum = romans_brutii
and not I_SettlementOwner Carrodunum = saba
and not I_SettlementOwner Carrodunum = slave

console_command set_building_health Carrodunum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command create_building Cenabum "celt3"
console_command create_building Cenabum "muster_field_E"
console_command set_building_health Cenabum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command create_building Cenabum "celt3"
console_command create_building Cenabum "militia_barracks_E1"
console_command set_building_health Cenabum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command create_building Cenabum "celt3"
console_command create_building Cenabum "city_barracks_E1"
console_command set_building_health Cenabum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command create_building Cenabum "celt3"
console_command create_building Cenabum "army_barracks_E1"
console_command set_building_health Cenabum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command create_building Cenabum "celt3"
console_command create_building Cenabum "royal_barracks_E1"
console_command set_building_health Cenabum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Cenabum = seleucid
and not I_SettlementOwner Cenabum = parthia
and not I_SettlementOwner Cenabum = pontus
and not I_SettlementOwner Cenabum = numidia
and not I_SettlementOwner Cenabum = romans_julii
and not I_SettlementOwner Cenabum = egypt
and not I_SettlementOwner Cenabum = germans
and not I_SettlementOwner Cenabum = greek_cities
and not I_SettlementOwner Cenabum = macedon
and not I_SettlementOwner Cenabum = carthage
and not I_SettlementOwner Cenabum = romans_scipii
and not I_SettlementOwner Cenabum = dacia
and not I_SettlementOwner Cenabum = armenia
and not I_SettlementOwner Cenabum = spain
and not I_SettlementOwner Cenabum = thrace
and not I_SettlementOwner Cenabum = romans_brutii
and not I_SettlementOwner Cenabum = saba
and not I_SettlementOwner Cenabum = slave

console_command set_building_health Cenabum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command create_building Chalkis "celt3"
console_command create_building Chalkis "muster_field_E"
console_command set_building_health Chalkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command create_building Chalkis "celt3"
console_command create_building Chalkis "militia_barracks_E1"
console_command set_building_health Chalkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command create_building Chalkis "celt3"
console_command create_building Chalkis "city_barracks_E1"
console_command set_building_health Chalkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command create_building Chalkis "celt3"
console_command create_building Chalkis "army_barracks_E1"
console_command set_building_health Chalkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command create_building Chalkis "celt3"
console_command create_building Chalkis "royal_barracks_E1"
console_command set_building_health Chalkis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Chalkis = seleucid
and not I_SettlementOwner Chalkis = parthia
and not I_SettlementOwner Chalkis = pontus
and not I_SettlementOwner Chalkis = numidia
and not I_SettlementOwner Chalkis = romans_julii
and not I_SettlementOwner Chalkis = egypt
and not I_SettlementOwner Chalkis = germans
and not I_SettlementOwner Chalkis = greek_cities
and not I_SettlementOwner Chalkis = macedon
and not I_SettlementOwner Chalkis = carthage
and not I_SettlementOwner Chalkis = romans_scipii
and not I_SettlementOwner Chalkis = dacia
and not I_SettlementOwner Chalkis = armenia
and not I_SettlementOwner Chalkis = spain
and not I_SettlementOwner Chalkis = thrace
and not I_SettlementOwner Chalkis = romans_brutii
and not I_SettlementOwner Chalkis = saba
and not I_SettlementOwner Chalkis = slave

console_command set_building_health Chalkis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command create_building Charax "celt3"
console_command create_building Charax "muster_field_E"
console_command set_building_health Charax Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command create_building Charax "celt3"
console_command create_building Charax "militia_barracks_E1"
console_command set_building_health Charax Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command create_building Charax "celt3"
console_command create_building Charax "city_barracks_E1"
console_command set_building_health Charax Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command create_building Charax "celt3"
console_command create_building Charax "army_barracks_E1"
console_command set_building_health Charax Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command create_building Charax "celt3"
console_command create_building Charax "royal_barracks_E1"
console_command set_building_health Charax Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Charax = seleucid
and not I_SettlementOwner Charax = parthia
and not I_SettlementOwner Charax = pontus
and not I_SettlementOwner Charax = numidia
and not I_SettlementOwner Charax = romans_julii
and not I_SettlementOwner Charax = egypt
and not I_SettlementOwner Charax = germans
and not I_SettlementOwner Charax = greek_cities
and not I_SettlementOwner Charax = macedon
and not I_SettlementOwner Charax = carthage
and not I_SettlementOwner Charax = romans_scipii
and not I_SettlementOwner Charax = dacia
and not I_SettlementOwner Charax = armenia
and not I_SettlementOwner Charax = spain
and not I_SettlementOwner Charax = thrace
and not I_SettlementOwner Charax = romans_brutii
and not I_SettlementOwner Charax = saba
and not I_SettlementOwner Charax = slave

console_command set_building_health Charax Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command create_building Chersonesos "celt3"
console_command create_building Chersonesos "muster_field_E"
console_command set_building_health Chersonesos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command create_building Chersonesos "celt3"
console_command create_building Chersonesos "militia_barracks_E1"
console_command set_building_health Chersonesos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command create_building Chersonesos "celt3"
console_command create_building Chersonesos "city_barracks_E1"
console_command set_building_health Chersonesos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command create_building Chersonesos "celt3"
console_command create_building Chersonesos "army_barracks_E1"
console_command set_building_health Chersonesos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command create_building Chersonesos "celt3"
console_command create_building Chersonesos "royal_barracks_E1"
console_command set_building_health Chersonesos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Chersonesos = seleucid
and not I_SettlementOwner Chersonesos = parthia
and not I_SettlementOwner Chersonesos = pontus
and not I_SettlementOwner Chersonesos = numidia
and not I_SettlementOwner Chersonesos = romans_julii
and not I_SettlementOwner Chersonesos = egypt
and not I_SettlementOwner Chersonesos = germans
and not I_SettlementOwner Chersonesos = greek_cities
and not I_SettlementOwner Chersonesos = macedon
and not I_SettlementOwner Chersonesos = carthage
and not I_SettlementOwner Chersonesos = romans_scipii
and not I_SettlementOwner Chersonesos = dacia
and not I_SettlementOwner Chersonesos = armenia
and not I_SettlementOwner Chersonesos = spain
and not I_SettlementOwner Chersonesos = thrace
and not I_SettlementOwner Chersonesos = romans_brutii
and not I_SettlementOwner Chersonesos = saba
and not I_SettlementOwner Chersonesos = slave

console_command set_building_health Chersonesos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command create_building Chighu "celt3"
console_command create_building Chighu "muster_field_E"
console_command set_building_health Chighu Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command create_building Chighu "celt3"
console_command create_building Chighu "militia_barracks_E1"
console_command set_building_health Chighu Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command create_building Chighu "celt3"
console_command create_building Chighu "city_barracks_E1"
console_command set_building_health Chighu Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command create_building Chighu "celt3"
console_command create_building Chighu "army_barracks_E1"
console_command set_building_health Chighu Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command create_building Chighu "celt3"
console_command create_building Chighu "royal_barracks_E1"
console_command set_building_health Chighu Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Chighu = seleucid
and not I_SettlementOwner Chighu = parthia
and not I_SettlementOwner Chighu = pontus
and not I_SettlementOwner Chighu = numidia
and not I_SettlementOwner Chighu = romans_julii
and not I_SettlementOwner Chighu = egypt
and not I_SettlementOwner Chighu = germans
and not I_SettlementOwner Chighu = greek_cities
and not I_SettlementOwner Chighu = macedon
and not I_SettlementOwner Chighu = carthage
and not I_SettlementOwner Chighu = romans_scipii
and not I_SettlementOwner Chighu = dacia
and not I_SettlementOwner Chighu = armenia
and not I_SettlementOwner Chighu = spain
and not I_SettlementOwner Chighu = thrace
and not I_SettlementOwner Chighu = romans_brutii
and not I_SettlementOwner Chighu = saba
and not I_SettlementOwner Chighu = slave

console_command set_building_health Chighu Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command create_building Atiqa "celt3"
console_command create_building Atiqa "muster_field_E"
console_command set_building_health Atiqa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command create_building Atiqa "celt3"
console_command create_building Atiqa "militia_barracks_E1"
console_command set_building_health Atiqa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command create_building Atiqa "celt3"
console_command create_building Atiqa "city_barracks_E1"
console_command set_building_health Atiqa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command create_building Atiqa "celt3"
console_command create_building Atiqa "army_barracks_E1"
console_command set_building_health Atiqa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command create_building Atiqa "celt3"
console_command create_building Atiqa "royal_barracks_E1"
console_command set_building_health Atiqa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Atiqa = seleucid
and not I_SettlementOwner Atiqa = parthia
and not I_SettlementOwner Atiqa = pontus
and not I_SettlementOwner Atiqa = numidia
and not I_SettlementOwner Atiqa = romans_julii
and not I_SettlementOwner Atiqa = egypt
and not I_SettlementOwner Atiqa = germans
and not I_SettlementOwner Atiqa = greek_cities
and not I_SettlementOwner Atiqa = macedon
and not I_SettlementOwner Atiqa = carthage
and not I_SettlementOwner Atiqa = romans_scipii
and not I_SettlementOwner Atiqa = dacia
and not I_SettlementOwner Atiqa = armenia
and not I_SettlementOwner Atiqa = spain
and not I_SettlementOwner Atiqa = thrace
and not I_SettlementOwner Atiqa = romans_brutii
and not I_SettlementOwner Atiqa = saba
and not I_SettlementOwner Atiqa = slave

console_command set_building_health Atiqa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command create_building Dalminion "celt3"
console_command create_building Dalminion "muster_field_E"
console_command set_building_health Dalminion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command create_building Dalminion "celt3"
console_command create_building Dalminion "militia_barracks_E1"
console_command set_building_health Dalminion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command create_building Dalminion "celt3"
console_command create_building Dalminion "city_barracks_E1"
console_command set_building_health Dalminion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command create_building Dalminion "celt3"
console_command create_building Dalminion "army_barracks_E1"
console_command set_building_health Dalminion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command create_building Dalminion "celt3"
console_command create_building Dalminion "royal_barracks_E1"
console_command set_building_health Dalminion Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Dalminion = seleucid
and not I_SettlementOwner Dalminion = parthia
and not I_SettlementOwner Dalminion = pontus
and not I_SettlementOwner Dalminion = numidia
and not I_SettlementOwner Dalminion = romans_julii
and not I_SettlementOwner Dalminion = egypt
and not I_SettlementOwner Dalminion = germans
and not I_SettlementOwner Dalminion = greek_cities
and not I_SettlementOwner Dalminion = macedon
and not I_SettlementOwner Dalminion = carthage
and not I_SettlementOwner Dalminion = romans_scipii
and not I_SettlementOwner Dalminion = dacia
and not I_SettlementOwner Dalminion = armenia
and not I_SettlementOwner Dalminion = spain
and not I_SettlementOwner Dalminion = thrace
and not I_SettlementOwner Dalminion = romans_brutii
and not I_SettlementOwner Dalminion = saba
and not I_SettlementOwner Dalminion = slave

console_command set_building_health Dalminion Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command create_building Damaskos "celt3"
console_command create_building Damaskos "muster_field_E"
console_command set_building_health Damaskos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command create_building Damaskos "celt3"
console_command create_building Damaskos "militia_barracks_E1"
console_command set_building_health Damaskos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command create_building Damaskos "celt3"
console_command create_building Damaskos "city_barracks_E1"
console_command set_building_health Damaskos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command create_building Damaskos "celt3"
console_command create_building Damaskos "army_barracks_E1"
console_command set_building_health Damaskos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command create_building Damaskos "celt3"
console_command create_building Damaskos "royal_barracks_E1"
console_command set_building_health Damaskos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Damaskos = seleucid
and not I_SettlementOwner Damaskos = parthia
and not I_SettlementOwner Damaskos = pontus
and not I_SettlementOwner Damaskos = numidia
and not I_SettlementOwner Damaskos = romans_julii
and not I_SettlementOwner Damaskos = egypt
and not I_SettlementOwner Damaskos = germans
and not I_SettlementOwner Damaskos = greek_cities
and not I_SettlementOwner Damaskos = macedon
and not I_SettlementOwner Damaskos = carthage
and not I_SettlementOwner Damaskos = romans_scipii
and not I_SettlementOwner Damaskos = dacia
and not I_SettlementOwner Damaskos = armenia
and not I_SettlementOwner Damaskos = spain
and not I_SettlementOwner Damaskos = thrace
and not I_SettlementOwner Damaskos = romans_brutii
and not I_SettlementOwner Damaskos = saba
and not I_SettlementOwner Damaskos = slave

console_command set_building_health Damaskos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command create_building Darioritum "celt3"
console_command create_building Darioritum "muster_field_E"
console_command set_building_health Darioritum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command create_building Darioritum "celt3"
console_command create_building Darioritum "militia_barracks_E1"
console_command set_building_health Darioritum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command create_building Darioritum "celt3"
console_command create_building Darioritum "city_barracks_E1"
console_command set_building_health Darioritum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command create_building Darioritum "celt3"
console_command create_building Darioritum "army_barracks_E1"
console_command set_building_health Darioritum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command create_building Darioritum "celt3"
console_command create_building Darioritum "royal_barracks_E1"
console_command set_building_health Darioritum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Darioritum = seleucid
and not I_SettlementOwner Darioritum = parthia
and not I_SettlementOwner Darioritum = pontus
and not I_SettlementOwner Darioritum = numidia
and not I_SettlementOwner Darioritum = romans_julii
and not I_SettlementOwner Darioritum = egypt
and not I_SettlementOwner Darioritum = germans
and not I_SettlementOwner Darioritum = greek_cities
and not I_SettlementOwner Darioritum = macedon
and not I_SettlementOwner Darioritum = carthage
and not I_SettlementOwner Darioritum = romans_scipii
and not I_SettlementOwner Darioritum = dacia
and not I_SettlementOwner Darioritum = armenia
and not I_SettlementOwner Darioritum = spain
and not I_SettlementOwner Darioritum = thrace
and not I_SettlementOwner Darioritum = romans_brutii
and not I_SettlementOwner Darioritum = saba
and not I_SettlementOwner Darioritum = slave

console_command set_building_health Darioritum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command create_building Demetrias "celt3"
console_command create_building Demetrias "muster_field_E"
console_command set_building_health Demetrias Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command create_building Demetrias "celt3"
console_command create_building Demetrias "militia_barracks_E1"
console_command set_building_health Demetrias Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command create_building Demetrias "celt3"
console_command create_building Demetrias "city_barracks_E1"
console_command set_building_health Demetrias Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command create_building Demetrias "celt3"
console_command create_building Demetrias "army_barracks_E1"
console_command set_building_health Demetrias Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command create_building Demetrias "celt3"
console_command create_building Demetrias "royal_barracks_E1"
console_command set_building_health Demetrias Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Demetrias = seleucid
and not I_SettlementOwner Demetrias = parthia
and not I_SettlementOwner Demetrias = pontus
and not I_SettlementOwner Demetrias = numidia
and not I_SettlementOwner Demetrias = romans_julii
and not I_SettlementOwner Demetrias = egypt
and not I_SettlementOwner Demetrias = germans
and not I_SettlementOwner Demetrias = greek_cities
and not I_SettlementOwner Demetrias = macedon
and not I_SettlementOwner Demetrias = carthage
and not I_SettlementOwner Demetrias = romans_scipii
and not I_SettlementOwner Demetrias = dacia
and not I_SettlementOwner Demetrias = armenia
and not I_SettlementOwner Demetrias = spain
and not I_SettlementOwner Demetrias = thrace
and not I_SettlementOwner Demetrias = romans_brutii
and not I_SettlementOwner Demetrias = saba
and not I_SettlementOwner Demetrias = slave

console_command set_building_health Demetrias Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command create_building Diospolis_Megale "celt3"
console_command create_building Diospolis_Megale "muster_field_E"
console_command set_building_health Diospolis_Megale Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command create_building Diospolis_Megale "celt3"
console_command create_building Diospolis_Megale "militia_barracks_E1"
console_command set_building_health Diospolis_Megale Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command create_building Diospolis_Megale "celt3"
console_command create_building Diospolis_Megale "city_barracks_E1"
console_command set_building_health Diospolis_Megale Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command create_building Diospolis_Megale "celt3"
console_command create_building Diospolis_Megale "army_barracks_E1"
console_command set_building_health Diospolis_Megale Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command create_building Diospolis_Megale "celt3"
console_command create_building Diospolis_Megale "royal_barracks_E1"
console_command set_building_health Diospolis_Megale Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Diospolis_Megale = seleucid
and not I_SettlementOwner Diospolis_Megale = parthia
and not I_SettlementOwner Diospolis_Megale = pontus
and not I_SettlementOwner Diospolis_Megale = numidia
and not I_SettlementOwner Diospolis_Megale = romans_julii
and not I_SettlementOwner Diospolis_Megale = egypt
and not I_SettlementOwner Diospolis_Megale = germans
and not I_SettlementOwner Diospolis_Megale = greek_cities
and not I_SettlementOwner Diospolis_Megale = macedon
and not I_SettlementOwner Diospolis_Megale = carthage
and not I_SettlementOwner Diospolis_Megale = romans_scipii
and not I_SettlementOwner Diospolis_Megale = dacia
and not I_SettlementOwner Diospolis_Megale = armenia
and not I_SettlementOwner Diospolis_Megale = spain
and not I_SettlementOwner Diospolis_Megale = thrace
and not I_SettlementOwner Diospolis_Megale = romans_brutii
and not I_SettlementOwner Diospolis_Megale = saba
and not I_SettlementOwner Diospolis_Megale = slave

console_command set_building_health Diospolis_Megale Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command create_building Babylon "celt3"
console_command create_building Babylon "muster_field_E"
console_command set_building_health Babylon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command create_building Babylon "celt3"
console_command create_building Babylon "militia_barracks_E1"
console_command set_building_health Babylon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command create_building Babylon "celt3"
console_command create_building Babylon "city_barracks_E1"
console_command set_building_health Babylon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command create_building Babylon "celt3"
console_command create_building Babylon "army_barracks_E1"
console_command set_building_health Babylon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command create_building Babylon "celt3"
console_command create_building Babylon "royal_barracks_E1"
console_command set_building_health Babylon Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Babylon = seleucid
and not I_SettlementOwner Babylon = parthia
and not I_SettlementOwner Babylon = pontus
and not I_SettlementOwner Babylon = numidia
and not I_SettlementOwner Babylon = romans_julii
and not I_SettlementOwner Babylon = egypt
and not I_SettlementOwner Babylon = germans
and not I_SettlementOwner Babylon = greek_cities
and not I_SettlementOwner Babylon = macedon
and not I_SettlementOwner Babylon = carthage
and not I_SettlementOwner Babylon = romans_scipii
and not I_SettlementOwner Babylon = dacia
and not I_SettlementOwner Babylon = armenia
and not I_SettlementOwner Babylon = spain
and not I_SettlementOwner Babylon = thrace
and not I_SettlementOwner Babylon = romans_brutii
and not I_SettlementOwner Babylon = saba
and not I_SettlementOwner Babylon = slave

console_command set_building_health Babylon Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command create_building Eburonum "celt3"
console_command create_building Eburonum "muster_field_E"
console_command set_building_health Eburonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command create_building Eburonum "celt3"
console_command create_building Eburonum "militia_barracks_E1"
console_command set_building_health Eburonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command create_building Eburonum "celt3"
console_command create_building Eburonum "city_barracks_E1"
console_command set_building_health Eburonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command create_building Eburonum "celt3"
console_command create_building Eburonum "army_barracks_E1"
console_command set_building_health Eburonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command create_building Eburonum "celt3"
console_command create_building Eburonum "royal_barracks_E1"
console_command set_building_health Eburonum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Eburonum = seleucid
and not I_SettlementOwner Eburonum = parthia
and not I_SettlementOwner Eburonum = pontus
and not I_SettlementOwner Eburonum = numidia
and not I_SettlementOwner Eburonum = romans_julii
and not I_SettlementOwner Eburonum = egypt
and not I_SettlementOwner Eburonum = germans
and not I_SettlementOwner Eburonum = greek_cities
and not I_SettlementOwner Eburonum = macedon
and not I_SettlementOwner Eburonum = carthage
and not I_SettlementOwner Eburonum = romans_scipii
and not I_SettlementOwner Eburonum = dacia
and not I_SettlementOwner Eburonum = armenia
and not I_SettlementOwner Eburonum = spain
and not I_SettlementOwner Eburonum = thrace
and not I_SettlementOwner Eburonum = romans_brutii
and not I_SettlementOwner Eburonum = saba
and not I_SettlementOwner Eburonum = slave

console_command set_building_health Eburonum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command create_building Edessa "celt3"
console_command create_building Edessa "muster_field_E"
console_command set_building_health Edessa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command create_building Edessa "celt3"
console_command create_building Edessa "militia_barracks_E1"
console_command set_building_health Edessa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command create_building Edessa "celt3"
console_command create_building Edessa "city_barracks_E1"
console_command set_building_health Edessa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command create_building Edessa "celt3"
console_command create_building Edessa "army_barracks_E1"
console_command set_building_health Edessa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command create_building Edessa "celt3"
console_command create_building Edessa "royal_barracks_E1"
console_command set_building_health Edessa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Edessa = seleucid
and not I_SettlementOwner Edessa = parthia
and not I_SettlementOwner Edessa = pontus
and not I_SettlementOwner Edessa = numidia
and not I_SettlementOwner Edessa = romans_julii
and not I_SettlementOwner Edessa = egypt
and not I_SettlementOwner Edessa = germans
and not I_SettlementOwner Edessa = greek_cities
and not I_SettlementOwner Edessa = macedon
and not I_SettlementOwner Edessa = carthage
and not I_SettlementOwner Edessa = romans_scipii
and not I_SettlementOwner Edessa = dacia
and not I_SettlementOwner Edessa = armenia
and not I_SettlementOwner Edessa = spain
and not I_SettlementOwner Edessa = thrace
and not I_SettlementOwner Edessa = romans_brutii
and not I_SettlementOwner Edessa = saba
and not I_SettlementOwner Edessa = slave

console_command set_building_health Edessa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command create_building Ekbatana "celt3"
console_command create_building Ekbatana "muster_field_E"
console_command set_building_health Ekbatana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command create_building Ekbatana "celt3"
console_command create_building Ekbatana "militia_barracks_E1"
console_command set_building_health Ekbatana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command create_building Ekbatana "celt3"
console_command create_building Ekbatana "city_barracks_E1"
console_command set_building_health Ekbatana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command create_building Ekbatana "celt3"
console_command create_building Ekbatana "army_barracks_E1"
console_command set_building_health Ekbatana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command create_building Ekbatana "celt3"
console_command create_building Ekbatana "royal_barracks_E1"
console_command set_building_health Ekbatana Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ekbatana = seleucid
and not I_SettlementOwner Ekbatana = parthia
and not I_SettlementOwner Ekbatana = pontus
and not I_SettlementOwner Ekbatana = numidia
and not I_SettlementOwner Ekbatana = romans_julii
and not I_SettlementOwner Ekbatana = egypt
and not I_SettlementOwner Ekbatana = germans
and not I_SettlementOwner Ekbatana = greek_cities
and not I_SettlementOwner Ekbatana = macedon
and not I_SettlementOwner Ekbatana = carthage
and not I_SettlementOwner Ekbatana = romans_scipii
and not I_SettlementOwner Ekbatana = dacia
and not I_SettlementOwner Ekbatana = armenia
and not I_SettlementOwner Ekbatana = spain
and not I_SettlementOwner Ekbatana = thrace
and not I_SettlementOwner Ekbatana = romans_brutii
and not I_SettlementOwner Ekbatana = saba
and not I_SettlementOwner Ekbatana = slave

console_command set_building_health Ekbatana Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command create_building Emain_Macha "celt3"
console_command create_building Emain_Macha "muster_field_E"
console_command set_building_health Emain_Macha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command create_building Emain_Macha "celt3"
console_command create_building Emain_Macha "militia_barracks_E1"
console_command set_building_health Emain_Macha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command create_building Emain_Macha "celt3"
console_command create_building Emain_Macha "city_barracks_E1"
console_command set_building_health Emain_Macha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command create_building Emain_Macha "celt3"
console_command create_building Emain_Macha "army_barracks_E1"
console_command set_building_health Emain_Macha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command create_building Emain_Macha "celt3"
console_command create_building Emain_Macha "royal_barracks_E1"
console_command set_building_health Emain_Macha Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Emain_Macha = seleucid
and not I_SettlementOwner Emain_Macha = parthia
and not I_SettlementOwner Emain_Macha = pontus
and not I_SettlementOwner Emain_Macha = numidia
and not I_SettlementOwner Emain_Macha = romans_julii
and not I_SettlementOwner Emain_Macha = egypt
and not I_SettlementOwner Emain_Macha = germans
and not I_SettlementOwner Emain_Macha = greek_cities
and not I_SettlementOwner Emain_Macha = macedon
and not I_SettlementOwner Emain_Macha = carthage
and not I_SettlementOwner Emain_Macha = romans_scipii
and not I_SettlementOwner Emain_Macha = dacia
and not I_SettlementOwner Emain_Macha = armenia
and not I_SettlementOwner Emain_Macha = spain
and not I_SettlementOwner Emain_Macha = thrace
and not I_SettlementOwner Emain_Macha = romans_brutii
and not I_SettlementOwner Emain_Macha = saba
and not I_SettlementOwner Emain_Macha = slave

console_command set_building_health Emain_Macha Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command create_building Emporion "celt3"
console_command create_building Emporion "muster_field_E"
console_command set_building_health Emporion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command create_building Emporion "celt3"
console_command create_building Emporion "militia_barracks_E1"
console_command set_building_health Emporion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command create_building Emporion "celt3"
console_command create_building Emporion "city_barracks_E1"
console_command set_building_health Emporion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command create_building Emporion "celt3"
console_command create_building Emporion "army_barracks_E1"
console_command set_building_health Emporion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command create_building Emporion "celt3"
console_command create_building Emporion "royal_barracks_E1"
console_command set_building_health Emporion Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Emporion = seleucid
and not I_SettlementOwner Emporion = parthia
and not I_SettlementOwner Emporion = pontus
and not I_SettlementOwner Emporion = numidia
and not I_SettlementOwner Emporion = romans_julii
and not I_SettlementOwner Emporion = egypt
and not I_SettlementOwner Emporion = germans
and not I_SettlementOwner Emporion = greek_cities
and not I_SettlementOwner Emporion = macedon
and not I_SettlementOwner Emporion = carthage
and not I_SettlementOwner Emporion = romans_scipii
and not I_SettlementOwner Emporion = dacia
and not I_SettlementOwner Emporion = armenia
and not I_SettlementOwner Emporion = spain
and not I_SettlementOwner Emporion = thrace
and not I_SettlementOwner Emporion = romans_brutii
and not I_SettlementOwner Emporion = saba
and not I_SettlementOwner Emporion = slave

console_command set_building_health Emporion Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command create_building Epidamnos "celt3"
console_command create_building Epidamnos "muster_field_E"
console_command set_building_health Epidamnos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command create_building Epidamnos "celt3"
console_command create_building Epidamnos "militia_barracks_E1"
console_command set_building_health Epidamnos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command create_building Epidamnos "celt3"
console_command create_building Epidamnos "city_barracks_E1"
console_command set_building_health Epidamnos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command create_building Epidamnos "celt3"
console_command create_building Epidamnos "army_barracks_E1"
console_command set_building_health Epidamnos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command create_building Epidamnos "celt3"
console_command create_building Epidamnos "royal_barracks_E1"
console_command set_building_health Epidamnos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Epidamnos = seleucid
and not I_SettlementOwner Epidamnos = parthia
and not I_SettlementOwner Epidamnos = pontus
and not I_SettlementOwner Epidamnos = numidia
and not I_SettlementOwner Epidamnos = romans_julii
and not I_SettlementOwner Epidamnos = egypt
and not I_SettlementOwner Epidamnos = germans
and not I_SettlementOwner Epidamnos = greek_cities
and not I_SettlementOwner Epidamnos = macedon
and not I_SettlementOwner Epidamnos = carthage
and not I_SettlementOwner Epidamnos = romans_scipii
and not I_SettlementOwner Epidamnos = dacia
and not I_SettlementOwner Epidamnos = armenia
and not I_SettlementOwner Epidamnos = spain
and not I_SettlementOwner Epidamnos = thrace
and not I_SettlementOwner Epidamnos = romans_brutii
and not I_SettlementOwner Epidamnos = saba
and not I_SettlementOwner Epidamnos = slave

console_command set_building_health Epidamnos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command create_building Gabai "celt3"
console_command create_building Gabai "muster_field_E"
console_command set_building_health Gabai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command create_building Gabai "celt3"
console_command create_building Gabai "militia_barracks_E1"
console_command set_building_health Gabai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command create_building Gabai "celt3"
console_command create_building Gabai "city_barracks_E1"
console_command set_building_health Gabai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command create_building Gabai "celt3"
console_command create_building Gabai "army_barracks_E1"
console_command set_building_health Gabai Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command create_building Gabai "celt3"
console_command create_building Gabai "royal_barracks_E1"
console_command set_building_health Gabai Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gabai = seleucid
and not I_SettlementOwner Gabai = parthia
and not I_SettlementOwner Gabai = pontus
and not I_SettlementOwner Gabai = numidia
and not I_SettlementOwner Gabai = romans_julii
and not I_SettlementOwner Gabai = egypt
and not I_SettlementOwner Gabai = germans
and not I_SettlementOwner Gabai = greek_cities
and not I_SettlementOwner Gabai = macedon
and not I_SettlementOwner Gabai = carthage
and not I_SettlementOwner Gabai = romans_scipii
and not I_SettlementOwner Gabai = dacia
and not I_SettlementOwner Gabai = armenia
and not I_SettlementOwner Gabai = spain
and not I_SettlementOwner Gabai = thrace
and not I_SettlementOwner Gabai = romans_brutii
and not I_SettlementOwner Gabai = saba
and not I_SettlementOwner Gabai = slave

console_command set_building_health Gabai Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command create_building Gader "celt3"
console_command create_building Gader "muster_field_E"
console_command set_building_health Gader Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command create_building Gader "celt3"
console_command create_building Gader "militia_barracks_E1"
console_command set_building_health Gader Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command create_building Gader "celt3"
console_command create_building Gader "city_barracks_E1"
console_command set_building_health Gader Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command create_building Gader "celt3"
console_command create_building Gader "army_barracks_E1"
console_command set_building_health Gader Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command create_building Gader "celt3"
console_command create_building Gader "royal_barracks_E1"
console_command set_building_health Gader Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gader = seleucid
and not I_SettlementOwner Gader = parthia
and not I_SettlementOwner Gader = pontus
and not I_SettlementOwner Gader = numidia
and not I_SettlementOwner Gader = romans_julii
and not I_SettlementOwner Gader = egypt
and not I_SettlementOwner Gader = germans
and not I_SettlementOwner Gader = greek_cities
and not I_SettlementOwner Gader = macedon
and not I_SettlementOwner Gader = carthage
and not I_SettlementOwner Gader = romans_scipii
and not I_SettlementOwner Gader = dacia
and not I_SettlementOwner Gader = armenia
and not I_SettlementOwner Gader = spain
and not I_SettlementOwner Gader = thrace
and not I_SettlementOwner Gader = romans_brutii
and not I_SettlementOwner Gader = saba
and not I_SettlementOwner Gader = slave

console_command set_building_health Gader Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command create_building Garama "celt3"
console_command create_building Garama "muster_field_E"
console_command set_building_health Garama Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command create_building Garama "celt3"
console_command create_building Garama "militia_barracks_E1"
console_command set_building_health Garama Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command create_building Garama "celt3"
console_command create_building Garama "city_barracks_E1"
console_command set_building_health Garama Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command create_building Garama "celt3"
console_command create_building Garama "army_barracks_E1"
console_command set_building_health Garama Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command create_building Garama "celt3"
console_command create_building Garama "royal_barracks_E1"
console_command set_building_health Garama Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Garama = seleucid
and not I_SettlementOwner Garama = parthia
and not I_SettlementOwner Garama = pontus
and not I_SettlementOwner Garama = numidia
and not I_SettlementOwner Garama = romans_julii
and not I_SettlementOwner Garama = egypt
and not I_SettlementOwner Garama = germans
and not I_SettlementOwner Garama = greek_cities
and not I_SettlementOwner Garama = macedon
and not I_SettlementOwner Garama = carthage
and not I_SettlementOwner Garama = romans_scipii
and not I_SettlementOwner Garama = dacia
and not I_SettlementOwner Garama = armenia
and not I_SettlementOwner Garama = spain
and not I_SettlementOwner Garama = thrace
and not I_SettlementOwner Garama = romans_brutii
and not I_SettlementOwner Garama = saba
and not I_SettlementOwner Garama = slave

console_command set_building_health Garama Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command create_building Gava_Alanna "celt3"
console_command create_building Gava_Alanna "muster_field_E"
console_command set_building_health Gava_Alanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command create_building Gava_Alanna "celt3"
console_command create_building Gava_Alanna "militia_barracks_E1"
console_command set_building_health Gava_Alanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command create_building Gava_Alanna "celt3"
console_command create_building Gava_Alanna "city_barracks_E1"
console_command set_building_health Gava_Alanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command create_building Gava_Alanna "celt3"
console_command create_building Gava_Alanna "army_barracks_E1"
console_command set_building_health Gava_Alanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command create_building Gava_Alanna "celt3"
console_command create_building Gava_Alanna "royal_barracks_E1"
console_command set_building_health Gava_Alanna Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Alanna = seleucid
and not I_SettlementOwner Gava_Alanna = parthia
and not I_SettlementOwner Gava_Alanna = pontus
and not I_SettlementOwner Gava_Alanna = numidia
and not I_SettlementOwner Gava_Alanna = romans_julii
and not I_SettlementOwner Gava_Alanna = egypt
and not I_SettlementOwner Gava_Alanna = germans
and not I_SettlementOwner Gava_Alanna = greek_cities
and not I_SettlementOwner Gava_Alanna = macedon
and not I_SettlementOwner Gava_Alanna = carthage
and not I_SettlementOwner Gava_Alanna = romans_scipii
and not I_SettlementOwner Gava_Alanna = dacia
and not I_SettlementOwner Gava_Alanna = armenia
and not I_SettlementOwner Gava_Alanna = spain
and not I_SettlementOwner Gava_Alanna = thrace
and not I_SettlementOwner Gava_Alanna = romans_brutii
and not I_SettlementOwner Gava_Alanna = saba
and not I_SettlementOwner Gava_Alanna = slave

console_command set_building_health Gava_Alanna Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command create_building Gava_Aursa "celt3"
console_command create_building Gava_Aursa "muster_field_E"
console_command set_building_health Gava_Aursa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command create_building Gava_Aursa "celt3"
console_command create_building Gava_Aursa "militia_barracks_E1"
console_command set_building_health Gava_Aursa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command create_building Gava_Aursa "celt3"
console_command create_building Gava_Aursa "city_barracks_E1"
console_command set_building_health Gava_Aursa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command create_building Gava_Aursa "celt3"
console_command create_building Gava_Aursa "army_barracks_E1"
console_command set_building_health Gava_Aursa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command create_building Gava_Aursa "celt3"
console_command create_building Gava_Aursa "royal_barracks_E1"
console_command set_building_health Gava_Aursa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Aursa = seleucid
and not I_SettlementOwner Gava_Aursa = parthia
and not I_SettlementOwner Gava_Aursa = pontus
and not I_SettlementOwner Gava_Aursa = numidia
and not I_SettlementOwner Gava_Aursa = romans_julii
and not I_SettlementOwner Gava_Aursa = egypt
and not I_SettlementOwner Gava_Aursa = germans
and not I_SettlementOwner Gava_Aursa = greek_cities
and not I_SettlementOwner Gava_Aursa = macedon
and not I_SettlementOwner Gava_Aursa = carthage
and not I_SettlementOwner Gava_Aursa = romans_scipii
and not I_SettlementOwner Gava_Aursa = dacia
and not I_SettlementOwner Gava_Aursa = armenia
and not I_SettlementOwner Gava_Aursa = spain
and not I_SettlementOwner Gava_Aursa = thrace
and not I_SettlementOwner Gava_Aursa = romans_brutii
and not I_SettlementOwner Gava_Aursa = saba
and not I_SettlementOwner Gava_Aursa = slave

console_command set_building_health Gava_Aursa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command create_building Gava_Haomavarga "celt3"
console_command create_building Gava_Haomavarga "muster_field_E"
console_command set_building_health Gava_Haomavarga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command create_building Gava_Haomavarga "celt3"
console_command create_building Gava_Haomavarga "militia_barracks_E1"
console_command set_building_health Gava_Haomavarga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command create_building Gava_Haomavarga "celt3"
console_command create_building Gava_Haomavarga "city_barracks_E1"
console_command set_building_health Gava_Haomavarga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command create_building Gava_Haomavarga "celt3"
console_command create_building Gava_Haomavarga "army_barracks_E1"
console_command set_building_health Gava_Haomavarga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command create_building Gava_Haomavarga "celt3"
console_command create_building Gava_Haomavarga "royal_barracks_E1"
console_command set_building_health Gava_Haomavarga Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Haomavarga = seleucid
and not I_SettlementOwner Gava_Haomavarga = parthia
and not I_SettlementOwner Gava_Haomavarga = pontus
and not I_SettlementOwner Gava_Haomavarga = numidia
and not I_SettlementOwner Gava_Haomavarga = romans_julii
and not I_SettlementOwner Gava_Haomavarga = egypt
and not I_SettlementOwner Gava_Haomavarga = germans
and not I_SettlementOwner Gava_Haomavarga = greek_cities
and not I_SettlementOwner Gava_Haomavarga = macedon
and not I_SettlementOwner Gava_Haomavarga = carthage
and not I_SettlementOwner Gava_Haomavarga = romans_scipii
and not I_SettlementOwner Gava_Haomavarga = dacia
and not I_SettlementOwner Gava_Haomavarga = armenia
and not I_SettlementOwner Gava_Haomavarga = spain
and not I_SettlementOwner Gava_Haomavarga = thrace
and not I_SettlementOwner Gava_Haomavarga = romans_brutii
and not I_SettlementOwner Gava_Haomavarga = saba
and not I_SettlementOwner Gava_Haomavarga = slave

console_command set_building_health Gava_Haomavarga Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command create_building Gava_Mazsakata "celt3"
console_command create_building Gava_Mazsakata "muster_field_E"
console_command set_building_health Gava_Mazsakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command create_building Gava_Mazsakata "celt3"
console_command create_building Gava_Mazsakata "militia_barracks_E1"
console_command set_building_health Gava_Mazsakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command create_building Gava_Mazsakata "celt3"
console_command create_building Gava_Mazsakata "city_barracks_E1"
console_command set_building_health Gava_Mazsakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command create_building Gava_Mazsakata "celt3"
console_command create_building Gava_Mazsakata "army_barracks_E1"
console_command set_building_health Gava_Mazsakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command create_building Gava_Mazsakata "celt3"
console_command create_building Gava_Mazsakata "royal_barracks_E1"
console_command set_building_health Gava_Mazsakata Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Mazsakata = seleucid
and not I_SettlementOwner Gava_Mazsakata = parthia
and not I_SettlementOwner Gava_Mazsakata = pontus
and not I_SettlementOwner Gava_Mazsakata = numidia
and not I_SettlementOwner Gava_Mazsakata = romans_julii
and not I_SettlementOwner Gava_Mazsakata = egypt
and not I_SettlementOwner Gava_Mazsakata = germans
and not I_SettlementOwner Gava_Mazsakata = greek_cities
and not I_SettlementOwner Gava_Mazsakata = macedon
and not I_SettlementOwner Gava_Mazsakata = carthage
and not I_SettlementOwner Gava_Mazsakata = romans_scipii
and not I_SettlementOwner Gava_Mazsakata = dacia
and not I_SettlementOwner Gava_Mazsakata = armenia
and not I_SettlementOwner Gava_Mazsakata = spain
and not I_SettlementOwner Gava_Mazsakata = thrace
and not I_SettlementOwner Gava_Mazsakata = romans_brutii
and not I_SettlementOwner Gava_Mazsakata = saba
and not I_SettlementOwner Gava_Mazsakata = slave

console_command set_building_health Gava_Mazsakata Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command create_building Gava_Roxsalanna "celt3"
console_command create_building Gava_Roxsalanna "muster_field_E"
console_command set_building_health Gava_Roxsalanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command create_building Gava_Roxsalanna "celt3"
console_command create_building Gava_Roxsalanna "militia_barracks_E1"
console_command set_building_health Gava_Roxsalanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command create_building Gava_Roxsalanna "celt3"
console_command create_building Gava_Roxsalanna "city_barracks_E1"
console_command set_building_health Gava_Roxsalanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command create_building Gava_Roxsalanna "celt3"
console_command create_building Gava_Roxsalanna "army_barracks_E1"
console_command set_building_health Gava_Roxsalanna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command create_building Gava_Roxsalanna "celt3"
console_command create_building Gava_Roxsalanna "royal_barracks_E1"
console_command set_building_health Gava_Roxsalanna Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Roxsalanna = seleucid
and not I_SettlementOwner Gava_Roxsalanna = parthia
and not I_SettlementOwner Gava_Roxsalanna = pontus
and not I_SettlementOwner Gava_Roxsalanna = numidia
and not I_SettlementOwner Gava_Roxsalanna = romans_julii
and not I_SettlementOwner Gava_Roxsalanna = egypt
and not I_SettlementOwner Gava_Roxsalanna = germans
and not I_SettlementOwner Gava_Roxsalanna = greek_cities
and not I_SettlementOwner Gava_Roxsalanna = macedon
and not I_SettlementOwner Gava_Roxsalanna = carthage
and not I_SettlementOwner Gava_Roxsalanna = romans_scipii
and not I_SettlementOwner Gava_Roxsalanna = dacia
and not I_SettlementOwner Gava_Roxsalanna = armenia
and not I_SettlementOwner Gava_Roxsalanna = spain
and not I_SettlementOwner Gava_Roxsalanna = thrace
and not I_SettlementOwner Gava_Roxsalanna = romans_brutii
and not I_SettlementOwner Gava_Roxsalanna = saba
and not I_SettlementOwner Gava_Roxsalanna = slave

console_command set_building_health Gava_Roxsalanna Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command create_building Gava_Saka "celt3"
console_command create_building Gava_Saka "muster_field_E"
console_command set_building_health Gava_Saka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command create_building Gava_Saka "celt3"
console_command create_building Gava_Saka "militia_barracks_E1"
console_command set_building_health Gava_Saka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command create_building Gava_Saka "celt3"
console_command create_building Gava_Saka "city_barracks_E1"
console_command set_building_health Gava_Saka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command create_building Gava_Saka "celt3"
console_command create_building Gava_Saka "army_barracks_E1"
console_command set_building_health Gava_Saka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command create_building Gava_Saka "celt3"
console_command create_building Gava_Saka "royal_barracks_E1"
console_command set_building_health Gava_Saka Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Saka = seleucid
and not I_SettlementOwner Gava_Saka = parthia
and not I_SettlementOwner Gava_Saka = pontus
and not I_SettlementOwner Gava_Saka = numidia
and not I_SettlementOwner Gava_Saka = romans_julii
and not I_SettlementOwner Gava_Saka = egypt
and not I_SettlementOwner Gava_Saka = germans
and not I_SettlementOwner Gava_Saka = greek_cities
and not I_SettlementOwner Gava_Saka = macedon
and not I_SettlementOwner Gava_Saka = carthage
and not I_SettlementOwner Gava_Saka = romans_scipii
and not I_SettlementOwner Gava_Saka = dacia
and not I_SettlementOwner Gava_Saka = armenia
and not I_SettlementOwner Gava_Saka = spain
and not I_SettlementOwner Gava_Saka = thrace
and not I_SettlementOwner Gava_Saka = romans_brutii
and not I_SettlementOwner Gava_Saka = saba
and not I_SettlementOwner Gava_Saka = slave

console_command set_building_health Gava_Saka Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command create_building Gava_Thissakata "celt3"
console_command create_building Gava_Thissakata "muster_field_E"
console_command set_building_health Gava_Thissakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command create_building Gava_Thissakata "celt3"
console_command create_building Gava_Thissakata "militia_barracks_E1"
console_command set_building_health Gava_Thissakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command create_building Gava_Thissakata "celt3"
console_command create_building Gava_Thissakata "city_barracks_E1"
console_command set_building_health Gava_Thissakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command create_building Gava_Thissakata "celt3"
console_command create_building Gava_Thissakata "army_barracks_E1"
console_command set_building_health Gava_Thissakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command create_building Gava_Thissakata "celt3"
console_command create_building Gava_Thissakata "royal_barracks_E1"
console_command set_building_health Gava_Thissakata Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Thissakata = seleucid
and not I_SettlementOwner Gava_Thissakata = parthia
and not I_SettlementOwner Gava_Thissakata = pontus
and not I_SettlementOwner Gava_Thissakata = numidia
and not I_SettlementOwner Gava_Thissakata = romans_julii
and not I_SettlementOwner Gava_Thissakata = egypt
and not I_SettlementOwner Gava_Thissakata = germans
and not I_SettlementOwner Gava_Thissakata = greek_cities
and not I_SettlementOwner Gava_Thissakata = macedon
and not I_SettlementOwner Gava_Thissakata = carthage
and not I_SettlementOwner Gava_Thissakata = romans_scipii
and not I_SettlementOwner Gava_Thissakata = dacia
and not I_SettlementOwner Gava_Thissakata = armenia
and not I_SettlementOwner Gava_Thissakata = spain
and not I_SettlementOwner Gava_Thissakata = thrace
and not I_SettlementOwner Gava_Thissakata = romans_brutii
and not I_SettlementOwner Gava_Thissakata = saba
and not I_SettlementOwner Gava_Thissakata = slave

console_command set_building_health Gava_Thissakata Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command create_building Gava_Yazyga "celt3"
console_command create_building Gava_Yazyga "muster_field_E"
console_command set_building_health Gava_Yazyga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command create_building Gava_Yazyga "celt3"
console_command create_building Gava_Yazyga "militia_barracks_E1"
console_command set_building_health Gava_Yazyga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command create_building Gava_Yazyga "celt3"
console_command create_building Gava_Yazyga "city_barracks_E1"
console_command set_building_health Gava_Yazyga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command create_building Gava_Yazyga "celt3"
console_command create_building Gava_Yazyga "army_barracks_E1"
console_command set_building_health Gava_Yazyga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command create_building Gava_Yazyga "celt3"
console_command create_building Gava_Yazyga "royal_barracks_E1"
console_command set_building_health Gava_Yazyga Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Yazyga = seleucid
and not I_SettlementOwner Gava_Yazyga = parthia
and not I_SettlementOwner Gava_Yazyga = pontus
and not I_SettlementOwner Gava_Yazyga = numidia
and not I_SettlementOwner Gava_Yazyga = romans_julii
and not I_SettlementOwner Gava_Yazyga = egypt
and not I_SettlementOwner Gava_Yazyga = germans
and not I_SettlementOwner Gava_Yazyga = greek_cities
and not I_SettlementOwner Gava_Yazyga = macedon
and not I_SettlementOwner Gava_Yazyga = carthage
and not I_SettlementOwner Gava_Yazyga = romans_scipii
and not I_SettlementOwner Gava_Yazyga = dacia
and not I_SettlementOwner Gava_Yazyga = armenia
and not I_SettlementOwner Gava_Yazyga = spain
and not I_SettlementOwner Gava_Yazyga = thrace
and not I_SettlementOwner Gava_Yazyga = romans_brutii
and not I_SettlementOwner Gava_Yazyga = saba
and not I_SettlementOwner Gava_Yazyga = slave

console_command set_building_health Gava_Yazyga Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command create_building Gava_Yugra "celt3"
console_command create_building Gava_Yugra "muster_field_E"
console_command set_building_health Gava_Yugra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command create_building Gava_Yugra "celt3"
console_command create_building Gava_Yugra "militia_barracks_E1"
console_command set_building_health Gava_Yugra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command create_building Gava_Yugra "celt3"
console_command create_building Gava_Yugra "city_barracks_E1"
console_command set_building_health Gava_Yugra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command create_building Gava_Yugra "celt3"
console_command create_building Gava_Yugra "army_barracks_E1"
console_command set_building_health Gava_Yugra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command create_building Gava_Yugra "celt3"
console_command create_building Gava_Yugra "royal_barracks_E1"
console_command set_building_health Gava_Yugra Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gava_Yugra = seleucid
and not I_SettlementOwner Gava_Yugra = parthia
and not I_SettlementOwner Gava_Yugra = pontus
and not I_SettlementOwner Gava_Yugra = numidia
and not I_SettlementOwner Gava_Yugra = romans_julii
and not I_SettlementOwner Gava_Yugra = egypt
and not I_SettlementOwner Gava_Yugra = germans
and not I_SettlementOwner Gava_Yugra = greek_cities
and not I_SettlementOwner Gava_Yugra = macedon
and not I_SettlementOwner Gava_Yugra = carthage
and not I_SettlementOwner Gava_Yugra = romans_scipii
and not I_SettlementOwner Gava_Yugra = dacia
and not I_SettlementOwner Gava_Yugra = armenia
and not I_SettlementOwner Gava_Yugra = spain
and not I_SettlementOwner Gava_Yugra = thrace
and not I_SettlementOwner Gava_Yugra = romans_brutii
and not I_SettlementOwner Gava_Yugra = saba
and not I_SettlementOwner Gava_Yugra = slave

console_command set_building_health Gava_Yugra Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command create_building Gawjam_Bastarnoz "celt3"
console_command create_building Gawjam_Bastarnoz "muster_field_E"
console_command set_building_health Gawjam_Bastarnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command create_building Gawjam_Bastarnoz "celt3"
console_command create_building Gawjam_Bastarnoz "militia_barracks_E1"
console_command set_building_health Gawjam_Bastarnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command create_building Gawjam_Bastarnoz "celt3"
console_command create_building Gawjam_Bastarnoz "city_barracks_E1"
console_command set_building_health Gawjam_Bastarnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command create_building Gawjam_Bastarnoz "celt3"
console_command create_building Gawjam_Bastarnoz "army_barracks_E1"
console_command set_building_health Gawjam_Bastarnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command create_building Gawjam_Bastarnoz "celt3"
console_command create_building Gawjam_Bastarnoz "royal_barracks_E1"
console_command set_building_health Gawjam_Bastarnoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not I_SettlementOwner Gawjam_Bastarnoz = parthia
and not I_SettlementOwner Gawjam_Bastarnoz = pontus
and not I_SettlementOwner Gawjam_Bastarnoz = numidia
and not I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and not I_SettlementOwner Gawjam_Bastarnoz = egypt
and not I_SettlementOwner Gawjam_Bastarnoz = germans
and not I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and not I_SettlementOwner Gawjam_Bastarnoz = macedon
and not I_SettlementOwner Gawjam_Bastarnoz = carthage
and not I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and not I_SettlementOwner Gawjam_Bastarnoz = dacia
and not I_SettlementOwner Gawjam_Bastarnoz = armenia
and not I_SettlementOwner Gawjam_Bastarnoz = spain
and not I_SettlementOwner Gawjam_Bastarnoz = thrace
and not I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and not I_SettlementOwner Gawjam_Bastarnoz = saba
and not I_SettlementOwner Gawjam_Bastarnoz = slave

console_command set_building_health Gawjam_Bastarnoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command create_building Gawjam_Gotanoz "celt3"
console_command create_building Gawjam_Gotanoz "muster_field_E"
console_command set_building_health Gawjam_Gotanoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command create_building Gawjam_Gotanoz "celt3"
console_command create_building Gawjam_Gotanoz "militia_barracks_E1"
console_command set_building_health Gawjam_Gotanoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command create_building Gawjam_Gotanoz "celt3"
console_command create_building Gawjam_Gotanoz "city_barracks_E1"
console_command set_building_health Gawjam_Gotanoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command create_building Gawjam_Gotanoz "celt3"
console_command create_building Gawjam_Gotanoz "army_barracks_E1"
console_command set_building_health Gawjam_Gotanoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command create_building Gawjam_Gotanoz "celt3"
console_command create_building Gawjam_Gotanoz "royal_barracks_E1"
console_command set_building_health Gawjam_Gotanoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Gotanoz = seleucid
and not I_SettlementOwner Gawjam_Gotanoz = parthia
and not I_SettlementOwner Gawjam_Gotanoz = pontus
and not I_SettlementOwner Gawjam_Gotanoz = numidia
and not I_SettlementOwner Gawjam_Gotanoz = romans_julii
and not I_SettlementOwner Gawjam_Gotanoz = egypt
and not I_SettlementOwner Gawjam_Gotanoz = germans
and not I_SettlementOwner Gawjam_Gotanoz = greek_cities
and not I_SettlementOwner Gawjam_Gotanoz = macedon
and not I_SettlementOwner Gawjam_Gotanoz = carthage
and not I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and not I_SettlementOwner Gawjam_Gotanoz = dacia
and not I_SettlementOwner Gawjam_Gotanoz = armenia
and not I_SettlementOwner Gawjam_Gotanoz = spain
and not I_SettlementOwner Gawjam_Gotanoz = thrace
and not I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and not I_SettlementOwner Gawjam_Gotanoz = saba
and not I_SettlementOwner Gawjam_Gotanoz = slave

console_command set_building_health Gawjam_Gotanoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command create_building Gawjam_Habukoz "celt3"
console_command create_building Gawjam_Habukoz "muster_field_E"
console_command set_building_health Gawjam_Habukoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command create_building Gawjam_Habukoz "celt3"
console_command create_building Gawjam_Habukoz "militia_barracks_E1"
console_command set_building_health Gawjam_Habukoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command create_building Gawjam_Habukoz "celt3"
console_command create_building Gawjam_Habukoz "city_barracks_E1"
console_command set_building_health Gawjam_Habukoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command create_building Gawjam_Habukoz "celt3"
console_command create_building Gawjam_Habukoz "army_barracks_E1"
console_command set_building_health Gawjam_Habukoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command create_building Gawjam_Habukoz "celt3"
console_command create_building Gawjam_Habukoz "royal_barracks_E1"
console_command set_building_health Gawjam_Habukoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Habukoz = seleucid
and not I_SettlementOwner Gawjam_Habukoz = parthia
and not I_SettlementOwner Gawjam_Habukoz = pontus
and not I_SettlementOwner Gawjam_Habukoz = numidia
and not I_SettlementOwner Gawjam_Habukoz = romans_julii
and not I_SettlementOwner Gawjam_Habukoz = egypt
and not I_SettlementOwner Gawjam_Habukoz = germans
and not I_SettlementOwner Gawjam_Habukoz = greek_cities
and not I_SettlementOwner Gawjam_Habukoz = macedon
and not I_SettlementOwner Gawjam_Habukoz = carthage
and not I_SettlementOwner Gawjam_Habukoz = romans_scipii
and not I_SettlementOwner Gawjam_Habukoz = dacia
and not I_SettlementOwner Gawjam_Habukoz = armenia
and not I_SettlementOwner Gawjam_Habukoz = spain
and not I_SettlementOwner Gawjam_Habukoz = thrace
and not I_SettlementOwner Gawjam_Habukoz = romans_brutii
and not I_SettlementOwner Gawjam_Habukoz = saba
and not I_SettlementOwner Gawjam_Habukoz = slave

console_command set_building_health Gawjam_Habukoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command create_building Arctaunon "celt3"
console_command create_building Arctaunon "muster_field_E"
console_command set_building_health Arctaunon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command create_building Arctaunon "celt3"
console_command create_building Arctaunon "militia_barracks_E1"
console_command set_building_health Arctaunon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command create_building Arctaunon "celt3"
console_command create_building Arctaunon "city_barracks_E1"
console_command set_building_health Arctaunon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command create_building Arctaunon "celt3"
console_command create_building Arctaunon "army_barracks_E1"
console_command set_building_health Arctaunon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command create_building Arctaunon "celt3"
console_command create_building Arctaunon "royal_barracks_E1"
console_command set_building_health Arctaunon Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Arctaunon = seleucid
and not I_SettlementOwner Arctaunon = parthia
and not I_SettlementOwner Arctaunon = pontus
and not I_SettlementOwner Arctaunon = numidia
and not I_SettlementOwner Arctaunon = romans_julii
and not I_SettlementOwner Arctaunon = egypt
and not I_SettlementOwner Arctaunon = germans
and not I_SettlementOwner Arctaunon = greek_cities
and not I_SettlementOwner Arctaunon = macedon
and not I_SettlementOwner Arctaunon = carthage
and not I_SettlementOwner Arctaunon = romans_scipii
and not I_SettlementOwner Arctaunon = dacia
and not I_SettlementOwner Arctaunon = armenia
and not I_SettlementOwner Arctaunon = spain
and not I_SettlementOwner Arctaunon = thrace
and not I_SettlementOwner Arctaunon = romans_brutii
and not I_SettlementOwner Arctaunon = saba
and not I_SettlementOwner Arctaunon = slave

console_command set_building_health Arctaunon Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command create_building Gawjam_Heruskoz "celt3"
console_command create_building Gawjam_Heruskoz "muster_field_E"
console_command set_building_health Gawjam_Heruskoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command create_building Gawjam_Heruskoz "celt3"
console_command create_building Gawjam_Heruskoz "militia_barracks_E1"
console_command set_building_health Gawjam_Heruskoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command create_building Gawjam_Heruskoz "celt3"
console_command create_building Gawjam_Heruskoz "city_barracks_E1"
console_command set_building_health Gawjam_Heruskoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command create_building Gawjam_Heruskoz "celt3"
console_command create_building Gawjam_Heruskoz "army_barracks_E1"
console_command set_building_health Gawjam_Heruskoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command create_building Gawjam_Heruskoz "celt3"
console_command create_building Gawjam_Heruskoz "royal_barracks_E1"
console_command set_building_health Gawjam_Heruskoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Heruskoz = seleucid
and not I_SettlementOwner Gawjam_Heruskoz = parthia
and not I_SettlementOwner Gawjam_Heruskoz = pontus
and not I_SettlementOwner Gawjam_Heruskoz = numidia
and not I_SettlementOwner Gawjam_Heruskoz = romans_julii
and not I_SettlementOwner Gawjam_Heruskoz = egypt
and not I_SettlementOwner Gawjam_Heruskoz = germans
and not I_SettlementOwner Gawjam_Heruskoz = greek_cities
and not I_SettlementOwner Gawjam_Heruskoz = macedon
and not I_SettlementOwner Gawjam_Heruskoz = carthage
and not I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and not I_SettlementOwner Gawjam_Heruskoz = dacia
and not I_SettlementOwner Gawjam_Heruskoz = armenia
and not I_SettlementOwner Gawjam_Heruskoz = spain
and not I_SettlementOwner Gawjam_Heruskoz = thrace
and not I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and not I_SettlementOwner Gawjam_Heruskoz = saba
and not I_SettlementOwner Gawjam_Heruskoz = slave

console_command set_building_health Gawjam_Heruskoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command create_building Gawjam_Kimbroz "celt3"
console_command create_building Gawjam_Kimbroz "muster_field_E"
console_command set_building_health Gawjam_Kimbroz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command create_building Gawjam_Kimbroz "celt3"
console_command create_building Gawjam_Kimbroz "militia_barracks_E1"
console_command set_building_health Gawjam_Kimbroz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command create_building Gawjam_Kimbroz "celt3"
console_command create_building Gawjam_Kimbroz "city_barracks_E1"
console_command set_building_health Gawjam_Kimbroz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command create_building Gawjam_Kimbroz "celt3"
console_command create_building Gawjam_Kimbroz "army_barracks_E1"
console_command set_building_health Gawjam_Kimbroz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command create_building Gawjam_Kimbroz "celt3"
console_command create_building Gawjam_Kimbroz "royal_barracks_E1"
console_command set_building_health Gawjam_Kimbroz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Kimbroz = seleucid
and not I_SettlementOwner Gawjam_Kimbroz = parthia
and not I_SettlementOwner Gawjam_Kimbroz = pontus
and not I_SettlementOwner Gawjam_Kimbroz = numidia
and not I_SettlementOwner Gawjam_Kimbroz = romans_julii
and not I_SettlementOwner Gawjam_Kimbroz = egypt
and not I_SettlementOwner Gawjam_Kimbroz = germans
and not I_SettlementOwner Gawjam_Kimbroz = greek_cities
and not I_SettlementOwner Gawjam_Kimbroz = macedon
and not I_SettlementOwner Gawjam_Kimbroz = carthage
and not I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and not I_SettlementOwner Gawjam_Kimbroz = dacia
and not I_SettlementOwner Gawjam_Kimbroz = armenia
and not I_SettlementOwner Gawjam_Kimbroz = spain
and not I_SettlementOwner Gawjam_Kimbroz = thrace
and not I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and not I_SettlementOwner Gawjam_Kimbroz = saba
and not I_SettlementOwner Gawjam_Kimbroz = slave

console_command set_building_health Gawjam_Kimbroz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command create_building Gawjam_Rugoz "celt3"
console_command create_building Gawjam_Rugoz "muster_field_E"
console_command set_building_health Gawjam_Rugoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command create_building Gawjam_Rugoz "celt3"
console_command create_building Gawjam_Rugoz "militia_barracks_E1"
console_command set_building_health Gawjam_Rugoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command create_building Gawjam_Rugoz "celt3"
console_command create_building Gawjam_Rugoz "city_barracks_E1"
console_command set_building_health Gawjam_Rugoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command create_building Gawjam_Rugoz "celt3"
console_command create_building Gawjam_Rugoz "army_barracks_E1"
console_command set_building_health Gawjam_Rugoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command create_building Gawjam_Rugoz "celt3"
console_command create_building Gawjam_Rugoz "royal_barracks_E1"
console_command set_building_health Gawjam_Rugoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Rugoz = seleucid
and not I_SettlementOwner Gawjam_Rugoz = parthia
and not I_SettlementOwner Gawjam_Rugoz = pontus
and not I_SettlementOwner Gawjam_Rugoz = numidia
and not I_SettlementOwner Gawjam_Rugoz = romans_julii
and not I_SettlementOwner Gawjam_Rugoz = egypt
and not I_SettlementOwner Gawjam_Rugoz = germans
and not I_SettlementOwner Gawjam_Rugoz = greek_cities
and not I_SettlementOwner Gawjam_Rugoz = macedon
and not I_SettlementOwner Gawjam_Rugoz = carthage
and not I_SettlementOwner Gawjam_Rugoz = romans_scipii
and not I_SettlementOwner Gawjam_Rugoz = dacia
and not I_SettlementOwner Gawjam_Rugoz = armenia
and not I_SettlementOwner Gawjam_Rugoz = spain
and not I_SettlementOwner Gawjam_Rugoz = thrace
and not I_SettlementOwner Gawjam_Rugoz = romans_brutii
and not I_SettlementOwner Gawjam_Rugoz = saba
and not I_SettlementOwner Gawjam_Rugoz = slave

console_command set_building_health Gawjam_Rugoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command create_building Gawjam_Silengoz "celt3"
console_command create_building Gawjam_Silengoz "muster_field_E"
console_command set_building_health Gawjam_Silengoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command create_building Gawjam_Silengoz "celt3"
console_command create_building Gawjam_Silengoz "militia_barracks_E1"
console_command set_building_health Gawjam_Silengoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command create_building Gawjam_Silengoz "celt3"
console_command create_building Gawjam_Silengoz "city_barracks_E1"
console_command set_building_health Gawjam_Silengoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command create_building Gawjam_Silengoz "celt3"
console_command create_building Gawjam_Silengoz "army_barracks_E1"
console_command set_building_health Gawjam_Silengoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command create_building Gawjam_Silengoz "celt3"
console_command create_building Gawjam_Silengoz "royal_barracks_E1"
console_command set_building_health Gawjam_Silengoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Silengoz = seleucid
and not I_SettlementOwner Gawjam_Silengoz = parthia
and not I_SettlementOwner Gawjam_Silengoz = pontus
and not I_SettlementOwner Gawjam_Silengoz = numidia
and not I_SettlementOwner Gawjam_Silengoz = romans_julii
and not I_SettlementOwner Gawjam_Silengoz = egypt
and not I_SettlementOwner Gawjam_Silengoz = germans
and not I_SettlementOwner Gawjam_Silengoz = greek_cities
and not I_SettlementOwner Gawjam_Silengoz = macedon
and not I_SettlementOwner Gawjam_Silengoz = carthage
and not I_SettlementOwner Gawjam_Silengoz = romans_scipii
and not I_SettlementOwner Gawjam_Silengoz = dacia
and not I_SettlementOwner Gawjam_Silengoz = armenia
and not I_SettlementOwner Gawjam_Silengoz = spain
and not I_SettlementOwner Gawjam_Silengoz = thrace
and not I_SettlementOwner Gawjam_Silengoz = romans_brutii
and not I_SettlementOwner Gawjam_Silengoz = saba
and not I_SettlementOwner Gawjam_Silengoz = slave

console_command set_building_health Gawjam_Silengoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command create_building Gawjam_Skandzawarjoz "celt3"
console_command create_building Gawjam_Skandzawarjoz "muster_field_E"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command create_building Gawjam_Skandzawarjoz "celt3"
console_command create_building Gawjam_Skandzawarjoz "militia_barracks_E1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command create_building Gawjam_Skandzawarjoz "celt3"
console_command create_building Gawjam_Skandzawarjoz "city_barracks_E1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command create_building Gawjam_Skandzawarjoz "celt3"
console_command create_building Gawjam_Skandzawarjoz "army_barracks_E1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command create_building Gawjam_Skandzawarjoz "celt3"
console_command create_building Gawjam_Skandzawarjoz "royal_barracks_E1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and not I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and not I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and not I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and not I_SettlementOwner Gawjam_Skandzawarjoz = germans
and not I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and not I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and not I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and not I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and not I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and not I_SettlementOwner Gawjam_Skandzawarjoz = spain
and not I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and not I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and not I_SettlementOwner Gawjam_Skandzawarjoz = saba
and not I_SettlementOwner Gawjam_Skandzawarjoz = slave

console_command set_building_health Gawjam_Skandzawarjoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command create_building Gelonus "celt3"
console_command create_building Gelonus "muster_field_E"
console_command set_building_health Gelonus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command create_building Gelonus "celt3"
console_command create_building Gelonus "militia_barracks_E1"
console_command set_building_health Gelonus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command create_building Gelonus "celt3"
console_command create_building Gelonus "city_barracks_E1"
console_command set_building_health Gelonus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command create_building Gelonus "celt3"
console_command create_building Gelonus "army_barracks_E1"
console_command set_building_health Gelonus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command create_building Gelonus "celt3"
console_command create_building Gelonus "royal_barracks_E1"
console_command set_building_health Gelonus Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gelonus = seleucid
and not I_SettlementOwner Gelonus = parthia
and not I_SettlementOwner Gelonus = pontus
and not I_SettlementOwner Gelonus = numidia
and not I_SettlementOwner Gelonus = romans_julii
and not I_SettlementOwner Gelonus = egypt
and not I_SettlementOwner Gelonus = germans
and not I_SettlementOwner Gelonus = greek_cities
and not I_SettlementOwner Gelonus = macedon
and not I_SettlementOwner Gelonus = carthage
and not I_SettlementOwner Gelonus = romans_scipii
and not I_SettlementOwner Gelonus = dacia
and not I_SettlementOwner Gelonus = armenia
and not I_SettlementOwner Gelonus = spain
and not I_SettlementOwner Gelonus = thrace
and not I_SettlementOwner Gelonus = romans_brutii
and not I_SettlementOwner Gelonus = saba
and not I_SettlementOwner Gelonus = slave

console_command set_building_health Gelonus Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command create_building Gergovia "celt3"
console_command create_building Gergovia "muster_field_E"
console_command set_building_health Gergovia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command create_building Gergovia "celt3"
console_command create_building Gergovia "militia_barracks_E1"
console_command set_building_health Gergovia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command create_building Gergovia "celt3"
console_command create_building Gergovia "city_barracks_E1"
console_command set_building_health Gergovia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command create_building Gergovia "celt3"
console_command create_building Gergovia "army_barracks_E1"
console_command set_building_health Gergovia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command create_building Gergovia "celt3"
console_command create_building Gergovia "royal_barracks_E1"
console_command set_building_health Gergovia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gergovia = seleucid
and not I_SettlementOwner Gergovia = parthia
and not I_SettlementOwner Gergovia = pontus
and not I_SettlementOwner Gergovia = numidia
and not I_SettlementOwner Gergovia = romans_julii
and not I_SettlementOwner Gergovia = egypt
and not I_SettlementOwner Gergovia = germans
and not I_SettlementOwner Gergovia = greek_cities
and not I_SettlementOwner Gergovia = macedon
and not I_SettlementOwner Gergovia = carthage
and not I_SettlementOwner Gergovia = romans_scipii
and not I_SettlementOwner Gergovia = dacia
and not I_SettlementOwner Gergovia = armenia
and not I_SettlementOwner Gergovia = spain
and not I_SettlementOwner Gergovia = thrace
and not I_SettlementOwner Gergovia = romans_brutii
and not I_SettlementOwner Gergovia = saba
and not I_SettlementOwner Gergovia = slave

console_command set_building_health Gergovia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command create_building Gerrha "celt3"
console_command create_building Gerrha "muster_field_E"
console_command set_building_health Gerrha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command create_building Gerrha "celt3"
console_command create_building Gerrha "militia_barracks_E1"
console_command set_building_health Gerrha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command create_building Gerrha "celt3"
console_command create_building Gerrha "city_barracks_E1"
console_command set_building_health Gerrha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command create_building Gerrha "celt3"
console_command create_building Gerrha "army_barracks_E1"
console_command set_building_health Gerrha Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command create_building Gerrha "celt3"
console_command create_building Gerrha "royal_barracks_E1"
console_command set_building_health Gerrha Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gerrha = seleucid
and not I_SettlementOwner Gerrha = parthia
and not I_SettlementOwner Gerrha = pontus
and not I_SettlementOwner Gerrha = numidia
and not I_SettlementOwner Gerrha = romans_julii
and not I_SettlementOwner Gerrha = egypt
and not I_SettlementOwner Gerrha = germans
and not I_SettlementOwner Gerrha = greek_cities
and not I_SettlementOwner Gerrha = macedon
and not I_SettlementOwner Gerrha = carthage
and not I_SettlementOwner Gerrha = romans_scipii
and not I_SettlementOwner Gerrha = dacia
and not I_SettlementOwner Gerrha = armenia
and not I_SettlementOwner Gerrha = spain
and not I_SettlementOwner Gerrha = thrace
and not I_SettlementOwner Gerrha = romans_brutii
and not I_SettlementOwner Gerrha = saba
and not I_SettlementOwner Gerrha = slave

console_command set_building_health Gerrha Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command create_building Gintaras_Ostan "celt3"
console_command create_building Gintaras_Ostan "muster_field_E"
console_command set_building_health Gintaras_Ostan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command create_building Gintaras_Ostan "celt3"
console_command create_building Gintaras_Ostan "militia_barracks_E1"
console_command set_building_health Gintaras_Ostan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command create_building Gintaras_Ostan "celt3"
console_command create_building Gintaras_Ostan "city_barracks_E1"
console_command set_building_health Gintaras_Ostan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command create_building Gintaras_Ostan "celt3"
console_command create_building Gintaras_Ostan "army_barracks_E1"
console_command set_building_health Gintaras_Ostan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command create_building Gintaras_Ostan "celt3"
console_command create_building Gintaras_Ostan "royal_barracks_E1"
console_command set_building_health Gintaras_Ostan Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gintaras_Ostan = seleucid
and not I_SettlementOwner Gintaras_Ostan = parthia
and not I_SettlementOwner Gintaras_Ostan = pontus
and not I_SettlementOwner Gintaras_Ostan = numidia
and not I_SettlementOwner Gintaras_Ostan = romans_julii
and not I_SettlementOwner Gintaras_Ostan = egypt
and not I_SettlementOwner Gintaras_Ostan = germans
and not I_SettlementOwner Gintaras_Ostan = greek_cities
and not I_SettlementOwner Gintaras_Ostan = macedon
and not I_SettlementOwner Gintaras_Ostan = carthage
and not I_SettlementOwner Gintaras_Ostan = romans_scipii
and not I_SettlementOwner Gintaras_Ostan = dacia
and not I_SettlementOwner Gintaras_Ostan = armenia
and not I_SettlementOwner Gintaras_Ostan = spain
and not I_SettlementOwner Gintaras_Ostan = thrace
and not I_SettlementOwner Gintaras_Ostan = romans_brutii
and not I_SettlementOwner Gintaras_Ostan = saba
and not I_SettlementOwner Gintaras_Ostan = slave

console_command set_building_health Gintaras_Ostan Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command create_building Gordu_Neuriji "celt3"
console_command create_building Gordu_Neuriji "muster_field_E"
console_command set_building_health Gordu_Neuriji Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command create_building Gordu_Neuriji "celt3"
console_command create_building Gordu_Neuriji "militia_barracks_E1"
console_command set_building_health Gordu_Neuriji Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command create_building Gordu_Neuriji "celt3"
console_command create_building Gordu_Neuriji "city_barracks_E1"
console_command set_building_health Gordu_Neuriji Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command create_building Gordu_Neuriji "celt3"
console_command create_building Gordu_Neuriji "army_barracks_E1"
console_command set_building_health Gordu_Neuriji Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command create_building Gordu_Neuriji "celt3"
console_command create_building Gordu_Neuriji "royal_barracks_E1"
console_command set_building_health Gordu_Neuriji Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Gordu_Neuriji = seleucid
and not I_SettlementOwner Gordu_Neuriji = parthia
and not I_SettlementOwner Gordu_Neuriji = pontus
and not I_SettlementOwner Gordu_Neuriji = numidia
and not I_SettlementOwner Gordu_Neuriji = romans_julii
and not I_SettlementOwner Gordu_Neuriji = egypt
and not I_SettlementOwner Gordu_Neuriji = germans
and not I_SettlementOwner Gordu_Neuriji = greek_cities
and not I_SettlementOwner Gordu_Neuriji = macedon
and not I_SettlementOwner Gordu_Neuriji = carthage
and not I_SettlementOwner Gordu_Neuriji = romans_scipii
and not I_SettlementOwner Gordu_Neuriji = dacia
and not I_SettlementOwner Gordu_Neuriji = armenia
and not I_SettlementOwner Gordu_Neuriji = spain
and not I_SettlementOwner Gordu_Neuriji = thrace
and not I_SettlementOwner Gordu_Neuriji = romans_brutii
and not I_SettlementOwner Gordu_Neuriji = saba
and not I_SettlementOwner Gordu_Neuriji = slave

console_command set_building_health Gordu_Neuriji Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command create_building Halikarnassos "celt3"
console_command create_building Halikarnassos "muster_field_E"
console_command set_building_health Halikarnassos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command create_building Halikarnassos "celt3"
console_command create_building Halikarnassos "militia_barracks_E1"
console_command set_building_health Halikarnassos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command create_building Halikarnassos "celt3"
console_command create_building Halikarnassos "city_barracks_E1"
console_command set_building_health Halikarnassos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command create_building Halikarnassos "celt3"
console_command create_building Halikarnassos "army_barracks_E1"
console_command set_building_health Halikarnassos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command create_building Halikarnassos "celt3"
console_command create_building Halikarnassos "royal_barracks_E1"
console_command set_building_health Halikarnassos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Halikarnassos = seleucid
and not I_SettlementOwner Halikarnassos = parthia
and not I_SettlementOwner Halikarnassos = pontus
and not I_SettlementOwner Halikarnassos = numidia
and not I_SettlementOwner Halikarnassos = romans_julii
and not I_SettlementOwner Halikarnassos = egypt
and not I_SettlementOwner Halikarnassos = germans
and not I_SettlementOwner Halikarnassos = greek_cities
and not I_SettlementOwner Halikarnassos = macedon
and not I_SettlementOwner Halikarnassos = carthage
and not I_SettlementOwner Halikarnassos = romans_scipii
and not I_SettlementOwner Halikarnassos = dacia
and not I_SettlementOwner Halikarnassos = armenia
and not I_SettlementOwner Halikarnassos = spain
and not I_SettlementOwner Halikarnassos = thrace
and not I_SettlementOwner Halikarnassos = romans_brutii
and not I_SettlementOwner Halikarnassos = saba
and not I_SettlementOwner Halikarnassos = slave

console_command set_building_health Halikarnassos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command create_building Hekatompylos "celt3"
console_command create_building Hekatompylos "muster_field_E"
console_command set_building_health Hekatompylos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command create_building Hekatompylos "celt3"
console_command create_building Hekatompylos "militia_barracks_E1"
console_command set_building_health Hekatompylos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command create_building Hekatompylos "celt3"
console_command create_building Hekatompylos "city_barracks_E1"
console_command set_building_health Hekatompylos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command create_building Hekatompylos "celt3"
console_command create_building Hekatompylos "army_barracks_E1"
console_command set_building_health Hekatompylos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command create_building Hekatompylos "celt3"
console_command create_building Hekatompylos "royal_barracks_E1"
console_command set_building_health Hekatompylos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Hekatompylos = seleucid
and not I_SettlementOwner Hekatompylos = parthia
and not I_SettlementOwner Hekatompylos = pontus
and not I_SettlementOwner Hekatompylos = numidia
and not I_SettlementOwner Hekatompylos = romans_julii
and not I_SettlementOwner Hekatompylos = egypt
and not I_SettlementOwner Hekatompylos = germans
and not I_SettlementOwner Hekatompylos = greek_cities
and not I_SettlementOwner Hekatompylos = macedon
and not I_SettlementOwner Hekatompylos = carthage
and not I_SettlementOwner Hekatompylos = romans_scipii
and not I_SettlementOwner Hekatompylos = dacia
and not I_SettlementOwner Hekatompylos = armenia
and not I_SettlementOwner Hekatompylos = spain
and not I_SettlementOwner Hekatompylos = thrace
and not I_SettlementOwner Hekatompylos = romans_brutii
and not I_SettlementOwner Hekatompylos = saba
and not I_SettlementOwner Hekatompylos = slave

console_command set_building_health Hekatompylos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command create_building Hibis "celt3"
console_command create_building Hibis "muster_field_E"
console_command set_building_health Hibis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command create_building Hibis "celt3"
console_command create_building Hibis "militia_barracks_E1"
console_command set_building_health Hibis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command create_building Hibis "celt3"
console_command create_building Hibis "city_barracks_E1"
console_command set_building_health Hibis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command create_building Hibis "celt3"
console_command create_building Hibis "army_barracks_E1"
console_command set_building_health Hibis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command create_building Hibis "celt3"
console_command create_building Hibis "royal_barracks_E1"
console_command set_building_health Hibis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Hibis = seleucid
and not I_SettlementOwner Hibis = parthia
and not I_SettlementOwner Hibis = pontus
and not I_SettlementOwner Hibis = numidia
and not I_SettlementOwner Hibis = romans_julii
and not I_SettlementOwner Hibis = egypt
and not I_SettlementOwner Hibis = germans
and not I_SettlementOwner Hibis = greek_cities
and not I_SettlementOwner Hibis = macedon
and not I_SettlementOwner Hibis = carthage
and not I_SettlementOwner Hibis = romans_scipii
and not I_SettlementOwner Hibis = dacia
and not I_SettlementOwner Hibis = armenia
and not I_SettlementOwner Hibis = spain
and not I_SettlementOwner Hibis = thrace
and not I_SettlementOwner Hibis = romans_brutii
and not I_SettlementOwner Hibis = saba
and not I_SettlementOwner Hibis = slave

console_command set_building_health Hibis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command create_building Hierosolyma "celt3"
console_command create_building Hierosolyma "muster_field_E"
console_command set_building_health Hierosolyma Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command create_building Hierosolyma "celt3"
console_command create_building Hierosolyma "militia_barracks_E1"
console_command set_building_health Hierosolyma Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command create_building Hierosolyma "celt3"
console_command create_building Hierosolyma "city_barracks_E1"
console_command set_building_health Hierosolyma Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command create_building Hierosolyma "celt3"
console_command create_building Hierosolyma "army_barracks_E1"
console_command set_building_health Hierosolyma Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command create_building Hierosolyma "celt3"
console_command create_building Hierosolyma "royal_barracks_E1"
console_command set_building_health Hierosolyma Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Hierosolyma = seleucid
and not I_SettlementOwner Hierosolyma = parthia
and not I_SettlementOwner Hierosolyma = pontus
and not I_SettlementOwner Hierosolyma = numidia
and not I_SettlementOwner Hierosolyma = romans_julii
and not I_SettlementOwner Hierosolyma = egypt
and not I_SettlementOwner Hierosolyma = germans
and not I_SettlementOwner Hierosolyma = greek_cities
and not I_SettlementOwner Hierosolyma = macedon
and not I_SettlementOwner Hierosolyma = carthage
and not I_SettlementOwner Hierosolyma = romans_scipii
and not I_SettlementOwner Hierosolyma = dacia
and not I_SettlementOwner Hierosolyma = armenia
and not I_SettlementOwner Hierosolyma = spain
and not I_SettlementOwner Hierosolyma = thrace
and not I_SettlementOwner Hierosolyma = romans_brutii
and not I_SettlementOwner Hierosolyma = saba
and not I_SettlementOwner Hierosolyma = slave

console_command set_building_health Hierosolyma Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command create_building Homna "celt3"
console_command create_building Homna "muster_field_E"
console_command set_building_health Homna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command create_building Homna "celt3"
console_command create_building Homna "militia_barracks_E1"
console_command set_building_health Homna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command create_building Homna "celt3"
console_command create_building Homna "city_barracks_E1"
console_command set_building_health Homna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command create_building Homna "celt3"
console_command create_building Homna "army_barracks_E1"
console_command set_building_health Homna Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command create_building Homna "celt3"
console_command create_building Homna "royal_barracks_E1"
console_command set_building_health Homna Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Homna = seleucid
and not I_SettlementOwner Homna = parthia
and not I_SettlementOwner Homna = pontus
and not I_SettlementOwner Homna = numidia
and not I_SettlementOwner Homna = romans_julii
and not I_SettlementOwner Homna = egypt
and not I_SettlementOwner Homna = germans
and not I_SettlementOwner Homna = greek_cities
and not I_SettlementOwner Homna = macedon
and not I_SettlementOwner Homna = carthage
and not I_SettlementOwner Homna = romans_scipii
and not I_SettlementOwner Homna = dacia
and not I_SettlementOwner Homna = armenia
and not I_SettlementOwner Homna = spain
and not I_SettlementOwner Homna = thrace
and not I_SettlementOwner Homna = romans_brutii
and not I_SettlementOwner Homna = saba
and not I_SettlementOwner Homna = slave

console_command set_building_health Homna Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command create_building Ictis "celt3"
console_command create_building Ictis "muster_field_E"
console_command set_building_health Ictis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command create_building Ictis "celt3"
console_command create_building Ictis "militia_barracks_E1"
console_command set_building_health Ictis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command create_building Ictis "celt3"
console_command create_building Ictis "city_barracks_E1"
console_command set_building_health Ictis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command create_building Ictis "celt3"
console_command create_building Ictis "army_barracks_E1"
console_command set_building_health Ictis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command create_building Ictis "celt3"
console_command create_building Ictis "royal_barracks_E1"
console_command set_building_health Ictis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ictis = seleucid
and not I_SettlementOwner Ictis = parthia
and not I_SettlementOwner Ictis = pontus
and not I_SettlementOwner Ictis = numidia
and not I_SettlementOwner Ictis = romans_julii
and not I_SettlementOwner Ictis = egypt
and not I_SettlementOwner Ictis = germans
and not I_SettlementOwner Ictis = greek_cities
and not I_SettlementOwner Ictis = macedon
and not I_SettlementOwner Ictis = carthage
and not I_SettlementOwner Ictis = romans_scipii
and not I_SettlementOwner Ictis = dacia
and not I_SettlementOwner Ictis = armenia
and not I_SettlementOwner Ictis = spain
and not I_SettlementOwner Ictis = thrace
and not I_SettlementOwner Ictis = romans_brutii
and not I_SettlementOwner Ictis = saba
and not I_SettlementOwner Ictis = slave

console_command set_building_health Ictis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command create_building Ippone "celt3"
console_command create_building Ippone "muster_field_E"
console_command set_building_health Ippone Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command create_building Ippone "celt3"
console_command create_building Ippone "militia_barracks_E1"
console_command set_building_health Ippone Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command create_building Ippone "celt3"
console_command create_building Ippone "city_barracks_E1"
console_command set_building_health Ippone Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command create_building Ippone "celt3"
console_command create_building Ippone "army_barracks_E1"
console_command set_building_health Ippone Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command create_building Ippone "celt3"
console_command create_building Ippone "royal_barracks_E1"
console_command set_building_health Ippone Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ippone = seleucid
and not I_SettlementOwner Ippone = parthia
and not I_SettlementOwner Ippone = pontus
and not I_SettlementOwner Ippone = numidia
and not I_SettlementOwner Ippone = romans_julii
and not I_SettlementOwner Ippone = egypt
and not I_SettlementOwner Ippone = germans
and not I_SettlementOwner Ippone = greek_cities
and not I_SettlementOwner Ippone = macedon
and not I_SettlementOwner Ippone = carthage
and not I_SettlementOwner Ippone = romans_scipii
and not I_SettlementOwner Ippone = dacia
and not I_SettlementOwner Ippone = armenia
and not I_SettlementOwner Ippone = spain
and not I_SettlementOwner Ippone = thrace
and not I_SettlementOwner Ippone = romans_brutii
and not I_SettlementOwner Ippone = saba
and not I_SettlementOwner Ippone = slave

console_command set_building_health Ippone Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command create_building Ipsos "celt3"
console_command create_building Ipsos "muster_field_E"
console_command set_building_health Ipsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command create_building Ipsos "celt3"
console_command create_building Ipsos "militia_barracks_E1"
console_command set_building_health Ipsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command create_building Ipsos "celt3"
console_command create_building Ipsos "city_barracks_E1"
console_command set_building_health Ipsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command create_building Ipsos "celt3"
console_command create_building Ipsos "army_barracks_E1"
console_command set_building_health Ipsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command create_building Ipsos "celt3"
console_command create_building Ipsos "royal_barracks_E1"
console_command set_building_health Ipsos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ipsos = seleucid
and not I_SettlementOwner Ipsos = parthia
and not I_SettlementOwner Ipsos = pontus
and not I_SettlementOwner Ipsos = numidia
and not I_SettlementOwner Ipsos = romans_julii
and not I_SettlementOwner Ipsos = egypt
and not I_SettlementOwner Ipsos = germans
and not I_SettlementOwner Ipsos = greek_cities
and not I_SettlementOwner Ipsos = macedon
and not I_SettlementOwner Ipsos = carthage
and not I_SettlementOwner Ipsos = romans_scipii
and not I_SettlementOwner Ipsos = dacia
and not I_SettlementOwner Ipsos = armenia
and not I_SettlementOwner Ipsos = spain
and not I_SettlementOwner Ipsos = thrace
and not I_SettlementOwner Ipsos = romans_brutii
and not I_SettlementOwner Ipsos = saba
and not I_SettlementOwner Ipsos = slave

console_command set_building_health Ipsos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command create_building Iuvavoaeta "celt3"
console_command create_building Iuvavoaeta "muster_field_E"
console_command set_building_health Iuvavoaeta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command create_building Iuvavoaeta "celt3"
console_command create_building Iuvavoaeta "militia_barracks_E1"
console_command set_building_health Iuvavoaeta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command create_building Iuvavoaeta "celt3"
console_command create_building Iuvavoaeta "city_barracks_E1"
console_command set_building_health Iuvavoaeta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command create_building Iuvavoaeta "celt3"
console_command create_building Iuvavoaeta "army_barracks_E1"
console_command set_building_health Iuvavoaeta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command create_building Iuvavoaeta "celt3"
console_command create_building Iuvavoaeta "royal_barracks_E1"
console_command set_building_health Iuvavoaeta Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Iuvavoaeta = seleucid
and not I_SettlementOwner Iuvavoaeta = parthia
and not I_SettlementOwner Iuvavoaeta = pontus
and not I_SettlementOwner Iuvavoaeta = numidia
and not I_SettlementOwner Iuvavoaeta = romans_julii
and not I_SettlementOwner Iuvavoaeta = egypt
and not I_SettlementOwner Iuvavoaeta = germans
and not I_SettlementOwner Iuvavoaeta = greek_cities
and not I_SettlementOwner Iuvavoaeta = macedon
and not I_SettlementOwner Iuvavoaeta = carthage
and not I_SettlementOwner Iuvavoaeta = romans_scipii
and not I_SettlementOwner Iuvavoaeta = dacia
and not I_SettlementOwner Iuvavoaeta = armenia
and not I_SettlementOwner Iuvavoaeta = spain
and not I_SettlementOwner Iuvavoaeta = thrace
and not I_SettlementOwner Iuvavoaeta = romans_brutii
and not I_SettlementOwner Iuvavoaeta = saba
and not I_SettlementOwner Iuvavoaeta = slave

console_command set_building_health Iuvavoaeta Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command create_building Ivernis "celt3"
console_command create_building Ivernis "muster_field_E"
console_command set_building_health Ivernis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command create_building Ivernis "celt3"
console_command create_building Ivernis "militia_barracks_E1"
console_command set_building_health Ivernis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command create_building Ivernis "celt3"
console_command create_building Ivernis "city_barracks_E1"
console_command set_building_health Ivernis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command create_building Ivernis "celt3"
console_command create_building Ivernis "army_barracks_E1"
console_command set_building_health Ivernis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command create_building Ivernis "celt3"
console_command create_building Ivernis "royal_barracks_E1"
console_command set_building_health Ivernis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ivernis = seleucid
and not I_SettlementOwner Ivernis = parthia
and not I_SettlementOwner Ivernis = pontus
and not I_SettlementOwner Ivernis = numidia
and not I_SettlementOwner Ivernis = romans_julii
and not I_SettlementOwner Ivernis = egypt
and not I_SettlementOwner Ivernis = germans
and not I_SettlementOwner Ivernis = greek_cities
and not I_SettlementOwner Ivernis = macedon
and not I_SettlementOwner Ivernis = carthage
and not I_SettlementOwner Ivernis = romans_scipii
and not I_SettlementOwner Ivernis = dacia
and not I_SettlementOwner Ivernis = armenia
and not I_SettlementOwner Ivernis = spain
and not I_SettlementOwner Ivernis = thrace
and not I_SettlementOwner Ivernis = romans_brutii
and not I_SettlementOwner Ivernis = saba
and not I_SettlementOwner Ivernis = slave

console_command set_building_health Ivernis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command create_building Kabalaka "celt3"
console_command create_building Kabalaka "muster_field_E"
console_command set_building_health Kabalaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command create_building Kabalaka "celt3"
console_command create_building Kabalaka "militia_barracks_E1"
console_command set_building_health Kabalaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command create_building Kabalaka "celt3"
console_command create_building Kabalaka "city_barracks_E1"
console_command set_building_health Kabalaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command create_building Kabalaka "celt3"
console_command create_building Kabalaka "army_barracks_E1"
console_command set_building_health Kabalaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command create_building Kabalaka "celt3"
console_command create_building Kabalaka "royal_barracks_E1"
console_command set_building_health Kabalaka Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kabalaka = seleucid
and not I_SettlementOwner Kabalaka = parthia
and not I_SettlementOwner Kabalaka = pontus
and not I_SettlementOwner Kabalaka = numidia
and not I_SettlementOwner Kabalaka = romans_julii
and not I_SettlementOwner Kabalaka = egypt
and not I_SettlementOwner Kabalaka = germans
and not I_SettlementOwner Kabalaka = greek_cities
and not I_SettlementOwner Kabalaka = macedon
and not I_SettlementOwner Kabalaka = carthage
and not I_SettlementOwner Kabalaka = romans_scipii
and not I_SettlementOwner Kabalaka = dacia
and not I_SettlementOwner Kabalaka = armenia
and not I_SettlementOwner Kabalaka = spain
and not I_SettlementOwner Kabalaka = thrace
and not I_SettlementOwner Kabalaka = romans_brutii
and not I_SettlementOwner Kabalaka = saba
and not I_SettlementOwner Kabalaka = slave

console_command set_building_health Kabalaka Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command create_building Kallatis "celt3"
console_command create_building Kallatis "muster_field_E"
console_command set_building_health Kallatis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command create_building Kallatis "celt3"
console_command create_building Kallatis "militia_barracks_E1"
console_command set_building_health Kallatis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command create_building Kallatis "celt3"
console_command create_building Kallatis "city_barracks_E1"
console_command set_building_health Kallatis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command create_building Kallatis "celt3"
console_command create_building Kallatis "army_barracks_E1"
console_command set_building_health Kallatis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command create_building Kallatis "celt3"
console_command create_building Kallatis "royal_barracks_E1"
console_command set_building_health Kallatis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kallatis = seleucid
and not I_SettlementOwner Kallatis = parthia
and not I_SettlementOwner Kallatis = pontus
and not I_SettlementOwner Kallatis = numidia
and not I_SettlementOwner Kallatis = romans_julii
and not I_SettlementOwner Kallatis = egypt
and not I_SettlementOwner Kallatis = germans
and not I_SettlementOwner Kallatis = greek_cities
and not I_SettlementOwner Kallatis = macedon
and not I_SettlementOwner Kallatis = carthage
and not I_SettlementOwner Kallatis = romans_scipii
and not I_SettlementOwner Kallatis = dacia
and not I_SettlementOwner Kallatis = armenia
and not I_SettlementOwner Kallatis = spain
and not I_SettlementOwner Kallatis = thrace
and not I_SettlementOwner Kallatis = romans_brutii
and not I_SettlementOwner Kallatis = saba
and not I_SettlementOwner Kallatis = slave

console_command set_building_health Kallatis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command create_building Karali "celt3"
console_command create_building Karali "muster_field_E"
console_command set_building_health Karali Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command create_building Karali "celt3"
console_command create_building Karali "militia_barracks_E1"
console_command set_building_health Karali Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command create_building Karali "celt3"
console_command create_building Karali "city_barracks_E1"
console_command set_building_health Karali Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command create_building Karali "celt3"
console_command create_building Karali "army_barracks_E1"
console_command set_building_health Karali Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command create_building Karali "celt3"
console_command create_building Karali "royal_barracks_E1"
console_command set_building_health Karali Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Karali = seleucid
and not I_SettlementOwner Karali = parthia
and not I_SettlementOwner Karali = pontus
and not I_SettlementOwner Karali = numidia
and not I_SettlementOwner Karali = romans_julii
and not I_SettlementOwner Karali = egypt
and not I_SettlementOwner Karali = germans
and not I_SettlementOwner Karali = greek_cities
and not I_SettlementOwner Karali = macedon
and not I_SettlementOwner Karali = carthage
and not I_SettlementOwner Karali = romans_scipii
and not I_SettlementOwner Karali = dacia
and not I_SettlementOwner Karali = armenia
and not I_SettlementOwner Karali = spain
and not I_SettlementOwner Karali = thrace
and not I_SettlementOwner Karali = romans_brutii
and not I_SettlementOwner Karali = saba
and not I_SettlementOwner Karali = slave

console_command set_building_health Karali Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command create_building Karkathiokerta "celt3"
console_command create_building Karkathiokerta "muster_field_E"
console_command set_building_health Karkathiokerta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command create_building Karkathiokerta "celt3"
console_command create_building Karkathiokerta "militia_barracks_E1"
console_command set_building_health Karkathiokerta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command create_building Karkathiokerta "celt3"
console_command create_building Karkathiokerta "city_barracks_E1"
console_command set_building_health Karkathiokerta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command create_building Karkathiokerta "celt3"
console_command create_building Karkathiokerta "army_barracks_E1"
console_command set_building_health Karkathiokerta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command create_building Karkathiokerta "celt3"
console_command create_building Karkathiokerta "royal_barracks_E1"
console_command set_building_health Karkathiokerta Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Karkathiokerta = seleucid
and not I_SettlementOwner Karkathiokerta = parthia
and not I_SettlementOwner Karkathiokerta = pontus
and not I_SettlementOwner Karkathiokerta = numidia
and not I_SettlementOwner Karkathiokerta = romans_julii
and not I_SettlementOwner Karkathiokerta = egypt
and not I_SettlementOwner Karkathiokerta = germans
and not I_SettlementOwner Karkathiokerta = greek_cities
and not I_SettlementOwner Karkathiokerta = macedon
and not I_SettlementOwner Karkathiokerta = carthage
and not I_SettlementOwner Karkathiokerta = romans_scipii
and not I_SettlementOwner Karkathiokerta = dacia
and not I_SettlementOwner Karkathiokerta = armenia
and not I_SettlementOwner Karkathiokerta = spain
and not I_SettlementOwner Karkathiokerta = thrace
and not I_SettlementOwner Karkathiokerta = romans_brutii
and not I_SettlementOwner Karkathiokerta = saba
and not I_SettlementOwner Karkathiokerta = slave

console_command set_building_health Karkathiokerta Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command create_building Karmana "celt3"
console_command create_building Karmana "muster_field_E"
console_command set_building_health Karmana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command create_building Karmana "celt3"
console_command create_building Karmana "militia_barracks_E1"
console_command set_building_health Karmana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command create_building Karmana "celt3"
console_command create_building Karmana "city_barracks_E1"
console_command set_building_health Karmana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command create_building Karmana "celt3"
console_command create_building Karmana "army_barracks_E1"
console_command set_building_health Karmana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command create_building Karmana "celt3"
console_command create_building Karmana "royal_barracks_E1"
console_command set_building_health Karmana Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Karmana = seleucid
and not I_SettlementOwner Karmana = parthia
and not I_SettlementOwner Karmana = pontus
and not I_SettlementOwner Karmana = numidia
and not I_SettlementOwner Karmana = romans_julii
and not I_SettlementOwner Karmana = egypt
and not I_SettlementOwner Karmana = germans
and not I_SettlementOwner Karmana = greek_cities
and not I_SettlementOwner Karmana = macedon
and not I_SettlementOwner Karmana = carthage
and not I_SettlementOwner Karmana = romans_scipii
and not I_SettlementOwner Karmana = dacia
and not I_SettlementOwner Karmana = armenia
and not I_SettlementOwner Karmana = spain
and not I_SettlementOwner Karmana = thrace
and not I_SettlementOwner Karmana = romans_brutii
and not I_SettlementOwner Karmana = saba
and not I_SettlementOwner Karmana = slave

console_command set_building_health Karmana Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command create_building Kart_Hadast "celt3"
console_command create_building Kart_Hadast "muster_field_E"
console_command set_building_health Kart_Hadast Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command create_building Kart_Hadast "celt3"
console_command create_building Kart_Hadast "militia_barracks_E1"
console_command set_building_health Kart_Hadast Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command create_building Kart_Hadast "celt3"
console_command create_building Kart_Hadast "city_barracks_E1"
console_command set_building_health Kart_Hadast Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command create_building Kart_Hadast "celt3"
console_command create_building Kart_Hadast "army_barracks_E1"
console_command set_building_health Kart_Hadast Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command create_building Kart_Hadast "celt3"
console_command create_building Kart_Hadast "royal_barracks_E1"
console_command set_building_health Kart_Hadast Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kart_Hadast = seleucid
and not I_SettlementOwner Kart_Hadast = parthia
and not I_SettlementOwner Kart_Hadast = pontus
and not I_SettlementOwner Kart_Hadast = numidia
and not I_SettlementOwner Kart_Hadast = romans_julii
and not I_SettlementOwner Kart_Hadast = egypt
and not I_SettlementOwner Kart_Hadast = germans
and not I_SettlementOwner Kart_Hadast = greek_cities
and not I_SettlementOwner Kart_Hadast = macedon
and not I_SettlementOwner Kart_Hadast = carthage
and not I_SettlementOwner Kart_Hadast = romans_scipii
and not I_SettlementOwner Kart_Hadast = dacia
and not I_SettlementOwner Kart_Hadast = armenia
and not I_SettlementOwner Kart_Hadast = spain
and not I_SettlementOwner Kart_Hadast = thrace
and not I_SettlementOwner Kart_Hadast = romans_brutii
and not I_SettlementOwner Kart_Hadast = saba
and not I_SettlementOwner Kart_Hadast = slave

console_command set_building_health Kart_Hadast Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command create_building Khiva "celt3"
console_command create_building Khiva "muster_field_E"
console_command set_building_health Khiva Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command create_building Khiva "celt3"
console_command create_building Khiva "militia_barracks_E1"
console_command set_building_health Khiva Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command create_building Khiva "celt3"
console_command create_building Khiva "city_barracks_E1"
console_command set_building_health Khiva Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command create_building Khiva "celt3"
console_command create_building Khiva "army_barracks_E1"
console_command set_building_health Khiva Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command create_building Khiva "celt3"
console_command create_building Khiva "royal_barracks_E1"
console_command set_building_health Khiva Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Khiva = seleucid
and not I_SettlementOwner Khiva = parthia
and not I_SettlementOwner Khiva = pontus
and not I_SettlementOwner Khiva = numidia
and not I_SettlementOwner Khiva = romans_julii
and not I_SettlementOwner Khiva = egypt
and not I_SettlementOwner Khiva = germans
and not I_SettlementOwner Khiva = greek_cities
and not I_SettlementOwner Khiva = macedon
and not I_SettlementOwner Khiva = carthage
and not I_SettlementOwner Khiva = romans_scipii
and not I_SettlementOwner Khiva = dacia
and not I_SettlementOwner Khiva = armenia
and not I_SettlementOwner Khiva = spain
and not I_SettlementOwner Khiva = thrace
and not I_SettlementOwner Khiva = romans_brutii
and not I_SettlementOwner Khiva = saba
and not I_SettlementOwner Khiva = slave

console_command set_building_health Khiva Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command create_building Kirtan "celt3"
console_command create_building Kirtan "muster_field_E"
console_command set_building_health Kirtan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command create_building Kirtan "celt3"
console_command create_building Kirtan "militia_barracks_E1"
console_command set_building_health Kirtan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command create_building Kirtan "celt3"
console_command create_building Kirtan "city_barracks_E1"
console_command set_building_health Kirtan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command create_building Kirtan "celt3"
console_command create_building Kirtan "army_barracks_E1"
console_command set_building_health Kirtan Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command create_building Kirtan "celt3"
console_command create_building Kirtan "royal_barracks_E1"
console_command set_building_health Kirtan Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kirtan = seleucid
and not I_SettlementOwner Kirtan = parthia
and not I_SettlementOwner Kirtan = pontus
and not I_SettlementOwner Kirtan = numidia
and not I_SettlementOwner Kirtan = romans_julii
and not I_SettlementOwner Kirtan = egypt
and not I_SettlementOwner Kirtan = germans
and not I_SettlementOwner Kirtan = greek_cities
and not I_SettlementOwner Kirtan = macedon
and not I_SettlementOwner Kirtan = carthage
and not I_SettlementOwner Kirtan = romans_scipii
and not I_SettlementOwner Kirtan = dacia
and not I_SettlementOwner Kirtan = armenia
and not I_SettlementOwner Kirtan = spain
and not I_SettlementOwner Kirtan = thrace
and not I_SettlementOwner Kirtan = romans_brutii
and not I_SettlementOwner Kirtan = saba
and not I_SettlementOwner Kirtan = slave

console_command set_building_health Kirtan Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command create_building Kophen "celt3"
console_command create_building Kophen "muster_field_E"
console_command set_building_health Kophen Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command create_building Kophen "celt3"
console_command create_building Kophen "militia_barracks_E1"
console_command set_building_health Kophen Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command create_building Kophen "celt3"
console_command create_building Kophen "city_barracks_E1"
console_command set_building_health Kophen Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command create_building Kophen "celt3"
console_command create_building Kophen "army_barracks_E1"
console_command set_building_health Kophen Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command create_building Kophen "celt3"
console_command create_building Kophen "royal_barracks_E1"
console_command set_building_health Kophen Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kophen = seleucid
and not I_SettlementOwner Kophen = parthia
and not I_SettlementOwner Kophen = pontus
and not I_SettlementOwner Kophen = numidia
and not I_SettlementOwner Kophen = romans_julii
and not I_SettlementOwner Kophen = egypt
and not I_SettlementOwner Kophen = germans
and not I_SettlementOwner Kophen = greek_cities
and not I_SettlementOwner Kophen = macedon
and not I_SettlementOwner Kophen = carthage
and not I_SettlementOwner Kophen = romans_scipii
and not I_SettlementOwner Kophen = dacia
and not I_SettlementOwner Kophen = armenia
and not I_SettlementOwner Kophen = spain
and not I_SettlementOwner Kophen = thrace
and not I_SettlementOwner Kophen = romans_brutii
and not I_SettlementOwner Kophen = saba
and not I_SettlementOwner Kophen = slave

console_command set_building_health Kophen Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command create_building Korinthos "celt3"
console_command create_building Korinthos "muster_field_E"
console_command set_building_health Korinthos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command create_building Korinthos "celt3"
console_command create_building Korinthos "militia_barracks_E1"
console_command set_building_health Korinthos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command create_building Korinthos "celt3"
console_command create_building Korinthos "city_barracks_E1"
console_command set_building_health Korinthos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command create_building Korinthos "celt3"
console_command create_building Korinthos "army_barracks_E1"
console_command set_building_health Korinthos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command create_building Korinthos "celt3"
console_command create_building Korinthos "royal_barracks_E1"
console_command set_building_health Korinthos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Korinthos = seleucid
and not I_SettlementOwner Korinthos = parthia
and not I_SettlementOwner Korinthos = pontus
and not I_SettlementOwner Korinthos = numidia
and not I_SettlementOwner Korinthos = romans_julii
and not I_SettlementOwner Korinthos = egypt
and not I_SettlementOwner Korinthos = germans
and not I_SettlementOwner Korinthos = greek_cities
and not I_SettlementOwner Korinthos = macedon
and not I_SettlementOwner Korinthos = carthage
and not I_SettlementOwner Korinthos = romans_scipii
and not I_SettlementOwner Korinthos = dacia
and not I_SettlementOwner Korinthos = armenia
and not I_SettlementOwner Korinthos = spain
and not I_SettlementOwner Korinthos = thrace
and not I_SettlementOwner Korinthos = romans_brutii
and not I_SettlementOwner Korinthos = saba
and not I_SettlementOwner Korinthos = slave

console_command set_building_health Korinthos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command create_building Kotais "celt3"
console_command create_building Kotais "muster_field_E"
console_command set_building_health Kotais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command create_building Kotais "celt3"
console_command create_building Kotais "militia_barracks_E1"
console_command set_building_health Kotais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command create_building Kotais "celt3"
console_command create_building Kotais "city_barracks_E1"
console_command set_building_health Kotais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command create_building Kotais "celt3"
console_command create_building Kotais "army_barracks_E1"
console_command set_building_health Kotais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command create_building Kotais "celt3"
console_command create_building Kotais "royal_barracks_E1"
console_command set_building_health Kotais Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kotais = seleucid
and not I_SettlementOwner Kotais = parthia
and not I_SettlementOwner Kotais = pontus
and not I_SettlementOwner Kotais = numidia
and not I_SettlementOwner Kotais = romans_julii
and not I_SettlementOwner Kotais = egypt
and not I_SettlementOwner Kotais = germans
and not I_SettlementOwner Kotais = greek_cities
and not I_SettlementOwner Kotais = macedon
and not I_SettlementOwner Kotais = carthage
and not I_SettlementOwner Kotais = romans_scipii
and not I_SettlementOwner Kotais = dacia
and not I_SettlementOwner Kotais = armenia
and not I_SettlementOwner Kotais = spain
and not I_SettlementOwner Kotais = thrace
and not I_SettlementOwner Kotais = romans_brutii
and not I_SettlementOwner Kotais = saba
and not I_SettlementOwner Kotais = slave

console_command set_building_health Kotais Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command create_building Kydonia "celt3"
console_command create_building Kydonia "muster_field_E"
console_command set_building_health Kydonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command create_building Kydonia "celt3"
console_command create_building Kydonia "militia_barracks_E1"
console_command set_building_health Kydonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command create_building Kydonia "celt3"
console_command create_building Kydonia "city_barracks_E1"
console_command set_building_health Kydonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command create_building Kydonia "celt3"
console_command create_building Kydonia "army_barracks_E1"
console_command set_building_health Kydonia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command create_building Kydonia "celt3"
console_command create_building Kydonia "royal_barracks_E1"
console_command set_building_health Kydonia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kydonia = seleucid
and not I_SettlementOwner Kydonia = parthia
and not I_SettlementOwner Kydonia = pontus
and not I_SettlementOwner Kydonia = numidia
and not I_SettlementOwner Kydonia = romans_julii
and not I_SettlementOwner Kydonia = egypt
and not I_SettlementOwner Kydonia = germans
and not I_SettlementOwner Kydonia = greek_cities
and not I_SettlementOwner Kydonia = macedon
and not I_SettlementOwner Kydonia = carthage
and not I_SettlementOwner Kydonia = romans_scipii
and not I_SettlementOwner Kydonia = dacia
and not I_SettlementOwner Kydonia = armenia
and not I_SettlementOwner Kydonia = spain
and not I_SettlementOwner Kydonia = thrace
and not I_SettlementOwner Kydonia = romans_brutii
and not I_SettlementOwner Kydonia = saba
and not I_SettlementOwner Kydonia = slave

console_command set_building_health Kydonia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command create_building Kyrene "celt3"
console_command create_building Kyrene "muster_field_E"
console_command set_building_health Kyrene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command create_building Kyrene "celt3"
console_command create_building Kyrene "militia_barracks_E1"
console_command set_building_health Kyrene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command create_building Kyrene "celt3"
console_command create_building Kyrene "city_barracks_E1"
console_command set_building_health Kyrene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command create_building Kyrene "celt3"
console_command create_building Kyrene "army_barracks_E1"
console_command set_building_health Kyrene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command create_building Kyrene "celt3"
console_command create_building Kyrene "royal_barracks_E1"
console_command set_building_health Kyrene Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Kyrene = seleucid
and not I_SettlementOwner Kyrene = parthia
and not I_SettlementOwner Kyrene = pontus
and not I_SettlementOwner Kyrene = numidia
and not I_SettlementOwner Kyrene = romans_julii
and not I_SettlementOwner Kyrene = egypt
and not I_SettlementOwner Kyrene = germans
and not I_SettlementOwner Kyrene = greek_cities
and not I_SettlementOwner Kyrene = macedon
and not I_SettlementOwner Kyrene = carthage
and not I_SettlementOwner Kyrene = romans_scipii
and not I_SettlementOwner Kyrene = dacia
and not I_SettlementOwner Kyrene = armenia
and not I_SettlementOwner Kyrene = spain
and not I_SettlementOwner Kyrene = thrace
and not I_SettlementOwner Kyrene = romans_brutii
and not I_SettlementOwner Kyrene = saba
and not I_SettlementOwner Kyrene = slave

console_command set_building_health Kyrene Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command create_building Lemonum "celt3"
console_command create_building Lemonum "muster_field_E"
console_command set_building_health Lemonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command create_building Lemonum "celt3"
console_command create_building Lemonum "militia_barracks_E1"
console_command set_building_health Lemonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command create_building Lemonum "celt3"
console_command create_building Lemonum "city_barracks_E1"
console_command set_building_health Lemonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command create_building Lemonum "celt3"
console_command create_building Lemonum "army_barracks_E1"
console_command set_building_health Lemonum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command create_building Lemonum "celt3"
console_command create_building Lemonum "royal_barracks_E1"
console_command set_building_health Lemonum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Lemonum = seleucid
and not I_SettlementOwner Lemonum = parthia
and not I_SettlementOwner Lemonum = pontus
and not I_SettlementOwner Lemonum = numidia
and not I_SettlementOwner Lemonum = romans_julii
and not I_SettlementOwner Lemonum = egypt
and not I_SettlementOwner Lemonum = germans
and not I_SettlementOwner Lemonum = greek_cities
and not I_SettlementOwner Lemonum = macedon
and not I_SettlementOwner Lemonum = carthage
and not I_SettlementOwner Lemonum = romans_scipii
and not I_SettlementOwner Lemonum = dacia
and not I_SettlementOwner Lemonum = armenia
and not I_SettlementOwner Lemonum = spain
and not I_SettlementOwner Lemonum = thrace
and not I_SettlementOwner Lemonum = romans_brutii
and not I_SettlementOwner Lemonum = saba
and not I_SettlementOwner Lemonum = slave

console_command set_building_health Lemonum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command create_building Lepki "celt3"
console_command create_building Lepki "muster_field_E"
console_command set_building_health Lepki Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command create_building Lepki "celt3"
console_command create_building Lepki "militia_barracks_E1"
console_command set_building_health Lepki Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command create_building Lepki "celt3"
console_command create_building Lepki "city_barracks_E1"
console_command set_building_health Lepki Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command create_building Lepki "celt3"
console_command create_building Lepki "army_barracks_E1"
console_command set_building_health Lepki Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command create_building Lepki "celt3"
console_command create_building Lepki "royal_barracks_E1"
console_command set_building_health Lepki Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Lepki = seleucid
and not I_SettlementOwner Lepki = parthia
and not I_SettlementOwner Lepki = pontus
and not I_SettlementOwner Lepki = numidia
and not I_SettlementOwner Lepki = romans_julii
and not I_SettlementOwner Lepki = egypt
and not I_SettlementOwner Lepki = germans
and not I_SettlementOwner Lepki = greek_cities
and not I_SettlementOwner Lepki = macedon
and not I_SettlementOwner Lepki = carthage
and not I_SettlementOwner Lepki = romans_scipii
and not I_SettlementOwner Lepki = dacia
and not I_SettlementOwner Lepki = armenia
and not I_SettlementOwner Lepki = spain
and not I_SettlementOwner Lepki = thrace
and not I_SettlementOwner Lepki = romans_brutii
and not I_SettlementOwner Lepki = saba
and not I_SettlementOwner Lepki = slave

console_command set_building_health Lepki Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command create_building Lilibeo "celt3"
console_command create_building Lilibeo "muster_field_E"
console_command set_building_health Lilibeo Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command create_building Lilibeo "celt3"
console_command create_building Lilibeo "militia_barracks_E1"
console_command set_building_health Lilibeo Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command create_building Lilibeo "celt3"
console_command create_building Lilibeo "city_barracks_E1"
console_command set_building_health Lilibeo Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command create_building Lilibeo "celt3"
console_command create_building Lilibeo "army_barracks_E1"
console_command set_building_health Lilibeo Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command create_building Lilibeo "celt3"
console_command create_building Lilibeo "royal_barracks_E1"
console_command set_building_health Lilibeo Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Lilibeo = seleucid
and not I_SettlementOwner Lilibeo = parthia
and not I_SettlementOwner Lilibeo = pontus
and not I_SettlementOwner Lilibeo = numidia
and not I_SettlementOwner Lilibeo = romans_julii
and not I_SettlementOwner Lilibeo = egypt
and not I_SettlementOwner Lilibeo = germans
and not I_SettlementOwner Lilibeo = greek_cities
and not I_SettlementOwner Lilibeo = macedon
and not I_SettlementOwner Lilibeo = carthage
and not I_SettlementOwner Lilibeo = romans_scipii
and not I_SettlementOwner Lilibeo = dacia
and not I_SettlementOwner Lilibeo = armenia
and not I_SettlementOwner Lilibeo = spain
and not I_SettlementOwner Lilibeo = thrace
and not I_SettlementOwner Lilibeo = romans_brutii
and not I_SettlementOwner Lilibeo = saba
and not I_SettlementOwner Lilibeo = slave

console_command set_building_health Lilibeo Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command create_building Lucarottea "celt3"
console_command create_building Lucarottea "muster_field_E"
console_command set_building_health Lucarottea Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command create_building Lucarottea "celt3"
console_command create_building Lucarottea "militia_barracks_E1"
console_command set_building_health Lucarottea Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command create_building Lucarottea "celt3"
console_command create_building Lucarottea "city_barracks_E1"
console_command set_building_health Lucarottea Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command create_building Lucarottea "celt3"
console_command create_building Lucarottea "army_barracks_E1"
console_command set_building_health Lucarottea Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command create_building Lucarottea "celt3"
console_command create_building Lucarottea "royal_barracks_E1"
console_command set_building_health Lucarottea Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Lucarottea = seleucid
and not I_SettlementOwner Lucarottea = parthia
and not I_SettlementOwner Lucarottea = pontus
and not I_SettlementOwner Lucarottea = numidia
and not I_SettlementOwner Lucarottea = romans_julii
and not I_SettlementOwner Lucarottea = egypt
and not I_SettlementOwner Lucarottea = germans
and not I_SettlementOwner Lucarottea = greek_cities
and not I_SettlementOwner Lucarottea = macedon
and not I_SettlementOwner Lucarottea = carthage
and not I_SettlementOwner Lucarottea = romans_scipii
and not I_SettlementOwner Lucarottea = dacia
and not I_SettlementOwner Lucarottea = armenia
and not I_SettlementOwner Lucarottea = spain
and not I_SettlementOwner Lucarottea = thrace
and not I_SettlementOwner Lucarottea = romans_brutii
and not I_SettlementOwner Lucarottea = saba
and not I_SettlementOwner Lucarottea = slave

console_command set_building_health Lucarottea Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command create_building Marakanda "celt3"
console_command create_building Marakanda "muster_field_E"
console_command set_building_health Marakanda Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command create_building Marakanda "celt3"
console_command create_building Marakanda "militia_barracks_E1"
console_command set_building_health Marakanda Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command create_building Marakanda "celt3"
console_command create_building Marakanda "city_barracks_E1"
console_command set_building_health Marakanda Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command create_building Marakanda "celt3"
console_command create_building Marakanda "army_barracks_E1"
console_command set_building_health Marakanda Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command create_building Marakanda "celt3"
console_command create_building Marakanda "royal_barracks_E1"
console_command set_building_health Marakanda Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Marakanda = seleucid
and not I_SettlementOwner Marakanda = parthia
and not I_SettlementOwner Marakanda = pontus
and not I_SettlementOwner Marakanda = numidia
and not I_SettlementOwner Marakanda = romans_julii
and not I_SettlementOwner Marakanda = egypt
and not I_SettlementOwner Marakanda = germans
and not I_SettlementOwner Marakanda = greek_cities
and not I_SettlementOwner Marakanda = macedon
and not I_SettlementOwner Marakanda = carthage
and not I_SettlementOwner Marakanda = romans_scipii
and not I_SettlementOwner Marakanda = dacia
and not I_SettlementOwner Marakanda = armenia
and not I_SettlementOwner Marakanda = spain
and not I_SettlementOwner Marakanda = thrace
and not I_SettlementOwner Marakanda = romans_brutii
and not I_SettlementOwner Marakanda = saba
and not I_SettlementOwner Marakanda = slave

console_command set_building_health Marakanda Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command create_building Maryab "celt3"
console_command create_building Maryab "muster_field_E"
console_command set_building_health Maryab Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command create_building Maryab "celt3"
console_command create_building Maryab "militia_barracks_E1"
console_command set_building_health Maryab Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command create_building Maryab "celt3"
console_command create_building Maryab "city_barracks_E1"
console_command set_building_health Maryab Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command create_building Maryab "celt3"
console_command create_building Maryab "army_barracks_E1"
console_command set_building_health Maryab Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command create_building Maryab "celt3"
console_command create_building Maryab "royal_barracks_E1"
console_command set_building_health Maryab Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Maryab = seleucid
and not I_SettlementOwner Maryab = parthia
and not I_SettlementOwner Maryab = pontus
and not I_SettlementOwner Maryab = numidia
and not I_SettlementOwner Maryab = romans_julii
and not I_SettlementOwner Maryab = egypt
and not I_SettlementOwner Maryab = germans
and not I_SettlementOwner Maryab = greek_cities
and not I_SettlementOwner Maryab = macedon
and not I_SettlementOwner Maryab = carthage
and not I_SettlementOwner Maryab = romans_scipii
and not I_SettlementOwner Maryab = dacia
and not I_SettlementOwner Maryab = armenia
and not I_SettlementOwner Maryab = spain
and not I_SettlementOwner Maryab = thrace
and not I_SettlementOwner Maryab = romans_brutii
and not I_SettlementOwner Maryab = saba
and not I_SettlementOwner Maryab = slave

console_command set_building_health Maryab Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command create_building Massalia "celt3"
console_command create_building Massalia "muster_field_E"
console_command set_building_health Massalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command create_building Massalia "celt3"
console_command create_building Massalia "militia_barracks_E1"
console_command set_building_health Massalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command create_building Massalia "celt3"
console_command create_building Massalia "city_barracks_E1"
console_command set_building_health Massalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command create_building Massalia "celt3"
console_command create_building Massalia "army_barracks_E1"
console_command set_building_health Massalia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command create_building Massalia "celt3"
console_command create_building Massalia "royal_barracks_E1"
console_command set_building_health Massalia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Massalia = seleucid
and not I_SettlementOwner Massalia = parthia
and not I_SettlementOwner Massalia = pontus
and not I_SettlementOwner Massalia = numidia
and not I_SettlementOwner Massalia = romans_julii
and not I_SettlementOwner Massalia = egypt
and not I_SettlementOwner Massalia = germans
and not I_SettlementOwner Massalia = greek_cities
and not I_SettlementOwner Massalia = macedon
and not I_SettlementOwner Massalia = carthage
and not I_SettlementOwner Massalia = romans_scipii
and not I_SettlementOwner Massalia = dacia
and not I_SettlementOwner Massalia = armenia
and not I_SettlementOwner Massalia = spain
and not I_SettlementOwner Massalia = thrace
and not I_SettlementOwner Massalia = romans_brutii
and not I_SettlementOwner Massalia = saba
and not I_SettlementOwner Massalia = slave

console_command set_building_health Massalia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command create_building Mastia "celt3"
console_command create_building Mastia "muster_field_E"
console_command set_building_health Mastia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command create_building Mastia "celt3"
console_command create_building Mastia "militia_barracks_E1"
console_command set_building_health Mastia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command create_building Mastia "celt3"
console_command create_building Mastia "city_barracks_E1"
console_command set_building_health Mastia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command create_building Mastia "celt3"
console_command create_building Mastia "army_barracks_E1"
console_command set_building_health Mastia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command create_building Mastia "celt3"
console_command create_building Mastia "royal_barracks_E1"
console_command set_building_health Mastia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Mastia = seleucid
and not I_SettlementOwner Mastia = parthia
and not I_SettlementOwner Mastia = pontus
and not I_SettlementOwner Mastia = numidia
and not I_SettlementOwner Mastia = romans_julii
and not I_SettlementOwner Mastia = egypt
and not I_SettlementOwner Mastia = germans
and not I_SettlementOwner Mastia = greek_cities
and not I_SettlementOwner Mastia = macedon
and not I_SettlementOwner Mastia = carthage
and not I_SettlementOwner Mastia = romans_scipii
and not I_SettlementOwner Mastia = dacia
and not I_SettlementOwner Mastia = armenia
and not I_SettlementOwner Mastia = spain
and not I_SettlementOwner Mastia = thrace
and not I_SettlementOwner Mastia = romans_brutii
and not I_SettlementOwner Mastia = saba
and not I_SettlementOwner Mastia = slave

console_command set_building_health Mastia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command create_building Mazaka "celt3"
console_command create_building Mazaka "muster_field_E"
console_command set_building_health Mazaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command create_building Mazaka "celt3"
console_command create_building Mazaka "militia_barracks_E1"
console_command set_building_health Mazaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command create_building Mazaka "celt3"
console_command create_building Mazaka "city_barracks_E1"
console_command set_building_health Mazaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command create_building Mazaka "celt3"
console_command create_building Mazaka "army_barracks_E1"
console_command set_building_health Mazaka Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command create_building Mazaka "celt3"
console_command create_building Mazaka "royal_barracks_E1"
console_command set_building_health Mazaka Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Mazaka = seleucid
and not I_SettlementOwner Mazaka = parthia
and not I_SettlementOwner Mazaka = pontus
and not I_SettlementOwner Mazaka = numidia
and not I_SettlementOwner Mazaka = romans_julii
and not I_SettlementOwner Mazaka = egypt
and not I_SettlementOwner Mazaka = germans
and not I_SettlementOwner Mazaka = greek_cities
and not I_SettlementOwner Mazaka = macedon
and not I_SettlementOwner Mazaka = carthage
and not I_SettlementOwner Mazaka = romans_scipii
and not I_SettlementOwner Mazaka = dacia
and not I_SettlementOwner Mazaka = armenia
and not I_SettlementOwner Mazaka = spain
and not I_SettlementOwner Mazaka = thrace
and not I_SettlementOwner Mazaka = romans_brutii
and not I_SettlementOwner Mazaka = saba
and not I_SettlementOwner Mazaka = slave

console_command set_building_health Mazaka Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command create_building Mediolanum "celt3"
console_command create_building Mediolanum "muster_field_E"
console_command set_building_health Mediolanum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command create_building Mediolanum "celt3"
console_command create_building Mediolanum "militia_barracks_E1"
console_command set_building_health Mediolanum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command create_building Mediolanum "celt3"
console_command create_building Mediolanum "city_barracks_E1"
console_command set_building_health Mediolanum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command create_building Mediolanum "celt3"
console_command create_building Mediolanum "army_barracks_E1"
console_command set_building_health Mediolanum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command create_building Mediolanum "celt3"
console_command create_building Mediolanum "royal_barracks_E1"
console_command set_building_health Mediolanum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Mediolanum = seleucid
and not I_SettlementOwner Mediolanum = parthia
and not I_SettlementOwner Mediolanum = pontus
and not I_SettlementOwner Mediolanum = numidia
and not I_SettlementOwner Mediolanum = romans_julii
and not I_SettlementOwner Mediolanum = egypt
and not I_SettlementOwner Mediolanum = germans
and not I_SettlementOwner Mediolanum = greek_cities
and not I_SettlementOwner Mediolanum = macedon
and not I_SettlementOwner Mediolanum = carthage
and not I_SettlementOwner Mediolanum = romans_scipii
and not I_SettlementOwner Mediolanum = dacia
and not I_SettlementOwner Mediolanum = armenia
and not I_SettlementOwner Mediolanum = spain
and not I_SettlementOwner Mediolanum = thrace
and not I_SettlementOwner Mediolanum = romans_brutii
and not I_SettlementOwner Mediolanum = saba
and not I_SettlementOwner Mediolanum = slave

console_command set_building_health Mediolanum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command create_building Memphis "celt3"
console_command create_building Memphis "muster_field_E"
console_command set_building_health Memphis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command create_building Memphis "celt3"
console_command create_building Memphis "militia_barracks_E1"
console_command set_building_health Memphis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command create_building Memphis "celt3"
console_command create_building Memphis "city_barracks_E1"
console_command set_building_health Memphis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command create_building Memphis "celt3"
console_command create_building Memphis "army_barracks_E1"
console_command set_building_health Memphis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command create_building Memphis "celt3"
console_command create_building Memphis "royal_barracks_E1"
console_command set_building_health Memphis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Memphis = seleucid
and not I_SettlementOwner Memphis = parthia
and not I_SettlementOwner Memphis = pontus
and not I_SettlementOwner Memphis = numidia
and not I_SettlementOwner Memphis = romans_julii
and not I_SettlementOwner Memphis = egypt
and not I_SettlementOwner Memphis = germans
and not I_SettlementOwner Memphis = greek_cities
and not I_SettlementOwner Memphis = macedon
and not I_SettlementOwner Memphis = carthage
and not I_SettlementOwner Memphis = romans_scipii
and not I_SettlementOwner Memphis = dacia
and not I_SettlementOwner Memphis = armenia
and not I_SettlementOwner Memphis = spain
and not I_SettlementOwner Memphis = thrace
and not I_SettlementOwner Memphis = romans_brutii
and not I_SettlementOwner Memphis = saba
and not I_SettlementOwner Memphis = slave

console_command set_building_health Memphis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command create_building Meroe "celt3"
console_command create_building Meroe "muster_field_E"
console_command set_building_health Meroe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command create_building Meroe "celt3"
console_command create_building Meroe "militia_barracks_E1"
console_command set_building_health Meroe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command create_building Meroe "celt3"
console_command create_building Meroe "city_barracks_E1"
console_command set_building_health Meroe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command create_building Meroe "celt3"
console_command create_building Meroe "army_barracks_E1"
console_command set_building_health Meroe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command create_building Meroe "celt3"
console_command create_building Meroe "royal_barracks_E1"
console_command set_building_health Meroe Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Meroe = seleucid
and not I_SettlementOwner Meroe = parthia
and not I_SettlementOwner Meroe = pontus
and not I_SettlementOwner Meroe = numidia
and not I_SettlementOwner Meroe = romans_julii
and not I_SettlementOwner Meroe = egypt
and not I_SettlementOwner Meroe = germans
and not I_SettlementOwner Meroe = greek_cities
and not I_SettlementOwner Meroe = macedon
and not I_SettlementOwner Meroe = carthage
and not I_SettlementOwner Meroe = romans_scipii
and not I_SettlementOwner Meroe = dacia
and not I_SettlementOwner Meroe = armenia
and not I_SettlementOwner Meroe = spain
and not I_SettlementOwner Meroe = thrace
and not I_SettlementOwner Meroe = romans_brutii
and not I_SettlementOwner Meroe = saba
and not I_SettlementOwner Meroe = slave

console_command set_building_health Meroe Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command create_building Messana "celt3"
console_command create_building Messana "muster_field_E"
console_command set_building_health Messana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command create_building Messana "celt3"
console_command create_building Messana "militia_barracks_E1"
console_command set_building_health Messana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command create_building Messana "celt3"
console_command create_building Messana "city_barracks_E1"
console_command set_building_health Messana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command create_building Messana "celt3"
console_command create_building Messana "army_barracks_E1"
console_command set_building_health Messana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command create_building Messana "celt3"
console_command create_building Messana "royal_barracks_E1"
console_command set_building_health Messana Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Messana = seleucid
and not I_SettlementOwner Messana = parthia
and not I_SettlementOwner Messana = pontus
and not I_SettlementOwner Messana = numidia
and not I_SettlementOwner Messana = romans_julii
and not I_SettlementOwner Messana = egypt
and not I_SettlementOwner Messana = germans
and not I_SettlementOwner Messana = greek_cities
and not I_SettlementOwner Messana = macedon
and not I_SettlementOwner Messana = carthage
and not I_SettlementOwner Messana = romans_scipii
and not I_SettlementOwner Messana = dacia
and not I_SettlementOwner Messana = armenia
and not I_SettlementOwner Messana = spain
and not I_SettlementOwner Messana = thrace
and not I_SettlementOwner Messana = romans_brutii
and not I_SettlementOwner Messana = saba
and not I_SettlementOwner Messana = slave

console_command set_building_health Messana Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command create_building Mtskheta "celt3"
console_command create_building Mtskheta "muster_field_E"
console_command set_building_health Mtskheta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command create_building Mtskheta "celt3"
console_command create_building Mtskheta "militia_barracks_E1"
console_command set_building_health Mtskheta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command create_building Mtskheta "celt3"
console_command create_building Mtskheta "city_barracks_E1"
console_command set_building_health Mtskheta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command create_building Mtskheta "celt3"
console_command create_building Mtskheta "army_barracks_E1"
console_command set_building_health Mtskheta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command create_building Mtskheta "celt3"
console_command create_building Mtskheta "royal_barracks_E1"
console_command set_building_health Mtskheta Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Mtskheta = seleucid
and not I_SettlementOwner Mtskheta = parthia
and not I_SettlementOwner Mtskheta = pontus
and not I_SettlementOwner Mtskheta = numidia
and not I_SettlementOwner Mtskheta = romans_julii
and not I_SettlementOwner Mtskheta = egypt
and not I_SettlementOwner Mtskheta = germans
and not I_SettlementOwner Mtskheta = greek_cities
and not I_SettlementOwner Mtskheta = macedon
and not I_SettlementOwner Mtskheta = carthage
and not I_SettlementOwner Mtskheta = romans_scipii
and not I_SettlementOwner Mtskheta = dacia
and not I_SettlementOwner Mtskheta = armenia
and not I_SettlementOwner Mtskheta = spain
and not I_SettlementOwner Mtskheta = thrace
and not I_SettlementOwner Mtskheta = romans_brutii
and not I_SettlementOwner Mtskheta = saba
and not I_SettlementOwner Mtskheta = slave

console_command set_building_health Mtskheta Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command create_building Mytilene "celt3"
console_command create_building Mytilene "muster_field_E"
console_command set_building_health Mytilene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command create_building Mytilene "celt3"
console_command create_building Mytilene "militia_barracks_E1"
console_command set_building_health Mytilene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command create_building Mytilene "celt3"
console_command create_building Mytilene "city_barracks_E1"
console_command set_building_health Mytilene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command create_building Mytilene "celt3"
console_command create_building Mytilene "army_barracks_E1"
console_command set_building_health Mytilene Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command create_building Mytilene "celt3"
console_command create_building Mytilene "royal_barracks_E1"
console_command set_building_health Mytilene Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Mytilene = seleucid
and not I_SettlementOwner Mytilene = parthia
and not I_SettlementOwner Mytilene = pontus
and not I_SettlementOwner Mytilene = numidia
and not I_SettlementOwner Mytilene = romans_julii
and not I_SettlementOwner Mytilene = egypt
and not I_SettlementOwner Mytilene = germans
and not I_SettlementOwner Mytilene = greek_cities
and not I_SettlementOwner Mytilene = macedon
and not I_SettlementOwner Mytilene = carthage
and not I_SettlementOwner Mytilene = romans_scipii
and not I_SettlementOwner Mytilene = dacia
and not I_SettlementOwner Mytilene = armenia
and not I_SettlementOwner Mytilene = spain
and not I_SettlementOwner Mytilene = thrace
and not I_SettlementOwner Mytilene = romans_brutii
and not I_SettlementOwner Mytilene = saba
and not I_SettlementOwner Mytilene = slave

console_command set_building_health Mytilene Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command create_building Naissos "celt3"
console_command create_building Naissos "muster_field_E"
console_command set_building_health Naissos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command create_building Naissos "celt3"
console_command create_building Naissos "militia_barracks_E1"
console_command set_building_health Naissos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command create_building Naissos "celt3"
console_command create_building Naissos "city_barracks_E1"
console_command set_building_health Naissos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command create_building Naissos "celt3"
console_command create_building Naissos "army_barracks_E1"
console_command set_building_health Naissos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command create_building Naissos "celt3"
console_command create_building Naissos "royal_barracks_E1"
console_command set_building_health Naissos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Naissos = seleucid
and not I_SettlementOwner Naissos = parthia
and not I_SettlementOwner Naissos = pontus
and not I_SettlementOwner Naissos = numidia
and not I_SettlementOwner Naissos = romans_julii
and not I_SettlementOwner Naissos = egypt
and not I_SettlementOwner Naissos = germans
and not I_SettlementOwner Naissos = greek_cities
and not I_SettlementOwner Naissos = macedon
and not I_SettlementOwner Naissos = carthage
and not I_SettlementOwner Naissos = romans_scipii
and not I_SettlementOwner Naissos = dacia
and not I_SettlementOwner Naissos = armenia
and not I_SettlementOwner Naissos = spain
and not I_SettlementOwner Naissos = thrace
and not I_SettlementOwner Naissos = romans_brutii
and not I_SettlementOwner Naissos = saba
and not I_SettlementOwner Naissos = slave

console_command set_building_health Naissos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command create_building Nikaia "celt3"
console_command create_building Nikaia "muster_field_E"
console_command set_building_health Nikaia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command create_building Nikaia "celt3"
console_command create_building Nikaia "militia_barracks_E1"
console_command set_building_health Nikaia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command create_building Nikaia "celt3"
console_command create_building Nikaia "city_barracks_E1"
console_command set_building_health Nikaia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command create_building Nikaia "celt3"
console_command create_building Nikaia "army_barracks_E1"
console_command set_building_health Nikaia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command create_building Nikaia "celt3"
console_command create_building Nikaia "royal_barracks_E1"
console_command set_building_health Nikaia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Nikaia = seleucid
and not I_SettlementOwner Nikaia = parthia
and not I_SettlementOwner Nikaia = pontus
and not I_SettlementOwner Nikaia = numidia
and not I_SettlementOwner Nikaia = romans_julii
and not I_SettlementOwner Nikaia = egypt
and not I_SettlementOwner Nikaia = germans
and not I_SettlementOwner Nikaia = greek_cities
and not I_SettlementOwner Nikaia = macedon
and not I_SettlementOwner Nikaia = carthage
and not I_SettlementOwner Nikaia = romans_scipii
and not I_SettlementOwner Nikaia = dacia
and not I_SettlementOwner Nikaia = armenia
and not I_SettlementOwner Nikaia = spain
and not I_SettlementOwner Nikaia = thrace
and not I_SettlementOwner Nikaia = romans_brutii
and not I_SettlementOwner Nikaia = saba
and not I_SettlementOwner Nikaia = slave

console_command set_building_health Nikaia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command create_building Nisa "celt3"
console_command create_building Nisa "muster_field_E"
console_command set_building_health Nisa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command create_building Nisa "celt3"
console_command create_building Nisa "militia_barracks_E1"
console_command set_building_health Nisa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command create_building Nisa "celt3"
console_command create_building Nisa "city_barracks_E1"
console_command set_building_health Nisa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command create_building Nisa "celt3"
console_command create_building Nisa "army_barracks_E1"
console_command set_building_health Nisa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command create_building Nisa "celt3"
console_command create_building Nisa "royal_barracks_E1"
console_command set_building_health Nisa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Nisa = seleucid
and not I_SettlementOwner Nisa = parthia
and not I_SettlementOwner Nisa = pontus
and not I_SettlementOwner Nisa = numidia
and not I_SettlementOwner Nisa = romans_julii
and not I_SettlementOwner Nisa = egypt
and not I_SettlementOwner Nisa = germans
and not I_SettlementOwner Nisa = greek_cities
and not I_SettlementOwner Nisa = macedon
and not I_SettlementOwner Nisa = carthage
and not I_SettlementOwner Nisa = romans_scipii
and not I_SettlementOwner Nisa = dacia
and not I_SettlementOwner Nisa = armenia
and not I_SettlementOwner Nisa = spain
and not I_SettlementOwner Nisa = thrace
and not I_SettlementOwner Nisa = romans_brutii
and not I_SettlementOwner Nisa = saba
and not I_SettlementOwner Nisa = slave

console_command set_building_health Nisa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command create_building Numantia "celt3"
console_command create_building Numantia "muster_field_E"
console_command set_building_health Numantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command create_building Numantia "celt3"
console_command create_building Numantia "militia_barracks_E1"
console_command set_building_health Numantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command create_building Numantia "celt3"
console_command create_building Numantia "city_barracks_E1"
console_command set_building_health Numantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command create_building Numantia "celt3"
console_command create_building Numantia "army_barracks_E1"
console_command set_building_health Numantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command create_building Numantia "celt3"
console_command create_building Numantia "royal_barracks_E1"
console_command set_building_health Numantia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Numantia = seleucid
and not I_SettlementOwner Numantia = parthia
and not I_SettlementOwner Numantia = pontus
and not I_SettlementOwner Numantia = numidia
and not I_SettlementOwner Numantia = romans_julii
and not I_SettlementOwner Numantia = egypt
and not I_SettlementOwner Numantia = germans
and not I_SettlementOwner Numantia = greek_cities
and not I_SettlementOwner Numantia = macedon
and not I_SettlementOwner Numantia = carthage
and not I_SettlementOwner Numantia = romans_scipii
and not I_SettlementOwner Numantia = dacia
and not I_SettlementOwner Numantia = armenia
and not I_SettlementOwner Numantia = spain
and not I_SettlementOwner Numantia = thrace
and not I_SettlementOwner Numantia = romans_brutii
and not I_SettlementOwner Numantia = saba
and not I_SettlementOwner Numantia = slave

console_command set_building_health Numantia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command create_building Olbia "celt3"
console_command create_building Olbia "muster_field_E"
console_command set_building_health Olbia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command create_building Olbia "celt3"
console_command create_building Olbia "militia_barracks_E1"
console_command set_building_health Olbia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command create_building Olbia "celt3"
console_command create_building Olbia "city_barracks_E1"
console_command set_building_health Olbia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command create_building Olbia "celt3"
console_command create_building Olbia "army_barracks_E1"
console_command set_building_health Olbia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command create_building Olbia "celt3"
console_command create_building Olbia "royal_barracks_E1"
console_command set_building_health Olbia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Olbia = seleucid
and not I_SettlementOwner Olbia = parthia
and not I_SettlementOwner Olbia = pontus
and not I_SettlementOwner Olbia = numidia
and not I_SettlementOwner Olbia = romans_julii
and not I_SettlementOwner Olbia = egypt
and not I_SettlementOwner Olbia = germans
and not I_SettlementOwner Olbia = greek_cities
and not I_SettlementOwner Olbia = macedon
and not I_SettlementOwner Olbia = carthage
and not I_SettlementOwner Olbia = romans_scipii
and not I_SettlementOwner Olbia = dacia
and not I_SettlementOwner Olbia = armenia
and not I_SettlementOwner Olbia = spain
and not I_SettlementOwner Olbia = thrace
and not I_SettlementOwner Olbia = romans_brutii
and not I_SettlementOwner Olbia = saba
and not I_SettlementOwner Olbia = slave

console_command set_building_health Olbia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command create_building Opiana "celt3"
console_command create_building Opiana "muster_field_E"
console_command set_building_health Opiana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command create_building Opiana "celt3"
console_command create_building Opiana "militia_barracks_E1"
console_command set_building_health Opiana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command create_building Opiana "celt3"
console_command create_building Opiana "city_barracks_E1"
console_command set_building_health Opiana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command create_building Opiana "celt3"
console_command create_building Opiana "army_barracks_E1"
console_command set_building_health Opiana Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command create_building Opiana "celt3"
console_command create_building Opiana "royal_barracks_E1"
console_command set_building_health Opiana Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Opiana = seleucid
and not I_SettlementOwner Opiana = parthia
and not I_SettlementOwner Opiana = pontus
and not I_SettlementOwner Opiana = numidia
and not I_SettlementOwner Opiana = romans_julii
and not I_SettlementOwner Opiana = egypt
and not I_SettlementOwner Opiana = germans
and not I_SettlementOwner Opiana = greek_cities
and not I_SettlementOwner Opiana = macedon
and not I_SettlementOwner Opiana = carthage
and not I_SettlementOwner Opiana = romans_scipii
and not I_SettlementOwner Opiana = dacia
and not I_SettlementOwner Opiana = armenia
and not I_SettlementOwner Opiana = spain
and not I_SettlementOwner Opiana = thrace
and not I_SettlementOwner Opiana = romans_brutii
and not I_SettlementOwner Opiana = saba
and not I_SettlementOwner Opiana = slave

console_command set_building_health Opiana Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command create_building Oxtraca "celt3"
console_command create_building Oxtraca "muster_field_E"
console_command set_building_health Oxtraca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command create_building Oxtraca "celt3"
console_command create_building Oxtraca "militia_barracks_E1"
console_command set_building_health Oxtraca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command create_building Oxtraca "celt3"
console_command create_building Oxtraca "city_barracks_E1"
console_command set_building_health Oxtraca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command create_building Oxtraca "celt3"
console_command create_building Oxtraca "army_barracks_E1"
console_command set_building_health Oxtraca Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command create_building Oxtraca "celt3"
console_command create_building Oxtraca "royal_barracks_E1"
console_command set_building_health Oxtraca Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Oxtraca = seleucid
and not I_SettlementOwner Oxtraca = parthia
and not I_SettlementOwner Oxtraca = pontus
and not I_SettlementOwner Oxtraca = numidia
and not I_SettlementOwner Oxtraca = romans_julii
and not I_SettlementOwner Oxtraca = egypt
and not I_SettlementOwner Oxtraca = germans
and not I_SettlementOwner Oxtraca = greek_cities
and not I_SettlementOwner Oxtraca = macedon
and not I_SettlementOwner Oxtraca = carthage
and not I_SettlementOwner Oxtraca = romans_scipii
and not I_SettlementOwner Oxtraca = dacia
and not I_SettlementOwner Oxtraca = armenia
and not I_SettlementOwner Oxtraca = spain
and not I_SettlementOwner Oxtraca = thrace
and not I_SettlementOwner Oxtraca = romans_brutii
and not I_SettlementOwner Oxtraca = saba
and not I_SettlementOwner Oxtraca = slave

console_command set_building_health Oxtraca Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command create_building Pallantia "celt3"
console_command create_building Pallantia "muster_field_E"
console_command set_building_health Pallantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command create_building Pallantia "celt3"
console_command create_building Pallantia "militia_barracks_E1"
console_command set_building_health Pallantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command create_building Pallantia "celt3"
console_command create_building Pallantia "city_barracks_E1"
console_command set_building_health Pallantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command create_building Pallantia "celt3"
console_command create_building Pallantia "army_barracks_E1"
console_command set_building_health Pallantia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command create_building Pallantia "celt3"
console_command create_building Pallantia "royal_barracks_E1"
console_command set_building_health Pallantia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Pallantia = seleucid
and not I_SettlementOwner Pallantia = parthia
and not I_SettlementOwner Pallantia = pontus
and not I_SettlementOwner Pallantia = numidia
and not I_SettlementOwner Pallantia = romans_julii
and not I_SettlementOwner Pallantia = egypt
and not I_SettlementOwner Pallantia = germans
and not I_SettlementOwner Pallantia = greek_cities
and not I_SettlementOwner Pallantia = macedon
and not I_SettlementOwner Pallantia = carthage
and not I_SettlementOwner Pallantia = romans_scipii
and not I_SettlementOwner Pallantia = dacia
and not I_SettlementOwner Pallantia = armenia
and not I_SettlementOwner Pallantia = spain
and not I_SettlementOwner Pallantia = thrace
and not I_SettlementOwner Pallantia = romans_brutii
and not I_SettlementOwner Pallantia = saba
and not I_SettlementOwner Pallantia = slave

console_command set_building_health Pallantia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command create_building Palmyra "celt3"
console_command create_building Palmyra "muster_field_E"
console_command set_building_health Palmyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command create_building Palmyra "celt3"
console_command create_building Palmyra "militia_barracks_E1"
console_command set_building_health Palmyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command create_building Palmyra "celt3"
console_command create_building Palmyra "city_barracks_E1"
console_command set_building_health Palmyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command create_building Palmyra "celt3"
console_command create_building Palmyra "army_barracks_E1"
console_command set_building_health Palmyra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command create_building Palmyra "celt3"
console_command create_building Palmyra "royal_barracks_E1"
console_command set_building_health Palmyra Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Palmyra = seleucid
and not I_SettlementOwner Palmyra = parthia
and not I_SettlementOwner Palmyra = pontus
and not I_SettlementOwner Palmyra = numidia
and not I_SettlementOwner Palmyra = romans_julii
and not I_SettlementOwner Palmyra = egypt
and not I_SettlementOwner Palmyra = germans
and not I_SettlementOwner Palmyra = greek_cities
and not I_SettlementOwner Palmyra = macedon
and not I_SettlementOwner Palmyra = carthage
and not I_SettlementOwner Palmyra = romans_scipii
and not I_SettlementOwner Palmyra = dacia
and not I_SettlementOwner Palmyra = armenia
and not I_SettlementOwner Palmyra = spain
and not I_SettlementOwner Palmyra = thrace
and not I_SettlementOwner Palmyra = romans_brutii
and not I_SettlementOwner Palmyra = saba
and not I_SettlementOwner Palmyra = slave

console_command set_building_health Palmyra Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command create_building Pantikapaion "celt3"
console_command create_building Pantikapaion "muster_field_E"
console_command set_building_health Pantikapaion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command create_building Pantikapaion "celt3"
console_command create_building Pantikapaion "militia_barracks_E1"
console_command set_building_health Pantikapaion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command create_building Pantikapaion "celt3"
console_command create_building Pantikapaion "city_barracks_E1"
console_command set_building_health Pantikapaion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command create_building Pantikapaion "celt3"
console_command create_building Pantikapaion "army_barracks_E1"
console_command set_building_health Pantikapaion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command create_building Pantikapaion "celt3"
console_command create_building Pantikapaion "royal_barracks_E1"
console_command set_building_health Pantikapaion Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Pantikapaion = seleucid
and not I_SettlementOwner Pantikapaion = parthia
and not I_SettlementOwner Pantikapaion = pontus
and not I_SettlementOwner Pantikapaion = numidia
and not I_SettlementOwner Pantikapaion = romans_julii
and not I_SettlementOwner Pantikapaion = egypt
and not I_SettlementOwner Pantikapaion = germans
and not I_SettlementOwner Pantikapaion = greek_cities
and not I_SettlementOwner Pantikapaion = macedon
and not I_SettlementOwner Pantikapaion = carthage
and not I_SettlementOwner Pantikapaion = romans_scipii
and not I_SettlementOwner Pantikapaion = dacia
and not I_SettlementOwner Pantikapaion = armenia
and not I_SettlementOwner Pantikapaion = spain
and not I_SettlementOwner Pantikapaion = thrace
and not I_SettlementOwner Pantikapaion = romans_brutii
and not I_SettlementOwner Pantikapaion = saba
and not I_SettlementOwner Pantikapaion = slave

console_command set_building_health Pantikapaion Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command create_building Paraitonion "celt3"
console_command create_building Paraitonion "muster_field_E"
console_command set_building_health Paraitonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command create_building Paraitonion "celt3"
console_command create_building Paraitonion "militia_barracks_E1"
console_command set_building_health Paraitonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command create_building Paraitonion "celt3"
console_command create_building Paraitonion "city_barracks_E1"
console_command set_building_health Paraitonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command create_building Paraitonion "celt3"
console_command create_building Paraitonion "army_barracks_E1"
console_command set_building_health Paraitonion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command create_building Paraitonion "celt3"
console_command create_building Paraitonion "royal_barracks_E1"
console_command set_building_health Paraitonion Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Paraitonion = seleucid
and not I_SettlementOwner Paraitonion = parthia
and not I_SettlementOwner Paraitonion = pontus
and not I_SettlementOwner Paraitonion = numidia
and not I_SettlementOwner Paraitonion = romans_julii
and not I_SettlementOwner Paraitonion = egypt
and not I_SettlementOwner Paraitonion = germans
and not I_SettlementOwner Paraitonion = greek_cities
and not I_SettlementOwner Paraitonion = macedon
and not I_SettlementOwner Paraitonion = carthage
and not I_SettlementOwner Paraitonion = romans_scipii
and not I_SettlementOwner Paraitonion = dacia
and not I_SettlementOwner Paraitonion = armenia
and not I_SettlementOwner Paraitonion = spain
and not I_SettlementOwner Paraitonion = thrace
and not I_SettlementOwner Paraitonion = romans_brutii
and not I_SettlementOwner Paraitonion = saba
and not I_SettlementOwner Paraitonion = slave

console_command set_building_health Paraitonion Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia
and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command create_building Patala "celt3"
console_command create_building Patala "muster_field_E"
console_command set_building_health Patala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia
and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command create_building Patala "celt3"
console_command create_building Patala "militia_barracks_E1"
console_command set_building_health Patala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia
and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command create_building Patala "celt3"
console_command create_building Patala "city_barracks_E1"
console_command set_building_health Patala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia
and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command create_building Patala "celt3"
console_command create_building Patala "army_barracks_E1"
console_command set_building_health Patala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia
and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command create_building Patala "celt3"
console_command create_building Patala "royal_barracks_E1"
console_command set_building_health Patala Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Patala = seleucid
and not I_SettlementOwner Patala = parthia
and not I_SettlementOwner Patala = pontus
and not I_SettlementOwner Patala = numidia
and not I_SettlementOwner Patala = romans_julii
and not I_SettlementOwner Patala = egypt
and not I_SettlementOwner Patala = germans
and not I_SettlementOwner Patala = greek_cities
and not I_SettlementOwner Patala = macedon
and not I_SettlementOwner Patala = carthage
and not I_SettlementOwner Patala = romans_scipii
and not I_SettlementOwner Patala = dacia
and not I_SettlementOwner Patala = armenia
and not I_SettlementOwner Patala = spain
and not I_SettlementOwner Patala = thrace
and not I_SettlementOwner Patala = romans_brutii
and not I_SettlementOwner Patala = saba
and not I_SettlementOwner Patala = slave

console_command set_building_health Patala Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command create_building Patavium "celt3"
console_command create_building Patavium "muster_field_E"
console_command set_building_health Patavium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command create_building Patavium "celt3"
console_command create_building Patavium "militia_barracks_E1"
console_command set_building_health Patavium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command create_building Patavium "celt3"
console_command create_building Patavium "city_barracks_E1"
console_command set_building_health Patavium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command create_building Patavium "celt3"
console_command create_building Patavium "army_barracks_E1"
console_command set_building_health Patavium Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command create_building Patavium "celt3"
console_command create_building Patavium "royal_barracks_E1"
console_command set_building_health Patavium Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Patavium = seleucid
and not I_SettlementOwner Patavium = parthia
and not I_SettlementOwner Patavium = pontus
and not I_SettlementOwner Patavium = numidia
and not I_SettlementOwner Patavium = romans_julii
and not I_SettlementOwner Patavium = egypt
and not I_SettlementOwner Patavium = germans
and not I_SettlementOwner Patavium = greek_cities
and not I_SettlementOwner Patavium = macedon
and not I_SettlementOwner Patavium = carthage
and not I_SettlementOwner Patavium = romans_scipii
and not I_SettlementOwner Patavium = dacia
and not I_SettlementOwner Patavium = armenia
and not I_SettlementOwner Patavium = spain
and not I_SettlementOwner Patavium = thrace
and not I_SettlementOwner Patavium = romans_brutii
and not I_SettlementOwner Patavium = saba
and not I_SettlementOwner Patavium = slave

console_command set_building_health Patavium Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command create_building Pella "celt3"
console_command create_building Pella "muster_field_E"
console_command set_building_health Pella Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command create_building Pella "celt3"
console_command create_building Pella "militia_barracks_E1"
console_command set_building_health Pella Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command create_building Pella "celt3"
console_command create_building Pella "city_barracks_E1"
console_command set_building_health Pella Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command create_building Pella "celt3"
console_command create_building Pella "army_barracks_E1"
console_command set_building_health Pella Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command create_building Pella "celt3"
console_command create_building Pella "royal_barracks_E1"
console_command set_building_health Pella Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Pella = seleucid
and not I_SettlementOwner Pella = parthia
and not I_SettlementOwner Pella = pontus
and not I_SettlementOwner Pella = numidia
and not I_SettlementOwner Pella = romans_julii
and not I_SettlementOwner Pella = egypt
and not I_SettlementOwner Pella = germans
and not I_SettlementOwner Pella = greek_cities
and not I_SettlementOwner Pella = macedon
and not I_SettlementOwner Pella = carthage
and not I_SettlementOwner Pella = romans_scipii
and not I_SettlementOwner Pella = dacia
and not I_SettlementOwner Pella = armenia
and not I_SettlementOwner Pella = spain
and not I_SettlementOwner Pella = thrace
and not I_SettlementOwner Pella = romans_brutii
and not I_SettlementOwner Pella = saba
and not I_SettlementOwner Pella = slave

console_command set_building_health Pella Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command create_building Pergamon "celt3"
console_command create_building Pergamon "muster_field_E"
console_command set_building_health Pergamon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command create_building Pergamon "celt3"
console_command create_building Pergamon "militia_barracks_E1"
console_command set_building_health Pergamon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command create_building Pergamon "celt3"
console_command create_building Pergamon "city_barracks_E1"
console_command set_building_health Pergamon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command create_building Pergamon "celt3"
console_command create_building Pergamon "army_barracks_E1"
console_command set_building_health Pergamon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command create_building Pergamon "celt3"
console_command create_building Pergamon "royal_barracks_E1"
console_command set_building_health Pergamon Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Pergamon = seleucid
and not I_SettlementOwner Pergamon = parthia
and not I_SettlementOwner Pergamon = pontus
and not I_SettlementOwner Pergamon = numidia
and not I_SettlementOwner Pergamon = romans_julii
and not I_SettlementOwner Pergamon = egypt
and not I_SettlementOwner Pergamon = germans
and not I_SettlementOwner Pergamon = greek_cities
and not I_SettlementOwner Pergamon = macedon
and not I_SettlementOwner Pergamon = carthage
and not I_SettlementOwner Pergamon = romans_scipii
and not I_SettlementOwner Pergamon = dacia
and not I_SettlementOwner Pergamon = armenia
and not I_SettlementOwner Pergamon = spain
and not I_SettlementOwner Pergamon = thrace
and not I_SettlementOwner Pergamon = romans_brutii
and not I_SettlementOwner Pergamon = saba
and not I_SettlementOwner Pergamon = slave

console_command set_building_health Pergamon Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command create_building Persepolis "celt3"
console_command create_building Persepolis "muster_field_E"
console_command set_building_health Persepolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command create_building Persepolis "celt3"
console_command create_building Persepolis "militia_barracks_E1"
console_command set_building_health Persepolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command create_building Persepolis "celt3"
console_command create_building Persepolis "city_barracks_E1"
console_command set_building_health Persepolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command create_building Persepolis "celt3"
console_command create_building Persepolis "army_barracks_E1"
console_command set_building_health Persepolis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command create_building Persepolis "celt3"
console_command create_building Persepolis "royal_barracks_E1"
console_command set_building_health Persepolis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Persepolis = seleucid
and not I_SettlementOwner Persepolis = parthia
and not I_SettlementOwner Persepolis = pontus
and not I_SettlementOwner Persepolis = numidia
and not I_SettlementOwner Persepolis = romans_julii
and not I_SettlementOwner Persepolis = egypt
and not I_SettlementOwner Persepolis = germans
and not I_SettlementOwner Persepolis = greek_cities
and not I_SettlementOwner Persepolis = macedon
and not I_SettlementOwner Persepolis = carthage
and not I_SettlementOwner Persepolis = romans_scipii
and not I_SettlementOwner Persepolis = dacia
and not I_SettlementOwner Persepolis = armenia
and not I_SettlementOwner Persepolis = spain
and not I_SettlementOwner Persepolis = thrace
and not I_SettlementOwner Persepolis = romans_brutii
and not I_SettlementOwner Persepolis = saba
and not I_SettlementOwner Persepolis = slave

console_command set_building_health Persepolis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command create_building Petra "celt3"
console_command create_building Petra "muster_field_E"
console_command set_building_health Petra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command create_building Petra "celt3"
console_command create_building Petra "militia_barracks_E1"
console_command set_building_health Petra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command create_building Petra "celt3"
console_command create_building Petra "city_barracks_E1"
console_command set_building_health Petra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command create_building Petra "celt3"
console_command create_building Petra "army_barracks_E1"
console_command set_building_health Petra Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command create_building Petra "celt3"
console_command create_building Petra "royal_barracks_E1"
console_command set_building_health Petra Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Petra = seleucid
and not I_SettlementOwner Petra = parthia
and not I_SettlementOwner Petra = pontus
and not I_SettlementOwner Petra = numidia
and not I_SettlementOwner Petra = romans_julii
and not I_SettlementOwner Petra = egypt
and not I_SettlementOwner Petra = germans
and not I_SettlementOwner Petra = greek_cities
and not I_SettlementOwner Petra = macedon
and not I_SettlementOwner Petra = carthage
and not I_SettlementOwner Petra = romans_scipii
and not I_SettlementOwner Petra = dacia
and not I_SettlementOwner Petra = armenia
and not I_SettlementOwner Petra = spain
and not I_SettlementOwner Petra = thrace
and not I_SettlementOwner Petra = romans_brutii
and not I_SettlementOwner Petra = saba
and not I_SettlementOwner Petra = slave

console_command set_building_health Petra Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command create_building Phraaspa "celt3"
console_command create_building Phraaspa "muster_field_E"
console_command set_building_health Phraaspa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command create_building Phraaspa "celt3"
console_command create_building Phraaspa "militia_barracks_E1"
console_command set_building_health Phraaspa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command create_building Phraaspa "celt3"
console_command create_building Phraaspa "city_barracks_E1"
console_command set_building_health Phraaspa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command create_building Phraaspa "celt3"
console_command create_building Phraaspa "army_barracks_E1"
console_command set_building_health Phraaspa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command create_building Phraaspa "celt3"
console_command create_building Phraaspa "royal_barracks_E1"
console_command set_building_health Phraaspa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Phraaspa = seleucid
and not I_SettlementOwner Phraaspa = parthia
and not I_SettlementOwner Phraaspa = pontus
and not I_SettlementOwner Phraaspa = numidia
and not I_SettlementOwner Phraaspa = romans_julii
and not I_SettlementOwner Phraaspa = egypt
and not I_SettlementOwner Phraaspa = germans
and not I_SettlementOwner Phraaspa = greek_cities
and not I_SettlementOwner Phraaspa = macedon
and not I_SettlementOwner Phraaspa = carthage
and not I_SettlementOwner Phraaspa = romans_scipii
and not I_SettlementOwner Phraaspa = dacia
and not I_SettlementOwner Phraaspa = armenia
and not I_SettlementOwner Phraaspa = spain
and not I_SettlementOwner Phraaspa = thrace
and not I_SettlementOwner Phraaspa = romans_brutii
and not I_SettlementOwner Phraaspa = saba
and not I_SettlementOwner Phraaspa = slave

console_command set_building_health Phraaspa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command create_building Prophthasia "celt3"
console_command create_building Prophthasia "muster_field_E"
console_command set_building_health Prophthasia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command create_building Prophthasia "celt3"
console_command create_building Prophthasia "militia_barracks_E1"
console_command set_building_health Prophthasia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command create_building Prophthasia "celt3"
console_command create_building Prophthasia "city_barracks_E1"
console_command set_building_health Prophthasia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command create_building Prophthasia "celt3"
console_command create_building Prophthasia "army_barracks_E1"
console_command set_building_health Prophthasia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command create_building Prophthasia "celt3"
console_command create_building Prophthasia "royal_barracks_E1"
console_command set_building_health Prophthasia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Prophthasia = seleucid
and not I_SettlementOwner Prophthasia = parthia
and not I_SettlementOwner Prophthasia = pontus
and not I_SettlementOwner Prophthasia = numidia
and not I_SettlementOwner Prophthasia = romans_julii
and not I_SettlementOwner Prophthasia = egypt
and not I_SettlementOwner Prophthasia = germans
and not I_SettlementOwner Prophthasia = greek_cities
and not I_SettlementOwner Prophthasia = macedon
and not I_SettlementOwner Prophthasia = carthage
and not I_SettlementOwner Prophthasia = romans_scipii
and not I_SettlementOwner Prophthasia = dacia
and not I_SettlementOwner Prophthasia = armenia
and not I_SettlementOwner Prophthasia = spain
and not I_SettlementOwner Prophthasia = thrace
and not I_SettlementOwner Prophthasia = romans_brutii
and not I_SettlementOwner Prophthasia = saba
and not I_SettlementOwner Prophthasia = slave

console_command set_building_health Prophthasia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command create_building Pselkis "celt3"
console_command create_building Pselkis "muster_field_E"
console_command set_building_health Pselkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command create_building Pselkis "celt3"
console_command create_building Pselkis "militia_barracks_E1"
console_command set_building_health Pselkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command create_building Pselkis "celt3"
console_command create_building Pselkis "city_barracks_E1"
console_command set_building_health Pselkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command create_building Pselkis "celt3"
console_command create_building Pselkis "army_barracks_E1"
console_command set_building_health Pselkis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command create_building Pselkis "celt3"
console_command create_building Pselkis "royal_barracks_E1"
console_command set_building_health Pselkis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Pselkis = seleucid
and not I_SettlementOwner Pselkis = parthia
and not I_SettlementOwner Pselkis = pontus
and not I_SettlementOwner Pselkis = numidia
and not I_SettlementOwner Pselkis = romans_julii
and not I_SettlementOwner Pselkis = egypt
and not I_SettlementOwner Pselkis = germans
and not I_SettlementOwner Pselkis = greek_cities
and not I_SettlementOwner Pselkis = macedon
and not I_SettlementOwner Pselkis = carthage
and not I_SettlementOwner Pselkis = romans_scipii
and not I_SettlementOwner Pselkis = dacia
and not I_SettlementOwner Pselkis = armenia
and not I_SettlementOwner Pselkis = spain
and not I_SettlementOwner Pselkis = thrace
and not I_SettlementOwner Pselkis = romans_brutii
and not I_SettlementOwner Pselkis = saba
and not I_SettlementOwner Pselkis = slave

console_command set_building_health Pselkis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command create_building Ptolemais_Theron "celt3"
console_command create_building Ptolemais_Theron "muster_field_E"
console_command set_building_health Ptolemais_Theron Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command create_building Ptolemais_Theron "celt3"
console_command create_building Ptolemais_Theron "militia_barracks_E1"
console_command set_building_health Ptolemais_Theron Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command create_building Ptolemais_Theron "celt3"
console_command create_building Ptolemais_Theron "city_barracks_E1"
console_command set_building_health Ptolemais_Theron Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command create_building Ptolemais_Theron "celt3"
console_command create_building Ptolemais_Theron "army_barracks_E1"
console_command set_building_health Ptolemais_Theron Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command create_building Ptolemais_Theron "celt3"
console_command create_building Ptolemais_Theron "royal_barracks_E1"
console_command set_building_health Ptolemais_Theron Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ptolemais_Theron = seleucid
and not I_SettlementOwner Ptolemais_Theron = parthia
and not I_SettlementOwner Ptolemais_Theron = pontus
and not I_SettlementOwner Ptolemais_Theron = numidia
and not I_SettlementOwner Ptolemais_Theron = romans_julii
and not I_SettlementOwner Ptolemais_Theron = egypt
and not I_SettlementOwner Ptolemais_Theron = germans
and not I_SettlementOwner Ptolemais_Theron = greek_cities
and not I_SettlementOwner Ptolemais_Theron = macedon
and not I_SettlementOwner Ptolemais_Theron = carthage
and not I_SettlementOwner Ptolemais_Theron = romans_scipii
and not I_SettlementOwner Ptolemais_Theron = dacia
and not I_SettlementOwner Ptolemais_Theron = armenia
and not I_SettlementOwner Ptolemais_Theron = spain
and not I_SettlementOwner Ptolemais_Theron = thrace
and not I_SettlementOwner Ptolemais_Theron = romans_brutii
and not I_SettlementOwner Ptolemais_Theron = saba
and not I_SettlementOwner Ptolemais_Theron = slave

console_command set_building_health Ptolemais_Theron Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command create_building Pura "celt3"
console_command create_building Pura "muster_field_E"
console_command set_building_health Pura Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command create_building Pura "celt3"
console_command create_building Pura "militia_barracks_E1"
console_command set_building_health Pura Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command create_building Pura "celt3"
console_command create_building Pura "city_barracks_E1"
console_command set_building_health Pura Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command create_building Pura "celt3"
console_command create_building Pura "army_barracks_E1"
console_command set_building_health Pura Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command create_building Pura "celt3"
console_command create_building Pura "royal_barracks_E1"
console_command set_building_health Pura Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Pura = seleucid
and not I_SettlementOwner Pura = parthia
and not I_SettlementOwner Pura = pontus
and not I_SettlementOwner Pura = numidia
and not I_SettlementOwner Pura = romans_julii
and not I_SettlementOwner Pura = egypt
and not I_SettlementOwner Pura = germans
and not I_SettlementOwner Pura = greek_cities
and not I_SettlementOwner Pura = macedon
and not I_SettlementOwner Pura = carthage
and not I_SettlementOwner Pura = romans_scipii
and not I_SettlementOwner Pura = dacia
and not I_SettlementOwner Pura = armenia
and not I_SettlementOwner Pura = spain
and not I_SettlementOwner Pura = thrace
and not I_SettlementOwner Pura = romans_brutii
and not I_SettlementOwner Pura = saba
and not I_SettlementOwner Pura = slave

console_command set_building_health Pura Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command create_building Ratae "celt3"
console_command create_building Ratae "muster_field_E"
console_command set_building_health Ratae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command create_building Ratae "celt3"
console_command create_building Ratae "militia_barracks_E1"
console_command set_building_health Ratae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command create_building Ratae "celt3"
console_command create_building Ratae "city_barracks_E1"
console_command set_building_health Ratae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command create_building Ratae "celt3"
console_command create_building Ratae "army_barracks_E1"
console_command set_building_health Ratae Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command create_building Ratae "celt3"
console_command create_building Ratae "royal_barracks_E1"
console_command set_building_health Ratae Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ratae = seleucid
and not I_SettlementOwner Ratae = parthia
and not I_SettlementOwner Ratae = pontus
and not I_SettlementOwner Ratae = numidia
and not I_SettlementOwner Ratae = romans_julii
and not I_SettlementOwner Ratae = egypt
and not I_SettlementOwner Ratae = germans
and not I_SettlementOwner Ratae = greek_cities
and not I_SettlementOwner Ratae = macedon
and not I_SettlementOwner Ratae = carthage
and not I_SettlementOwner Ratae = romans_scipii
and not I_SettlementOwner Ratae = dacia
and not I_SettlementOwner Ratae = armenia
and not I_SettlementOwner Ratae = spain
and not I_SettlementOwner Ratae = thrace
and not I_SettlementOwner Ratae = romans_brutii
and not I_SettlementOwner Ratae = saba
and not I_SettlementOwner Ratae = slave

console_command set_building_health Ratae Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command create_building Rhegion "celt3"
console_command create_building Rhegion "muster_field_E"
console_command set_building_health Rhegion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command create_building Rhegion "celt3"
console_command create_building Rhegion "militia_barracks_E1"
console_command set_building_health Rhegion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command create_building Rhegion "celt3"
console_command create_building Rhegion "city_barracks_E1"
console_command set_building_health Rhegion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command create_building Rhegion "celt3"
console_command create_building Rhegion "army_barracks_E1"
console_command set_building_health Rhegion Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command create_building Rhegion "celt3"
console_command create_building Rhegion "royal_barracks_E1"
console_command set_building_health Rhegion Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Rhegion = seleucid
and not I_SettlementOwner Rhegion = parthia
and not I_SettlementOwner Rhegion = pontus
and not I_SettlementOwner Rhegion = numidia
and not I_SettlementOwner Rhegion = romans_julii
and not I_SettlementOwner Rhegion = egypt
and not I_SettlementOwner Rhegion = germans
and not I_SettlementOwner Rhegion = greek_cities
and not I_SettlementOwner Rhegion = macedon
and not I_SettlementOwner Rhegion = carthage
and not I_SettlementOwner Rhegion = romans_scipii
and not I_SettlementOwner Rhegion = dacia
and not I_SettlementOwner Rhegion = armenia
and not I_SettlementOwner Rhegion = spain
and not I_SettlementOwner Rhegion = thrace
and not I_SettlementOwner Rhegion = romans_brutii
and not I_SettlementOwner Rhegion = saba
and not I_SettlementOwner Rhegion = slave

console_command set_building_health Rhegion Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command create_building Rhodos "celt3"
console_command create_building Rhodos "muster_field_E"
console_command set_building_health Rhodos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command create_building Rhodos "celt3"
console_command create_building Rhodos "militia_barracks_E1"
console_command set_building_health Rhodos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command create_building Rhodos "celt3"
console_command create_building Rhodos "city_barracks_E1"
console_command set_building_health Rhodos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command create_building Rhodos "celt3"
console_command create_building Rhodos "army_barracks_E1"
console_command set_building_health Rhodos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command create_building Rhodos "celt3"
console_command create_building Rhodos "royal_barracks_E1"
console_command set_building_health Rhodos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Rhodos = seleucid
and not I_SettlementOwner Rhodos = parthia
and not I_SettlementOwner Rhodos = pontus
and not I_SettlementOwner Rhodos = numidia
and not I_SettlementOwner Rhodos = romans_julii
and not I_SettlementOwner Rhodos = egypt
and not I_SettlementOwner Rhodos = germans
and not I_SettlementOwner Rhodos = greek_cities
and not I_SettlementOwner Rhodos = macedon
and not I_SettlementOwner Rhodos = carthage
and not I_SettlementOwner Rhodos = romans_scipii
and not I_SettlementOwner Rhodos = dacia
and not I_SettlementOwner Rhodos = armenia
and not I_SettlementOwner Rhodos = spain
and not I_SettlementOwner Rhodos = thrace
and not I_SettlementOwner Rhodos = romans_brutii
and not I_SettlementOwner Rhodos = saba
and not I_SettlementOwner Rhodos = slave

console_command set_building_health Rhodos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command create_building Rome "celt3"
console_command create_building Rome "muster_field_E"
console_command set_building_health Rome Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command create_building Rome "celt3"
console_command create_building Rome "militia_barracks_E1"
console_command set_building_health Rome Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command create_building Rome "celt3"
console_command create_building Rome "city_barracks_E1"
console_command set_building_health Rome Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command create_building Rome "celt3"
console_command create_building Rome "army_barracks_E1"
console_command set_building_health Rome Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command create_building Rome "celt3"
console_command create_building Rome "royal_barracks_E1"
console_command set_building_health Rome Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Rome = seleucid
and not I_SettlementOwner Rome = parthia
and not I_SettlementOwner Rome = pontus
and not I_SettlementOwner Rome = numidia
and not I_SettlementOwner Rome = romans_julii
and not I_SettlementOwner Rome = egypt
and not I_SettlementOwner Rome = germans
and not I_SettlementOwner Rome = greek_cities
and not I_SettlementOwner Rome = macedon
and not I_SettlementOwner Rome = carthage
and not I_SettlementOwner Rome = romans_scipii
and not I_SettlementOwner Rome = dacia
and not I_SettlementOwner Rome = armenia
and not I_SettlementOwner Rome = spain
and not I_SettlementOwner Rome = thrace
and not I_SettlementOwner Rome = romans_brutii
and not I_SettlementOwner Rome = saba
and not I_SettlementOwner Rome = slave

console_command set_building_health Rome Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command create_building Sabata "celt3"
console_command create_building Sabata "muster_field_E"
console_command set_building_health Sabata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command create_building Sabata "celt3"
console_command create_building Sabata "militia_barracks_E1"
console_command set_building_health Sabata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command create_building Sabata "celt3"
console_command create_building Sabata "city_barracks_E1"
console_command set_building_health Sabata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command create_building Sabata "celt3"
console_command create_building Sabata "army_barracks_E1"
console_command set_building_health Sabata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command create_building Sabata "celt3"
console_command create_building Sabata "royal_barracks_E1"
console_command set_building_health Sabata Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sabata = seleucid
and not I_SettlementOwner Sabata = parthia
and not I_SettlementOwner Sabata = pontus
and not I_SettlementOwner Sabata = numidia
and not I_SettlementOwner Sabata = romans_julii
and not I_SettlementOwner Sabata = egypt
and not I_SettlementOwner Sabata = germans
and not I_SettlementOwner Sabata = greek_cities
and not I_SettlementOwner Sabata = macedon
and not I_SettlementOwner Sabata = carthage
and not I_SettlementOwner Sabata = romans_scipii
and not I_SettlementOwner Sabata = dacia
and not I_SettlementOwner Sabata = armenia
and not I_SettlementOwner Sabata = spain
and not I_SettlementOwner Sabata = thrace
and not I_SettlementOwner Sabata = romans_brutii
and not I_SettlementOwner Sabata = saba
and not I_SettlementOwner Sabata = slave

console_command set_building_health Sabata Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command create_building Sala "celt3"
console_command create_building Sala "muster_field_E"
console_command set_building_health Sala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command create_building Sala "celt3"
console_command create_building Sala "militia_barracks_E1"
console_command set_building_health Sala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command create_building Sala "celt3"
console_command create_building Sala "city_barracks_E1"
console_command set_building_health Sala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command create_building Sala "celt3"
console_command create_building Sala "army_barracks_E1"
console_command set_building_health Sala Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command create_building Sala "celt3"
console_command create_building Sala "royal_barracks_E1"
console_command set_building_health Sala Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sala = seleucid
and not I_SettlementOwner Sala = parthia
and not I_SettlementOwner Sala = pontus
and not I_SettlementOwner Sala = numidia
and not I_SettlementOwner Sala = romans_julii
and not I_SettlementOwner Sala = egypt
and not I_SettlementOwner Sala = germans
and not I_SettlementOwner Sala = greek_cities
and not I_SettlementOwner Sala = macedon
and not I_SettlementOwner Sala = carthage
and not I_SettlementOwner Sala = romans_scipii
and not I_SettlementOwner Sala = dacia
and not I_SettlementOwner Sala = armenia
and not I_SettlementOwner Sala = spain
and not I_SettlementOwner Sala = thrace
and not I_SettlementOwner Sala = romans_brutii
and not I_SettlementOwner Sala = saba
and not I_SettlementOwner Sala = slave

console_command set_building_health Sala Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command create_building Salamis "celt3"
console_command create_building Salamis "muster_field_E"
console_command set_building_health Salamis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command create_building Salamis "celt3"
console_command create_building Salamis "militia_barracks_E1"
console_command set_building_health Salamis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command create_building Salamis "celt3"
console_command create_building Salamis "city_barracks_E1"
console_command set_building_health Salamis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command create_building Salamis "celt3"
console_command create_building Salamis "army_barracks_E1"
console_command set_building_health Salamis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command create_building Salamis "celt3"
console_command create_building Salamis "royal_barracks_E1"
console_command set_building_health Salamis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Salamis = seleucid
and not I_SettlementOwner Salamis = parthia
and not I_SettlementOwner Salamis = pontus
and not I_SettlementOwner Salamis = numidia
and not I_SettlementOwner Salamis = romans_julii
and not I_SettlementOwner Salamis = egypt
and not I_SettlementOwner Salamis = germans
and not I_SettlementOwner Salamis = greek_cities
and not I_SettlementOwner Salamis = macedon
and not I_SettlementOwner Salamis = carthage
and not I_SettlementOwner Salamis = romans_scipii
and not I_SettlementOwner Salamis = dacia
and not I_SettlementOwner Salamis = armenia
and not I_SettlementOwner Salamis = spain
and not I_SettlementOwner Salamis = thrace
and not I_SettlementOwner Salamis = romans_brutii
and not I_SettlementOwner Salamis = saba
and not I_SettlementOwner Salamis = slave

console_command set_building_health Salamis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command create_building Sardis "celt3"
console_command create_building Sardis "muster_field_E"
console_command set_building_health Sardis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command create_building Sardis "celt3"
console_command create_building Sardis "militia_barracks_E1"
console_command set_building_health Sardis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command create_building Sardis "celt3"
console_command create_building Sardis "city_barracks_E1"
console_command set_building_health Sardis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command create_building Sardis "celt3"
console_command create_building Sardis "army_barracks_E1"
console_command set_building_health Sardis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command create_building Sardis "celt3"
console_command create_building Sardis "royal_barracks_E1"
console_command set_building_health Sardis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sardis = seleucid
and not I_SettlementOwner Sardis = parthia
and not I_SettlementOwner Sardis = pontus
and not I_SettlementOwner Sardis = numidia
and not I_SettlementOwner Sardis = romans_julii
and not I_SettlementOwner Sardis = egypt
and not I_SettlementOwner Sardis = germans
and not I_SettlementOwner Sardis = greek_cities
and not I_SettlementOwner Sardis = macedon
and not I_SettlementOwner Sardis = carthage
and not I_SettlementOwner Sardis = romans_scipii
and not I_SettlementOwner Sardis = dacia
and not I_SettlementOwner Sardis = armenia
and not I_SettlementOwner Sardis = spain
and not I_SettlementOwner Sardis = thrace
and not I_SettlementOwner Sardis = romans_brutii
and not I_SettlementOwner Sardis = saba
and not I_SettlementOwner Sardis = slave

console_command set_building_health Sardis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command create_building Sarmiszegethusa "celt3"
console_command create_building Sarmiszegethusa "muster_field_E"
console_command set_building_health Sarmiszegethusa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command create_building Sarmiszegethusa "celt3"
console_command create_building Sarmiszegethusa "militia_barracks_E1"
console_command set_building_health Sarmiszegethusa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command create_building Sarmiszegethusa "celt3"
console_command create_building Sarmiszegethusa "city_barracks_E1"
console_command set_building_health Sarmiszegethusa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command create_building Sarmiszegethusa "celt3"
console_command create_building Sarmiszegethusa "army_barracks_E1"
console_command set_building_health Sarmiszegethusa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command create_building Sarmiszegethusa "celt3"
console_command create_building Sarmiszegethusa "royal_barracks_E1"
console_command set_building_health Sarmiszegethusa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sarmiszegethusa = seleucid
and not I_SettlementOwner Sarmiszegethusa = parthia
and not I_SettlementOwner Sarmiszegethusa = pontus
and not I_SettlementOwner Sarmiszegethusa = numidia
and not I_SettlementOwner Sarmiszegethusa = romans_julii
and not I_SettlementOwner Sarmiszegethusa = egypt
and not I_SettlementOwner Sarmiszegethusa = germans
and not I_SettlementOwner Sarmiszegethusa = greek_cities
and not I_SettlementOwner Sarmiszegethusa = macedon
and not I_SettlementOwner Sarmiszegethusa = carthage
and not I_SettlementOwner Sarmiszegethusa = romans_scipii
and not I_SettlementOwner Sarmiszegethusa = dacia
and not I_SettlementOwner Sarmiszegethusa = armenia
and not I_SettlementOwner Sarmiszegethusa = spain
and not I_SettlementOwner Sarmiszegethusa = thrace
and not I_SettlementOwner Sarmiszegethusa = romans_brutii
and not I_SettlementOwner Sarmiszegethusa = saba
and not I_SettlementOwner Sarmiszegethusa = slave

console_command set_building_health Sarmiszegethusa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon
and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command create_building Segesta "celt3"
console_command create_building Segesta "muster_field_E"
console_command set_building_health Segesta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon
and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command create_building Segesta "celt3"
console_command create_building Segesta "militia_barracks_E1"
console_command set_building_health Segesta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon
and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command create_building Segesta "celt3"
console_command create_building Segesta "city_barracks_E1"
console_command set_building_health Segesta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon

and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command create_building Segesta "celt3"
console_command create_building Segesta "army_barracks_E1"
console_command set_building_health Segesta Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon
and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command create_building Segesta "celt3"
console_command create_building Segesta "royal_barracks_E1"
console_command set_building_health Segesta Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Segesta = seleucid
and not I_SettlementOwner Segesta = parthia
and not I_SettlementOwner Segesta = pontus
and not I_SettlementOwner Segesta = numidia
and not I_SettlementOwner Segesta = romans_julii
and not I_SettlementOwner Segesta = egypt
and not I_SettlementOwner Segesta = germans
and not I_SettlementOwner Segesta = greek_cities
and not I_SettlementOwner Segesta = macedon
and not I_SettlementOwner Segesta = carthage
and not I_SettlementOwner Segesta = romans_scipii
and not I_SettlementOwner Segesta = dacia
and not I_SettlementOwner Segesta = armenia
and not I_SettlementOwner Segesta = spain
and not I_SettlementOwner Segesta = thrace
and not I_SettlementOwner Segesta = romans_brutii
and not I_SettlementOwner Segesta = saba
and not I_SettlementOwner Segesta = slave

console_command set_building_health Segesta Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command create_building Segestica "celt3"
console_command create_building Segestica "muster_field_E"
console_command set_building_health Segestica Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command create_building Segestica "celt3"
console_command create_building Segestica "militia_barracks_E1"
console_command set_building_health Segestica Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command create_building Segestica "celt3"
console_command create_building Segestica "city_barracks_E1"
console_command set_building_health Segestica Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command create_building Segestica "celt3"
console_command create_building Segestica "army_barracks_E1"
console_command set_building_health Segestica Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command create_building Segestica "celt3"
console_command create_building Segestica "royal_barracks_E1"
console_command set_building_health Segestica Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Segestica = seleucid
and not I_SettlementOwner Segestica = parthia
and not I_SettlementOwner Segestica = pontus
and not I_SettlementOwner Segestica = numidia
and not I_SettlementOwner Segestica = romans_julii
and not I_SettlementOwner Segestica = egypt
and not I_SettlementOwner Segestica = germans
and not I_SettlementOwner Segestica = greek_cities
and not I_SettlementOwner Segestica = macedon
and not I_SettlementOwner Segestica = carthage
and not I_SettlementOwner Segestica = romans_scipii
and not I_SettlementOwner Segestica = dacia
and not I_SettlementOwner Segestica = armenia
and not I_SettlementOwner Segestica = spain
and not I_SettlementOwner Segestica = thrace
and not I_SettlementOwner Segestica = romans_brutii
and not I_SettlementOwner Segestica = saba
and not I_SettlementOwner Segestica = slave

console_command set_building_health Segestica Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command create_building Seleukeia "celt3"
console_command create_building Seleukeia "muster_field_E"
console_command set_building_health Seleukeia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command create_building Seleukeia "celt3"
console_command create_building Seleukeia "militia_barracks_E1"
console_command set_building_health Seleukeia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command create_building Seleukeia "celt3"
console_command create_building Seleukeia "city_barracks_E1"
console_command set_building_health Seleukeia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command create_building Seleukeia "celt3"
console_command create_building Seleukeia "army_barracks_E1"
console_command set_building_health Seleukeia Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command create_building Seleukeia "celt3"
console_command create_building Seleukeia "royal_barracks_E1"
console_command set_building_health Seleukeia Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Seleukeia = seleucid
and not I_SettlementOwner Seleukeia = parthia
and not I_SettlementOwner Seleukeia = pontus
and not I_SettlementOwner Seleukeia = numidia
and not I_SettlementOwner Seleukeia = romans_julii
and not I_SettlementOwner Seleukeia = egypt
and not I_SettlementOwner Seleukeia = germans
and not I_SettlementOwner Seleukeia = greek_cities
and not I_SettlementOwner Seleukeia = macedon
and not I_SettlementOwner Seleukeia = carthage
and not I_SettlementOwner Seleukeia = romans_scipii
and not I_SettlementOwner Seleukeia = dacia
and not I_SettlementOwner Seleukeia = armenia
and not I_SettlementOwner Seleukeia = spain
and not I_SettlementOwner Seleukeia = thrace
and not I_SettlementOwner Seleukeia = romans_brutii
and not I_SettlementOwner Seleukeia = saba
and not I_SettlementOwner Seleukeia = slave

console_command set_building_health Seleukeia Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command create_building Seliun_Pilis "celt3"
console_command create_building Seliun_Pilis "muster_field_E"
console_command set_building_health Seliun_Pilis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command create_building Seliun_Pilis "celt3"
console_command create_building Seliun_Pilis "militia_barracks_E1"
console_command set_building_health Seliun_Pilis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command create_building Seliun_Pilis "celt3"
console_command create_building Seliun_Pilis "city_barracks_E1"
console_command set_building_health Seliun_Pilis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command create_building Seliun_Pilis "celt3"
console_command create_building Seliun_Pilis "army_barracks_E1"
console_command set_building_health Seliun_Pilis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command create_building Seliun_Pilis "celt3"
console_command create_building Seliun_Pilis "royal_barracks_E1"
console_command set_building_health Seliun_Pilis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Seliun_Pilis = seleucid
and not I_SettlementOwner Seliun_Pilis = parthia
and not I_SettlementOwner Seliun_Pilis = pontus
and not I_SettlementOwner Seliun_Pilis = numidia
and not I_SettlementOwner Seliun_Pilis = romans_julii
and not I_SettlementOwner Seliun_Pilis = egypt
and not I_SettlementOwner Seliun_Pilis = germans
and not I_SettlementOwner Seliun_Pilis = greek_cities
and not I_SettlementOwner Seliun_Pilis = macedon
and not I_SettlementOwner Seliun_Pilis = carthage
and not I_SettlementOwner Seliun_Pilis = romans_scipii
and not I_SettlementOwner Seliun_Pilis = dacia
and not I_SettlementOwner Seliun_Pilis = armenia
and not I_SettlementOwner Seliun_Pilis = spain
and not I_SettlementOwner Seliun_Pilis = thrace
and not I_SettlementOwner Seliun_Pilis = romans_brutii
and not I_SettlementOwner Seliun_Pilis = saba
and not I_SettlementOwner Seliun_Pilis = slave

console_command set_building_health Seliun_Pilis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command create_building Serdike "celt3"
console_command create_building Serdike "muster_field_E"
console_command set_building_health Serdike Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command create_building Serdike "celt3"
console_command create_building Serdike "militia_barracks_E1"
console_command set_building_health Serdike Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command create_building Serdike "celt3"
console_command create_building Serdike "city_barracks_E1"
console_command set_building_health Serdike Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command create_building Serdike "celt3"
console_command create_building Serdike "army_barracks_E1"
console_command set_building_health Serdike Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command create_building Serdike "celt3"
console_command create_building Serdike "royal_barracks_E1"
console_command set_building_health Serdike Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Serdike = seleucid
and not I_SettlementOwner Serdike = parthia
and not I_SettlementOwner Serdike = pontus
and not I_SettlementOwner Serdike = numidia
and not I_SettlementOwner Serdike = romans_julii
and not I_SettlementOwner Serdike = egypt
and not I_SettlementOwner Serdike = germans
and not I_SettlementOwner Serdike = greek_cities
and not I_SettlementOwner Serdike = macedon
and not I_SettlementOwner Serdike = carthage
and not I_SettlementOwner Serdike = romans_scipii
and not I_SettlementOwner Serdike = dacia
and not I_SettlementOwner Serdike = armenia
and not I_SettlementOwner Serdike = spain
and not I_SettlementOwner Serdike = thrace
and not I_SettlementOwner Serdike = romans_brutii
and not I_SettlementOwner Serdike = saba
and not I_SettlementOwner Serdike = slave

console_command set_building_health Serdike Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command create_building Side "celt3"
console_command create_building Side "muster_field_E"
console_command set_building_health Side Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command create_building Side "celt3"
console_command create_building Side "militia_barracks_E1"
console_command set_building_health Side Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command create_building Side "celt3"
console_command create_building Side "city_barracks_E1"
console_command set_building_health Side Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command create_building Side "celt3"
console_command create_building Side "army_barracks_E1"
console_command set_building_health Side Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command create_building Side "celt3"
console_command create_building Side "royal_barracks_E1"
console_command set_building_health Side Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Side = seleucid
and not I_SettlementOwner Side = parthia
and not I_SettlementOwner Side = pontus
and not I_SettlementOwner Side = numidia
and not I_SettlementOwner Side = romans_julii
and not I_SettlementOwner Side = egypt
and not I_SettlementOwner Side = germans
and not I_SettlementOwner Side = greek_cities
and not I_SettlementOwner Side = macedon
and not I_SettlementOwner Side = carthage
and not I_SettlementOwner Side = romans_scipii
and not I_SettlementOwner Side = dacia
and not I_SettlementOwner Side = armenia
and not I_SettlementOwner Side = spain
and not I_SettlementOwner Side = thrace
and not I_SettlementOwner Side = romans_brutii
and not I_SettlementOwner Side = saba
and not I_SettlementOwner Side = slave

console_command set_building_health Side Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command create_building Sidon "celt3"
console_command create_building Sidon "muster_field_E"
console_command set_building_health Sidon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command create_building Sidon "celt3"
console_command create_building Sidon "militia_barracks_E1"
console_command set_building_health Sidon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command create_building Sidon "celt3"
console_command create_building Sidon "city_barracks_E1"
console_command set_building_health Sidon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command create_building Sidon "celt3"
console_command create_building Sidon "army_barracks_E1"
console_command set_building_health Sidon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command create_building Sidon "celt3"
console_command create_building Sidon "royal_barracks_E1"
console_command set_building_health Sidon Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sidon = seleucid
and not I_SettlementOwner Sidon = parthia
and not I_SettlementOwner Sidon = pontus
and not I_SettlementOwner Sidon = numidia
and not I_SettlementOwner Sidon = romans_julii
and not I_SettlementOwner Sidon = egypt
and not I_SettlementOwner Sidon = germans
and not I_SettlementOwner Sidon = greek_cities
and not I_SettlementOwner Sidon = macedon
and not I_SettlementOwner Sidon = carthage
and not I_SettlementOwner Sidon = romans_scipii
and not I_SettlementOwner Sidon = dacia
and not I_SettlementOwner Sidon = armenia
and not I_SettlementOwner Sidon = spain
and not I_SettlementOwner Sidon = thrace
and not I_SettlementOwner Sidon = romans_brutii
and not I_SettlementOwner Sidon = saba
and not I_SettlementOwner Sidon = slave

console_command set_building_health Sidon Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command create_building Siga "celt3"
console_command create_building Siga "muster_field_E"
console_command set_building_health Siga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command create_building Siga "celt3"
console_command create_building Siga "militia_barracks_E1"
console_command set_building_health Siga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command create_building Siga "celt3"
console_command create_building Siga "city_barracks_E1"
console_command set_building_health Siga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command create_building Siga "celt3"
console_command create_building Siga "army_barracks_E1"
console_command set_building_health Siga Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command create_building Siga "celt3"
console_command create_building Siga "royal_barracks_E1"
console_command set_building_health Siga Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Siga = seleucid
and not I_SettlementOwner Siga = parthia
and not I_SettlementOwner Siga = pontus
and not I_SettlementOwner Siga = numidia
and not I_SettlementOwner Siga = romans_julii
and not I_SettlementOwner Siga = egypt
and not I_SettlementOwner Siga = germans
and not I_SettlementOwner Siga = greek_cities
and not I_SettlementOwner Siga = macedon
and not I_SettlementOwner Siga = carthage
and not I_SettlementOwner Siga = romans_scipii
and not I_SettlementOwner Siga = dacia
and not I_SettlementOwner Siga = armenia
and not I_SettlementOwner Siga = spain
and not I_SettlementOwner Siga = thrace
and not I_SettlementOwner Siga = romans_brutii
and not I_SettlementOwner Siga = saba
and not I_SettlementOwner Siga = slave

console_command set_building_health Siga Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command create_building Singidunum "celt3"
console_command create_building Singidunum "muster_field_E"
console_command set_building_health Singidunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command create_building Singidunum "celt3"
console_command create_building Singidunum "militia_barracks_E1"
console_command set_building_health Singidunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command create_building Singidunum "celt3"
console_command create_building Singidunum "city_barracks_E1"
console_command set_building_health Singidunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command create_building Singidunum "celt3"
console_command create_building Singidunum "army_barracks_E1"
console_command set_building_health Singidunum Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command create_building Singidunum "celt3"
console_command create_building Singidunum "royal_barracks_E1"
console_command set_building_health Singidunum Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Singidunum = seleucid
and not I_SettlementOwner Singidunum = parthia
and not I_SettlementOwner Singidunum = pontus
and not I_SettlementOwner Singidunum = numidia
and not I_SettlementOwner Singidunum = romans_julii
and not I_SettlementOwner Singidunum = egypt
and not I_SettlementOwner Singidunum = germans
and not I_SettlementOwner Singidunum = greek_cities
and not I_SettlementOwner Singidunum = macedon
and not I_SettlementOwner Singidunum = carthage
and not I_SettlementOwner Singidunum = romans_scipii
and not I_SettlementOwner Singidunum = dacia
and not I_SettlementOwner Singidunum = armenia
and not I_SettlementOwner Singidunum = spain
and not I_SettlementOwner Singidunum = thrace
and not I_SettlementOwner Singidunum = romans_brutii
and not I_SettlementOwner Singidunum = saba
and not I_SettlementOwner Singidunum = slave

console_command set_building_health Singidunum Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command create_building Sinope "celt3"
console_command create_building Sinope "muster_field_E"
console_command set_building_health Sinope Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command create_building Sinope "celt3"
console_command create_building Sinope "militia_barracks_E1"
console_command set_building_health Sinope Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command create_building Sinope "celt3"
console_command create_building Sinope "city_barracks_E1"
console_command set_building_health Sinope Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command create_building Sinope "celt3"
console_command create_building Sinope "army_barracks_E1"
console_command set_building_health Sinope Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command create_building Sinope "celt3"
console_command create_building Sinope "royal_barracks_E1"
console_command set_building_health Sinope Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sinope = seleucid
and not I_SettlementOwner Sinope = parthia
and not I_SettlementOwner Sinope = pontus
and not I_SettlementOwner Sinope = numidia
and not I_SettlementOwner Sinope = romans_julii
and not I_SettlementOwner Sinope = egypt
and not I_SettlementOwner Sinope = germans
and not I_SettlementOwner Sinope = greek_cities
and not I_SettlementOwner Sinope = macedon
and not I_SettlementOwner Sinope = carthage
and not I_SettlementOwner Sinope = romans_scipii
and not I_SettlementOwner Sinope = dacia
and not I_SettlementOwner Sinope = armenia
and not I_SettlementOwner Sinope = spain
and not I_SettlementOwner Sinope = thrace
and not I_SettlementOwner Sinope = romans_brutii
and not I_SettlementOwner Sinope = saba
and not I_SettlementOwner Sinope = slave

console_command set_building_health Sinope Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command create_building Sparte "celt3"
console_command create_building Sparte "muster_field_E"
console_command set_building_health Sparte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command create_building Sparte "celt3"
console_command create_building Sparte "militia_barracks_E1"
console_command set_building_health Sparte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command create_building Sparte "celt3"
console_command create_building Sparte "city_barracks_E1"
console_command set_building_health Sparte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command create_building Sparte "celt3"
console_command create_building Sparte "army_barracks_E1"
console_command set_building_health Sparte Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command create_building Sparte "celt3"
console_command create_building Sparte "royal_barracks_E1"
console_command set_building_health Sparte Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sparte = seleucid
and not I_SettlementOwner Sparte = parthia
and not I_SettlementOwner Sparte = pontus
and not I_SettlementOwner Sparte = numidia
and not I_SettlementOwner Sparte = romans_julii
and not I_SettlementOwner Sparte = egypt
and not I_SettlementOwner Sparte = germans
and not I_SettlementOwner Sparte = greek_cities
and not I_SettlementOwner Sparte = macedon
and not I_SettlementOwner Sparte = carthage
and not I_SettlementOwner Sparte = romans_scipii
and not I_SettlementOwner Sparte = dacia
and not I_SettlementOwner Sparte = armenia
and not I_SettlementOwner Sparte = spain
and not I_SettlementOwner Sparte = thrace
and not I_SettlementOwner Sparte = romans_brutii
and not I_SettlementOwner Sparte = saba
and not I_SettlementOwner Sparte = slave

console_command set_building_health Sparte Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command create_building Sucum-Murgi "celt3"
console_command create_building Sucum-Murgi "muster_field_E"
console_command set_building_health Sucum-Murgi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command create_building Sucum-Murgi "celt3"
console_command create_building Sucum-Murgi "militia_barracks_E1"
console_command set_building_health Sucum-Murgi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command create_building Sucum-Murgi "celt3"
console_command create_building Sucum-Murgi "city_barracks_E1"
console_command set_building_health Sucum-Murgi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command create_building Sucum-Murgi "celt3"
console_command create_building Sucum-Murgi "army_barracks_E1"
console_command set_building_health Sucum-Murgi Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command create_building Sucum-Murgi "celt3"
console_command create_building Sucum-Murgi "royal_barracks_E1"
console_command set_building_health Sucum-Murgi Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sucum-Murgi = seleucid
and not I_SettlementOwner Sucum-Murgi = parthia
and not I_SettlementOwner Sucum-Murgi = pontus
and not I_SettlementOwner Sucum-Murgi = numidia
and not I_SettlementOwner Sucum-Murgi = romans_julii
and not I_SettlementOwner Sucum-Murgi = egypt
and not I_SettlementOwner Sucum-Murgi = germans
and not I_SettlementOwner Sucum-Murgi = greek_cities
and not I_SettlementOwner Sucum-Murgi = macedon
and not I_SettlementOwner Sucum-Murgi = carthage
and not I_SettlementOwner Sucum-Murgi = romans_scipii
and not I_SettlementOwner Sucum-Murgi = dacia
and not I_SettlementOwner Sucum-Murgi = armenia
and not I_SettlementOwner Sucum-Murgi = spain
and not I_SettlementOwner Sucum-Murgi = thrace
and not I_SettlementOwner Sucum-Murgi = romans_brutii
and not I_SettlementOwner Sucum-Murgi = saba
and not I_SettlementOwner Sucum-Murgi = slave

console_command set_building_health Sucum-Murgi Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command create_building Sulek "celt3"
console_command create_building Sulek "muster_field_E"
console_command set_building_health Sulek Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command create_building Sulek "celt3"
console_command create_building Sulek "militia_barracks_E1"
console_command set_building_health Sulek Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command create_building Sulek "celt3"
console_command create_building Sulek "city_barracks_E1"
console_command set_building_health Sulek Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command create_building Sulek "celt3"
console_command create_building Sulek "army_barracks_E1"
console_command set_building_health Sulek Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command create_building Sulek "celt3"
console_command create_building Sulek "royal_barracks_E1"
console_command set_building_health Sulek Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Sulek = seleucid
and not I_SettlementOwner Sulek = parthia
and not I_SettlementOwner Sulek = pontus
and not I_SettlementOwner Sulek = numidia
and not I_SettlementOwner Sulek = romans_julii
and not I_SettlementOwner Sulek = egypt
and not I_SettlementOwner Sulek = germans
and not I_SettlementOwner Sulek = greek_cities
and not I_SettlementOwner Sulek = macedon
and not I_SettlementOwner Sulek = carthage
and not I_SettlementOwner Sulek = romans_scipii
and not I_SettlementOwner Sulek = dacia
and not I_SettlementOwner Sulek = armenia
and not I_SettlementOwner Sulek = spain
and not I_SettlementOwner Sulek = thrace
and not I_SettlementOwner Sulek = romans_brutii
and not I_SettlementOwner Sulek = saba
and not I_SettlementOwner Sulek = slave

console_command set_building_health Sulek Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command create_building Susa "celt3"
console_command create_building Susa "muster_field_E"
console_command set_building_health Susa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command create_building Susa "celt3"
console_command create_building Susa "militia_barracks_E1"
console_command set_building_health Susa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command create_building Susa "celt3"
console_command create_building Susa "city_barracks_E1"
console_command set_building_health Susa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command create_building Susa "celt3"
console_command create_building Susa "army_barracks_E1"
console_command set_building_health Susa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command create_building Susa "celt3"
console_command create_building Susa "royal_barracks_E1"
console_command set_building_health Susa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Susa = seleucid
and not I_SettlementOwner Susa = parthia
and not I_SettlementOwner Susa = pontus
and not I_SettlementOwner Susa = numidia
and not I_SettlementOwner Susa = romans_julii
and not I_SettlementOwner Susa = egypt
and not I_SettlementOwner Susa = germans
and not I_SettlementOwner Susa = greek_cities
and not I_SettlementOwner Susa = macedon
and not I_SettlementOwner Susa = carthage
and not I_SettlementOwner Susa = romans_scipii
and not I_SettlementOwner Susa = dacia
and not I_SettlementOwner Susa = armenia
and not I_SettlementOwner Susa = spain
and not I_SettlementOwner Susa = thrace
and not I_SettlementOwner Susa = romans_brutii
and not I_SettlementOwner Susa = saba
and not I_SettlementOwner Susa = slave

console_command set_building_health Susa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command create_building Swebotraustastamnoz "celt3"
console_command create_building Swebotraustastamnoz "muster_field_E"
console_command set_building_health Swebotraustastamnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command create_building Swebotraustastamnoz "celt3"
console_command create_building Swebotraustastamnoz "militia_barracks_E1"
console_command set_building_health Swebotraustastamnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command create_building Swebotraustastamnoz "celt3"
console_command create_building Swebotraustastamnoz "city_barracks_E1"
console_command set_building_health Swebotraustastamnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command create_building Swebotraustastamnoz "celt3"
console_command create_building Swebotraustastamnoz "army_barracks_E1"
console_command set_building_health Swebotraustastamnoz Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command create_building Swebotraustastamnoz "celt3"
console_command create_building Swebotraustastamnoz "royal_barracks_E1"
console_command set_building_health Swebotraustastamnoz Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Swebotraustastamnoz = seleucid
and not I_SettlementOwner Swebotraustastamnoz = parthia
and not I_SettlementOwner Swebotraustastamnoz = pontus
and not I_SettlementOwner Swebotraustastamnoz = numidia
and not I_SettlementOwner Swebotraustastamnoz = romans_julii
and not I_SettlementOwner Swebotraustastamnoz = egypt
and not I_SettlementOwner Swebotraustastamnoz = germans
and not I_SettlementOwner Swebotraustastamnoz = greek_cities
and not I_SettlementOwner Swebotraustastamnoz = macedon
and not I_SettlementOwner Swebotraustastamnoz = carthage
and not I_SettlementOwner Swebotraustastamnoz = romans_scipii
and not I_SettlementOwner Swebotraustastamnoz = dacia
and not I_SettlementOwner Swebotraustastamnoz = armenia
and not I_SettlementOwner Swebotraustastamnoz = spain
and not I_SettlementOwner Swebotraustastamnoz = thrace
and not I_SettlementOwner Swebotraustastamnoz = romans_brutii
and not I_SettlementOwner Swebotraustastamnoz = saba
and not I_SettlementOwner Swebotraustastamnoz = slave

console_command set_building_health Swebotraustastamnoz Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command create_building Syracuse "celt3"
console_command create_building Syracuse "muster_field_E"
console_command set_building_health Syracuse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command create_building Syracuse "celt3"
console_command create_building Syracuse "militia_barracks_E1"
console_command set_building_health Syracuse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command create_building Syracuse "celt3"
console_command create_building Syracuse "city_barracks_E1"
console_command set_building_health Syracuse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command create_building Syracuse "celt3"
console_command create_building Syracuse "army_barracks_E1"
console_command set_building_health Syracuse Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command create_building Syracuse "celt3"
console_command create_building Syracuse "royal_barracks_E1"
console_command set_building_health Syracuse Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Syracuse = seleucid
and not I_SettlementOwner Syracuse = parthia
and not I_SettlementOwner Syracuse = pontus
and not I_SettlementOwner Syracuse = numidia
and not I_SettlementOwner Syracuse = romans_julii
and not I_SettlementOwner Syracuse = egypt
and not I_SettlementOwner Syracuse = germans
and not I_SettlementOwner Syracuse = greek_cities
and not I_SettlementOwner Syracuse = macedon
and not I_SettlementOwner Syracuse = carthage
and not I_SettlementOwner Syracuse = romans_scipii
and not I_SettlementOwner Syracuse = dacia
and not I_SettlementOwner Syracuse = armenia
and not I_SettlementOwner Syracuse = spain
and not I_SettlementOwner Syracuse = thrace
and not I_SettlementOwner Syracuse = romans_brutii
and not I_SettlementOwner Syracuse = saba
and not I_SettlementOwner Syracuse = slave

console_command set_building_health Syracuse Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command create_building Taksashila "celt3"
console_command create_building Taksashila "muster_field_E"
console_command set_building_health Taksashila Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command create_building Taksashila "celt3"
console_command create_building Taksashila "militia_barracks_E1"
console_command set_building_health Taksashila Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command create_building Taksashila "celt3"
console_command create_building Taksashila "city_barracks_E1"
console_command set_building_health Taksashila Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command create_building Taksashila "celt3"
console_command create_building Taksashila "army_barracks_E1"
console_command set_building_health Taksashila Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command create_building Taksashila "celt3"
console_command create_building Taksashila "royal_barracks_E1"
console_command set_building_health Taksashila Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Taksashila = seleucid
and not I_SettlementOwner Taksashila = parthia
and not I_SettlementOwner Taksashila = pontus
and not I_SettlementOwner Taksashila = numidia
and not I_SettlementOwner Taksashila = romans_julii
and not I_SettlementOwner Taksashila = egypt
and not I_SettlementOwner Taksashila = germans
and not I_SettlementOwner Taksashila = greek_cities
and not I_SettlementOwner Taksashila = macedon
and not I_SettlementOwner Taksashila = carthage
and not I_SettlementOwner Taksashila = romans_scipii
and not I_SettlementOwner Taksashila = dacia
and not I_SettlementOwner Taksashila = armenia
and not I_SettlementOwner Taksashila = spain
and not I_SettlementOwner Taksashila = thrace
and not I_SettlementOwner Taksashila = romans_brutii
and not I_SettlementOwner Taksashila = saba
and not I_SettlementOwner Taksashila = slave

console_command set_building_health Taksashila Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command create_building Tamane "celt3"
console_command create_building Tamane "muster_field_E"
console_command set_building_health Tamane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command create_building Tamane "celt3"
console_command create_building Tamane "militia_barracks_E1"
console_command set_building_health Tamane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command create_building Tamane "celt3"
console_command create_building Tamane "city_barracks_E1"
console_command set_building_health Tamane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command create_building Tamane "celt3"
console_command create_building Tamane "army_barracks_E1"
console_command set_building_health Tamane Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command create_building Tamane "celt3"
console_command create_building Tamane "royal_barracks_E1"
console_command set_building_health Tamane Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Tamane = seleucid
and not I_SettlementOwner Tamane = parthia
and not I_SettlementOwner Tamane = pontus
and not I_SettlementOwner Tamane = numidia
and not I_SettlementOwner Tamane = romans_julii
and not I_SettlementOwner Tamane = egypt
and not I_SettlementOwner Tamane = germans
and not I_SettlementOwner Tamane = greek_cities
and not I_SettlementOwner Tamane = macedon
and not I_SettlementOwner Tamane = carthage
and not I_SettlementOwner Tamane = romans_scipii
and not I_SettlementOwner Tamane = dacia
and not I_SettlementOwner Tamane = armenia
and not I_SettlementOwner Tamane = spain
and not I_SettlementOwner Tamane = thrace
and not I_SettlementOwner Tamane = romans_brutii
and not I_SettlementOwner Tamane = saba
and not I_SettlementOwner Tamane = slave

console_command set_building_health Tamane Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command create_building Tanais "celt3"
console_command create_building Tanais "muster_field_E"
console_command set_building_health Tanais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command create_building Tanais "celt3"
console_command create_building Tanais "militia_barracks_E1"
console_command set_building_health Tanais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command create_building Tanais "celt3"
console_command create_building Tanais "city_barracks_E1"
console_command set_building_health Tanais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command create_building Tanais "celt3"
console_command create_building Tanais "army_barracks_E1"
console_command set_building_health Tanais Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command create_building Tanais "celt3"
console_command create_building Tanais "royal_barracks_E1"
console_command set_building_health Tanais Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Tanais = seleucid
and not I_SettlementOwner Tanais = parthia
and not I_SettlementOwner Tanais = pontus
and not I_SettlementOwner Tanais = numidia
and not I_SettlementOwner Tanais = romans_julii
and not I_SettlementOwner Tanais = egypt
and not I_SettlementOwner Tanais = germans
and not I_SettlementOwner Tanais = greek_cities
and not I_SettlementOwner Tanais = macedon
and not I_SettlementOwner Tanais = carthage
and not I_SettlementOwner Tanais = romans_scipii
and not I_SettlementOwner Tanais = dacia
and not I_SettlementOwner Tanais = armenia
and not I_SettlementOwner Tanais = spain
and not I_SettlementOwner Tanais = thrace
and not I_SettlementOwner Tanais = romans_brutii
and not I_SettlementOwner Tanais = saba
and not I_SettlementOwner Tanais = slave

console_command set_building_health Tanais Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command create_building Taras "celt3"
console_command create_building Taras "muster_field_E"
console_command set_building_health Taras Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command create_building Taras "celt3"
console_command create_building Taras "militia_barracks_E1"
console_command set_building_health Taras Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command create_building Taras "celt3"
console_command create_building Taras "city_barracks_E1"
console_command set_building_health Taras Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command create_building Taras "celt3"
console_command create_building Taras "army_barracks_E1"
console_command set_building_health Taras Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command create_building Taras "celt3"
console_command create_building Taras "royal_barracks_E1"
console_command set_building_health Taras Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Taras = seleucid
and not I_SettlementOwner Taras = parthia
and not I_SettlementOwner Taras = pontus
and not I_SettlementOwner Taras = numidia
and not I_SettlementOwner Taras = romans_julii
and not I_SettlementOwner Taras = egypt
and not I_SettlementOwner Taras = germans
and not I_SettlementOwner Taras = greek_cities
and not I_SettlementOwner Taras = macedon
and not I_SettlementOwner Taras = carthage
and not I_SettlementOwner Taras = romans_scipii
and not I_SettlementOwner Taras = dacia
and not I_SettlementOwner Taras = armenia
and not I_SettlementOwner Taras = spain
and not I_SettlementOwner Taras = thrace
and not I_SettlementOwner Taras = romans_brutii
and not I_SettlementOwner Taras = saba
and not I_SettlementOwner Taras = slave

console_command set_building_health Taras Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command create_building Tarsos "celt3"
console_command create_building Tarsos "muster_field_E"
console_command set_building_health Tarsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command create_building Tarsos "celt3"
console_command create_building Tarsos "militia_barracks_E1"
console_command set_building_health Tarsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command create_building Tarsos "celt3"
console_command create_building Tarsos "city_barracks_E1"
console_command set_building_health Tarsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command create_building Tarsos "celt3"
console_command create_building Tarsos "army_barracks_E1"
console_command set_building_health Tarsos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command create_building Tarsos "celt3"
console_command create_building Tarsos "royal_barracks_E1"
console_command set_building_health Tarsos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Tarsos = seleucid
and not I_SettlementOwner Tarsos = parthia
and not I_SettlementOwner Tarsos = pontus
and not I_SettlementOwner Tarsos = numidia
and not I_SettlementOwner Tarsos = romans_julii
and not I_SettlementOwner Tarsos = egypt
and not I_SettlementOwner Tarsos = germans
and not I_SettlementOwner Tarsos = greek_cities
and not I_SettlementOwner Tarsos = macedon
and not I_SettlementOwner Tarsos = carthage
and not I_SettlementOwner Tarsos = romans_scipii
and not I_SettlementOwner Tarsos = dacia
and not I_SettlementOwner Tarsos = armenia
and not I_SettlementOwner Tarsos = spain
and not I_SettlementOwner Tarsos = thrace
and not I_SettlementOwner Tarsos = romans_brutii
and not I_SettlementOwner Tarsos = saba
and not I_SettlementOwner Tarsos = slave

console_command set_building_health Tarsos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command create_building Terhazza "celt3"
console_command create_building Terhazza "muster_field_E"
console_command set_building_health Terhazza Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command create_building Terhazza "celt3"
console_command create_building Terhazza "militia_barracks_E1"
console_command set_building_health Terhazza Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command create_building Terhazza "celt3"
console_command create_building Terhazza "city_barracks_E1"
console_command set_building_health Terhazza Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command create_building Terhazza "celt3"
console_command create_building Terhazza "army_barracks_E1"
console_command set_building_health Terhazza Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command create_building Terhazza "celt3"
console_command create_building Terhazza "royal_barracks_E1"
console_command set_building_health Terhazza Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Terhazza = seleucid
and not I_SettlementOwner Terhazza = parthia
and not I_SettlementOwner Terhazza = pontus
and not I_SettlementOwner Terhazza = numidia
and not I_SettlementOwner Terhazza = romans_julii
and not I_SettlementOwner Terhazza = egypt
and not I_SettlementOwner Terhazza = germans
and not I_SettlementOwner Terhazza = greek_cities
and not I_SettlementOwner Terhazza = macedon
and not I_SettlementOwner Terhazza = carthage
and not I_SettlementOwner Terhazza = romans_scipii
and not I_SettlementOwner Terhazza = dacia
and not I_SettlementOwner Terhazza = armenia
and not I_SettlementOwner Terhazza = spain
and not I_SettlementOwner Terhazza = thrace
and not I_SettlementOwner Terhazza = romans_brutii
and not I_SettlementOwner Terhazza = saba
and not I_SettlementOwner Terhazza = slave

console_command set_building_health Terhazza Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command create_building Thermon "celt3"
console_command create_building Thermon "muster_field_E"
console_command set_building_health Thermon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command create_building Thermon "celt3"
console_command create_building Thermon "militia_barracks_E1"
console_command set_building_health Thermon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command create_building Thermon "celt3"
console_command create_building Thermon "city_barracks_E1"
console_command set_building_health Thermon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command create_building Thermon "celt3"
console_command create_building Thermon "army_barracks_E1"
console_command set_building_health Thermon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command create_building Thermon "celt3"
console_command create_building Thermon "royal_barracks_E1"
console_command set_building_health Thermon Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Thermon = seleucid
and not I_SettlementOwner Thermon = parthia
and not I_SettlementOwner Thermon = pontus
and not I_SettlementOwner Thermon = numidia
and not I_SettlementOwner Thermon = romans_julii
and not I_SettlementOwner Thermon = egypt
and not I_SettlementOwner Thermon = germans
and not I_SettlementOwner Thermon = greek_cities
and not I_SettlementOwner Thermon = macedon
and not I_SettlementOwner Thermon = carthage
and not I_SettlementOwner Thermon = romans_scipii
and not I_SettlementOwner Thermon = dacia
and not I_SettlementOwner Thermon = armenia
and not I_SettlementOwner Thermon = spain
and not I_SettlementOwner Thermon = thrace
and not I_SettlementOwner Thermon = romans_brutii
and not I_SettlementOwner Thermon = saba
and not I_SettlementOwner Thermon = slave

console_command set_building_health Thermon Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command create_building Lixus "celt3"
console_command create_building Lixus "muster_field_E"
console_command set_building_health Lixus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command create_building Lixus "celt3"
console_command create_building Lixus "militia_barracks_E1"
console_command set_building_health Lixus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command create_building Lixus "celt3"
console_command create_building Lixus "city_barracks_E1"
console_command set_building_health Lixus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command create_building Lixus "celt3"
console_command create_building Lixus "army_barracks_E1"
console_command set_building_health Lixus Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command create_building Lixus "celt3"
console_command create_building Lixus "royal_barracks_E1"
console_command set_building_health Lixus Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Lixus = seleucid
and not I_SettlementOwner Lixus = parthia
and not I_SettlementOwner Lixus = pontus
and not I_SettlementOwner Lixus = numidia
and not I_SettlementOwner Lixus = romans_julii
and not I_SettlementOwner Lixus = egypt
and not I_SettlementOwner Lixus = germans
and not I_SettlementOwner Lixus = greek_cities
and not I_SettlementOwner Lixus = macedon
and not I_SettlementOwner Lixus = carthage
and not I_SettlementOwner Lixus = romans_scipii
and not I_SettlementOwner Lixus = dacia
and not I_SettlementOwner Lixus = armenia
and not I_SettlementOwner Lixus = spain
and not I_SettlementOwner Lixus = thrace
and not I_SettlementOwner Lixus = romans_brutii
and not I_SettlementOwner Lixus = saba
and not I_SettlementOwner Lixus = slave

console_command set_building_health Lixus Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command create_building Tolosa "celt3"
console_command create_building Tolosa "muster_field_E"
console_command set_building_health Tolosa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command create_building Tolosa "celt3"
console_command create_building Tolosa "militia_barracks_E1"
console_command set_building_health Tolosa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command create_building Tolosa "celt3"
console_command create_building Tolosa "city_barracks_E1"
console_command set_building_health Tolosa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command create_building Tolosa "celt3"
console_command create_building Tolosa "army_barracks_E1"
console_command set_building_health Tolosa Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command create_building Tolosa "celt3"
console_command create_building Tolosa "royal_barracks_E1"
console_command set_building_health Tolosa Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Tolosa = seleucid
and not I_SettlementOwner Tolosa = parthia
and not I_SettlementOwner Tolosa = pontus
and not I_SettlementOwner Tolosa = numidia
and not I_SettlementOwner Tolosa = romans_julii
and not I_SettlementOwner Tolosa = egypt
and not I_SettlementOwner Tolosa = germans
and not I_SettlementOwner Tolosa = greek_cities
and not I_SettlementOwner Tolosa = macedon
and not I_SettlementOwner Tolosa = carthage
and not I_SettlementOwner Tolosa = romans_scipii
and not I_SettlementOwner Tolosa = dacia
and not I_SettlementOwner Tolosa = armenia
and not I_SettlementOwner Tolosa = spain
and not I_SettlementOwner Tolosa = thrace
and not I_SettlementOwner Tolosa = romans_brutii
and not I_SettlementOwner Tolosa = saba
and not I_SettlementOwner Tolosa = slave

console_command set_building_health Tolosa Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command create_building Trapezous "celt3"
console_command create_building Trapezous "muster_field_E"
console_command set_building_health Trapezous Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command create_building Trapezous "celt3"
console_command create_building Trapezous "militia_barracks_E1"
console_command set_building_health Trapezous Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command create_building Trapezous "celt3"
console_command create_building Trapezous "city_barracks_E1"
console_command set_building_health Trapezous Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command create_building Trapezous "celt3"
console_command create_building Trapezous "army_barracks_E1"
console_command set_building_health Trapezous Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command create_building Trapezous "celt3"
console_command create_building Trapezous "royal_barracks_E1"
console_command set_building_health Trapezous Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Trapezous = seleucid
and not I_SettlementOwner Trapezous = parthia
and not I_SettlementOwner Trapezous = pontus
and not I_SettlementOwner Trapezous = numidia
and not I_SettlementOwner Trapezous = romans_julii
and not I_SettlementOwner Trapezous = egypt
and not I_SettlementOwner Trapezous = germans
and not I_SettlementOwner Trapezous = greek_cities
and not I_SettlementOwner Trapezous = macedon
and not I_SettlementOwner Trapezous = carthage
and not I_SettlementOwner Trapezous = romans_scipii
and not I_SettlementOwner Trapezous = dacia
and not I_SettlementOwner Trapezous = armenia
and not I_SettlementOwner Trapezous = spain
and not I_SettlementOwner Trapezous = thrace
and not I_SettlementOwner Trapezous = romans_brutii
and not I_SettlementOwner Trapezous = saba
and not I_SettlementOwner Trapezous = slave

console_command set_building_health Trapezous Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command create_building Tuat "celt3"
console_command create_building Tuat "muster_field_E"
console_command set_building_health Tuat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command create_building Tuat "celt3"
console_command create_building Tuat "militia_barracks_E1"
console_command set_building_health Tuat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command create_building Tuat "celt3"
console_command create_building Tuat "city_barracks_E1"
console_command set_building_health Tuat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command create_building Tuat "celt3"
console_command create_building Tuat "army_barracks_E1"
console_command set_building_health Tuat Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command create_building Tuat "celt3"
console_command create_building Tuat "royal_barracks_E1"
console_command set_building_health Tuat Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Tuat = seleucid
and not I_SettlementOwner Tuat = parthia
and not I_SettlementOwner Tuat = pontus
and not I_SettlementOwner Tuat = numidia
and not I_SettlementOwner Tuat = romans_julii
and not I_SettlementOwner Tuat = egypt
and not I_SettlementOwner Tuat = germans
and not I_SettlementOwner Tuat = greek_cities
and not I_SettlementOwner Tuat = macedon
and not I_SettlementOwner Tuat = carthage
and not I_SettlementOwner Tuat = romans_scipii
and not I_SettlementOwner Tuat = dacia
and not I_SettlementOwner Tuat = armenia
and not I_SettlementOwner Tuat = spain
and not I_SettlementOwner Tuat = thrace
and not I_SettlementOwner Tuat = romans_brutii
and not I_SettlementOwner Tuat = saba
and not I_SettlementOwner Tuat = slave

console_command set_building_health Tuat Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command create_building Tyde "celt3"
console_command create_building Tyde "muster_field_E"
console_command set_building_health Tyde Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command create_building Tyde "celt3"
console_command create_building Tyde "militia_barracks_E1"
console_command set_building_health Tyde Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command create_building Tyde "celt3"
console_command create_building Tyde "city_barracks_E1"
console_command set_building_health Tyde Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command create_building Tyde "celt3"
console_command create_building Tyde "army_barracks_E1"
console_command set_building_health Tyde Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command create_building Tyde "celt3"
console_command create_building Tyde "royal_barracks_E1"
console_command set_building_health Tyde Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Tyde = seleucid
and not I_SettlementOwner Tyde = parthia
and not I_SettlementOwner Tyde = pontus
and not I_SettlementOwner Tyde = numidia
and not I_SettlementOwner Tyde = romans_julii
and not I_SettlementOwner Tyde = egypt
and not I_SettlementOwner Tyde = germans
and not I_SettlementOwner Tyde = greek_cities
and not I_SettlementOwner Tyde = macedon
and not I_SettlementOwner Tyde = carthage
and not I_SettlementOwner Tyde = romans_scipii
and not I_SettlementOwner Tyde = dacia
and not I_SettlementOwner Tyde = armenia
and not I_SettlementOwner Tyde = spain
and not I_SettlementOwner Tyde = thrace
and not I_SettlementOwner Tyde = romans_brutii
and not I_SettlementOwner Tyde = saba
and not I_SettlementOwner Tyde = slave

console_command set_building_health Tyde Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command create_building Tylis "celt3"
console_command create_building Tylis "muster_field_E"
console_command set_building_health Tylis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command create_building Tylis "celt3"
console_command create_building Tylis "militia_barracks_E1"
console_command set_building_health Tylis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command create_building Tylis "celt3"
console_command create_building Tylis "city_barracks_E1"
console_command set_building_health Tylis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command create_building Tylis "celt3"
console_command create_building Tylis "army_barracks_E1"
console_command set_building_health Tylis Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command create_building Tylis "celt3"
console_command create_building Tylis "royal_barracks_E1"
console_command set_building_health Tylis Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Tylis = seleucid
and not I_SettlementOwner Tylis = parthia
and not I_SettlementOwner Tylis = pontus
and not I_SettlementOwner Tylis = numidia
and not I_SettlementOwner Tylis = romans_julii
and not I_SettlementOwner Tylis = egypt
and not I_SettlementOwner Tylis = germans
and not I_SettlementOwner Tylis = greek_cities
and not I_SettlementOwner Tylis = macedon
and not I_SettlementOwner Tylis = carthage
and not I_SettlementOwner Tylis = romans_scipii
and not I_SettlementOwner Tylis = dacia
and not I_SettlementOwner Tylis = armenia
and not I_SettlementOwner Tylis = spain
and not I_SettlementOwner Tylis = thrace
and not I_SettlementOwner Tylis = romans_brutii
and not I_SettlementOwner Tylis = saba
and not I_SettlementOwner Tylis = slave

console_command set_building_health Tylis Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command create_building Ubar "celt3"
console_command create_building Ubar "muster_field_E"
console_command set_building_health Ubar Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command create_building Ubar "celt3"
console_command create_building Ubar "militia_barracks_E1"
console_command set_building_health Ubar Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command create_building Ubar "celt3"
console_command create_building Ubar "city_barracks_E1"
console_command set_building_health Ubar Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command create_building Ubar "celt3"
console_command create_building Ubar "army_barracks_E1"
console_command set_building_health Ubar Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command create_building Ubar "celt3"
console_command create_building Ubar "royal_barracks_E1"
console_command set_building_health Ubar Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ubar = seleucid
and not I_SettlementOwner Ubar = parthia
and not I_SettlementOwner Ubar = pontus
and not I_SettlementOwner Ubar = numidia
and not I_SettlementOwner Ubar = romans_julii
and not I_SettlementOwner Ubar = egypt
and not I_SettlementOwner Ubar = germans
and not I_SettlementOwner Ubar = greek_cities
and not I_SettlementOwner Ubar = macedon
and not I_SettlementOwner Ubar = carthage
and not I_SettlementOwner Ubar = romans_scipii
and not I_SettlementOwner Ubar = dacia
and not I_SettlementOwner Ubar = armenia
and not I_SettlementOwner Ubar = spain
and not I_SettlementOwner Ubar = thrace
and not I_SettlementOwner Ubar = romans_brutii
and not I_SettlementOwner Ubar = saba
and not I_SettlementOwner Ubar = slave

console_command set_building_health Ubar Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command create_building Uspe "celt3"
console_command create_building Uspe "muster_field_E"
console_command set_building_health Uspe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command create_building Uspe "celt3"
console_command create_building Uspe "militia_barracks_E1"
console_command set_building_health Uspe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command create_building Uspe "celt3"
console_command create_building Uspe "city_barracks_E1"
console_command set_building_health Uspe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command create_building Uspe "celt3"
console_command create_building Uspe "army_barracks_E1"
console_command set_building_health Uspe Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command create_building Uspe "celt3"
console_command create_building Uspe "royal_barracks_E1"
console_command set_building_health Uspe Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Uspe = seleucid
and not I_SettlementOwner Uspe = parthia
and not I_SettlementOwner Uspe = pontus
and not I_SettlementOwner Uspe = numidia
and not I_SettlementOwner Uspe = romans_julii
and not I_SettlementOwner Uspe = egypt
and not I_SettlementOwner Uspe = germans
and not I_SettlementOwner Uspe = greek_cities
and not I_SettlementOwner Uspe = macedon
and not I_SettlementOwner Uspe = carthage
and not I_SettlementOwner Uspe = romans_scipii
and not I_SettlementOwner Uspe = dacia
and not I_SettlementOwner Uspe = armenia
and not I_SettlementOwner Uspe = spain
and not I_SettlementOwner Uspe = thrace
and not I_SettlementOwner Uspe = romans_brutii
and not I_SettlementOwner Uspe = saba
and not I_SettlementOwner Uspe = slave

console_command set_building_health Uspe Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command create_building Veldideno "celt3"
console_command create_building Veldideno "muster_field_E"
console_command set_building_health Veldideno Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command create_building Veldideno "celt3"
console_command create_building Veldideno "militia_barracks_E1"
console_command set_building_health Veldideno Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command create_building Veldideno "celt3"
console_command create_building Veldideno "city_barracks_E1"
console_command set_building_health Veldideno Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command create_building Veldideno "celt3"
console_command create_building Veldideno "army_barracks_E1"
console_command set_building_health Veldideno Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command create_building Veldideno "celt3"
console_command create_building Veldideno "royal_barracks_E1"
console_command set_building_health Veldideno Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Veldideno = seleucid
and not I_SettlementOwner Veldideno = parthia
and not I_SettlementOwner Veldideno = pontus
and not I_SettlementOwner Veldideno = numidia
and not I_SettlementOwner Veldideno = romans_julii
and not I_SettlementOwner Veldideno = egypt
and not I_SettlementOwner Veldideno = germans
and not I_SettlementOwner Veldideno = greek_cities
and not I_SettlementOwner Veldideno = macedon
and not I_SettlementOwner Veldideno = carthage
and not I_SettlementOwner Veldideno = romans_scipii
and not I_SettlementOwner Veldideno = dacia
and not I_SettlementOwner Veldideno = armenia
and not I_SettlementOwner Veldideno = spain
and not I_SettlementOwner Veldideno = thrace
and not I_SettlementOwner Veldideno = romans_brutii
and not I_SettlementOwner Veldideno = saba
and not I_SettlementOwner Veldideno = slave

console_command set_building_health Veldideno Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command create_building Vellika "celt3"
console_command create_building Vellika "muster_field_E"
console_command set_building_health Vellika Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command create_building Vellika "celt3"
console_command create_building Vellika "militia_barracks_E1"
console_command set_building_health Vellika Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command create_building Vellika "celt3"
console_command create_building Vellika "city_barracks_E1"
console_command set_building_health Vellika Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command create_building Vellika "celt3"
console_command create_building Vellika "army_barracks_E1"
console_command set_building_health Vellika Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command create_building Vellika "celt3"
console_command create_building Vellika "royal_barracks_E1"
console_command set_building_health Vellika Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Vellika = seleucid
and not I_SettlementOwner Vellika = parthia
and not I_SettlementOwner Vellika = pontus
and not I_SettlementOwner Vellika = numidia
and not I_SettlementOwner Vellika = romans_julii
and not I_SettlementOwner Vellika = egypt
and not I_SettlementOwner Vellika = germans
and not I_SettlementOwner Vellika = greek_cities
and not I_SettlementOwner Vellika = macedon
and not I_SettlementOwner Vellika = carthage
and not I_SettlementOwner Vellika = romans_scipii
and not I_SettlementOwner Vellika = dacia
and not I_SettlementOwner Vellika = armenia
and not I_SettlementOwner Vellika = spain
and not I_SettlementOwner Vellika = thrace
and not I_SettlementOwner Vellika = romans_brutii
and not I_SettlementOwner Vellika = saba
and not I_SettlementOwner Vellika = slave

console_command set_building_health Vellika Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command create_building Vesontio "celt3"
console_command create_building Vesontio "muster_field_E"
console_command set_building_health Vesontio Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command create_building Vesontio "celt3"
console_command create_building Vesontio "militia_barracks_E1"
console_command set_building_health Vesontio Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command create_building Vesontio "celt3"
console_command create_building Vesontio "city_barracks_E1"
console_command set_building_health Vesontio Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command create_building Vesontio "celt3"
console_command create_building Vesontio "army_barracks_E1"
console_command set_building_health Vesontio Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command create_building Vesontio "celt3"
console_command create_building Vesontio "royal_barracks_E1"
console_command set_building_health Vesontio Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Vesontio = seleucid
and not I_SettlementOwner Vesontio = parthia
and not I_SettlementOwner Vesontio = pontus
and not I_SettlementOwner Vesontio = numidia
and not I_SettlementOwner Vesontio = romans_julii
and not I_SettlementOwner Vesontio = egypt
and not I_SettlementOwner Vesontio = germans
and not I_SettlementOwner Vesontio = greek_cities
and not I_SettlementOwner Vesontio = macedon
and not I_SettlementOwner Vesontio = carthage
and not I_SettlementOwner Vesontio = romans_scipii
and not I_SettlementOwner Vesontio = dacia
and not I_SettlementOwner Vesontio = armenia
and not I_SettlementOwner Vesontio = spain
and not I_SettlementOwner Vesontio = thrace
and not I_SettlementOwner Vesontio = romans_brutii
and not I_SettlementOwner Vesontio = saba
and not I_SettlementOwner Vesontio = slave

console_command set_building_health Vesontio Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command create_building Viennos "celt3"
console_command create_building Viennos "muster_field_E"
console_command set_building_health Viennos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command create_building Viennos "celt3"
console_command create_building Viennos "militia_barracks_E1"
console_command set_building_health Viennos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command create_building Viennos "celt3"
console_command create_building Viennos "city_barracks_E1"
console_command set_building_health Viennos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command create_building Viennos "celt3"
console_command create_building Viennos "army_barracks_E1"
console_command set_building_health Viennos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command create_building Viennos "celt3"
console_command create_building Viennos "royal_barracks_E1"
console_command set_building_health Viennos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Viennos = seleucid
and not I_SettlementOwner Viennos = parthia
and not I_SettlementOwner Viennos = pontus
and not I_SettlementOwner Viennos = numidia
and not I_SettlementOwner Viennos = romans_julii
and not I_SettlementOwner Viennos = egypt
and not I_SettlementOwner Viennos = germans
and not I_SettlementOwner Viennos = greek_cities
and not I_SettlementOwner Viennos = macedon
and not I_SettlementOwner Viennos = carthage
and not I_SettlementOwner Viennos = romans_scipii
and not I_SettlementOwner Viennos = dacia
and not I_SettlementOwner Viennos = armenia
and not I_SettlementOwner Viennos = spain
and not I_SettlementOwner Viennos = thrace
and not I_SettlementOwner Viennos = romans_brutii
and not I_SettlementOwner Viennos = saba
and not I_SettlementOwner Viennos = slave

console_command set_building_health Viennos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command create_building Vindelicoppidos "celt3"
console_command create_building Vindelicoppidos "muster_field_E"
console_command set_building_health Vindelicoppidos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command create_building Vindelicoppidos "celt3"
console_command create_building Vindelicoppidos "militia_barracks_E1"
console_command set_building_health Vindelicoppidos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command create_building Vindelicoppidos "celt3"
console_command create_building Vindelicoppidos "city_barracks_E1"
console_command set_building_health Vindelicoppidos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command create_building Vindelicoppidos "celt3"
console_command create_building Vindelicoppidos "army_barracks_E1"
console_command set_building_health Vindelicoppidos Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command create_building Vindelicoppidos "celt3"
console_command create_building Vindelicoppidos "royal_barracks_E1"
console_command set_building_health Vindelicoppidos Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Vindelicoppidos = seleucid
and not I_SettlementOwner Vindelicoppidos = parthia
and not I_SettlementOwner Vindelicoppidos = pontus
and not I_SettlementOwner Vindelicoppidos = numidia
and not I_SettlementOwner Vindelicoppidos = romans_julii
and not I_SettlementOwner Vindelicoppidos = egypt
and not I_SettlementOwner Vindelicoppidos = germans
and not I_SettlementOwner Vindelicoppidos = greek_cities
and not I_SettlementOwner Vindelicoppidos = macedon
and not I_SettlementOwner Vindelicoppidos = carthage
and not I_SettlementOwner Vindelicoppidos = romans_scipii
and not I_SettlementOwner Vindelicoppidos = dacia
and not I_SettlementOwner Vindelicoppidos = armenia
and not I_SettlementOwner Vindelicoppidos = spain
and not I_SettlementOwner Vindelicoppidos = thrace
and not I_SettlementOwner Vindelicoppidos = romans_brutii
and not I_SettlementOwner Vindelicoppidos = saba
and not I_SettlementOwner Vindelicoppidos = slave

console_command set_building_health Vindelicoppidos Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command create_building Vindobona "celt3"
console_command create_building Vindobona "muster_field_E"
console_command set_building_health Vindobona Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command create_building Vindobona "celt3"
console_command create_building Vindobona "militia_barracks_E1"
console_command set_building_health Vindobona Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command create_building Vindobona "celt3"
console_command create_building Vindobona "city_barracks_E1"
console_command set_building_health Vindobona Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command create_building Vindobona "celt3"
console_command create_building Vindobona "army_barracks_E1"
console_command set_building_health Vindobona Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command create_building Vindobona "celt3"
console_command create_building Vindobona "royal_barracks_E1"
console_command set_building_health Vindobona Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Vindobona = seleucid
and not I_SettlementOwner Vindobona = parthia
and not I_SettlementOwner Vindobona = pontus
and not I_SettlementOwner Vindobona = numidia
and not I_SettlementOwner Vindobona = romans_julii
and not I_SettlementOwner Vindobona = egypt
and not I_SettlementOwner Vindobona = germans
and not I_SettlementOwner Vindobona = greek_cities
and not I_SettlementOwner Vindobona = macedon
and not I_SettlementOwner Vindobona = carthage
and not I_SettlementOwner Vindobona = romans_scipii
and not I_SettlementOwner Vindobona = dacia
and not I_SettlementOwner Vindobona = armenia
and not I_SettlementOwner Vindobona = spain
and not I_SettlementOwner Vindobona = thrace
and not I_SettlementOwner Vindobona = romans_brutii
and not I_SettlementOwner Vindobona = saba
and not I_SettlementOwner Vindobona = slave

console_command set_building_health Vindobona Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command create_building Ynys_Mon "celt3"
console_command create_building Ynys_Mon "muster_field_E"
console_command set_building_health Ynys_Mon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command create_building Ynys_Mon "celt3"
console_command create_building Ynys_Mon "militia_barracks_E1"
console_command set_building_health Ynys_Mon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command create_building Ynys_Mon "celt3"
console_command create_building Ynys_Mon "city_barracks_E1"
console_command set_building_health Ynys_Mon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command create_building Ynys_Mon "celt3"
console_command create_building Ynys_Mon "army_barracks_E1"
console_command set_building_health Ynys_Mon Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command create_building Ynys_Mon "celt3"
console_command create_building Ynys_Mon "royal_barracks_E1"
console_command set_building_health Ynys_Mon Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Ynys_Mon = seleucid
and not I_SettlementOwner Ynys_Mon = parthia
and not I_SettlementOwner Ynys_Mon = pontus
and not I_SettlementOwner Ynys_Mon = numidia
and not I_SettlementOwner Ynys_Mon = romans_julii
and not I_SettlementOwner Ynys_Mon = egypt
and not I_SettlementOwner Ynys_Mon = germans
and not I_SettlementOwner Ynys_Mon = greek_cities
and not I_SettlementOwner Ynys_Mon = macedon
and not I_SettlementOwner Ynys_Mon = carthage
and not I_SettlementOwner Ynys_Mon = romans_scipii
and not I_SettlementOwner Ynys_Mon = dacia
and not I_SettlementOwner Ynys_Mon = armenia
and not I_SettlementOwner Ynys_Mon = spain
and not I_SettlementOwner Ynys_Mon = thrace
and not I_SettlementOwner Ynys_Mon = romans_brutii
and not I_SettlementOwner Ynys_Mon = saba
and not I_SettlementOwner Ynys_Mon = slave

console_command set_building_health Ynys_Mon Barracks_D 0

end_if
end_monitor


monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and not SettlementBuildingExists > muster_field_D

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command create_building Zadrakata "celt3"
console_command create_building Zadrakata "muster_field_E"
console_command set_building_health Zadrakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command create_building Zadrakata "celt3"
console_command create_building Zadrakata "militia_barracks_E1"
console_command set_building_health Zadrakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = army_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command create_building Zadrakata "celt3"
console_command create_building Zadrakata "city_barracks_E1"
console_command set_building_health Zadrakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = royal_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = royal_barracks_D2

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command create_building Zadrakata "celt3"
console_command create_building Zadrakata "army_barracks_E1"
console_command set_building_health Zadrakata Barracks_D 0

end_if
end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform = 2
and not SettlementBuildingExists = celt3
and SettlementBuildingExists > muster_field_D
and not SettlementBuildingExists = militia_barracks_D1
and not SettlementBuildingExists = city_barracks_D1
and not SettlementBuildingExists = army_barracks_D1
and not SettlementBuildingExists = militia_barracks_D2
and not SettlementBuildingExists = city_barracks_D2
and not SettlementBuildingExists = army_barracks_D2

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command create_building Zadrakata "celt3"
console_command create_building Zadrakata "royal_barracks_E1"
console_command set_building_health Zadrakata Barracks_D 0

end_if
end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Celt_Reform > 1

if not I_SettlementOwner Zadrakata = seleucid
and not I_SettlementOwner Zadrakata = parthia
and not I_SettlementOwner Zadrakata = pontus
and not I_SettlementOwner Zadrakata = numidia
and not I_SettlementOwner Zadrakata = romans_julii
and not I_SettlementOwner Zadrakata = egypt
and not I_SettlementOwner Zadrakata = germans
and not I_SettlementOwner Zadrakata = greek_cities
and not I_SettlementOwner Zadrakata = macedon
and not I_SettlementOwner Zadrakata = carthage
and not I_SettlementOwner Zadrakata = romans_scipii
and not I_SettlementOwner Zadrakata = dacia
and not I_SettlementOwner Zadrakata = armenia
and not I_SettlementOwner Zadrakata = spain
and not I_SettlementOwner Zadrakata = thrace
and not I_SettlementOwner Zadrakata = romans_brutii
and not I_SettlementOwner Zadrakata = saba
and not I_SettlementOwner Zadrakata = slave

console_command set_building_health Zadrakata Barracks_D 0

end_if
end_monitor
;
;  Display advisor text when the Celt reforms take place.
;
monitor_event SettlementTurnStart SettlementIsLocal
          and SettlementBuildingExists = celt2

    if I_CompareCounter HadCeltReform1 = 0
        if I_LocalFaction gauls
            advance_advice_thread Aedui_Celt_Reform_1
        end_if

        if I_LocalFaction scythia
            advance_advice_thread Arverni_Celt_Reform_1
        end_if

        if I_LocalFaction britons
            advance_advice_thread Casse_Celt_Reform_1
        end_if
    end_if

    terminate_monitor
end_monitor
;
monitor_event SettlementTurnStart SettlementIsLocal
          and SettlementBuildingExists = celt3

    if I_CompareCounter HadCeltReform2 = 0
        if I_LocalFaction gauls
            advance_advice_thread Aedui_Celt_Reform_2
        end_if

        if I_LocalFaction scythia
            advance_advice_thread Arverni_Celt_Reform_2
        end_if

        if I_LocalFaction britons
            advance_advice_thread Casse_Celt_Reform_2
        end_if
    end_if

    terminate_monitor
end_monitor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2b: Saka Reforms
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
declare_counter Saka_Reform_Building_Exists

monitor_event FactionTurnStart FactionType pontus
          and FactionIsLocal
          and I_CompareCounter Saka_Reform = 1
          and I_CompareCounter Saka_Reform_Building_Exists = 0
    advance_advice_thread Saka_Reforms_Message
    terminate_monitor
end_monitor

monitor_event CharacterTurnEnd Trait SakaReformer = 1
set_counter Saka_Reform 1
terminate_monitor
end_monitor

monitor_event SettlementTurnEnd SettlementBuildingExists = saka
set_counter Saka_Reform 1
set_counter Saka_Reform_Building_Exists 1
terminate_monitor
end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Adrumeto = pontus

console_command create_building Adrumeto "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ak_Ink = pontus

console_command create_building Ak_Ink "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Alalia = pontus

console_command create_building Alalia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Alexandreia = pontus

console_command create_building Alexandreia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Alexandreia_Ariana = pontus

console_command create_building Alexandreia_Ariana "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Alexandreia_Eschate = pontus

console_command create_building Alexandreia_Eschate "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Alexandropolis = pontus

console_command create_building Alexandropolis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Amaseia = pontus

console_command create_building Amaseia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Apollonia = pontus

console_command create_building Apollonia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ammonion = pontus

console_command create_building Ammonion "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ani-Kamah = pontus

console_command create_building Ani-Kamah "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ankyra = pontus

console_command create_building Ankyra "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Antiocheia = pontus

console_command create_building Antiocheia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Antiocheia_Margiane = pontus

console_command create_building Antiocheia_Margiane "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Apameia = pontus

console_command create_building Apameia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Arbela = pontus

console_command create_building Arbela "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ariminum = pontus

console_command create_building Ariminum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Armavir = pontus

console_command create_building Armavir "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Arpi = pontus

console_command create_building Arpi "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Arretium = pontus

console_command create_building Arretium "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Arse = pontus

console_command create_building Arse "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Asaak = pontus

console_command create_building Asaak "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ascaucalis = pontus

console_command create_building Ascaucalis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Asodat = pontus

console_command create_building Asodat "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Athenai = pontus

console_command create_building Athenai "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Attuaca = pontus

console_command create_building Attuaca "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Augila_settlement = pontus

console_command create_building Augila_settlement "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Avaricum = pontus

console_command create_building Avaricum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Aventicos = pontus

console_command create_building Aventicos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Axum = pontus

console_command create_building Axum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Bagacos = pontus

console_command create_building Bagacos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Baikor = pontus

console_command create_building Baikor "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Baktra = pontus

console_command create_building Baktra "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Bibracte = pontus

console_command create_building Bibracte "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Chach = pontus

console_command create_building Chach "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Bocchoris = pontus

console_command create_building Bocchoris "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Bononia = pontus

console_command create_building Bononia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Bostra = pontus

console_command create_building Bostra "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Bratosporios = pontus

console_command create_building Bratosporios "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Burdigala = pontus

console_command create_building Burdigala "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Buridava = pontus

console_command create_building Buridava "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Byzantion = pontus

console_command create_building Byzantion "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Caern_Brigantae = pontus

console_command create_building Caern_Brigantae "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Camulosadae = pontus

console_command create_building Camulosadae "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Capua = pontus

console_command create_building Capua "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Carna = pontus

console_command create_building Carna "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Carrodunum = pontus

console_command create_building Carrodunum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Cenabum = pontus

console_command create_building Cenabum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Chalkis = pontus

console_command create_building Chalkis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Charax = pontus

console_command create_building Charax "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Chersonesos = pontus

console_command create_building Chersonesos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Chighu = pontus

console_command create_building Chighu "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Atiqa = pontus

console_command create_building Atiqa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Dalminion = pontus

console_command create_building Dalminion "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Damaskos = pontus

console_command create_building Damaskos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Darioritum = pontus

console_command create_building Darioritum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Demetrias = pontus

console_command create_building Demetrias "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Diospolis_Megale = pontus

console_command create_building Diospolis_Megale "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Babylon = pontus

console_command create_building Babylon "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Eburonum = pontus

console_command create_building Eburonum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Edessa = pontus

console_command create_building Edessa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ekbatana = pontus

console_command create_building Ekbatana "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Emain_Macha = pontus

console_command create_building Emain_Macha "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Emporion = pontus

console_command create_building Emporion "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Epidamnos = pontus

console_command create_building Epidamnos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gabai = pontus

console_command create_building Gabai "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gader = pontus

console_command create_building Gader "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Garama = pontus

console_command create_building Garama "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Alanna = pontus

console_command create_building Gava_Alanna "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Aursa

and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Aursa = pontus

console_command create_building Gava_Aursa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Haomavarga = pontus

console_command create_building Gava_Haomavarga "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Mazsakata = pontus

console_command create_building Gava_Mazsakata "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Roxsalanna = pontus

console_command create_building Gava_Roxsalanna "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Saka = pontus

console_command create_building Gava_Saka "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Thissakata = pontus

console_command create_building Gava_Thissakata "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Yazyga = pontus

console_command create_building Gava_Yazyga "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gava_Yugra = pontus

console_command create_building Gava_Yugra "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Bastarnoz = pontus

console_command create_building Gawjam_Bastarnoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Gotanoz = pontus

console_command create_building Gawjam_Gotanoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Habukoz = pontus

console_command create_building Gawjam_Habukoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Arctaunon = pontus

console_command create_building Arctaunon "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Heruskoz = pontus

console_command create_building Gawjam_Heruskoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Kimbroz = pontus

console_command create_building Gawjam_Kimbroz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Rugoz = pontus

console_command create_building Gawjam_Rugoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Silengoz = pontus

console_command create_building Gawjam_Silengoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gawjam_Skandzawarjoz = pontus

console_command create_building Gawjam_Skandzawarjoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gelonus = pontus

console_command create_building Gelonus "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gergovia = pontus

console_command create_building Gergovia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gerrha = pontus

console_command create_building Gerrha "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gintaras_Ostan = pontus

console_command create_building Gintaras_Ostan "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Gordu_Neuriji = pontus

console_command create_building Gordu_Neuriji "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Halikarnassos = pontus

console_command create_building Halikarnassos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Hekatompylos = pontus

console_command create_building Hekatompylos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Hibis = pontus

console_command create_building Hibis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Hierosolyma = pontus

console_command create_building Hierosolyma "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Homna = pontus

console_command create_building Homna "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ictis = pontus

console_command create_building Ictis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ippone = pontus

console_command create_building Ippone "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ipsos = pontus

console_command create_building Ipsos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Iuvavoaeta = pontus

console_command create_building Iuvavoaeta "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ivernis = pontus

console_command create_building Ivernis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kabalaka = pontus

console_command create_building Kabalaka "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kallatis = pontus

console_command create_building Kallatis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Karali = pontus

console_command create_building Karali "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Karkathiokerta = pontus

console_command create_building Karkathiokerta "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Karmana = pontus

console_command create_building Karmana "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kart_Hadast = pontus

console_command create_building Kart_Hadast "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Khiva = pontus

console_command create_building Khiva "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kirtan = pontus

console_command create_building Kirtan "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kophen = pontus

console_command create_building Kophen "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Korinthos = pontus

console_command create_building Korinthos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kotais = pontus

console_command create_building Kotais "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kydonia = pontus

console_command create_building Kydonia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Kyrene = pontus

console_command create_building Kyrene "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Lemonum = pontus

console_command create_building Lemonum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Lepki = pontus

console_command create_building Lepki "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Lilibeo = pontus

console_command create_building Lilibeo "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Lucarottea = pontus

console_command create_building Lucarottea "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Marakanda = pontus

console_command create_building Marakanda "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Maryab = pontus

console_command create_building Maryab "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Massalia = pontus

console_command create_building Massalia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Mastia = pontus

console_command create_building Mastia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Mazaka = pontus

console_command create_building Mazaka "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Mediolanum = pontus

console_command create_building Mediolanum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Memphis = pontus

console_command create_building Memphis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Meroe = pontus

console_command create_building Meroe "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Messana = pontus

console_command create_building Messana "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Mtskheta = pontus

console_command create_building Mtskheta "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Mytilene = pontus

console_command create_building Mytilene "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Naissos = pontus

console_command create_building Naissos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Nikaia = pontus

console_command create_building Nikaia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Nisa = pontus

console_command create_building Nisa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Numantia = pontus

console_command create_building Numantia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Olbia = pontus

console_command create_building Olbia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Opiana = pontus

console_command create_building Opiana "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Oxtraca = pontus

console_command create_building Oxtraca "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Pallantia = pontus

console_command create_building Pallantia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Palmyra = pontus

console_command create_building Palmyra "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Pantikapaion = pontus

console_command create_building Pantikapaion "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Paraitonion = pontus

console_command create_building Paraitonion "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Patala = pontus

console_command create_building Patala "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Patavium = pontus

console_command create_building Patavium "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Pella = pontus

console_command create_building Pella "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Pergamon = pontus

console_command create_building Pergamon "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Persepolis = pontus

console_command create_building Persepolis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Petra = pontus

console_command create_building Petra "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Phraaspa = pontus

console_command create_building Phraaspa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Prophthasia = pontus

console_command create_building Prophthasia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Pselkis = pontus

console_command create_building Pselkis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ptolemais_Theron = pontus

console_command create_building Ptolemais_Theron "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Pura = pontus

console_command create_building Pura "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ratae = pontus

console_command create_building Ratae "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Rhegion = pontus

console_command create_building Rhegion "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Rhodos = pontus

console_command create_building Rhodos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Rome = pontus

console_command create_building Rome "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sabata = pontus

console_command create_building Sabata "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sala = pontus

console_command create_building Sala "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Salamis = pontus

console_command create_building Salamis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sardis = pontus

console_command create_building Sardis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sarmiszegethusa = pontus

console_command create_building Sarmiszegethusa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Segesta = pontus

console_command create_building Segesta "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Segestica = pontus

console_command create_building Segestica "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Seleukeia = pontus

console_command create_building Seleukeia "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Seliun_Pilis = pontus

console_command create_building Seliun_Pilis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Serdike = pontus

console_command create_building Serdike "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Side = pontus

console_command create_building Side "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sidon = pontus

console_command create_building Sidon "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Siga = pontus

console_command create_building Siga "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Singidunum = pontus

console_command create_building Singidunum "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sinope = pontus

console_command create_building Sinope "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sparte = pontus

console_command create_building Sparte "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sucum-Murgi = pontus

console_command create_building Sucum-Murgi "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Sulek = pontus

console_command create_building Sulek "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Susa = pontus

console_command create_building Susa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Swebotraustastamnoz = pontus

console_command create_building Swebotraustastamnoz "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Syracuse = pontus

console_command create_building Syracuse "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Taksashila = pontus

console_command create_building Taksashila "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Tamane = pontus

console_command create_building Tamane "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Tanais = pontus

console_command create_building Tanais "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Taras = pontus

console_command create_building Taras "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Tarsos = pontus

console_command create_building Tarsos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Terhazza = pontus

console_command create_building Terhazza "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Thermon = pontus

console_command create_building Thermon "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Lixus = pontus

console_command create_building Lixus "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Tolosa = pontus

console_command create_building Tolosa "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Trapezous = pontus

console_command create_building Trapezous "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Tuat = pontus

console_command create_building Tuat "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Tyde = pontus

console_command create_building Tyde "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Tylis = pontus

console_command create_building Tylis "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ubar = pontus

console_command create_building Ubar "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Uspe = pontus

console_command create_building Uspe "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Veldideno = pontus

console_command create_building Veldideno "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Vellika = pontus

console_command create_building Vellika "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Vesontio = pontus

console_command create_building Vesontio "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Viennos = pontus

console_command create_building Viennos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Vindelicoppidos = pontus

console_command create_building Vindelicoppidos "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Vindobona = pontus

console_command create_building Vindobona "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Ynys_Mon = pontus

console_command create_building Ynys_Mon "saka"

end_monitor



monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Saka_Reform = 1
and not SettlementBuildingExists = saka
and I_SettlementOwner Zadrakata = pontus

console_command create_building Zadrakata "saka"

end_monitor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2c: Roman Reforms
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Before all reforms

;Reform Counter 0 = Camilian , 1 = Polybian, 2 = Marius, 3 = Augustus Reforms
declare_counter Romanii_Reform

;Detect current reform
monitor_event SettlementTurnEnd SettlementBuildingExists = romani2
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists = romani4
and FactionType seleucid

	set_counter Romanii_Reform 1
	terminate_monitor

end_monitor

monitor_event SettlementTurnEnd SettlementBuildingExists = romani3
and not SettlementBuildingExists = romani4
and FactionType seleucid

	set_counter Romanii_Reform 2
	terminate_monitor

end_monitor

monitor_event SettlementTurnEnd SettlementBuildingExists = romani4
and FactionType seleucid

	set_counter Romanii_Reform 3
	terminate_monitor

end_monitor



; Counters triggering the advisor
;
declare_counter PolybianReformsAdvisor
declare_counter MarianReformsAdvisor
declare_counter AugustanReformsAdvisor


;Counters that count number of cities conquared
declare_counter GalCondition
declare_counter CartCondition

; Check Conditions
monitor_event FactionTurnEnd FactionType seleucid
and I_CompareCounter Romanii_Reform = 0
and I_TurnNumber > 120

	; Unconditional Player Reforms after 210BC
	if I_TurnNumber > 248
	and I_LocalFaction seleucid
		set_counter Romanii_Reform 1
		set_counter PolybianReformsAdvisor 1
		terminate_monitor
	end_if
	
	; Unconditional AI Reforms after 230BC
	if I_TurnNumber > 168
	and not I_LocalFaction seleucid
		set_counter Romanii_Reform 1
		terminate_monitor
	end_if
	
	; Conditional Reforms
	if I_SettlementOwner Segesta = seleucid
		inc_counter GalCondition 1
	end_if

	if I_SettlementOwner Mediolanum = seleucid
		inc_counter GalCondition 1
	end_if

	if I_SettlementOwner Patavium = seleucid
		inc_counter GalCondition 1
	end_if

	if I_SettlementOwner Bononia = seleucid
		inc_counter GalCondition 1
	end_if

	if I_SettlementOwner Lilibeo = seleucid
		inc_counter CartCondition 1
	end_if

	if I_SettlementOwner Messana = seleucid
		inc_counter CartCondition 1
	end_if

	if I_SettlementOwner Syracuse = seleucid
		inc_counter CartCondition 1
	end_if

	;Check if Reforms Conditions are met
	if I_CompareCounter CartCondition >= 2
	and I_CompareCounter GalCondition >= 2

		set_counter Romanii_Reform 1
		set_counter PolybianReformsAdvisor 1
		terminate_monitor

	end_if

	;Reset Counters
	set_counter CartCondition 0
	set_counter GalCondition 0

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; MARIAN TRIGGER

declare_counter Latifundia
declare_counter ReformatorCounter

; Count Latyfundium
monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 1
and FactionType seleucid
and SettlementBuildingExists = latifundium

	inc_counter Latifundia 1

end_monitor

;Unconditional Player Reforms 
monitor_event FactionTurnEnd FactionType seleucid
and FactionIsLocal
and I_CompareCounter Romanii_Reform = 1
and I_NumberOfSettlements seleucid > 89

	set_counter Romanii_Reform 2
	set_counter MarianReformsAdvisor 1

        terminate_monitor

end_monitor

;Unconditional AI Reforms
monitor_event FactionTurnEnd FactionType seleucid
and not FactionIsLocal
and I_CompareCounter Romanii_Reform = 1
and I_NumberOfSettlements seleucid > 20 

if RandomPercent < 6 
	set_counter Romanii_Reform 2
        terminate_monitor
end_if

end_monitor

;Conditional Reforms
monitor_event FactionTurnEnd FactionType seleucid
and I_CompareCounter Romanii_Reform = 1
and I_CompareCounter Latifundia > 6
and I_TurnNumber > 399
and I_NumberOfSettlements seleucid > 44
;and BattlesFought > 249
and I_CompareCounter ReformatorCounter = 1

set_counter Romanii_Reform 2
set_counter MarianReformsAdvisor 1
terminate_monitor

end_monitor

;Check for Marius wanabe
monitor_event CharacterTurnStart Trait Reformator > 0

	set_counter ReformatorCounter 1

end_monitor

;Reset Latyfundium Counter
monitor_event FactionTurnEnd FactionType seleucid
	set_counter Latifundia 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; Imperial trigger

declare_counter Romani
declare_counter AugustanReformatorCounter

monitor_event SettlementTurnStart BuildingExists = gov2
and FactionType seleucid
and I_CompareCounter Romanii_Reform = 2

inc_counter Romani 1

end_monitor

monitor_event FactionTurnEnd FactionType seleucid
and I_CompareCounter Romani > 54
and I_TurnNumber > 499
and I_NumberOfSettlements seleucid > 89
;and BattlesFought > 399
and I_CompareCounter Romanii_Reform = 2
and I_CompareCounter AugustanReformatorCounter = 1

	set_counter Romanii_Reform 3
	set_counter AugustanReformsAdvisor 1

end_monitor

monitor_event CharacterTurnStart Trait Augustus > 1

	set_counter AugustanReformatorCounter 1

end_monitor

monitor_event FactionTurnEnd FactionType seleucid
	set_counter Romani 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Polybian Placement

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Ariminum = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Ariminum "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Arpi = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Arpi "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Arretium = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Arretium "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Capua = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Capua "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Segesta = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Segesta "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Rome = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Rome "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Bononia = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Bononia "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Patavium = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Patavium "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Taras = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Taras "romani2"

end_monitor



monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 1
and I_SettlementOwner Rhegion = seleucid
and not SettlementBuildingExists = romani2

console_command create_building Rhegion "romani2"

end_monitor

;The advisor tells the player when the Polybian reforms have taken place.
monitor_event CharacterTurnStart FactionType seleucid
          and FactionIsLocal
          and I_CompareCounter PolybianReformsAdvisor = 1
    set_counter PolybianReformsAdvisor 0
    advance_advice_thread Polybian_Reforms_Thread
    terminate_monitor
end_monitor


monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Adrumeto = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Adrumeto "romani3"
console_command create_building Adrumeto "muster_field_B"
console_command set_building_health Adrumeto Barracks_A 0

end_monitor


;Marian Placement

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Adrumeto = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Adrumeto "romani3"
console_command create_building Adrumeto "militia_barracks_B1"
console_command set_building_health Adrumeto Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Adrumeto = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Adrumeto "romani3"
console_command create_building Adrumeto "city_barracks_B1"
console_command set_building_health Adrumeto Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Adrumeto = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Adrumeto "romani3"
console_command create_building Adrumeto "army_barracks_B1"
console_command set_building_health Adrumeto Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Adrumeto = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Adrumeto "romani3"
console_command create_building Adrumeto "royal_barracks_B1"
console_command set_building_health Adrumeto Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Adrumeto = seleucid

console_command set_building_health Adrumeto Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ak_Ink = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ak_Ink "romani3"
console_command create_building Ak_Ink "muster_field_B"
console_command set_building_health Ak_Ink Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ak_Ink = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ak_Ink "romani3"
console_command create_building Ak_Ink "militia_barracks_B1"
console_command set_building_health Ak_Ink Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ak_Ink = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ak_Ink "romani3"
console_command create_building Ak_Ink "city_barracks_B1"
console_command set_building_health Ak_Ink Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ak_Ink = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ak_Ink "romani3"
console_command create_building Ak_Ink "army_barracks_B1"
console_command set_building_health Ak_Ink Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ak_Ink = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ak_Ink "romani3"
console_command create_building Ak_Ink "royal_barracks_B1"
console_command set_building_health Ak_Ink Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ak_Ink = seleucid

console_command set_building_health Ak_Ink Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alalia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Alalia "romani3"
console_command create_building Alalia "muster_field_B"
console_command set_building_health Alalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alalia "romani3"
console_command create_building Alalia "militia_barracks_B1"
console_command set_building_health Alalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alalia "romani3"
console_command create_building Alalia "city_barracks_B1"
console_command set_building_health Alalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alalia "romani3"
console_command create_building Alalia "army_barracks_B1"
console_command set_building_health Alalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Alalia "romani3"
console_command create_building Alalia "royal_barracks_B1"
console_command set_building_health Alalia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Alalia = seleucid

console_command set_building_health Alalia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Alexandreia "romani3"
console_command create_building Alexandreia "muster_field_B"
console_command set_building_health Alexandreia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia "romani3"
console_command create_building Alexandreia "militia_barracks_B1"
console_command set_building_health Alexandreia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia "romani3"
console_command create_building Alexandreia "city_barracks_B1"
console_command set_building_health Alexandreia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia "romani3"
console_command create_building Alexandreia "army_barracks_B1"
console_command set_building_health Alexandreia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Alexandreia "romani3"
console_command create_building Alexandreia "royal_barracks_B1"
console_command set_building_health Alexandreia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Alexandreia = seleucid

console_command set_building_health Alexandreia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Ariana = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Alexandreia_Ariana "romani3"
console_command create_building Alexandreia_Ariana "muster_field_B"
console_command set_building_health Alexandreia_Ariana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Ariana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia_Ariana "romani3"
console_command create_building Alexandreia_Ariana "militia_barracks_B1"
console_command set_building_health Alexandreia_Ariana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Ariana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia_Ariana "romani3"
console_command create_building Alexandreia_Ariana "city_barracks_B1"
console_command set_building_health Alexandreia_Ariana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Ariana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia_Ariana "romani3"
console_command create_building Alexandreia_Ariana "army_barracks_B1"
console_command set_building_health Alexandreia_Ariana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Ariana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Alexandreia_Ariana "romani3"
console_command create_building Alexandreia_Ariana "royal_barracks_B1"
console_command set_building_health Alexandreia_Ariana Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Alexandreia_Ariana = seleucid

console_command set_building_health Alexandreia_Ariana Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Eschate = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Alexandreia_Eschate "romani3"
console_command create_building Alexandreia_Eschate "muster_field_B"
console_command set_building_health Alexandreia_Eschate Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Eschate = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia_Eschate "romani3"
console_command create_building Alexandreia_Eschate "militia_barracks_B1"
console_command set_building_health Alexandreia_Eschate Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Eschate = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia_Eschate "romani3"
console_command create_building Alexandreia_Eschate "city_barracks_B1"
console_command set_building_health Alexandreia_Eschate Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Eschate = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandreia_Eschate "romani3"
console_command create_building Alexandreia_Eschate "army_barracks_B1"
console_command set_building_health Alexandreia_Eschate Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandreia_Eschate = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Alexandreia_Eschate "romani3"
console_command create_building Alexandreia_Eschate "royal_barracks_B1"
console_command set_building_health Alexandreia_Eschate Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Alexandreia_Eschate = seleucid

console_command set_building_health Alexandreia_Eschate Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandropolis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Alexandropolis "romani3"
console_command create_building Alexandropolis "muster_field_B"
console_command set_building_health Alexandropolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandropolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandropolis "romani3"
console_command create_building Alexandropolis "militia_barracks_B1"
console_command set_building_health Alexandropolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandropolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandropolis "romani3"
console_command create_building Alexandropolis "city_barracks_B1"
console_command set_building_health Alexandropolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandropolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Alexandropolis "romani3"
console_command create_building Alexandropolis "army_barracks_B1"
console_command set_building_health Alexandropolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Alexandropolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Alexandropolis "romani3"
console_command create_building Alexandropolis "royal_barracks_B1"
console_command set_building_health Alexandropolis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Alexandropolis = seleucid

console_command set_building_health Alexandropolis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Amaseia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Amaseia "romani3"
console_command create_building Amaseia "muster_field_B"
console_command set_building_health Amaseia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Amaseia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Amaseia "romani3"
console_command create_building Amaseia "militia_barracks_B1"
console_command set_building_health Amaseia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Amaseia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Amaseia "romani3"
console_command create_building Amaseia "city_barracks_B1"
console_command set_building_health Amaseia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Amaseia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Amaseia "romani3"
console_command create_building Amaseia "army_barracks_B1"
console_command set_building_health Amaseia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Amaseia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Amaseia "romani3"
console_command create_building Amaseia "royal_barracks_B1"
console_command set_building_health Amaseia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Amaseia = seleucid

console_command set_building_health Amaseia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apollonia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Apollonia "romani3"
console_command create_building Apollonia "muster_field_B"
console_command set_building_health Apollonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apollonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Apollonia "romani3"
console_command create_building Apollonia "militia_barracks_B1"
console_command set_building_health Apollonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apollonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Apollonia "romani3"
console_command create_building Apollonia "city_barracks_B1"
console_command set_building_health Apollonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apollonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Apollonia "romani3"
console_command create_building Apollonia "army_barracks_B1"
console_command set_building_health Apollonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apollonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Apollonia "romani3"
console_command create_building Apollonia "royal_barracks_B1"
console_command set_building_health Apollonia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Apollonia = seleucid

console_command set_building_health Apollonia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ammonion = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ammonion "romani3"
console_command create_building Ammonion "muster_field_B"
console_command set_building_health Ammonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ammonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ammonion "romani3"
console_command create_building Ammonion "militia_barracks_B1"
console_command set_building_health Ammonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ammonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ammonion "romani3"
console_command create_building Ammonion "city_barracks_B1"
console_command set_building_health Ammonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ammonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ammonion "romani3"
console_command create_building Ammonion "army_barracks_B1"
console_command set_building_health Ammonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ammonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ammonion "romani3"
console_command create_building Ammonion "royal_barracks_B1"
console_command set_building_health Ammonion Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ammonion = seleucid

console_command set_building_health Ammonion Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ani-Kamah = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ani-Kamah "romani3"
console_command create_building Ani-Kamah "muster_field_B"
console_command set_building_health Ani-Kamah Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ani-Kamah = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ani-Kamah "romani3"
console_command create_building Ani-Kamah "militia_barracks_B1"
console_command set_building_health Ani-Kamah Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ani-Kamah = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ani-Kamah "romani3"
console_command create_building Ani-Kamah "city_barracks_B1"
console_command set_building_health Ani-Kamah Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ani-Kamah = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ani-Kamah "romani3"
console_command create_building Ani-Kamah "army_barracks_B1"
console_command set_building_health Ani-Kamah Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ani-Kamah = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ani-Kamah "romani3"
console_command create_building Ani-Kamah "royal_barracks_B1"
console_command set_building_health Ani-Kamah Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ani-Kamah = seleucid

console_command set_building_health Ani-Kamah Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ankyra = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ankyra "romani3"
console_command create_building Ankyra "muster_field_B"
console_command set_building_health Ankyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ankyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ankyra "romani3"
console_command create_building Ankyra "militia_barracks_B1"
console_command set_building_health Ankyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ankyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ankyra "romani3"
console_command create_building Ankyra "city_barracks_B1"
console_command set_building_health Ankyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ankyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ankyra "romani3"
console_command create_building Ankyra "army_barracks_B1"
console_command set_building_health Ankyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ankyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ankyra "romani3"
console_command create_building Ankyra "royal_barracks_B1"
console_command set_building_health Ankyra Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ankyra = seleucid

console_command set_building_health Ankyra Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Antiocheia "romani3"
console_command create_building Antiocheia "muster_field_B"
console_command set_building_health Antiocheia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Antiocheia "romani3"
console_command create_building Antiocheia "militia_barracks_B1"
console_command set_building_health Antiocheia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Antiocheia "romani3"
console_command create_building Antiocheia "city_barracks_B1"
console_command set_building_health Antiocheia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Antiocheia "romani3"
console_command create_building Antiocheia "army_barracks_B1"
console_command set_building_health Antiocheia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Antiocheia "romani3"
console_command create_building Antiocheia "royal_barracks_B1"
console_command set_building_health Antiocheia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Antiocheia = seleucid

console_command set_building_health Antiocheia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia_Margiane = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Antiocheia_Margiane "romani3"
console_command create_building Antiocheia_Margiane "muster_field_B"
console_command set_building_health Antiocheia_Margiane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia_Margiane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Antiocheia_Margiane "romani3"
console_command create_building Antiocheia_Margiane "militia_barracks_B1"
console_command set_building_health Antiocheia_Margiane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia_Margiane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Antiocheia_Margiane "romani3"
console_command create_building Antiocheia_Margiane "city_barracks_B1"
console_command set_building_health Antiocheia_Margiane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia_Margiane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Antiocheia_Margiane "romani3"
console_command create_building Antiocheia_Margiane "army_barracks_B1"
console_command set_building_health Antiocheia_Margiane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Antiocheia_Margiane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Antiocheia_Margiane "romani3"
console_command create_building Antiocheia_Margiane "royal_barracks_B1"
console_command set_building_health Antiocheia_Margiane Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Antiocheia_Margiane = seleucid

console_command set_building_health Antiocheia_Margiane Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apameia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Apameia "romani3"
console_command create_building Apameia "muster_field_B"
console_command set_building_health Apameia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apameia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Apameia "romani3"
console_command create_building Apameia "militia_barracks_B1"
console_command set_building_health Apameia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apameia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Apameia "romani3"
console_command create_building Apameia "city_barracks_B1"
console_command set_building_health Apameia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apameia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Apameia "romani3"
console_command create_building Apameia "army_barracks_B1"
console_command set_building_health Apameia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Apameia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Apameia "romani3"
console_command create_building Apameia "royal_barracks_B1"
console_command set_building_health Apameia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Apameia = seleucid

console_command set_building_health Apameia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arbela = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Arbela "romani3"
console_command create_building Arbela "muster_field_B"
console_command set_building_health Arbela Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arbela = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arbela "romani3"
console_command create_building Arbela "militia_barracks_B1"
console_command set_building_health Arbela Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arbela = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arbela "romani3"
console_command create_building Arbela "city_barracks_B1"
console_command set_building_health Arbela Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arbela = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arbela "romani3"
console_command create_building Arbela "army_barracks_B1"
console_command set_building_health Arbela Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arbela = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Arbela "romani3"
console_command create_building Arbela "royal_barracks_B1"
console_command set_building_health Arbela Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Arbela = seleucid

console_command set_building_health Arbela Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ariminum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ariminum "romani3"
console_command create_building Ariminum "muster_field_B"
console_command set_building_health Ariminum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ariminum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ariminum "romani3"
console_command create_building Ariminum "militia_barracks_B1"
console_command set_building_health Ariminum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ariminum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ariminum "romani3"
console_command create_building Ariminum "city_barracks_B1"
console_command set_building_health Ariminum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ariminum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ariminum "romani3"
console_command create_building Ariminum "army_barracks_B1"
console_command set_building_health Ariminum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ariminum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ariminum "romani3"
console_command create_building Ariminum "royal_barracks_B1"
console_command set_building_health Ariminum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ariminum = seleucid

console_command set_building_health Ariminum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Armavir = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Armavir "romani3"
console_command create_building Armavir "muster_field_B"
console_command set_building_health Armavir Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Armavir = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Armavir "romani3"
console_command create_building Armavir "militia_barracks_B1"
console_command set_building_health Armavir Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Armavir = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Armavir "romani3"
console_command create_building Armavir "city_barracks_B1"
console_command set_building_health Armavir Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Armavir = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Armavir "romani3"
console_command create_building Armavir "army_barracks_B1"
console_command set_building_health Armavir Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Armavir = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Armavir "romani3"
console_command create_building Armavir "royal_barracks_B1"
console_command set_building_health Armavir Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Armavir = seleucid

console_command set_building_health Armavir Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arpi = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Arpi "romani3"
console_command create_building Arpi "muster_field_B"
console_command set_building_health Arpi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arpi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arpi "romani3"
console_command create_building Arpi "militia_barracks_B1"
console_command set_building_health Arpi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arpi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arpi "romani3"
console_command create_building Arpi "city_barracks_B1"
console_command set_building_health Arpi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arpi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arpi "romani3"
console_command create_building Arpi "army_barracks_B1"
console_command set_building_health Arpi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arpi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Arpi "romani3"
console_command create_building Arpi "royal_barracks_B1"
console_command set_building_health Arpi Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Arpi = seleucid

console_command set_building_health Arpi Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arretium = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Arretium "romani3"
console_command create_building Arretium "muster_field_B"
console_command set_building_health Arretium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arretium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arretium "romani3"
console_command create_building Arretium "militia_barracks_B1"
console_command set_building_health Arretium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arretium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arretium "romani3"
console_command create_building Arretium "city_barracks_B1"
console_command set_building_health Arretium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arretium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arretium "romani3"
console_command create_building Arretium "army_barracks_B1"
console_command set_building_health Arretium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arretium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Arretium "romani3"
console_command create_building Arretium "royal_barracks_B1"
console_command set_building_health Arretium Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Arretium = seleucid

console_command set_building_health Arretium Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arse = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Arse "romani3"
console_command create_building Arse "muster_field_B"
console_command set_building_health Arse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arse "romani3"
console_command create_building Arse "militia_barracks_B1"
console_command set_building_health Arse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arse "romani3"
console_command create_building Arse "city_barracks_B1"
console_command set_building_health Arse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arse "romani3"
console_command create_building Arse "army_barracks_B1"
console_command set_building_health Arse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Arse "romani3"
console_command create_building Arse "royal_barracks_B1"
console_command set_building_health Arse Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Arse = seleucid

console_command set_building_health Arse Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asaak = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Asaak "romani3"
console_command create_building Asaak "muster_field_B"
console_command set_building_health Asaak Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asaak = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Asaak "romani3"
console_command create_building Asaak "militia_barracks_B1"
console_command set_building_health Asaak Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asaak = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Asaak "romani3"
console_command create_building Asaak "city_barracks_B1"
console_command set_building_health Asaak Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asaak = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Asaak "romani3"
console_command create_building Asaak "army_barracks_B1"
console_command set_building_health Asaak Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asaak = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Asaak "romani3"
console_command create_building Asaak "royal_barracks_B1"
console_command set_building_health Asaak Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Asaak = seleucid

console_command set_building_health Asaak Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ascaucalis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ascaucalis "romani3"
console_command create_building Ascaucalis "muster_field_B"
console_command set_building_health Ascaucalis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ascaucalis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ascaucalis "romani3"
console_command create_building Ascaucalis "militia_barracks_B1"
console_command set_building_health Ascaucalis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ascaucalis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ascaucalis "romani3"
console_command create_building Ascaucalis "city_barracks_B1"
console_command set_building_health Ascaucalis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ascaucalis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ascaucalis "romani3"
console_command create_building Ascaucalis "army_barracks_B1"
console_command set_building_health Ascaucalis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ascaucalis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ascaucalis "romani3"
console_command create_building Ascaucalis "royal_barracks_B1"
console_command set_building_health Ascaucalis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ascaucalis = seleucid

console_command set_building_health Ascaucalis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asodat = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Asodat "romani3"
console_command create_building Asodat "muster_field_B"
console_command set_building_health Asodat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asodat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Asodat "romani3"
console_command create_building Asodat "militia_barracks_B1"
console_command set_building_health Asodat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asodat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Asodat "romani3"
console_command create_building Asodat "city_barracks_B1"
console_command set_building_health Asodat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asodat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Asodat "romani3"
console_command create_building Asodat "army_barracks_B1"
console_command set_building_health Asodat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Asodat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Asodat "romani3"
console_command create_building Asodat "royal_barracks_B1"
console_command set_building_health Asodat Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Asodat = seleucid

console_command set_building_health Asodat Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Athenai = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Athenai "romani3"
console_command create_building Athenai "muster_field_B"
console_command set_building_health Athenai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Athenai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Athenai "romani3"
console_command create_building Athenai "militia_barracks_B1"
console_command set_building_health Athenai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Athenai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Athenai "romani3"
console_command create_building Athenai "city_barracks_B1"
console_command set_building_health Athenai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Athenai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Athenai "romani3"
console_command create_building Athenai "army_barracks_B1"
console_command set_building_health Athenai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Athenai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Athenai "romani3"
console_command create_building Athenai "royal_barracks_B1"
console_command set_building_health Athenai Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Athenai = seleucid

console_command set_building_health Athenai Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Attuaca = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Attuaca "romani3"
console_command create_building Attuaca "muster_field_B"
console_command set_building_health Attuaca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Attuaca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Attuaca "romani3"
console_command create_building Attuaca "militia_barracks_B1"
console_command set_building_health Attuaca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Attuaca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Attuaca "romani3"
console_command create_building Attuaca "city_barracks_B1"
console_command set_building_health Attuaca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Attuaca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Attuaca "romani3"
console_command create_building Attuaca "army_barracks_B1"
console_command set_building_health Attuaca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Attuaca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Attuaca "romani3"
console_command create_building Attuaca "royal_barracks_B1"
console_command set_building_health Attuaca Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Attuaca = seleucid

console_command set_building_health Attuaca Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Augila_settlement = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Augila_settlement "romani3"
console_command create_building Augila_settlement "muster_field_B"
console_command set_building_health Augila_settlement Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Augila_settlement = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Augila_settlement "romani3"
console_command create_building Augila_settlement "militia_barracks_B1"
console_command set_building_health Augila_settlement Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Augila_settlement = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Augila_settlement "romani3"
console_command create_building Augila_settlement "city_barracks_B1"
console_command set_building_health Augila_settlement Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Augila_settlement = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Augila_settlement "romani3"
console_command create_building Augila_settlement "army_barracks_B1"
console_command set_building_health Augila_settlement Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Augila_settlement = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Augila_settlement "romani3"
console_command create_building Augila_settlement "royal_barracks_B1"
console_command set_building_health Augila_settlement Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Augila_settlement = seleucid

console_command set_building_health Augila_settlement Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Avaricum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Avaricum "romani3"
console_command create_building Avaricum "muster_field_B"
console_command set_building_health Avaricum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Avaricum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Avaricum "romani3"
console_command create_building Avaricum "militia_barracks_B1"
console_command set_building_health Avaricum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Avaricum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Avaricum "romani3"
console_command create_building Avaricum "city_barracks_B1"
console_command set_building_health Avaricum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Avaricum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Avaricum "romani3"
console_command create_building Avaricum "army_barracks_B1"
console_command set_building_health Avaricum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Avaricum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Avaricum "romani3"
console_command create_building Avaricum "royal_barracks_B1"
console_command set_building_health Avaricum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Avaricum = seleucid

console_command set_building_health Avaricum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Aventicos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Aventicos "romani3"
console_command create_building Aventicos "muster_field_B"
console_command set_building_health Aventicos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Aventicos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Aventicos "romani3"
console_command create_building Aventicos "militia_barracks_B1"
console_command set_building_health Aventicos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Aventicos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Aventicos "romani3"
console_command create_building Aventicos "city_barracks_B1"
console_command set_building_health Aventicos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Aventicos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Aventicos "romani3"
console_command create_building Aventicos "army_barracks_B1"
console_command set_building_health Aventicos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Aventicos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Aventicos "romani3"
console_command create_building Aventicos "royal_barracks_B1"
console_command set_building_health Aventicos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Aventicos = seleucid

console_command set_building_health Aventicos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Axum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Axum "romani3"
console_command create_building Axum "muster_field_B"
console_command set_building_health Axum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Axum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Axum "romani3"
console_command create_building Axum "militia_barracks_B1"
console_command set_building_health Axum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Axum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Axum "romani3"
console_command create_building Axum "city_barracks_B1"
console_command set_building_health Axum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Axum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Axum "romani3"
console_command create_building Axum "army_barracks_B1"
console_command set_building_health Axum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Axum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Axum "romani3"
console_command create_building Axum "royal_barracks_B1"
console_command set_building_health Axum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Axum = seleucid

console_command set_building_health Axum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bagacos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Bagacos "romani3"
console_command create_building Bagacos "muster_field_B"
console_command set_building_health Bagacos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bagacos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bagacos "romani3"
console_command create_building Bagacos "militia_barracks_B1"
console_command set_building_health Bagacos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bagacos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bagacos "romani3"
console_command create_building Bagacos "city_barracks_B1"
console_command set_building_health Bagacos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bagacos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bagacos "romani3"
console_command create_building Bagacos "army_barracks_B1"
console_command set_building_health Bagacos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bagacos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Bagacos "romani3"
console_command create_building Bagacos "royal_barracks_B1"
console_command set_building_health Bagacos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Bagacos = seleucid

console_command set_building_health Bagacos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baikor = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Baikor "romani3"
console_command create_building Baikor "muster_field_B"
console_command set_building_health Baikor Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baikor = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Baikor "romani3"
console_command create_building Baikor "militia_barracks_B1"
console_command set_building_health Baikor Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baikor = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Baikor "romani3"
console_command create_building Baikor "city_barracks_B1"
console_command set_building_health Baikor Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baikor = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Baikor "romani3"
console_command create_building Baikor "army_barracks_B1"
console_command set_building_health Baikor Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baikor = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Baikor "romani3"
console_command create_building Baikor "royal_barracks_B1"
console_command set_building_health Baikor Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Baikor = seleucid

console_command set_building_health Baikor Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baktra = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Baktra "romani3"
console_command create_building Baktra "muster_field_B"
console_command set_building_health Baktra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baktra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Baktra "romani3"
console_command create_building Baktra "militia_barracks_B1"
console_command set_building_health Baktra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baktra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Baktra "romani3"
console_command create_building Baktra "city_barracks_B1"
console_command set_building_health Baktra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baktra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Baktra "romani3"
console_command create_building Baktra "army_barracks_B1"
console_command set_building_health Baktra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Baktra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Baktra "romani3"
console_command create_building Baktra "royal_barracks_B1"
console_command set_building_health Baktra Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Baktra = seleucid

console_command set_building_health Baktra Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bibracte = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Bibracte "romani3"
console_command create_building Bibracte "muster_field_B"
console_command set_building_health Bibracte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bibracte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bibracte "romani3"
console_command create_building Bibracte "militia_barracks_B1"
console_command set_building_health Bibracte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bibracte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bibracte "romani3"
console_command create_building Bibracte "city_barracks_B1"
console_command set_building_health Bibracte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bibracte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bibracte "romani3"
console_command create_building Bibracte "army_barracks_B1"
console_command set_building_health Bibracte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bibracte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Bibracte "romani3"
console_command create_building Bibracte "royal_barracks_B1"
console_command set_building_health Bibracte Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Bibracte = seleucid

console_command set_building_health Bibracte Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chach = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Chach "romani3"
console_command create_building Chach "muster_field_B"
console_command set_building_health Chach Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chach = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chach "romani3"
console_command create_building Chach "militia_barracks_B1"
console_command set_building_health Chach Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chach = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chach "romani3"
console_command create_building Chach "city_barracks_B1"
console_command set_building_health Chach Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chach = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chach "romani3"
console_command create_building Chach "army_barracks_B1"
console_command set_building_health Chach Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chach = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Chach "romani3"
console_command create_building Chach "royal_barracks_B1"
console_command set_building_health Chach Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Chach = seleucid

console_command set_building_health Chach Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bocchoris = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Bocchoris "romani3"
console_command create_building Bocchoris "muster_field_B"
console_command set_building_health Bocchoris Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bocchoris = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bocchoris "romani3"
console_command create_building Bocchoris "militia_barracks_B1"
console_command set_building_health Bocchoris Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bocchoris = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bocchoris "romani3"
console_command create_building Bocchoris "city_barracks_B1"
console_command set_building_health Bocchoris Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bocchoris = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bocchoris "romani3"
console_command create_building Bocchoris "army_barracks_B1"
console_command set_building_health Bocchoris Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bocchoris = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Bocchoris "romani3"
console_command create_building Bocchoris "royal_barracks_B1"
console_command set_building_health Bocchoris Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Bocchoris = seleucid

console_command set_building_health Bocchoris Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bononia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Bononia "romani3"
console_command create_building Bononia "muster_field_B"
console_command set_building_health Bononia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bononia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bononia "romani3"
console_command create_building Bononia "militia_barracks_B1"
console_command set_building_health Bononia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bononia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bononia "romani3"
console_command create_building Bononia "city_barracks_B1"
console_command set_building_health Bononia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bononia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bononia "romani3"
console_command create_building Bononia "army_barracks_B1"
console_command set_building_health Bononia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bononia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Bononia "romani3"
console_command create_building Bononia "royal_barracks_B1"
console_command set_building_health Bononia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Bononia = seleucid

console_command set_building_health Bononia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bostra = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Bostra "romani3"
console_command create_building Bostra "muster_field_B"
console_command set_building_health Bostra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bostra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bostra "romani3"
console_command create_building Bostra "militia_barracks_B1"
console_command set_building_health Bostra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bostra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bostra "romani3"
console_command create_building Bostra "city_barracks_B1"
console_command set_building_health Bostra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bostra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bostra "romani3"
console_command create_building Bostra "army_barracks_B1"
console_command set_building_health Bostra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bostra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Bostra "romani3"
console_command create_building Bostra "royal_barracks_B1"
console_command set_building_health Bostra Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Bostra = seleucid

console_command set_building_health Bostra Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bratosporios = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Bratosporios "romani3"
console_command create_building Bratosporios "muster_field_B"
console_command set_building_health Bratosporios Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bratosporios = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bratosporios "romani3"
console_command create_building Bratosporios "militia_barracks_B1"
console_command set_building_health Bratosporios Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bratosporios = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bratosporios "romani3"
console_command create_building Bratosporios "city_barracks_B1"
console_command set_building_health Bratosporios Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bratosporios = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Bratosporios "romani3"
console_command create_building Bratosporios "army_barracks_B1"
console_command set_building_health Bratosporios Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Bratosporios = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Bratosporios "romani3"
console_command create_building Bratosporios "royal_barracks_B1"
console_command set_building_health Bratosporios Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Bratosporios = seleucid

console_command set_building_health Bratosporios Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Burdigala = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Burdigala "romani3"
console_command create_building Burdigala "muster_field_B"
console_command set_building_health Burdigala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Burdigala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Burdigala "romani3"
console_command create_building Burdigala "militia_barracks_B1"
console_command set_building_health Burdigala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Burdigala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Burdigala "romani3"
console_command create_building Burdigala "city_barracks_B1"
console_command set_building_health Burdigala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Burdigala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Burdigala "romani3"
console_command create_building Burdigala "army_barracks_B1"
console_command set_building_health Burdigala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Burdigala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Burdigala "romani3"
console_command create_building Burdigala "royal_barracks_B1"
console_command set_building_health Burdigala Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Burdigala = seleucid

console_command set_building_health Burdigala Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Buridava = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Buridava "romani3"
console_command create_building Buridava "muster_field_B"
console_command set_building_health Buridava Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Buridava = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Buridava "romani3"
console_command create_building Buridava "militia_barracks_B1"
console_command set_building_health Buridava Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Buridava = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Buridava "romani3"
console_command create_building Buridava "city_barracks_B1"
console_command set_building_health Buridava Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Buridava = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Buridava "romani3"
console_command create_building Buridava "army_barracks_B1"
console_command set_building_health Buridava Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Buridava = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Buridava "romani3"
console_command create_building Buridava "royal_barracks_B1"
console_command set_building_health Buridava Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Buridava = seleucid

console_command set_building_health Buridava Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Byzantion = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Byzantion "romani3"
console_command create_building Byzantion "muster_field_B"
console_command set_building_health Byzantion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Byzantion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Byzantion "romani3"
console_command create_building Byzantion "militia_barracks_B1"
console_command set_building_health Byzantion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Byzantion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Byzantion "romani3"
console_command create_building Byzantion "city_barracks_B1"
console_command set_building_health Byzantion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Byzantion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Byzantion "romani3"
console_command create_building Byzantion "army_barracks_B1"
console_command set_building_health Byzantion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Byzantion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Byzantion "romani3"
console_command create_building Byzantion "royal_barracks_B1"
console_command set_building_health Byzantion Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Byzantion = seleucid

console_command set_building_health Byzantion Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Caern_Brigantae = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Caern_Brigantae "romani3"
console_command create_building Caern_Brigantae "muster_field_B"
console_command set_building_health Caern_Brigantae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Caern_Brigantae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Caern_Brigantae "romani3"
console_command create_building Caern_Brigantae "militia_barracks_B1"
console_command set_building_health Caern_Brigantae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Caern_Brigantae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Caern_Brigantae "romani3"
console_command create_building Caern_Brigantae "city_barracks_B1"
console_command set_building_health Caern_Brigantae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Caern_Brigantae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Caern_Brigantae "romani3"
console_command create_building Caern_Brigantae "army_barracks_B1"
console_command set_building_health Caern_Brigantae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Caern_Brigantae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Caern_Brigantae "romani3"
console_command create_building Caern_Brigantae "royal_barracks_B1"
console_command set_building_health Caern_Brigantae Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Caern_Brigantae = seleucid

console_command set_building_health Caern_Brigantae Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Camulosadae = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Camulosadae "romani3"
console_command create_building Camulosadae "muster_field_B"
console_command set_building_health Camulosadae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Camulosadae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Camulosadae "romani3"
console_command create_building Camulosadae "militia_barracks_B1"
console_command set_building_health Camulosadae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Camulosadae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Camulosadae "romani3"
console_command create_building Camulosadae "city_barracks_B1"
console_command set_building_health Camulosadae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Camulosadae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Camulosadae "romani3"
console_command create_building Camulosadae "army_barracks_B1"
console_command set_building_health Camulosadae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Camulosadae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Camulosadae "romani3"
console_command create_building Camulosadae "royal_barracks_B1"
console_command set_building_health Camulosadae Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Camulosadae = seleucid

console_command set_building_health Camulosadae Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Capua = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Capua "romani3"
console_command create_building Capua "muster_field_B"
console_command set_building_health Capua Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Capua = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Capua "romani3"
console_command create_building Capua "militia_barracks_B1"
console_command set_building_health Capua Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Capua = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Capua "romani3"
console_command create_building Capua "city_barracks_B1"
console_command set_building_health Capua Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Capua = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Capua "romani3"
console_command create_building Capua "army_barracks_B1"
console_command set_building_health Capua Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Capua = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Capua "romani3"
console_command create_building Capua "royal_barracks_B1"
console_command set_building_health Capua Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Capua = seleucid

console_command set_building_health Capua Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carna = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Carna "romani3"
console_command create_building Carna "muster_field_B"
console_command set_building_health Carna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Carna "romani3"
console_command create_building Carna "militia_barracks_B1"
console_command set_building_health Carna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Carna "romani3"
console_command create_building Carna "city_barracks_B1"
console_command set_building_health Carna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Carna "romani3"
console_command create_building Carna "army_barracks_B1"
console_command set_building_health Carna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Carna "romani3"
console_command create_building Carna "royal_barracks_B1"
console_command set_building_health Carna Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Carna = seleucid

console_command set_building_health Carna Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carrodunum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Carrodunum "romani3"
console_command create_building Carrodunum "muster_field_B"
console_command set_building_health Carrodunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carrodunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Carrodunum "romani3"
console_command create_building Carrodunum "militia_barracks_B1"
console_command set_building_health Carrodunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carrodunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Carrodunum "romani3"
console_command create_building Carrodunum "city_barracks_B1"
console_command set_building_health Carrodunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carrodunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Carrodunum "romani3"
console_command create_building Carrodunum "army_barracks_B1"
console_command set_building_health Carrodunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Carrodunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Carrodunum "romani3"
console_command create_building Carrodunum "royal_barracks_B1"
console_command set_building_health Carrodunum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Carrodunum = seleucid

console_command set_building_health Carrodunum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Cenabum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Cenabum "romani3"
console_command create_building Cenabum "muster_field_B"
console_command set_building_health Cenabum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Cenabum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Cenabum "romani3"
console_command create_building Cenabum "militia_barracks_B1"
console_command set_building_health Cenabum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Cenabum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Cenabum "romani3"
console_command create_building Cenabum "city_barracks_B1"
console_command set_building_health Cenabum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Cenabum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Cenabum "romani3"
console_command create_building Cenabum "army_barracks_B1"
console_command set_building_health Cenabum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Cenabum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Cenabum "romani3"
console_command create_building Cenabum "royal_barracks_B1"
console_command set_building_health Cenabum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Cenabum = seleucid

console_command set_building_health Cenabum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chalkis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Chalkis "romani3"
console_command create_building Chalkis "muster_field_B"
console_command set_building_health Chalkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chalkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chalkis "romani3"
console_command create_building Chalkis "militia_barracks_B1"
console_command set_building_health Chalkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chalkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chalkis "romani3"
console_command create_building Chalkis "city_barracks_B1"
console_command set_building_health Chalkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chalkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chalkis "romani3"
console_command create_building Chalkis "army_barracks_B1"
console_command set_building_health Chalkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chalkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Chalkis "romani3"
console_command create_building Chalkis "royal_barracks_B1"
console_command set_building_health Chalkis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Chalkis = seleucid

console_command set_building_health Chalkis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Charax = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Charax "romani3"
console_command create_building Charax "muster_field_B"
console_command set_building_health Charax Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Charax = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Charax "romani3"
console_command create_building Charax "militia_barracks_B1"
console_command set_building_health Charax Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Charax = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Charax "romani3"
console_command create_building Charax "city_barracks_B1"
console_command set_building_health Charax Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Charax = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Charax "romani3"
console_command create_building Charax "army_barracks_B1"
console_command set_building_health Charax Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Charax = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Charax "romani3"
console_command create_building Charax "royal_barracks_B1"
console_command set_building_health Charax Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Charax = seleucid

console_command set_building_health Charax Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chersonesos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Chersonesos "romani3"
console_command create_building Chersonesos "muster_field_B"
console_command set_building_health Chersonesos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chersonesos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chersonesos "romani3"
console_command create_building Chersonesos "militia_barracks_B1"
console_command set_building_health Chersonesos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chersonesos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chersonesos "romani3"
console_command create_building Chersonesos "city_barracks_B1"
console_command set_building_health Chersonesos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chersonesos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chersonesos "romani3"
console_command create_building Chersonesos "army_barracks_B1"
console_command set_building_health Chersonesos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chersonesos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Chersonesos "romani3"
console_command create_building Chersonesos "royal_barracks_B1"
console_command set_building_health Chersonesos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Chersonesos = seleucid

console_command set_building_health Chersonesos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chighu = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Chighu "romani3"
console_command create_building Chighu "muster_field_B"
console_command set_building_health Chighu Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chighu = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chighu "romani3"
console_command create_building Chighu "militia_barracks_B1"
console_command set_building_health Chighu Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chighu = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chighu "romani3"
console_command create_building Chighu "city_barracks_B1"
console_command set_building_health Chighu Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chighu = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Chighu "romani3"
console_command create_building Chighu "army_barracks_B1"
console_command set_building_health Chighu Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Chighu = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Chighu "romani3"
console_command create_building Chighu "royal_barracks_B1"
console_command set_building_health Chighu Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Chighu = seleucid

console_command set_building_health Chighu Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Atiqa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Atiqa "romani3"
console_command create_building Atiqa "muster_field_B"
console_command set_building_health Atiqa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Atiqa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Atiqa "romani3"
console_command create_building Atiqa "militia_barracks_B1"
console_command set_building_health Atiqa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Atiqa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Atiqa "romani3"
console_command create_building Atiqa "city_barracks_B1"
console_command set_building_health Atiqa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Atiqa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Atiqa "romani3"
console_command create_building Atiqa "army_barracks_B1"
console_command set_building_health Atiqa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Atiqa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Atiqa "romani3"
console_command create_building Atiqa "royal_barracks_B1"
console_command set_building_health Atiqa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Atiqa = seleucid

console_command set_building_health Atiqa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Dalminion = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Dalminion "romani3"
console_command create_building Dalminion "muster_field_B"
console_command set_building_health Dalminion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Dalminion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Dalminion "romani3"
console_command create_building Dalminion "militia_barracks_B1"
console_command set_building_health Dalminion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Dalminion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Dalminion "romani3"
console_command create_building Dalminion "city_barracks_B1"
console_command set_building_health Dalminion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Dalminion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Dalminion "romani3"
console_command create_building Dalminion "army_barracks_B1"
console_command set_building_health Dalminion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Dalminion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Dalminion "romani3"
console_command create_building Dalminion "royal_barracks_B1"
console_command set_building_health Dalminion Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Dalminion = seleucid

console_command set_building_health Dalminion Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Damaskos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Damaskos "romani3"
console_command create_building Damaskos "muster_field_B"
console_command set_building_health Damaskos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Damaskos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Damaskos "romani3"
console_command create_building Damaskos "militia_barracks_B1"
console_command set_building_health Damaskos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Damaskos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Damaskos "romani3"
console_command create_building Damaskos "city_barracks_B1"
console_command set_building_health Damaskos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Damaskos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Damaskos "romani3"
console_command create_building Damaskos "army_barracks_B1"
console_command set_building_health Damaskos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Damaskos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Damaskos "romani3"
console_command create_building Damaskos "royal_barracks_B1"
console_command set_building_health Damaskos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Damaskos = seleucid

console_command set_building_health Damaskos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Darioritum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Darioritum "romani3"
console_command create_building Darioritum "muster_field_B"
console_command set_building_health Darioritum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Darioritum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Darioritum "romani3"
console_command create_building Darioritum "militia_barracks_B1"
console_command set_building_health Darioritum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Darioritum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Darioritum "romani3"
console_command create_building Darioritum "city_barracks_B1"
console_command set_building_health Darioritum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Darioritum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Darioritum "romani3"
console_command create_building Darioritum "army_barracks_B1"
console_command set_building_health Darioritum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Darioritum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Darioritum "romani3"
console_command create_building Darioritum "royal_barracks_B1"
console_command set_building_health Darioritum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Darioritum = seleucid

console_command set_building_health Darioritum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Demetrias = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Demetrias "romani3"
console_command create_building Demetrias "muster_field_B"
console_command set_building_health Demetrias Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Demetrias = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Demetrias "romani3"
console_command create_building Demetrias "militia_barracks_B1"
console_command set_building_health Demetrias Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Demetrias = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Demetrias "romani3"
console_command create_building Demetrias "city_barracks_B1"
console_command set_building_health Demetrias Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Demetrias = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Demetrias "romani3"
console_command create_building Demetrias "army_barracks_B1"
console_command set_building_health Demetrias Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Demetrias = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Demetrias "romani3"
console_command create_building Demetrias "royal_barracks_B1"
console_command set_building_health Demetrias Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Demetrias = seleucid

console_command set_building_health Demetrias Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Diospolis_Megale = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Diospolis_Megale "romani3"
console_command create_building Diospolis_Megale "muster_field_B"
console_command set_building_health Diospolis_Megale Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Diospolis_Megale = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Diospolis_Megale "romani3"
console_command create_building Diospolis_Megale "militia_barracks_B1"
console_command set_building_health Diospolis_Megale Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Diospolis_Megale = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Diospolis_Megale "romani3"
console_command create_building Diospolis_Megale "city_barracks_B1"
console_command set_building_health Diospolis_Megale Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Diospolis_Megale = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Diospolis_Megale "romani3"
console_command create_building Diospolis_Megale "army_barracks_B1"
console_command set_building_health Diospolis_Megale Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Diospolis_Megale = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Diospolis_Megale "romani3"
console_command create_building Diospolis_Megale "royal_barracks_B1"
console_command set_building_health Diospolis_Megale Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Diospolis_Megale = seleucid

console_command set_building_health Diospolis_Megale Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Babylon = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Babylon "romani3"
console_command create_building Babylon "muster_field_B"
console_command set_building_health Babylon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Babylon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Babylon "romani3"
console_command create_building Babylon "militia_barracks_B1"
console_command set_building_health Babylon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Babylon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Babylon "romani3"
console_command create_building Babylon "city_barracks_B1"
console_command set_building_health Babylon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Babylon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Babylon "romani3"
console_command create_building Babylon "army_barracks_B1"
console_command set_building_health Babylon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Babylon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Babylon "romani3"
console_command create_building Babylon "royal_barracks_B1"
console_command set_building_health Babylon Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Babylon = seleucid

console_command set_building_health Babylon Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Eburonum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Eburonum "romani3"
console_command create_building Eburonum "muster_field_B"
console_command set_building_health Eburonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Eburonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Eburonum "romani3"
console_command create_building Eburonum "militia_barracks_B1"
console_command set_building_health Eburonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Eburonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Eburonum "romani3"
console_command create_building Eburonum "city_barracks_B1"
console_command set_building_health Eburonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Eburonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Eburonum "romani3"
console_command create_building Eburonum "army_barracks_B1"
console_command set_building_health Eburonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Eburonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Eburonum "romani3"
console_command create_building Eburonum "royal_barracks_B1"
console_command set_building_health Eburonum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Eburonum = seleucid

console_command set_building_health Eburonum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Edessa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Edessa "romani3"
console_command create_building Edessa "muster_field_B"
console_command set_building_health Edessa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Edessa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Edessa "romani3"
console_command create_building Edessa "militia_barracks_B1"
console_command set_building_health Edessa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Edessa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Edessa "romani3"
console_command create_building Edessa "city_barracks_B1"
console_command set_building_health Edessa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Edessa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Edessa "romani3"
console_command create_building Edessa "army_barracks_B1"
console_command set_building_health Edessa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Edessa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Edessa "romani3"
console_command create_building Edessa "royal_barracks_B1"
console_command set_building_health Edessa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Edessa = seleucid

console_command set_building_health Edessa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ekbatana = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ekbatana "romani3"
console_command create_building Ekbatana "muster_field_B"
console_command set_building_health Ekbatana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ekbatana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ekbatana "romani3"
console_command create_building Ekbatana "militia_barracks_B1"
console_command set_building_health Ekbatana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ekbatana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ekbatana "romani3"
console_command create_building Ekbatana "city_barracks_B1"
console_command set_building_health Ekbatana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ekbatana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ekbatana "romani3"
console_command create_building Ekbatana "army_barracks_B1"
console_command set_building_health Ekbatana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ekbatana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ekbatana "romani3"
console_command create_building Ekbatana "royal_barracks_B1"
console_command set_building_health Ekbatana Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ekbatana = seleucid

console_command set_building_health Ekbatana Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emain_Macha = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Emain_Macha "romani3"
console_command create_building Emain_Macha "muster_field_B"
console_command set_building_health Emain_Macha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emain_Macha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Emain_Macha "romani3"
console_command create_building Emain_Macha "militia_barracks_B1"
console_command set_building_health Emain_Macha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emain_Macha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Emain_Macha "romani3"
console_command create_building Emain_Macha "city_barracks_B1"
console_command set_building_health Emain_Macha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emain_Macha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Emain_Macha "romani3"
console_command create_building Emain_Macha "army_barracks_B1"
console_command set_building_health Emain_Macha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emain_Macha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Emain_Macha "romani3"
console_command create_building Emain_Macha "royal_barracks_B1"
console_command set_building_health Emain_Macha Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Emain_Macha = seleucid

console_command set_building_health Emain_Macha Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emporion = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Emporion "romani3"
console_command create_building Emporion "muster_field_B"
console_command set_building_health Emporion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emporion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Emporion "romani3"
console_command create_building Emporion "militia_barracks_B1"
console_command set_building_health Emporion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emporion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Emporion "romani3"
console_command create_building Emporion "city_barracks_B1"
console_command set_building_health Emporion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emporion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Emporion "romani3"
console_command create_building Emporion "army_barracks_B1"
console_command set_building_health Emporion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Emporion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Emporion "romani3"
console_command create_building Emporion "royal_barracks_B1"
console_command set_building_health Emporion Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Emporion = seleucid

console_command set_building_health Emporion Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Epidamnos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Epidamnos "romani3"
console_command create_building Epidamnos "muster_field_B"
console_command set_building_health Epidamnos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Epidamnos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Epidamnos "romani3"
console_command create_building Epidamnos "militia_barracks_B1"
console_command set_building_health Epidamnos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Epidamnos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Epidamnos "romani3"
console_command create_building Epidamnos "city_barracks_B1"
console_command set_building_health Epidamnos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Epidamnos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Epidamnos "romani3"
console_command create_building Epidamnos "army_barracks_B1"
console_command set_building_health Epidamnos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Epidamnos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Epidamnos "romani3"
console_command create_building Epidamnos "royal_barracks_B1"
console_command set_building_health Epidamnos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Epidamnos = seleucid

console_command set_building_health Epidamnos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gabai = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gabai "romani3"
console_command create_building Gabai "muster_field_B"
console_command set_building_health Gabai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gabai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gabai "romani3"
console_command create_building Gabai "militia_barracks_B1"
console_command set_building_health Gabai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gabai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gabai "romani3"
console_command create_building Gabai "city_barracks_B1"
console_command set_building_health Gabai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gabai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gabai "romani3"
console_command create_building Gabai "army_barracks_B1"
console_command set_building_health Gabai Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gabai = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gabai "romani3"
console_command create_building Gabai "royal_barracks_B1"
console_command set_building_health Gabai Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gabai = seleucid

console_command set_building_health Gabai Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gader = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gader "romani3"
console_command create_building Gader "muster_field_B"
console_command set_building_health Gader Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gader = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gader "romani3"
console_command create_building Gader "militia_barracks_B1"
console_command set_building_health Gader Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gader = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gader "romani3"
console_command create_building Gader "city_barracks_B1"
console_command set_building_health Gader Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gader = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gader "romani3"
console_command create_building Gader "army_barracks_B1"
console_command set_building_health Gader Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gader = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gader "romani3"
console_command create_building Gader "royal_barracks_B1"
console_command set_building_health Gader Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gader = seleucid

console_command set_building_health Gader Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Garama = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Garama "romani3"
console_command create_building Garama "muster_field_B"
console_command set_building_health Garama Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Garama = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Garama "romani3"
console_command create_building Garama "militia_barracks_B1"
console_command set_building_health Garama Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Garama = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Garama "romani3"
console_command create_building Garama "city_barracks_B1"
console_command set_building_health Garama Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Garama = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Garama "romani3"
console_command create_building Garama "army_barracks_B1"
console_command set_building_health Garama Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Garama = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Garama "romani3"
console_command create_building Garama "royal_barracks_B1"
console_command set_building_health Garama Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Garama = seleucid

console_command set_building_health Garama Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Alanna = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Alanna "romani3"
console_command create_building Gava_Alanna "muster_field_B"
console_command set_building_health Gava_Alanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Alanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Alanna "romani3"
console_command create_building Gava_Alanna "militia_barracks_B1"
console_command set_building_health Gava_Alanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Alanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Alanna "romani3"
console_command create_building Gava_Alanna "city_barracks_B1"
console_command set_building_health Gava_Alanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Alanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Alanna "romani3"
console_command create_building Gava_Alanna "army_barracks_B1"
console_command set_building_health Gava_Alanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Alanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Alanna "romani3"
console_command create_building Gava_Alanna "royal_barracks_B1"
console_command set_building_health Gava_Alanna Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Alanna = seleucid

console_command set_building_health Gava_Alanna Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Aursa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Aursa "romani3"
console_command create_building Gava_Aursa "muster_field_B"
console_command set_building_health Gava_Aursa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Aursa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Aursa "romani3"
console_command create_building Gava_Aursa "militia_barracks_B1"
console_command set_building_health Gava_Aursa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Aursa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Aursa "romani3"
console_command create_building Gava_Aursa "city_barracks_B1"
console_command set_building_health Gava_Aursa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Aursa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Aursa "romani3"
console_command create_building Gava_Aursa "army_barracks_B1"
console_command set_building_health Gava_Aursa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Aursa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Aursa "romani3"
console_command create_building Gava_Aursa "royal_barracks_B1"
console_command set_building_health Gava_Aursa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Aursa = seleucid

console_command set_building_health Gava_Aursa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Haomavarga = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Haomavarga "romani3"
console_command create_building Gava_Haomavarga "muster_field_B"
console_command set_building_health Gava_Haomavarga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Haomavarga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Haomavarga "romani3"
console_command create_building Gava_Haomavarga "militia_barracks_B1"
console_command set_building_health Gava_Haomavarga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Haomavarga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Haomavarga "romani3"
console_command create_building Gava_Haomavarga "city_barracks_B1"
console_command set_building_health Gava_Haomavarga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Haomavarga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Haomavarga "romani3"
console_command create_building Gava_Haomavarga "army_barracks_B1"
console_command set_building_health Gava_Haomavarga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Haomavarga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Haomavarga "romani3"
console_command create_building Gava_Haomavarga "royal_barracks_B1"
console_command set_building_health Gava_Haomavarga Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Haomavarga = seleucid

console_command set_building_health Gava_Haomavarga Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Mazsakata = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Mazsakata "romani3"
console_command create_building Gava_Mazsakata "muster_field_B"
console_command set_building_health Gava_Mazsakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Mazsakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Mazsakata "romani3"
console_command create_building Gava_Mazsakata "militia_barracks_B1"
console_command set_building_health Gava_Mazsakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Mazsakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Mazsakata "romani3"
console_command create_building Gava_Mazsakata "city_barracks_B1"
console_command set_building_health Gava_Mazsakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Mazsakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Mazsakata "romani3"
console_command create_building Gava_Mazsakata "army_barracks_B1"
console_command set_building_health Gava_Mazsakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Mazsakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Mazsakata "romani3"
console_command create_building Gava_Mazsakata "royal_barracks_B1"
console_command set_building_health Gava_Mazsakata Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Mazsakata = seleucid

console_command set_building_health Gava_Mazsakata Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Roxsalanna = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Roxsalanna "romani3"
console_command create_building Gava_Roxsalanna "muster_field_B"
console_command set_building_health Gava_Roxsalanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Roxsalanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Roxsalanna "romani3"
console_command create_building Gava_Roxsalanna "militia_barracks_B1"
console_command set_building_health Gava_Roxsalanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Roxsalanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Roxsalanna "romani3"
console_command create_building Gava_Roxsalanna "city_barracks_B1"
console_command set_building_health Gava_Roxsalanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Roxsalanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Roxsalanna "romani3"
console_command create_building Gava_Roxsalanna "army_barracks_B1"
console_command set_building_health Gava_Roxsalanna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Roxsalanna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Roxsalanna "romani3"
console_command create_building Gava_Roxsalanna "royal_barracks_B1"
console_command set_building_health Gava_Roxsalanna Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Roxsalanna = seleucid

console_command set_building_health Gava_Roxsalanna Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Saka = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Saka "romani3"
console_command create_building Gava_Saka "muster_field_B"
console_command set_building_health Gava_Saka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Saka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Saka "romani3"
console_command create_building Gava_Saka "militia_barracks_B1"
console_command set_building_health Gava_Saka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Saka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Saka "romani3"
console_command create_building Gava_Saka "city_barracks_B1"
console_command set_building_health Gava_Saka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Saka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Saka "romani3"
console_command create_building Gava_Saka "army_barracks_B1"
console_command set_building_health Gava_Saka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Saka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Saka "romani3"
console_command create_building Gava_Saka "royal_barracks_B1"
console_command set_building_health Gava_Saka Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Saka = seleucid

console_command set_building_health Gava_Saka Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Thissakata = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Thissakata "romani3"
console_command create_building Gava_Thissakata "muster_field_B"
console_command set_building_health Gava_Thissakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Thissakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Thissakata "romani3"
console_command create_building Gava_Thissakata "militia_barracks_B1"
console_command set_building_health Gava_Thissakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Thissakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Thissakata "romani3"
console_command create_building Gava_Thissakata "city_barracks_B1"
console_command set_building_health Gava_Thissakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Thissakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Thissakata "romani3"
console_command create_building Gava_Thissakata "army_barracks_B1"
console_command set_building_health Gava_Thissakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Thissakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Thissakata "romani3"
console_command create_building Gava_Thissakata "royal_barracks_B1"
console_command set_building_health Gava_Thissakata Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Thissakata = seleucid

console_command set_building_health Gava_Thissakata Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yazyga = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Yazyga "romani3"
console_command create_building Gava_Yazyga "muster_field_B"
console_command set_building_health Gava_Yazyga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yazyga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Yazyga "romani3"
console_command create_building Gava_Yazyga "militia_barracks_B1"
console_command set_building_health Gava_Yazyga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yazyga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Yazyga "romani3"
console_command create_building Gava_Yazyga "city_barracks_B1"
console_command set_building_health Gava_Yazyga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yazyga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Yazyga "romani3"
console_command create_building Gava_Yazyga "army_barracks_B1"
console_command set_building_health Gava_Yazyga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yazyga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Yazyga "romani3"
console_command create_building Gava_Yazyga "royal_barracks_B1"
console_command set_building_health Gava_Yazyga Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Yazyga = seleucid

console_command set_building_health Gava_Yazyga Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yugra = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gava_Yugra "romani3"
console_command create_building Gava_Yugra "muster_field_B"
console_command set_building_health Gava_Yugra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yugra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Yugra "romani3"
console_command create_building Gava_Yugra "militia_barracks_B1"
console_command set_building_health Gava_Yugra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yugra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Yugra "romani3"
console_command create_building Gava_Yugra "city_barracks_B1"
console_command set_building_health Gava_Yugra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yugra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gava_Yugra "romani3"
console_command create_building Gava_Yugra "army_barracks_B1"
console_command set_building_health Gava_Yugra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gava_Yugra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gava_Yugra "romani3"
console_command create_building Gava_Yugra "royal_barracks_B1"
console_command set_building_health Gava_Yugra Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gava_Yugra = seleucid

console_command set_building_health Gava_Yugra Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Bastarnoz "romani3"
console_command create_building Gawjam_Bastarnoz "muster_field_B"
console_command set_building_health Gawjam_Bastarnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Bastarnoz "romani3"
console_command create_building Gawjam_Bastarnoz "militia_barracks_B1"
console_command set_building_health Gawjam_Bastarnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Bastarnoz "romani3"
console_command create_building Gawjam_Bastarnoz "city_barracks_B1"
console_command set_building_health Gawjam_Bastarnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Bastarnoz "romani3"
console_command create_building Gawjam_Bastarnoz "army_barracks_B1"
console_command set_building_health Gawjam_Bastarnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Bastarnoz "romani3"
console_command create_building Gawjam_Bastarnoz "royal_barracks_B1"
console_command set_building_health Gawjam_Bastarnoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Bastarnoz = seleucid

console_command set_building_health Gawjam_Bastarnoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Gotanoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Gotanoz "romani3"
console_command create_building Gawjam_Gotanoz "muster_field_B"
console_command set_building_health Gawjam_Gotanoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Gotanoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Gotanoz "romani3"
console_command create_building Gawjam_Gotanoz "militia_barracks_B1"
console_command set_building_health Gawjam_Gotanoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Gotanoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Gotanoz "romani3"
console_command create_building Gawjam_Gotanoz "city_barracks_B1"
console_command set_building_health Gawjam_Gotanoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Gotanoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Gotanoz "romani3"
console_command create_building Gawjam_Gotanoz "army_barracks_B1"
console_command set_building_health Gawjam_Gotanoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Gotanoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Gotanoz "romani3"
console_command create_building Gawjam_Gotanoz "royal_barracks_B1"
console_command set_building_health Gawjam_Gotanoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Gotanoz = seleucid

console_command set_building_health Gawjam_Gotanoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Habukoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Habukoz "romani3"
console_command create_building Gawjam_Habukoz "muster_field_B"
console_command set_building_health Gawjam_Habukoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Habukoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Habukoz "romani3"
console_command create_building Gawjam_Habukoz "militia_barracks_B1"
console_command set_building_health Gawjam_Habukoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Habukoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Habukoz "romani3"
console_command create_building Gawjam_Habukoz "city_barracks_B1"
console_command set_building_health Gawjam_Habukoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Habukoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Habukoz "romani3"
console_command create_building Gawjam_Habukoz "army_barracks_B1"
console_command set_building_health Gawjam_Habukoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Habukoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Habukoz "romani3"
console_command create_building Gawjam_Habukoz "royal_barracks_B1"
console_command set_building_health Gawjam_Habukoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Habukoz = seleucid

console_command set_building_health Gawjam_Habukoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arctaunon = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Arctaunon "romani3"
console_command create_building Arctaunon "muster_field_B"
console_command set_building_health Arctaunon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arctaunon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arctaunon "romani3"
console_command create_building Arctaunon "militia_barracks_B1"
console_command set_building_health Arctaunon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arctaunon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arctaunon "romani3"
console_command create_building Arctaunon "city_barracks_B1"
console_command set_building_health Arctaunon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arctaunon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Arctaunon "romani3"
console_command create_building Arctaunon "army_barracks_B1"
console_command set_building_health Arctaunon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Arctaunon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Arctaunon "romani3"
console_command create_building Arctaunon "royal_barracks_B1"
console_command set_building_health Arctaunon Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Arctaunon = seleucid

console_command set_building_health Arctaunon Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Heruskoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Heruskoz "romani3"
console_command create_building Gawjam_Heruskoz "muster_field_B"
console_command set_building_health Gawjam_Heruskoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Heruskoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Heruskoz "romani3"
console_command create_building Gawjam_Heruskoz "militia_barracks_B1"
console_command set_building_health Gawjam_Heruskoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Heruskoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Heruskoz "romani3"
console_command create_building Gawjam_Heruskoz "city_barracks_B1"
console_command set_building_health Gawjam_Heruskoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Heruskoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Heruskoz "romani3"
console_command create_building Gawjam_Heruskoz "army_barracks_B1"
console_command set_building_health Gawjam_Heruskoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Heruskoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Heruskoz "romani3"
console_command create_building Gawjam_Heruskoz "royal_barracks_B1"
console_command set_building_health Gawjam_Heruskoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Heruskoz = seleucid

console_command set_building_health Gawjam_Heruskoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Kimbroz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Kimbroz "romani3"
console_command create_building Gawjam_Kimbroz "muster_field_B"
console_command set_building_health Gawjam_Kimbroz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Kimbroz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Kimbroz "romani3"
console_command create_building Gawjam_Kimbroz "militia_barracks_B1"
console_command set_building_health Gawjam_Kimbroz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Kimbroz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Kimbroz "romani3"
console_command create_building Gawjam_Kimbroz "city_barracks_B1"
console_command set_building_health Gawjam_Kimbroz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Kimbroz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Kimbroz "romani3"
console_command create_building Gawjam_Kimbroz "army_barracks_B1"
console_command set_building_health Gawjam_Kimbroz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Kimbroz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Kimbroz "romani3"
console_command create_building Gawjam_Kimbroz "royal_barracks_B1"
console_command set_building_health Gawjam_Kimbroz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Kimbroz = seleucid

console_command set_building_health Gawjam_Kimbroz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Rugoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Rugoz "romani3"
console_command create_building Gawjam_Rugoz "muster_field_B"
console_command set_building_health Gawjam_Rugoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Rugoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Rugoz "romani3"
console_command create_building Gawjam_Rugoz "militia_barracks_B1"
console_command set_building_health Gawjam_Rugoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Rugoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Rugoz "romani3"
console_command create_building Gawjam_Rugoz "city_barracks_B1"
console_command set_building_health Gawjam_Rugoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Rugoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Rugoz "romani3"
console_command create_building Gawjam_Rugoz "army_barracks_B1"
console_command set_building_health Gawjam_Rugoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Rugoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Rugoz "romani3"
console_command create_building Gawjam_Rugoz "royal_barracks_B1"
console_command set_building_health Gawjam_Rugoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Rugoz = seleucid

console_command set_building_health Gawjam_Rugoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Silengoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Silengoz "romani3"
console_command create_building Gawjam_Silengoz "muster_field_B"
console_command set_building_health Gawjam_Silengoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Silengoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Silengoz "romani3"
console_command create_building Gawjam_Silengoz "militia_barracks_B1"
console_command set_building_health Gawjam_Silengoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Silengoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Silengoz "romani3"
console_command create_building Gawjam_Silengoz "city_barracks_B1"
console_command set_building_health Gawjam_Silengoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Silengoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Silengoz "romani3"
console_command create_building Gawjam_Silengoz "army_barracks_B1"
console_command set_building_health Gawjam_Silengoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Silengoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Silengoz "romani3"
console_command create_building Gawjam_Silengoz "royal_barracks_B1"
console_command set_building_health Gawjam_Silengoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Silengoz = seleucid

console_command set_building_health Gawjam_Silengoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gawjam_Skandzawarjoz "romani3"
console_command create_building Gawjam_Skandzawarjoz "muster_field_B"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Skandzawarjoz "romani3"
console_command create_building Gawjam_Skandzawarjoz "militia_barracks_B1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Skandzawarjoz "romani3"
console_command create_building Gawjam_Skandzawarjoz "city_barracks_B1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gawjam_Skandzawarjoz "romani3"
console_command create_building Gawjam_Skandzawarjoz "army_barracks_B1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gawjam_Skandzawarjoz "romani3"
console_command create_building Gawjam_Skandzawarjoz "royal_barracks_B1"
console_command set_building_health Gawjam_Skandzawarjoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid

console_command set_building_health Gawjam_Skandzawarjoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gelonus = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gelonus "romani3"
console_command create_building Gelonus "muster_field_B"
console_command set_building_health Gelonus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gelonus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gelonus "romani3"
console_command create_building Gelonus "militia_barracks_B1"
console_command set_building_health Gelonus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gelonus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gelonus "romani3"
console_command create_building Gelonus "city_barracks_B1"
console_command set_building_health Gelonus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gelonus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gelonus "romani3"
console_command create_building Gelonus "army_barracks_B1"
console_command set_building_health Gelonus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gelonus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gelonus "romani3"
console_command create_building Gelonus "royal_barracks_B1"
console_command set_building_health Gelonus Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gelonus = seleucid

console_command set_building_health Gelonus Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gergovia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gergovia "romani3"
console_command create_building Gergovia "muster_field_B"
console_command set_building_health Gergovia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gergovia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gergovia "romani3"
console_command create_building Gergovia "militia_barracks_B1"
console_command set_building_health Gergovia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gergovia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gergovia "romani3"
console_command create_building Gergovia "city_barracks_B1"
console_command set_building_health Gergovia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gergovia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gergovia "romani3"
console_command create_building Gergovia "army_barracks_B1"
console_command set_building_health Gergovia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gergovia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gergovia "romani3"
console_command create_building Gergovia "royal_barracks_B1"
console_command set_building_health Gergovia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gergovia = seleucid

console_command set_building_health Gergovia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gerrha = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gerrha "romani3"
console_command create_building Gerrha "muster_field_B"
console_command set_building_health Gerrha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gerrha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gerrha "romani3"
console_command create_building Gerrha "militia_barracks_B1"
console_command set_building_health Gerrha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gerrha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gerrha "romani3"
console_command create_building Gerrha "city_barracks_B1"
console_command set_building_health Gerrha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gerrha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gerrha "romani3"
console_command create_building Gerrha "army_barracks_B1"
console_command set_building_health Gerrha Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gerrha = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gerrha "romani3"
console_command create_building Gerrha "royal_barracks_B1"
console_command set_building_health Gerrha Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gerrha = seleucid

console_command set_building_health Gerrha Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gintaras_Ostan = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gintaras_Ostan "romani3"
console_command create_building Gintaras_Ostan "muster_field_B"
console_command set_building_health Gintaras_Ostan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gintaras_Ostan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gintaras_Ostan "romani3"
console_command create_building Gintaras_Ostan "militia_barracks_B1"
console_command set_building_health Gintaras_Ostan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gintaras_Ostan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gintaras_Ostan "romani3"
console_command create_building Gintaras_Ostan "city_barracks_B1"
console_command set_building_health Gintaras_Ostan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gintaras_Ostan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gintaras_Ostan "romani3"
console_command create_building Gintaras_Ostan "army_barracks_B1"
console_command set_building_health Gintaras_Ostan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gintaras_Ostan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gintaras_Ostan "romani3"
console_command create_building Gintaras_Ostan "royal_barracks_B1"
console_command set_building_health Gintaras_Ostan Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gintaras_Ostan = seleucid

console_command set_building_health Gintaras_Ostan Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gordu_Neuriji = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Gordu_Neuriji "romani3"
console_command create_building Gordu_Neuriji "muster_field_B"
console_command set_building_health Gordu_Neuriji Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gordu_Neuriji = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gordu_Neuriji "romani3"
console_command create_building Gordu_Neuriji "militia_barracks_B1"
console_command set_building_health Gordu_Neuriji Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gordu_Neuriji = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gordu_Neuriji "romani3"
console_command create_building Gordu_Neuriji "city_barracks_B1"
console_command set_building_health Gordu_Neuriji Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gordu_Neuriji = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Gordu_Neuriji "romani3"
console_command create_building Gordu_Neuriji "army_barracks_B1"
console_command set_building_health Gordu_Neuriji Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Gordu_Neuriji = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Gordu_Neuriji "romani3"
console_command create_building Gordu_Neuriji "royal_barracks_B1"
console_command set_building_health Gordu_Neuriji Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Gordu_Neuriji = seleucid

console_command set_building_health Gordu_Neuriji Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Halikarnassos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Halikarnassos "romani3"
console_command create_building Halikarnassos "muster_field_B"
console_command set_building_health Halikarnassos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Halikarnassos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Halikarnassos "romani3"
console_command create_building Halikarnassos "militia_barracks_B1"
console_command set_building_health Halikarnassos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Halikarnassos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Halikarnassos "romani3"
console_command create_building Halikarnassos "city_barracks_B1"
console_command set_building_health Halikarnassos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Halikarnassos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Halikarnassos "romani3"
console_command create_building Halikarnassos "army_barracks_B1"
console_command set_building_health Halikarnassos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Halikarnassos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Halikarnassos "romani3"
console_command create_building Halikarnassos "royal_barracks_B1"
console_command set_building_health Halikarnassos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Halikarnassos = seleucid

console_command set_building_health Halikarnassos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hekatompylos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Hekatompylos "romani3"
console_command create_building Hekatompylos "muster_field_B"
console_command set_building_health Hekatompylos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hekatompylos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hekatompylos "romani3"
console_command create_building Hekatompylos "militia_barracks_B1"
console_command set_building_health Hekatompylos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hekatompylos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hekatompylos "romani3"
console_command create_building Hekatompylos "city_barracks_B1"
console_command set_building_health Hekatompylos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hekatompylos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hekatompylos "romani3"
console_command create_building Hekatompylos "army_barracks_B1"
console_command set_building_health Hekatompylos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hekatompylos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Hekatompylos "romani3"
console_command create_building Hekatompylos "royal_barracks_B1"
console_command set_building_health Hekatompylos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Hekatompylos = seleucid

console_command set_building_health Hekatompylos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hibis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Hibis "romani3"
console_command create_building Hibis "muster_field_B"
console_command set_building_health Hibis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hibis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hibis "romani3"
console_command create_building Hibis "militia_barracks_B1"
console_command set_building_health Hibis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hibis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hibis "romani3"
console_command create_building Hibis "city_barracks_B1"
console_command set_building_health Hibis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hibis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hibis "romani3"
console_command create_building Hibis "army_barracks_B1"
console_command set_building_health Hibis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hibis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Hibis "romani3"
console_command create_building Hibis "royal_barracks_B1"
console_command set_building_health Hibis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Hibis = seleucid

console_command set_building_health Hibis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hierosolyma = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Hierosolyma "romani3"
console_command create_building Hierosolyma "muster_field_B"
console_command set_building_health Hierosolyma Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hierosolyma = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hierosolyma "romani3"
console_command create_building Hierosolyma "militia_barracks_B1"
console_command set_building_health Hierosolyma Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hierosolyma = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hierosolyma "romani3"
console_command create_building Hierosolyma "city_barracks_B1"
console_command set_building_health Hierosolyma Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hierosolyma = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Hierosolyma "romani3"
console_command create_building Hierosolyma "army_barracks_B1"
console_command set_building_health Hierosolyma Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Hierosolyma = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Hierosolyma "romani3"
console_command create_building Hierosolyma "royal_barracks_B1"
console_command set_building_health Hierosolyma Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Hierosolyma = seleucid

console_command set_building_health Hierosolyma Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Homna = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Homna "romani3"
console_command create_building Homna "muster_field_B"
console_command set_building_health Homna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Homna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Homna "romani3"
console_command create_building Homna "militia_barracks_B1"
console_command set_building_health Homna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Homna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Homna "romani3"
console_command create_building Homna "city_barracks_B1"
console_command set_building_health Homna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Homna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Homna "romani3"
console_command create_building Homna "army_barracks_B1"
console_command set_building_health Homna Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Homna = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Homna "romani3"
console_command create_building Homna "royal_barracks_B1"
console_command set_building_health Homna Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Homna = seleucid

console_command set_building_health Homna Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ictis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ictis "romani3"
console_command create_building Ictis "muster_field_B"
console_command set_building_health Ictis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ictis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ictis "romani3"
console_command create_building Ictis "militia_barracks_B1"
console_command set_building_health Ictis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ictis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ictis "romani3"
console_command create_building Ictis "city_barracks_B1"
console_command set_building_health Ictis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ictis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ictis "romani3"
console_command create_building Ictis "army_barracks_B1"
console_command set_building_health Ictis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ictis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ictis "romani3"
console_command create_building Ictis "royal_barracks_B1"
console_command set_building_health Ictis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ictis = seleucid

console_command set_building_health Ictis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ippone = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ippone "romani3"
console_command create_building Ippone "muster_field_B"
console_command set_building_health Ippone Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ippone = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ippone "romani3"
console_command create_building Ippone "militia_barracks_B1"
console_command set_building_health Ippone Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ippone = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ippone "romani3"
console_command create_building Ippone "city_barracks_B1"
console_command set_building_health Ippone Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ippone = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ippone "romani3"
console_command create_building Ippone "army_barracks_B1"
console_command set_building_health Ippone Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ippone = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ippone "romani3"
console_command create_building Ippone "royal_barracks_B1"
console_command set_building_health Ippone Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ippone = seleucid

console_command set_building_health Ippone Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ipsos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ipsos "romani3"
console_command create_building Ipsos "muster_field_B"
console_command set_building_health Ipsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ipsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ipsos "romani3"
console_command create_building Ipsos "militia_barracks_B1"
console_command set_building_health Ipsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ipsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ipsos "romani3"
console_command create_building Ipsos "city_barracks_B1"
console_command set_building_health Ipsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ipsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ipsos "romani3"
console_command create_building Ipsos "army_barracks_B1"
console_command set_building_health Ipsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ipsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ipsos "romani3"
console_command create_building Ipsos "royal_barracks_B1"
console_command set_building_health Ipsos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ipsos = seleucid

console_command set_building_health Ipsos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Iuvavoaeta = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Iuvavoaeta "romani3"
console_command create_building Iuvavoaeta "muster_field_B"
console_command set_building_health Iuvavoaeta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Iuvavoaeta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Iuvavoaeta "romani3"
console_command create_building Iuvavoaeta "militia_barracks_B1"
console_command set_building_health Iuvavoaeta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Iuvavoaeta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Iuvavoaeta "romani3"
console_command create_building Iuvavoaeta "city_barracks_B1"
console_command set_building_health Iuvavoaeta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Iuvavoaeta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Iuvavoaeta "romani3"
console_command create_building Iuvavoaeta "army_barracks_B1"
console_command set_building_health Iuvavoaeta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Iuvavoaeta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Iuvavoaeta "romani3"
console_command create_building Iuvavoaeta "royal_barracks_B1"
console_command set_building_health Iuvavoaeta Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Iuvavoaeta = seleucid

console_command set_building_health Iuvavoaeta Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ivernis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ivernis "romani3"
console_command create_building Ivernis "muster_field_B"
console_command set_building_health Ivernis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ivernis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ivernis "romani3"
console_command create_building Ivernis "militia_barracks_B1"
console_command set_building_health Ivernis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ivernis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ivernis "romani3"
console_command create_building Ivernis "city_barracks_B1"
console_command set_building_health Ivernis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ivernis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ivernis "romani3"
console_command create_building Ivernis "army_barracks_B1"
console_command set_building_health Ivernis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ivernis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ivernis "romani3"
console_command create_building Ivernis "royal_barracks_B1"
console_command set_building_health Ivernis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ivernis = seleucid

console_command set_building_health Ivernis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kabalaka = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kabalaka "romani3"
console_command create_building Kabalaka "muster_field_B"
console_command set_building_health Kabalaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kabalaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kabalaka "romani3"
console_command create_building Kabalaka "militia_barracks_B1"
console_command set_building_health Kabalaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kabalaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kabalaka "romani3"
console_command create_building Kabalaka "city_barracks_B1"
console_command set_building_health Kabalaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kabalaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kabalaka "romani3"
console_command create_building Kabalaka "army_barracks_B1"
console_command set_building_health Kabalaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kabalaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kabalaka "romani3"
console_command create_building Kabalaka "royal_barracks_B1"
console_command set_building_health Kabalaka Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kabalaka = seleucid

console_command set_building_health Kabalaka Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kallatis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kallatis "romani3"
console_command create_building Kallatis "muster_field_B"
console_command set_building_health Kallatis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kallatis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kallatis "romani3"
console_command create_building Kallatis "militia_barracks_B1"
console_command set_building_health Kallatis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kallatis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kallatis "romani3"
console_command create_building Kallatis "city_barracks_B1"
console_command set_building_health Kallatis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kallatis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kallatis "romani3"
console_command create_building Kallatis "army_barracks_B1"
console_command set_building_health Kallatis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kallatis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kallatis "romani3"
console_command create_building Kallatis "royal_barracks_B1"
console_command set_building_health Kallatis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kallatis = seleucid

console_command set_building_health Kallatis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karali = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Karali "romani3"
console_command create_building Karali "muster_field_B"
console_command set_building_health Karali Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karali = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karali "romani3"
console_command create_building Karali "militia_barracks_B1"
console_command set_building_health Karali Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karali = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karali "romani3"
console_command create_building Karali "city_barracks_B1"
console_command set_building_health Karali Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karali = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karali "romani3"
console_command create_building Karali "army_barracks_B1"
console_command set_building_health Karali Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karali = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Karali "romani3"
console_command create_building Karali "royal_barracks_B1"
console_command set_building_health Karali Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Karali = seleucid

console_command set_building_health Karali Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karkathiokerta = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Karkathiokerta "romani3"
console_command create_building Karkathiokerta "muster_field_B"
console_command set_building_health Karkathiokerta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karkathiokerta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karkathiokerta "romani3"
console_command create_building Karkathiokerta "militia_barracks_B1"
console_command set_building_health Karkathiokerta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karkathiokerta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karkathiokerta "romani3"
console_command create_building Karkathiokerta "city_barracks_B1"
console_command set_building_health Karkathiokerta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karkathiokerta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karkathiokerta "romani3"
console_command create_building Karkathiokerta "army_barracks_B1"
console_command set_building_health Karkathiokerta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karkathiokerta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Karkathiokerta "romani3"
console_command create_building Karkathiokerta "royal_barracks_B1"
console_command set_building_health Karkathiokerta Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Karkathiokerta = seleucid

console_command set_building_health Karkathiokerta Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karmana = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Karmana "romani3"
console_command create_building Karmana "muster_field_B"
console_command set_building_health Karmana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karmana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karmana "romani3"
console_command create_building Karmana "militia_barracks_B1"
console_command set_building_health Karmana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karmana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karmana "romani3"
console_command create_building Karmana "city_barracks_B1"
console_command set_building_health Karmana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karmana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Karmana "romani3"
console_command create_building Karmana "army_barracks_B1"
console_command set_building_health Karmana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Karmana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Karmana "romani3"
console_command create_building Karmana "royal_barracks_B1"
console_command set_building_health Karmana Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Karmana = seleucid

console_command set_building_health Karmana Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kart_Hadast = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kart_Hadast "romani3"
console_command create_building Kart_Hadast "muster_field_B"
console_command set_building_health Kart_Hadast Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kart_Hadast = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kart_Hadast "romani3"
console_command create_building Kart_Hadast "militia_barracks_B1"
console_command set_building_health Kart_Hadast Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kart_Hadast = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kart_Hadast "romani3"
console_command create_building Kart_Hadast "city_barracks_B1"
console_command set_building_health Kart_Hadast Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kart_Hadast = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kart_Hadast "romani3"
console_command create_building Kart_Hadast "army_barracks_B1"
console_command set_building_health Kart_Hadast Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kart_Hadast = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kart_Hadast "romani3"
console_command create_building Kart_Hadast "royal_barracks_B1"
console_command set_building_health Kart_Hadast Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kart_Hadast = seleucid

console_command set_building_health Kart_Hadast Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Khiva = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Khiva "romani3"
console_command create_building Khiva "muster_field_B"
console_command set_building_health Khiva Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Khiva = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Khiva "romani3"
console_command create_building Khiva "militia_barracks_B1"
console_command set_building_health Khiva Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Khiva = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Khiva "romani3"
console_command create_building Khiva "city_barracks_B1"
console_command set_building_health Khiva Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Khiva = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Khiva "romani3"
console_command create_building Khiva "army_barracks_B1"
console_command set_building_health Khiva Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Khiva = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Khiva "romani3"
console_command create_building Khiva "royal_barracks_B1"
console_command set_building_health Khiva Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Khiva = seleucid

console_command set_building_health Khiva Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kirtan = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kirtan "romani3"
console_command create_building Kirtan "muster_field_B"
console_command set_building_health Kirtan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kirtan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kirtan "romani3"
console_command create_building Kirtan "militia_barracks_B1"
console_command set_building_health Kirtan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kirtan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kirtan "romani3"
console_command create_building Kirtan "city_barracks_B1"
console_command set_building_health Kirtan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kirtan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kirtan "romani3"
console_command create_building Kirtan "army_barracks_B1"
console_command set_building_health Kirtan Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kirtan = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kirtan "romani3"
console_command create_building Kirtan "royal_barracks_B1"
console_command set_building_health Kirtan Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kirtan = seleucid

console_command set_building_health Kirtan Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kophen = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kophen "romani3"
console_command create_building Kophen "muster_field_B"
console_command set_building_health Kophen Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kophen = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kophen "romani3"
console_command create_building Kophen "militia_barracks_B1"
console_command set_building_health Kophen Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kophen = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kophen "romani3"
console_command create_building Kophen "city_barracks_B1"
console_command set_building_health Kophen Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kophen = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kophen "romani3"
console_command create_building Kophen "army_barracks_B1"
console_command set_building_health Kophen Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kophen = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kophen "romani3"
console_command create_building Kophen "royal_barracks_B1"
console_command set_building_health Kophen Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kophen = seleucid

console_command set_building_health Kophen Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Korinthos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Korinthos "romani3"
console_command create_building Korinthos "muster_field_B"
console_command set_building_health Korinthos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Korinthos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Korinthos "romani3"
console_command create_building Korinthos "militia_barracks_B1"
console_command set_building_health Korinthos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Korinthos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Korinthos "romani3"
console_command create_building Korinthos "city_barracks_B1"
console_command set_building_health Korinthos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Korinthos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Korinthos "romani3"
console_command create_building Korinthos "army_barracks_B1"
console_command set_building_health Korinthos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Korinthos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Korinthos "romani3"
console_command create_building Korinthos "royal_barracks_B1"
console_command set_building_health Korinthos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Korinthos = seleucid

console_command set_building_health Korinthos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kotais = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kotais "romani3"
console_command create_building Kotais "muster_field_B"
console_command set_building_health Kotais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kotais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kotais "romani3"
console_command create_building Kotais "militia_barracks_B1"
console_command set_building_health Kotais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kotais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kotais "romani3"
console_command create_building Kotais "city_barracks_B1"
console_command set_building_health Kotais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kotais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kotais "romani3"
console_command create_building Kotais "army_barracks_B1"
console_command set_building_health Kotais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kotais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kotais "romani3"
console_command create_building Kotais "royal_barracks_B1"
console_command set_building_health Kotais Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kotais = seleucid

console_command set_building_health Kotais Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kydonia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kydonia "romani3"
console_command create_building Kydonia "muster_field_B"
console_command set_building_health Kydonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kydonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kydonia "romani3"
console_command create_building Kydonia "militia_barracks_B1"
console_command set_building_health Kydonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kydonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kydonia "romani3"
console_command create_building Kydonia "city_barracks_B1"
console_command set_building_health Kydonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kydonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kydonia "romani3"
console_command create_building Kydonia "army_barracks_B1"
console_command set_building_health Kydonia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kydonia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kydonia "romani3"
console_command create_building Kydonia "royal_barracks_B1"
console_command set_building_health Kydonia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kydonia = seleucid

console_command set_building_health Kydonia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kyrene = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Kyrene "romani3"
console_command create_building Kyrene "muster_field_B"
console_command set_building_health Kyrene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kyrene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kyrene "romani3"
console_command create_building Kyrene "militia_barracks_B1"
console_command set_building_health Kyrene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kyrene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kyrene "romani3"
console_command create_building Kyrene "city_barracks_B1"
console_command set_building_health Kyrene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kyrene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Kyrene "romani3"
console_command create_building Kyrene "army_barracks_B1"
console_command set_building_health Kyrene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Kyrene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Kyrene "romani3"
console_command create_building Kyrene "royal_barracks_B1"
console_command set_building_health Kyrene Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Kyrene = seleucid

console_command set_building_health Kyrene Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lemonum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Lemonum "romani3"
console_command create_building Lemonum "muster_field_B"
console_command set_building_health Lemonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lemonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lemonum "romani3"
console_command create_building Lemonum "militia_barracks_B1"
console_command set_building_health Lemonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lemonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lemonum "romani3"
console_command create_building Lemonum "city_barracks_B1"
console_command set_building_health Lemonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lemonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lemonum "romani3"
console_command create_building Lemonum "army_barracks_B1"
console_command set_building_health Lemonum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lemonum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Lemonum "romani3"
console_command create_building Lemonum "royal_barracks_B1"
console_command set_building_health Lemonum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Lemonum = seleucid

console_command set_building_health Lemonum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lepki = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Lepki "romani3"
console_command create_building Lepki "muster_field_B"
console_command set_building_health Lepki Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lepki = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lepki "romani3"
console_command create_building Lepki "militia_barracks_B1"
console_command set_building_health Lepki Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lepki = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lepki "romani3"
console_command create_building Lepki "city_barracks_B1"
console_command set_building_health Lepki Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lepki = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lepki "romani3"
console_command create_building Lepki "army_barracks_B1"
console_command set_building_health Lepki Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lepki = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Lepki "romani3"
console_command create_building Lepki "royal_barracks_B1"
console_command set_building_health Lepki Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Lepki = seleucid

console_command set_building_health Lepki Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lilibeo = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Lilibeo "romani3"
console_command create_building Lilibeo "muster_field_B"
console_command set_building_health Lilibeo Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lilibeo = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lilibeo "romani3"
console_command create_building Lilibeo "militia_barracks_B1"
console_command set_building_health Lilibeo Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lilibeo = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lilibeo "romani3"
console_command create_building Lilibeo "city_barracks_B1"
console_command set_building_health Lilibeo Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lilibeo = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lilibeo "romani3"
console_command create_building Lilibeo "army_barracks_B1"
console_command set_building_health Lilibeo Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lilibeo = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Lilibeo "romani3"
console_command create_building Lilibeo "royal_barracks_B1"
console_command set_building_health Lilibeo Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Lilibeo = seleucid

console_command set_building_health Lilibeo Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lucarottea = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Lucarottea "romani3"
console_command create_building Lucarottea "muster_field_B"
console_command set_building_health Lucarottea Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lucarottea = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lucarottea "romani3"
console_command create_building Lucarottea "militia_barracks_B1"
console_command set_building_health Lucarottea Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lucarottea = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lucarottea "romani3"
console_command create_building Lucarottea "city_barracks_B1"
console_command set_building_health Lucarottea Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lucarottea = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lucarottea "romani3"
console_command create_building Lucarottea "army_barracks_B1"
console_command set_building_health Lucarottea Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lucarottea = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Lucarottea "romani3"
console_command create_building Lucarottea "royal_barracks_B1"
console_command set_building_health Lucarottea Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Lucarottea = seleucid

console_command set_building_health Lucarottea Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Marakanda = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Marakanda "romani3"
console_command create_building Marakanda "muster_field_B"
console_command set_building_health Marakanda Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Marakanda = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Marakanda "romani3"
console_command create_building Marakanda "militia_barracks_B1"
console_command set_building_health Marakanda Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Marakanda = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Marakanda "romani3"
console_command create_building Marakanda "city_barracks_B1"
console_command set_building_health Marakanda Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Marakanda = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Marakanda "romani3"
console_command create_building Marakanda "army_barracks_B1"
console_command set_building_health Marakanda Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Marakanda = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Marakanda "romani3"
console_command create_building Marakanda "royal_barracks_B1"
console_command set_building_health Marakanda Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Marakanda = seleucid

console_command set_building_health Marakanda Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Maryab = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Maryab "romani3"
console_command create_building Maryab "muster_field_B"
console_command set_building_health Maryab Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Maryab = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Maryab "romani3"
console_command create_building Maryab "militia_barracks_B1"
console_command set_building_health Maryab Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Maryab = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Maryab "romani3"
console_command create_building Maryab "city_barracks_B1"
console_command set_building_health Maryab Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Maryab = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Maryab "romani3"
console_command create_building Maryab "army_barracks_B1"
console_command set_building_health Maryab Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Maryab = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Maryab "romani3"
console_command create_building Maryab "royal_barracks_B1"
console_command set_building_health Maryab Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Maryab = seleucid

console_command set_building_health Maryab Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Massalia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Massalia "romani3"
console_command create_building Massalia "muster_field_B"
console_command set_building_health Massalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Massalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Massalia "romani3"
console_command create_building Massalia "militia_barracks_B1"
console_command set_building_health Massalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Massalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Massalia "romani3"
console_command create_building Massalia "city_barracks_B1"
console_command set_building_health Massalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Massalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Massalia "romani3"
console_command create_building Massalia "army_barracks_B1"
console_command set_building_health Massalia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Massalia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Massalia "romani3"
console_command create_building Massalia "royal_barracks_B1"
console_command set_building_health Massalia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Massalia = seleucid

console_command set_building_health Massalia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mastia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Mastia "romani3"
console_command create_building Mastia "muster_field_B"
console_command set_building_health Mastia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mastia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mastia "romani3"
console_command create_building Mastia "militia_barracks_B1"
console_command set_building_health Mastia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mastia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mastia "romani3"
console_command create_building Mastia "city_barracks_B1"
console_command set_building_health Mastia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mastia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mastia "romani3"
console_command create_building Mastia "army_barracks_B1"
console_command set_building_health Mastia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mastia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Mastia "romani3"
console_command create_building Mastia "royal_barracks_B1"
console_command set_building_health Mastia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Mastia = seleucid

console_command set_building_health Mastia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mazaka = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Mazaka "romani3"
console_command create_building Mazaka "muster_field_B"
console_command set_building_health Mazaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mazaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mazaka "romani3"
console_command create_building Mazaka "militia_barracks_B1"
console_command set_building_health Mazaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mazaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mazaka "romani3"
console_command create_building Mazaka "city_barracks_B1"
console_command set_building_health Mazaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mazaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mazaka "romani3"
console_command create_building Mazaka "army_barracks_B1"
console_command set_building_health Mazaka Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mazaka = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Mazaka "romani3"
console_command create_building Mazaka "royal_barracks_B1"
console_command set_building_health Mazaka Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Mazaka = seleucid

console_command set_building_health Mazaka Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mediolanum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Mediolanum "romani3"
console_command create_building Mediolanum "muster_field_B"
console_command set_building_health Mediolanum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mediolanum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mediolanum "romani3"
console_command create_building Mediolanum "militia_barracks_B1"
console_command set_building_health Mediolanum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mediolanum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mediolanum "romani3"
console_command create_building Mediolanum "city_barracks_B1"
console_command set_building_health Mediolanum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mediolanum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mediolanum "romani3"
console_command create_building Mediolanum "army_barracks_B1"
console_command set_building_health Mediolanum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mediolanum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Mediolanum "romani3"
console_command create_building Mediolanum "royal_barracks_B1"
console_command set_building_health Mediolanum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Mediolanum = seleucid

console_command set_building_health Mediolanum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Memphis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Memphis "romani3"
console_command create_building Memphis "muster_field_B"
console_command set_building_health Memphis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Memphis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Memphis "romani3"
console_command create_building Memphis "militia_barracks_B1"
console_command set_building_health Memphis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Memphis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Memphis "romani3"
console_command create_building Memphis "city_barracks_B1"
console_command set_building_health Memphis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Memphis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Memphis "romani3"
console_command create_building Memphis "army_barracks_B1"
console_command set_building_health Memphis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Memphis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Memphis "romani3"
console_command create_building Memphis "royal_barracks_B1"
console_command set_building_health Memphis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Memphis = seleucid

console_command set_building_health Memphis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Meroe = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Meroe "romani3"
console_command create_building Meroe "muster_field_B"
console_command set_building_health Meroe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Meroe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Meroe "romani3"
console_command create_building Meroe "militia_barracks_B1"
console_command set_building_health Meroe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Meroe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Meroe "romani3"
console_command create_building Meroe "city_barracks_B1"
console_command set_building_health Meroe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Meroe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Meroe "romani3"
console_command create_building Meroe "army_barracks_B1"
console_command set_building_health Meroe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Meroe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Meroe "romani3"
console_command create_building Meroe "royal_barracks_B1"
console_command set_building_health Meroe Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Meroe = seleucid

console_command set_building_health Meroe Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Messana = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Messana "romani3"
console_command create_building Messana "muster_field_B"
console_command set_building_health Messana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Messana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Messana "romani3"
console_command create_building Messana "militia_barracks_B1"
console_command set_building_health Messana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Messana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Messana "romani3"
console_command create_building Messana "city_barracks_B1"
console_command set_building_health Messana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Messana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Messana "romani3"
console_command create_building Messana "army_barracks_B1"
console_command set_building_health Messana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Messana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Messana "romani3"
console_command create_building Messana "royal_barracks_B1"
console_command set_building_health Messana Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Messana = seleucid

console_command set_building_health Messana Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mtskheta = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Mtskheta "romani3"
console_command create_building Mtskheta "muster_field_B"
console_command set_building_health Mtskheta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mtskheta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mtskheta "romani3"
console_command create_building Mtskheta "militia_barracks_B1"
console_command set_building_health Mtskheta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mtskheta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mtskheta "romani3"
console_command create_building Mtskheta "city_barracks_B1"
console_command set_building_health Mtskheta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mtskheta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mtskheta "romani3"
console_command create_building Mtskheta "army_barracks_B1"
console_command set_building_health Mtskheta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mtskheta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Mtskheta "romani3"
console_command create_building Mtskheta "royal_barracks_B1"
console_command set_building_health Mtskheta Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Mtskheta = seleucid

console_command set_building_health Mtskheta Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mytilene = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Mytilene "romani3"
console_command create_building Mytilene "muster_field_B"
console_command set_building_health Mytilene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mytilene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mytilene "romani3"
console_command create_building Mytilene "militia_barracks_B1"
console_command set_building_health Mytilene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mytilene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mytilene "romani3"
console_command create_building Mytilene "city_barracks_B1"
console_command set_building_health Mytilene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mytilene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Mytilene "romani3"
console_command create_building Mytilene "army_barracks_B1"
console_command set_building_health Mytilene Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Mytilene = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Mytilene "romani3"
console_command create_building Mytilene "royal_barracks_B1"
console_command set_building_health Mytilene Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Mytilene = seleucid

console_command set_building_health Mytilene Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Naissos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Naissos "romani3"
console_command create_building Naissos "muster_field_B"
console_command set_building_health Naissos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Naissos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Naissos "romani3"
console_command create_building Naissos "militia_barracks_B1"
console_command set_building_health Naissos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Naissos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Naissos "romani3"
console_command create_building Naissos "city_barracks_B1"
console_command set_building_health Naissos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Naissos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Naissos "romani3"
console_command create_building Naissos "army_barracks_B1"
console_command set_building_health Naissos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Naissos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Naissos "romani3"
console_command create_building Naissos "royal_barracks_B1"
console_command set_building_health Naissos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Naissos = seleucid

console_command set_building_health Naissos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nikaia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Nikaia "romani3"
console_command create_building Nikaia "muster_field_B"
console_command set_building_health Nikaia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nikaia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Nikaia "romani3"
console_command create_building Nikaia "militia_barracks_B1"
console_command set_building_health Nikaia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nikaia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Nikaia "romani3"
console_command create_building Nikaia "city_barracks_B1"
console_command set_building_health Nikaia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nikaia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Nikaia "romani3"
console_command create_building Nikaia "army_barracks_B1"
console_command set_building_health Nikaia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nikaia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Nikaia "romani3"
console_command create_building Nikaia "royal_barracks_B1"
console_command set_building_health Nikaia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Nikaia = seleucid

console_command set_building_health Nikaia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nisa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Nisa "romani3"
console_command create_building Nisa "muster_field_B"
console_command set_building_health Nisa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nisa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Nisa "romani3"
console_command create_building Nisa "militia_barracks_B1"
console_command set_building_health Nisa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nisa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Nisa "romani3"
console_command create_building Nisa "city_barracks_B1"
console_command set_building_health Nisa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nisa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Nisa "romani3"
console_command create_building Nisa "army_barracks_B1"
console_command set_building_health Nisa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Nisa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Nisa "romani3"
console_command create_building Nisa "royal_barracks_B1"
console_command set_building_health Nisa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Nisa = seleucid

console_command set_building_health Nisa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Numantia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Numantia "romani3"
console_command create_building Numantia "muster_field_B"
console_command set_building_health Numantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Numantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Numantia "romani3"
console_command create_building Numantia "militia_barracks_B1"
console_command set_building_health Numantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Numantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Numantia "romani3"
console_command create_building Numantia "city_barracks_B1"
console_command set_building_health Numantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Numantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Numantia "romani3"
console_command create_building Numantia "army_barracks_B1"
console_command set_building_health Numantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Numantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Numantia "romani3"
console_command create_building Numantia "royal_barracks_B1"
console_command set_building_health Numantia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Numantia = seleucid

console_command set_building_health Numantia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Olbia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Olbia "romani3"
console_command create_building Olbia "muster_field_B"
console_command set_building_health Olbia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Olbia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Olbia "romani3"
console_command create_building Olbia "militia_barracks_B1"
console_command set_building_health Olbia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Olbia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Olbia "romani3"
console_command create_building Olbia "city_barracks_B1"
console_command set_building_health Olbia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Olbia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Olbia "romani3"
console_command create_building Olbia "army_barracks_B1"
console_command set_building_health Olbia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Olbia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Olbia "romani3"
console_command create_building Olbia "royal_barracks_B1"
console_command set_building_health Olbia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Olbia = seleucid

console_command set_building_health Olbia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Opiana = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Opiana "romani3"
console_command create_building Opiana "muster_field_B"
console_command set_building_health Opiana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Opiana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Opiana "romani3"
console_command create_building Opiana "militia_barracks_B1"
console_command set_building_health Opiana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Opiana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Opiana "romani3"
console_command create_building Opiana "city_barracks_B1"
console_command set_building_health Opiana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Opiana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Opiana "romani3"
console_command create_building Opiana "army_barracks_B1"
console_command set_building_health Opiana Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Opiana = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Opiana "romani3"
console_command create_building Opiana "royal_barracks_B1"
console_command set_building_health Opiana Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Opiana = seleucid

console_command set_building_health Opiana Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Oxtraca = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Oxtraca "romani3"
console_command create_building Oxtraca "muster_field_B"
console_command set_building_health Oxtraca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Oxtraca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Oxtraca "romani3"
console_command create_building Oxtraca "militia_barracks_B1"
console_command set_building_health Oxtraca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Oxtraca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Oxtraca "romani3"
console_command create_building Oxtraca "city_barracks_B1"
console_command set_building_health Oxtraca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Oxtraca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Oxtraca "romani3"
console_command create_building Oxtraca "army_barracks_B1"
console_command set_building_health Oxtraca Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Oxtraca = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Oxtraca "romani3"
console_command create_building Oxtraca "royal_barracks_B1"
console_command set_building_health Oxtraca Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Oxtraca = seleucid

console_command set_building_health Oxtraca Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pallantia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Pallantia "romani3"
console_command create_building Pallantia "muster_field_B"
console_command set_building_health Pallantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pallantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pallantia "romani3"
console_command create_building Pallantia "militia_barracks_B1"
console_command set_building_health Pallantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pallantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pallantia "romani3"
console_command create_building Pallantia "city_barracks_B1"
console_command set_building_health Pallantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pallantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pallantia "romani3"
console_command create_building Pallantia "army_barracks_B1"
console_command set_building_health Pallantia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pallantia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Pallantia "romani3"
console_command create_building Pallantia "royal_barracks_B1"
console_command set_building_health Pallantia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Pallantia = seleucid

console_command set_building_health Pallantia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Palmyra = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Palmyra "romani3"
console_command create_building Palmyra "muster_field_B"
console_command set_building_health Palmyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Palmyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Palmyra "romani3"
console_command create_building Palmyra "militia_barracks_B1"
console_command set_building_health Palmyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Palmyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Palmyra "romani3"
console_command create_building Palmyra "city_barracks_B1"
console_command set_building_health Palmyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Palmyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Palmyra "romani3"
console_command create_building Palmyra "army_barracks_B1"
console_command set_building_health Palmyra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Palmyra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Palmyra "romani3"
console_command create_building Palmyra "royal_barracks_B1"
console_command set_building_health Palmyra Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Palmyra = seleucid

console_command set_building_health Palmyra Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pantikapaion = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Pantikapaion "romani3"
console_command create_building Pantikapaion "muster_field_B"
console_command set_building_health Pantikapaion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pantikapaion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pantikapaion "romani3"
console_command create_building Pantikapaion "militia_barracks_B1"
console_command set_building_health Pantikapaion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pantikapaion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pantikapaion "romani3"
console_command create_building Pantikapaion "city_barracks_B1"
console_command set_building_health Pantikapaion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pantikapaion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pantikapaion "romani3"
console_command create_building Pantikapaion "army_barracks_B1"
console_command set_building_health Pantikapaion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pantikapaion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Pantikapaion "romani3"
console_command create_building Pantikapaion "royal_barracks_B1"
console_command set_building_health Pantikapaion Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Pantikapaion = seleucid

console_command set_building_health Pantikapaion Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Paraitonion = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Paraitonion "romani3"
console_command create_building Paraitonion "muster_field_B"
console_command set_building_health Paraitonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Paraitonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Paraitonion "romani3"
console_command create_building Paraitonion "militia_barracks_B1"
console_command set_building_health Paraitonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Paraitonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Paraitonion "romani3"
console_command create_building Paraitonion "city_barracks_B1"
console_command set_building_health Paraitonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Paraitonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Paraitonion "romani3"
console_command create_building Paraitonion "army_barracks_B1"
console_command set_building_health Paraitonion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Paraitonion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Paraitonion "romani3"
console_command create_building Paraitonion "royal_barracks_B1"
console_command set_building_health Paraitonion Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Paraitonion = seleucid

console_command set_building_health Paraitonion Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patala = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Patala "romani3"
console_command create_building Patala "muster_field_B"
console_command set_building_health Patala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Patala "romani3"
console_command create_building Patala "militia_barracks_B1"
console_command set_building_health Patala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Patala "romani3"
console_command create_building Patala "city_barracks_B1"
console_command set_building_health Patala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Patala "romani3"
console_command create_building Patala "army_barracks_B1"
console_command set_building_health Patala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Patala "romani3"
console_command create_building Patala "royal_barracks_B1"
console_command set_building_health Patala Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Patala = seleucid

console_command set_building_health Patala Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patavium = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Patavium "romani3"
console_command create_building Patavium "muster_field_B"
console_command set_building_health Patavium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patavium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Patavium "romani3"
console_command create_building Patavium "militia_barracks_B1"
console_command set_building_health Patavium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patavium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Patavium "romani3"
console_command create_building Patavium "city_barracks_B1"
console_command set_building_health Patavium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patavium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Patavium "romani3"
console_command create_building Patavium "army_barracks_B1"
console_command set_building_health Patavium Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Patavium = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Patavium "romani3"
console_command create_building Patavium "royal_barracks_B1"
console_command set_building_health Patavium Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Patavium = seleucid

console_command set_building_health Patavium Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pella = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Pella "romani3"
console_command create_building Pella "muster_field_B"
console_command set_building_health Pella Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pella = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pella "romani3"
console_command create_building Pella "militia_barracks_B1"
console_command set_building_health Pella Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pella = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pella "romani3"
console_command create_building Pella "city_barracks_B1"
console_command set_building_health Pella Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pella = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pella "romani3"
console_command create_building Pella "army_barracks_B1"
console_command set_building_health Pella Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pella = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Pella "romani3"
console_command create_building Pella "royal_barracks_B1"
console_command set_building_health Pella Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Pella = seleucid


console_command set_building_health Pella Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pergamon = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Pergamon "romani3"
console_command create_building Pergamon "muster_field_B"
console_command set_building_health Pergamon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pergamon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pergamon "romani3"
console_command create_building Pergamon "militia_barracks_B1"
console_command set_building_health Pergamon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pergamon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pergamon "romani3"
console_command create_building Pergamon "city_barracks_B1"
console_command set_building_health Pergamon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pergamon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pergamon "romani3"
console_command create_building Pergamon "army_barracks_B1"
console_command set_building_health Pergamon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pergamon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Pergamon "romani3"
console_command create_building Pergamon "royal_barracks_B1"
console_command set_building_health Pergamon Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Pergamon = seleucid

console_command set_building_health Pergamon Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Persepolis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Persepolis "romani3"
console_command create_building Persepolis "muster_field_B"
console_command set_building_health Persepolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Persepolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Persepolis "romani3"
console_command create_building Persepolis "militia_barracks_B1"
console_command set_building_health Persepolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Persepolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Persepolis "romani3"
console_command create_building Persepolis "city_barracks_B1"
console_command set_building_health Persepolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Persepolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Persepolis "romani3"
console_command create_building Persepolis "army_barracks_B1"
console_command set_building_health Persepolis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Persepolis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Persepolis "romani3"
console_command create_building Persepolis "royal_barracks_B1"
console_command set_building_health Persepolis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Persepolis = seleucid

console_command set_building_health Persepolis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Petra = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Petra "romani3"
console_command create_building Petra "muster_field_B"
console_command set_building_health Petra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Petra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Petra "romani3"
console_command create_building Petra "militia_barracks_B1"
console_command set_building_health Petra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Petra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Petra "romani3"
console_command create_building Petra "city_barracks_B1"
console_command set_building_health Petra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Petra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Petra "romani3"
console_command create_building Petra "army_barracks_B1"
console_command set_building_health Petra Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Petra = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Petra "romani3"
console_command create_building Petra "royal_barracks_B1"
console_command set_building_health Petra Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Petra = seleucid

console_command set_building_health Petra Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Phraaspa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Phraaspa "romani3"
console_command create_building Phraaspa "muster_field_B"
console_command set_building_health Phraaspa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Phraaspa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Phraaspa "romani3"
console_command create_building Phraaspa "militia_barracks_B1"
console_command set_building_health Phraaspa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Phraaspa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Phraaspa "romani3"
console_command create_building Phraaspa "city_barracks_B1"
console_command set_building_health Phraaspa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Phraaspa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Phraaspa "romani3"
console_command create_building Phraaspa "army_barracks_B1"
console_command set_building_health Phraaspa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Phraaspa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Phraaspa "romani3"
console_command create_building Phraaspa "royal_barracks_B1"
console_command set_building_health Phraaspa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Phraaspa = seleucid

console_command set_building_health Phraaspa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Prophthasia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Prophthasia "romani3"
console_command create_building Prophthasia "muster_field_B"
console_command set_building_health Prophthasia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Prophthasia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Prophthasia "romani3"
console_command create_building Prophthasia "militia_barracks_B1"
console_command set_building_health Prophthasia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Prophthasia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Prophthasia "romani3"
console_command create_building Prophthasia "city_barracks_B1"
console_command set_building_health Prophthasia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Prophthasia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Prophthasia "romani3"
console_command create_building Prophthasia "army_barracks_B1"
console_command set_building_health Prophthasia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Prophthasia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Prophthasia "romani3"
console_command create_building Prophthasia "royal_barracks_B1"
console_command set_building_health Prophthasia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Prophthasia = seleucid

console_command set_building_health Prophthasia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pselkis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Pselkis "romani3"
console_command create_building Pselkis "muster_field_B"
console_command set_building_health Pselkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pselkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pselkis "romani3"
console_command create_building Pselkis "militia_barracks_B1"
console_command set_building_health Pselkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pselkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pselkis "romani3"
console_command create_building Pselkis "city_barracks_B1"
console_command set_building_health Pselkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pselkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pselkis "romani3"
console_command create_building Pselkis "army_barracks_B1"
console_command set_building_health Pselkis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pselkis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Pselkis "romani3"
console_command create_building Pselkis "royal_barracks_B1"
console_command set_building_health Pselkis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Pselkis = seleucid

console_command set_building_health Pselkis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ptolemais_Theron = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ptolemais_Theron "romani3"
console_command create_building Ptolemais_Theron "muster_field_B"
console_command set_building_health Ptolemais_Theron Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ptolemais_Theron = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ptolemais_Theron "romani3"
console_command create_building Ptolemais_Theron "militia_barracks_B1"
console_command set_building_health Ptolemais_Theron Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ptolemais_Theron = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ptolemais_Theron "romani3"
console_command create_building Ptolemais_Theron "city_barracks_B1"
console_command set_building_health Ptolemais_Theron Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ptolemais_Theron = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ptolemais_Theron "romani3"
console_command create_building Ptolemais_Theron "army_barracks_B1"
console_command set_building_health Ptolemais_Theron Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ptolemais_Theron = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ptolemais_Theron "romani3"
console_command create_building Ptolemais_Theron "royal_barracks_B1"
console_command set_building_health Ptolemais_Theron Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ptolemais_Theron = seleucid

console_command set_building_health Ptolemais_Theron Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pura = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Pura "romani3"
console_command create_building Pura "muster_field_B"
console_command set_building_health Pura Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pura = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pura "romani3"
console_command create_building Pura "militia_barracks_B1"
console_command set_building_health Pura Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pura = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pura "romani3"
console_command create_building Pura "city_barracks_B1"
console_command set_building_health Pura Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pura = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Pura "romani3"
console_command create_building Pura "army_barracks_B1"
console_command set_building_health Pura Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Pura = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Pura "romani3"
console_command create_building Pura "royal_barracks_B1"
console_command set_building_health Pura Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Pura = seleucid

console_command set_building_health Pura Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ratae = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ratae "romani3"
console_command create_building Ratae "muster_field_B"
console_command set_building_health Ratae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ratae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ratae "romani3"
console_command create_building Ratae "militia_barracks_B1"
console_command set_building_health Ratae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ratae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ratae "romani3"
console_command create_building Ratae "city_barracks_B1"
console_command set_building_health Ratae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ratae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ratae "romani3"
console_command create_building Ratae "army_barracks_B1"
console_command set_building_health Ratae Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ratae = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ratae "romani3"
console_command create_building Ratae "royal_barracks_B1"
console_command set_building_health Ratae Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ratae = seleucid

console_command set_building_health Ratae Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhegion = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Rhegion "romani3"
console_command create_building Rhegion "muster_field_B"
console_command set_building_health Rhegion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhegion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rhegion "romani3"
console_command create_building Rhegion "militia_barracks_B1"
console_command set_building_health Rhegion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhegion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rhegion "romani3"
console_command create_building Rhegion "city_barracks_B1"
console_command set_building_health Rhegion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhegion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rhegion "romani3"
console_command create_building Rhegion "army_barracks_B1"
console_command set_building_health Rhegion Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhegion = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Rhegion "romani3"
console_command create_building Rhegion "royal_barracks_B1"
console_command set_building_health Rhegion Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Rhegion = seleucid

console_command set_building_health Rhegion Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhodos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Rhodos "romani3"
console_command create_building Rhodos "muster_field_B"
console_command set_building_health Rhodos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhodos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rhodos "romani3"
console_command create_building Rhodos "militia_barracks_B1"
console_command set_building_health Rhodos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhodos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rhodos "romani3"
console_command create_building Rhodos "city_barracks_B1"
console_command set_building_health Rhodos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhodos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rhodos "romani3"
console_command create_building Rhodos "army_barracks_B1"
console_command set_building_health Rhodos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rhodos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Rhodos "romani3"
console_command create_building Rhodos "royal_barracks_B1"
console_command set_building_health Rhodos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Rhodos = seleucid

console_command set_building_health Rhodos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rome = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Rome "romani3"
console_command create_building Rome "muster_field_B"
console_command set_building_health Rome Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rome = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rome "romani3"
console_command create_building Rome "militia_barracks_B1"
console_command set_building_health Rome Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rome = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rome "romani3"
console_command create_building Rome "city_barracks_B1"
console_command set_building_health Rome Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rome = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Rome "romani3"
console_command create_building Rome "army_barracks_B1"
console_command set_building_health Rome Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Rome = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Rome "romani3"
console_command create_building Rome "royal_barracks_B1"
console_command set_building_health Rome Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Rome = seleucid

console_command set_building_health Rome Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sabata = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sabata "romani3"
console_command create_building Sabata "muster_field_B"
console_command set_building_health Sabata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sabata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sabata "romani3"
console_command create_building Sabata "militia_barracks_B1"
console_command set_building_health Sabata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sabata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sabata "romani3"
console_command create_building Sabata "city_barracks_B1"
console_command set_building_health Sabata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sabata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sabata "romani3"
console_command create_building Sabata "army_barracks_B1"
console_command set_building_health Sabata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sabata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sabata "romani3"
console_command create_building Sabata "royal_barracks_B1"
console_command set_building_health Sabata Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sabata = seleucid

console_command set_building_health Sabata Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sala = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sala "romani3"
console_command create_building Sala "muster_field_B"
console_command set_building_health Sala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sala "romani3"
console_command create_building Sala "militia_barracks_B1"
console_command set_building_health Sala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sala "romani3"
console_command create_building Sala "city_barracks_B1"
console_command set_building_health Sala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sala "romani3"
console_command create_building Sala "army_barracks_B1"
console_command set_building_health Sala Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sala = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sala "romani3"
console_command create_building Sala "royal_barracks_B1"
console_command set_building_health Sala Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sala = seleucid

console_command set_building_health Sala Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Salamis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Salamis "romani3"
console_command create_building Salamis "muster_field_B"
console_command set_building_health Salamis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Salamis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Salamis "romani3"
console_command create_building Salamis "militia_barracks_B1"
console_command set_building_health Salamis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Salamis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Salamis "romani3"
console_command create_building Salamis "city_barracks_B1"
console_command set_building_health Salamis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Salamis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Salamis "romani3"
console_command create_building Salamis "army_barracks_B1"
console_command set_building_health Salamis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Salamis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Salamis "romani3"
console_command create_building Salamis "royal_barracks_B1"
console_command set_building_health Salamis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Salamis = seleucid

console_command set_building_health Salamis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sardis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sardis "romani3"
console_command create_building Sardis "muster_field_B"
console_command set_building_health Sardis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sardis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sardis "romani3"
console_command create_building Sardis "militia_barracks_B1"
console_command set_building_health Sardis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sardis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sardis "romani3"
console_command create_building Sardis "city_barracks_B1"
console_command set_building_health Sardis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sardis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sardis "romani3"
console_command create_building Sardis "army_barracks_B1"
console_command set_building_health Sardis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sardis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sardis "romani3"
console_command create_building Sardis "royal_barracks_B1"
console_command set_building_health Sardis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sardis = seleucid

console_command set_building_health Sardis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sarmiszegethusa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sarmiszegethusa "romani3"
console_command create_building Sarmiszegethusa "muster_field_B"
console_command set_building_health Sarmiszegethusa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sarmiszegethusa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sarmiszegethusa "romani3"
console_command create_building Sarmiszegethusa "militia_barracks_B1"
console_command set_building_health Sarmiszegethusa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sarmiszegethusa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sarmiszegethusa "romani3"
console_command create_building Sarmiszegethusa "city_barracks_B1"
console_command set_building_health Sarmiszegethusa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sarmiszegethusa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sarmiszegethusa "romani3"
console_command create_building Sarmiszegethusa "army_barracks_B1"
console_command set_building_health Sarmiszegethusa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sarmiszegethusa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sarmiszegethusa "romani3"
console_command create_building Sarmiszegethusa "royal_barracks_B1"
console_command set_building_health Sarmiszegethusa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sarmiszegethusa = seleucid

console_command set_building_health Sarmiszegethusa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segesta = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Segesta "romani3"
console_command create_building Segesta "muster_field_B"
console_command set_building_health Segesta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segesta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Segesta "romani3"
console_command create_building Segesta "militia_barracks_B1"
console_command set_building_health Segesta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segesta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Segesta "romani3"
console_command create_building Segesta "city_barracks_B1"
console_command set_building_health Segesta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segesta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Segesta "romani3"
console_command create_building Segesta "army_barracks_B1"
console_command set_building_health Segesta Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segesta = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Segesta "romani3"
console_command create_building Segesta "royal_barracks_B1"
console_command set_building_health Segesta Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Segesta = seleucid

console_command set_building_health Segesta Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segestica = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Segestica "romani3"
console_command create_building Segestica "muster_field_B"
console_command set_building_health Segestica Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segestica = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Segestica "romani3"
console_command create_building Segestica "militia_barracks_B1"
console_command set_building_health Segestica Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segestica = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Segestica "romani3"
console_command create_building Segestica "city_barracks_B1"
console_command set_building_health Segestica Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segestica = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Segestica "romani3"
console_command create_building Segestica "army_barracks_B1"
console_command set_building_health Segestica Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Segestica = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Segestica "romani3"
console_command create_building Segestica "royal_barracks_B1"
console_command set_building_health Segestica Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Segestica = seleucid

console_command set_building_health Segestica Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seleukeia = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Seleukeia "romani3"
console_command create_building Seleukeia "muster_field_B"
console_command set_building_health Seleukeia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seleukeia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Seleukeia "romani3"
console_command create_building Seleukeia "militia_barracks_B1"
console_command set_building_health Seleukeia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seleukeia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Seleukeia "romani3"
console_command create_building Seleukeia "city_barracks_B1"
console_command set_building_health Seleukeia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seleukeia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Seleukeia "romani3"
console_command create_building Seleukeia "army_barracks_B1"
console_command set_building_health Seleukeia Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seleukeia = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Seleukeia "romani3"
console_command create_building Seleukeia "royal_barracks_B1"
console_command set_building_health Seleukeia Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Seleukeia = seleucid

console_command set_building_health Seleukeia Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seliun_Pilis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Seliun_Pilis "romani3"
console_command create_building Seliun_Pilis "muster_field_B"
console_command set_building_health Seliun_Pilis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seliun_Pilis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Seliun_Pilis "romani3"
console_command create_building Seliun_Pilis "militia_barracks_B1"
console_command set_building_health Seliun_Pilis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seliun_Pilis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Seliun_Pilis "romani3"
console_command create_building Seliun_Pilis "city_barracks_B1"
console_command set_building_health Seliun_Pilis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seliun_Pilis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Seliun_Pilis "romani3"
console_command create_building Seliun_Pilis "army_barracks_B1"
console_command set_building_health Seliun_Pilis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Seliun_Pilis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Seliun_Pilis "romani3"
console_command create_building Seliun_Pilis "royal_barracks_B1"
console_command set_building_health Seliun_Pilis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Seliun_Pilis = seleucid

console_command set_building_health Seliun_Pilis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Serdike = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Serdike "romani3"
console_command create_building Serdike "muster_field_B"
console_command set_building_health Serdike Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Serdike = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Serdike "romani3"
console_command create_building Serdike "militia_barracks_B1"
console_command set_building_health Serdike Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Serdike = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Serdike "romani3"
console_command create_building Serdike "city_barracks_B1"
console_command set_building_health Serdike Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Serdike = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Serdike "romani3"
console_command create_building Serdike "army_barracks_B1"
console_command set_building_health Serdike Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Serdike = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Serdike "romani3"
console_command create_building Serdike "royal_barracks_B1"
console_command set_building_health Serdike Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Serdike = seleucid

console_command set_building_health Serdike Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Side = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Side "romani3"
console_command create_building Side "muster_field_B"
console_command set_building_health Side Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Side = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Side "romani3"
console_command create_building Side "militia_barracks_B1"
console_command set_building_health Side Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Side = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Side "romani3"
console_command create_building Side "city_barracks_B1"
console_command set_building_health Side Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Side = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Side "romani3"
console_command create_building Side "army_barracks_B1"
console_command set_building_health Side Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Side = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Side "romani3"
console_command create_building Side "royal_barracks_B1"
console_command set_building_health Side Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Side = seleucid

console_command set_building_health Side Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sidon = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sidon "romani3"
console_command create_building Sidon "muster_field_B"
console_command set_building_health Sidon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sidon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sidon "romani3"
console_command create_building Sidon "militia_barracks_B1"
console_command set_building_health Sidon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sidon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sidon "romani3"
console_command create_building Sidon "city_barracks_B1"
console_command set_building_health Sidon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sidon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sidon "romani3"
console_command create_building Sidon "army_barracks_B1"
console_command set_building_health Sidon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sidon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sidon "romani3"
console_command create_building Sidon "royal_barracks_B1"
console_command set_building_health Sidon Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sidon = seleucid

console_command set_building_health Sidon Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Siga = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Siga "romani3"
console_command create_building Siga "muster_field_B"
console_command set_building_health Siga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Siga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Siga "romani3"
console_command create_building Siga "militia_barracks_B1"
console_command set_building_health Siga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Siga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Siga "romani3"
console_command create_building Siga "city_barracks_B1"
console_command set_building_health Siga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Siga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Siga "romani3"
console_command create_building Siga "army_barracks_B1"
console_command set_building_health Siga Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Siga = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Siga "romani3"
console_command create_building Siga "royal_barracks_B1"
console_command set_building_health Siga Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Siga = seleucid

console_command set_building_health Siga Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Singidunum = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Singidunum "romani3"
console_command create_building Singidunum "muster_field_B"
console_command set_building_health Singidunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Singidunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Singidunum "romani3"
console_command create_building Singidunum "militia_barracks_B1"
console_command set_building_health Singidunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Singidunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Singidunum "romani3"
console_command create_building Singidunum "city_barracks_B1"
console_command set_building_health Singidunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Singidunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Singidunum "romani3"
console_command create_building Singidunum "army_barracks_B1"
console_command set_building_health Singidunum Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Singidunum = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Singidunum "romani3"
console_command create_building Singidunum "royal_barracks_B1"
console_command set_building_health Singidunum Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Singidunum = seleucid

console_command set_building_health Singidunum Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sinope = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sinope "romani3"
console_command create_building Sinope "muster_field_B"
console_command set_building_health Sinope Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sinope = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sinope "romani3"
console_command create_building Sinope "militia_barracks_B1"
console_command set_building_health Sinope Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sinope = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sinope "romani3"
console_command create_building Sinope "city_barracks_B1"
console_command set_building_health Sinope Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sinope = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sinope "romani3"
console_command create_building Sinope "army_barracks_B1"
console_command set_building_health Sinope Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sinope = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sinope "romani3"
console_command create_building Sinope "royal_barracks_B1"
console_command set_building_health Sinope Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sinope = seleucid

console_command set_building_health Sinope Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sparte = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sparte "romani3"
console_command create_building Sparte "muster_field_B"
console_command set_building_health Sparte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sparte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sparte "romani3"
console_command create_building Sparte "militia_barracks_B1"
console_command set_building_health Sparte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sparte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sparte "romani3"
console_command create_building Sparte "city_barracks_B1"
console_command set_building_health Sparte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sparte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sparte "romani3"
console_command create_building Sparte "army_barracks_B1"
console_command set_building_health Sparte Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sparte = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sparte "romani3"
console_command create_building Sparte "royal_barracks_B1"
console_command set_building_health Sparte Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sparte = seleucid

console_command set_building_health Sparte Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sucum-Murgi = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sucum-Murgi "romani3"
console_command create_building Sucum-Murgi "muster_field_B"
console_command set_building_health Sucum-Murgi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sucum-Murgi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sucum-Murgi "romani3"
console_command create_building Sucum-Murgi "militia_barracks_B1"
console_command set_building_health Sucum-Murgi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sucum-Murgi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sucum-Murgi "romani3"
console_command create_building Sucum-Murgi "city_barracks_B1"
console_command set_building_health Sucum-Murgi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sucum-Murgi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sucum-Murgi "romani3"
console_command create_building Sucum-Murgi "army_barracks_B1"
console_command set_building_health Sucum-Murgi Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sucum-Murgi = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sucum-Murgi "romani3"
console_command create_building Sucum-Murgi "royal_barracks_B1"
console_command set_building_health Sucum-Murgi Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sucum-Murgi = seleucid

console_command set_building_health Sucum-Murgi Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sulek = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Sulek "romani3"
console_command create_building Sulek "muster_field_B"
console_command set_building_health Sulek Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sulek = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sulek "romani3"
console_command create_building Sulek "militia_barracks_B1"
console_command set_building_health Sulek Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sulek = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sulek "romani3"
console_command create_building Sulek "city_barracks_B1"
console_command set_building_health Sulek Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sulek = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Sulek "romani3"
console_command create_building Sulek "army_barracks_B1"
console_command set_building_health Sulek Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Sulek = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Sulek "romani3"
console_command create_building Sulek "royal_barracks_B1"
console_command set_building_health Sulek Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Sulek = seleucid

console_command set_building_health Sulek Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Susa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Susa "romani3"
console_command create_building Susa "muster_field_B"
console_command set_building_health Susa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Susa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Susa "romani3"
console_command create_building Susa "militia_barracks_B1"
console_command set_building_health Susa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Susa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Susa "romani3"
console_command create_building Susa "city_barracks_B1"
console_command set_building_health Susa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Susa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Susa "romani3"
console_command create_building Susa "army_barracks_B1"
console_command set_building_health Susa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Susa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Susa "romani3"
console_command create_building Susa "royal_barracks_B1"
console_command set_building_health Susa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Susa = seleucid

console_command set_building_health Susa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Swebotraustastamnoz = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Swebotraustastamnoz "romani3"
console_command create_building Swebotraustastamnoz "muster_field_B"
console_command set_building_health Swebotraustastamnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Swebotraustastamnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Swebotraustastamnoz "romani3"
console_command create_building Swebotraustastamnoz "militia_barracks_B1"
console_command set_building_health Swebotraustastamnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Swebotraustastamnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Swebotraustastamnoz "romani3"
console_command create_building Swebotraustastamnoz "city_barracks_B1"
console_command set_building_health Swebotraustastamnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Swebotraustastamnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Swebotraustastamnoz "romani3"
console_command create_building Swebotraustastamnoz "army_barracks_B1"
console_command set_building_health Swebotraustastamnoz Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Swebotraustastamnoz = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Swebotraustastamnoz "romani3"
console_command create_building Swebotraustastamnoz "royal_barracks_B1"
console_command set_building_health Swebotraustastamnoz Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Swebotraustastamnoz = seleucid

console_command set_building_health Swebotraustastamnoz Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Syracuse = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Syracuse "romani3"
console_command create_building Syracuse "muster_field_B"
console_command set_building_health Syracuse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Syracuse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Syracuse "romani3"
console_command create_building Syracuse "militia_barracks_B1"
console_command set_building_health Syracuse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Syracuse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Syracuse "romani3"
console_command create_building Syracuse "city_barracks_B1"
console_command set_building_health Syracuse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Syracuse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Syracuse "romani3"
console_command create_building Syracuse "army_barracks_B1"
console_command set_building_health Syracuse Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Syracuse = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Syracuse "romani3"
console_command create_building Syracuse "royal_barracks_B1"
console_command set_building_health Syracuse Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Syracuse = seleucid

console_command set_building_health Syracuse Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taksashila = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Taksashila "romani3"
console_command create_building Taksashila "muster_field_B"
console_command set_building_health Taksashila Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taksashila = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Taksashila "romani3"
console_command create_building Taksashila "militia_barracks_B1"
console_command set_building_health Taksashila Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taksashila = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Taksashila "romani3"
console_command create_building Taksashila "city_barracks_B1"
console_command set_building_health Taksashila Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taksashila = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Taksashila "romani3"
console_command create_building Taksashila "army_barracks_B1"
console_command set_building_health Taksashila Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taksashila = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Taksashila "romani3"
console_command create_building Taksashila "royal_barracks_B1"
console_command set_building_health Taksashila Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Taksashila = seleucid

console_command set_building_health Taksashila Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tamane = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Tamane "romani3"
console_command create_building Tamane "muster_field_B"
console_command set_building_health Tamane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tamane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tamane "romani3"
console_command create_building Tamane "militia_barracks_B1"
console_command set_building_health Tamane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tamane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tamane "romani3"
console_command create_building Tamane "city_barracks_B1"
console_command set_building_health Tamane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tamane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tamane "romani3"
console_command create_building Tamane "army_barracks_B1"
console_command set_building_health Tamane Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tamane = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Tamane "romani3"
console_command create_building Tamane "royal_barracks_B1"
console_command set_building_health Tamane Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Tamane = seleucid

console_command set_building_health Tamane Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tanais = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Tanais "romani3"
console_command create_building Tanais "muster_field_B"
console_command set_building_health Tanais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tanais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tanais "romani3"
console_command create_building Tanais "militia_barracks_B1"
console_command set_building_health Tanais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tanais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tanais "romani3"
console_command create_building Tanais "city_barracks_B1"
console_command set_building_health Tanais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tanais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tanais "romani3"
console_command create_building Tanais "army_barracks_B1"
console_command set_building_health Tanais Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tanais = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Tanais "romani3"
console_command create_building Tanais "royal_barracks_B1"
console_command set_building_health Tanais Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Tanais = seleucid

console_command set_building_health Tanais Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taras = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Taras "romani3"
console_command create_building Taras "muster_field_B"
console_command set_building_health Taras Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taras = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Taras "romani3"
console_command create_building Taras "militia_barracks_B1"
console_command set_building_health Taras Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taras = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Taras "romani3"
console_command create_building Taras "city_barracks_B1"
console_command set_building_health Taras Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taras = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Taras "romani3"
console_command create_building Taras "army_barracks_B1"
console_command set_building_health Taras Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Taras = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Taras "romani3"
console_command create_building Taras "royal_barracks_B1"
console_command set_building_health Taras Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Taras = seleucid

console_command set_building_health Taras Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tarsos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Tarsos "romani3"
console_command create_building Tarsos "muster_field_B"
console_command set_building_health Tarsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tarsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tarsos "romani3"
console_command create_building Tarsos "militia_barracks_B1"
console_command set_building_health Tarsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tarsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tarsos "romani3"
console_command create_building Tarsos "city_barracks_B1"
console_command set_building_health Tarsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tarsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tarsos "romani3"
console_command create_building Tarsos "army_barracks_B1"
console_command set_building_health Tarsos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tarsos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Tarsos "romani3"
console_command create_building Tarsos "royal_barracks_B1"
console_command set_building_health Tarsos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Tarsos = seleucid

console_command set_building_health Tarsos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Terhazza = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Terhazza "romani3"
console_command create_building Terhazza "muster_field_B"
console_command set_building_health Terhazza Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Terhazza = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Terhazza "romani3"
console_command create_building Terhazza "militia_barracks_B1"
console_command set_building_health Terhazza Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Terhazza = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Terhazza "romani3"
console_command create_building Terhazza "city_barracks_B1"
console_command set_building_health Terhazza Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Terhazza = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Terhazza "romani3"
console_command create_building Terhazza "army_barracks_B1"
console_command set_building_health Terhazza Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Terhazza = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Terhazza "romani3"
console_command create_building Terhazza "royal_barracks_B1"
console_command set_building_health Terhazza Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Terhazza = seleucid

console_command set_building_health Terhazza Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Thermon = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Thermon "romani3"
console_command create_building Thermon "muster_field_B"
console_command set_building_health Thermon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Thermon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Thermon "romani3"
console_command create_building Thermon "militia_barracks_B1"
console_command set_building_health Thermon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Thermon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Thermon "romani3"
console_command create_building Thermon "city_barracks_B1"
console_command set_building_health Thermon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Thermon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Thermon "romani3"
console_command create_building Thermon "army_barracks_B1"
console_command set_building_health Thermon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Thermon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Thermon "romani3"
console_command create_building Thermon "royal_barracks_B1"
console_command set_building_health Thermon Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Thermon = seleucid

console_command set_building_health Thermon Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lixus = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Lixus "romani3"
console_command create_building Lixus "muster_field_B"
console_command set_building_health Lixus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lixus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lixus "romani3"
console_command create_building Lixus "militia_barracks_B1"
console_command set_building_health Lixus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lixus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lixus "romani3"
console_command create_building Lixus "city_barracks_B1"
console_command set_building_health Lixus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lixus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Lixus "romani3"
console_command create_building Lixus "army_barracks_B1"
console_command set_building_health Lixus Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Lixus = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Lixus "romani3"
console_command create_building Lixus "royal_barracks_B1"
console_command set_building_health Lixus Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Lixus = seleucid

console_command set_building_health Lixus Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tolosa = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Tolosa "romani3"
console_command create_building Tolosa "muster_field_B"
console_command set_building_health Tolosa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tolosa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tolosa "romani3"
console_command create_building Tolosa "militia_barracks_B1"
console_command set_building_health Tolosa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tolosa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tolosa "romani3"
console_command create_building Tolosa "city_barracks_B1"
console_command set_building_health Tolosa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tolosa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tolosa "romani3"
console_command create_building Tolosa "army_barracks_B1"
console_command set_building_health Tolosa Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tolosa = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Tolosa "romani3"
console_command create_building Tolosa "royal_barracks_B1"
console_command set_building_health Tolosa Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Tolosa = seleucid

console_command set_building_health Tolosa Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Trapezous = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Trapezous "romani3"
console_command create_building Trapezous "muster_field_B"
console_command set_building_health Trapezous Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Trapezous = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Trapezous "romani3"
console_command create_building Trapezous "militia_barracks_B1"
console_command set_building_health Trapezous Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Trapezous = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Trapezous "romani3"
console_command create_building Trapezous "city_barracks_B1"
console_command set_building_health Trapezous Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Trapezous = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Trapezous "romani3"
console_command create_building Trapezous "army_barracks_B1"
console_command set_building_health Trapezous Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Trapezous = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Trapezous "romani3"
console_command create_building Trapezous "royal_barracks_B1"
console_command set_building_health Trapezous Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Trapezous = seleucid

console_command set_building_health Trapezous Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tuat = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Tuat "romani3"
console_command create_building Tuat "muster_field_B"
console_command set_building_health Tuat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tuat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tuat "romani3"
console_command create_building Tuat "militia_barracks_B1"
console_command set_building_health Tuat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tuat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tuat "romani3"
console_command create_building Tuat "city_barracks_B1"
console_command set_building_health Tuat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tuat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tuat "romani3"
console_command create_building Tuat "army_barracks_B1"
console_command set_building_health Tuat Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tuat = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Tuat "romani3"
console_command create_building Tuat "royal_barracks_B1"
console_command set_building_health Tuat Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Tuat = seleucid

console_command set_building_health Tuat Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tyde = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Tyde "romani3"
console_command create_building Tyde "muster_field_B"
console_command set_building_health Tyde Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tyde = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tyde "romani3"
console_command create_building Tyde "militia_barracks_B1"
console_command set_building_health Tyde Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tyde = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tyde "romani3"
console_command create_building Tyde "city_barracks_B1"
console_command set_building_health Tyde Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tyde = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tyde "romani3"
console_command create_building Tyde "army_barracks_B1"
console_command set_building_health Tyde Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tyde = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Tyde "romani3"
console_command create_building Tyde "royal_barracks_B1"
console_command set_building_health Tyde Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Tyde = seleucid

console_command set_building_health Tyde Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tylis = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Tylis "romani3"
console_command create_building Tylis "muster_field_B"
console_command set_building_health Tylis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tylis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tylis "romani3"
console_command create_building Tylis "militia_barracks_B1"
console_command set_building_health Tylis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tylis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tylis "romani3"
console_command create_building Tylis "city_barracks_B1"
console_command set_building_health Tylis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tylis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Tylis "romani3"
console_command create_building Tylis "army_barracks_B1"
console_command set_building_health Tylis Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Tylis = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Tylis "romani3"
console_command create_building Tylis "royal_barracks_B1"
console_command set_building_health Tylis Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Tylis = seleucid

console_command set_building_health Tylis Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ubar = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ubar "romani3"
console_command create_building Ubar "muster_field_B"
console_command set_building_health Ubar Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ubar = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ubar "romani3"
console_command create_building Ubar "militia_barracks_B1"
console_command set_building_health Ubar Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ubar = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ubar "romani3"
console_command create_building Ubar "city_barracks_B1"
console_command set_building_health Ubar Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ubar = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ubar "romani3"
console_command create_building Ubar "army_barracks_B1"
console_command set_building_health Ubar Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ubar = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ubar "romani3"
console_command create_building Ubar "royal_barracks_B1"
console_command set_building_health Ubar Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ubar = seleucid

console_command set_building_health Ubar Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Uspe = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Uspe "romani3"
console_command create_building Uspe "muster_field_B"
console_command set_building_health Uspe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Uspe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Uspe "romani3"
console_command create_building Uspe "militia_barracks_B1"
console_command set_building_health Uspe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Uspe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Uspe "romani3"
console_command create_building Uspe "city_barracks_B1"
console_command set_building_health Uspe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Uspe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Uspe "romani3"
console_command create_building Uspe "army_barracks_B1"
console_command set_building_health Uspe Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Uspe = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Uspe "romani3"
console_command create_building Uspe "royal_barracks_B1"
console_command set_building_health Uspe Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Uspe = seleucid

console_command set_building_health Uspe Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Veldideno = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Veldideno "romani3"
console_command create_building Veldideno "muster_field_B"
console_command set_building_health Veldideno Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Veldideno = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Veldideno "romani3"
console_command create_building Veldideno "militia_barracks_B1"
console_command set_building_health Veldideno Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Veldideno = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Veldideno "romani3"
console_command create_building Veldideno "city_barracks_B1"
console_command set_building_health Veldideno Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Veldideno = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Veldideno "romani3"
console_command create_building Veldideno "army_barracks_B1"
console_command set_building_health Veldideno Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Veldideno = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Veldideno "romani3"
console_command create_building Veldideno "royal_barracks_B1"
console_command set_building_health Veldideno Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Veldideno = seleucid

console_command set_building_health Veldideno Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vellika = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Vellika "romani3"
console_command create_building Vellika "muster_field_B"
console_command set_building_health Vellika Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vellika = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vellika "romani3"
console_command create_building Vellika "militia_barracks_B1"
console_command set_building_health Vellika Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vellika = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vellika "romani3"
console_command create_building Vellika "city_barracks_B1"
console_command set_building_health Vellika Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vellika = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vellika "romani3"
console_command create_building Vellika "army_barracks_B1"
console_command set_building_health Vellika Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vellika = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Vellika "romani3"
console_command create_building Vellika "royal_barracks_B1"
console_command set_building_health Vellika Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Vellika = seleucid

console_command set_building_health Vellika Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vesontio = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Vesontio "romani3"
console_command create_building Vesontio "muster_field_B"
console_command set_building_health Vesontio Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vesontio = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vesontio "romani3"
console_command create_building Vesontio "militia_barracks_B1"
console_command set_building_health Vesontio Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vesontio = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vesontio "romani3"
console_command create_building Vesontio "city_barracks_B1"
console_command set_building_health Vesontio Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vesontio = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vesontio "romani3"
console_command create_building Vesontio "army_barracks_B1"
console_command set_building_health Vesontio Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vesontio = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Vesontio "romani3"
console_command create_building Vesontio "royal_barracks_B1"
console_command set_building_health Vesontio Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Vesontio = seleucid

console_command set_building_health Vesontio Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Viennos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Viennos "romani3"
console_command create_building Viennos "muster_field_B"
console_command set_building_health Viennos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Viennos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Viennos "romani3"
console_command create_building Viennos "militia_barracks_B1"
console_command set_building_health Viennos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Viennos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Viennos "romani3"
console_command create_building Viennos "city_barracks_B1"
console_command set_building_health Viennos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Viennos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Viennos "romani3"
console_command create_building Viennos "army_barracks_B1"
console_command set_building_health Viennos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Viennos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Viennos "romani3"
console_command create_building Viennos "royal_barracks_B1"
console_command set_building_health Viennos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Viennos = seleucid

console_command set_building_health Viennos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindelicoppidos = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Vindelicoppidos "romani3"
console_command create_building Vindelicoppidos "muster_field_B"
console_command set_building_health Vindelicoppidos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindelicoppidos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vindelicoppidos "romani3"
console_command create_building Vindelicoppidos "militia_barracks_B1"
console_command set_building_health Vindelicoppidos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindelicoppidos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vindelicoppidos "romani3"
console_command create_building Vindelicoppidos "city_barracks_B1"
console_command set_building_health Vindelicoppidos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindelicoppidos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vindelicoppidos "romani3"
console_command create_building Vindelicoppidos "army_barracks_B1"
console_command set_building_health Vindelicoppidos Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindelicoppidos = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Vindelicoppidos "romani3"
console_command create_building Vindelicoppidos "royal_barracks_B1"
console_command set_building_health Vindelicoppidos Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Vindelicoppidos = seleucid

console_command set_building_health Vindelicoppidos Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindobona = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Vindobona "romani3"
console_command create_building Vindobona "muster_field_B"
console_command set_building_health Vindobona Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindobona = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vindobona "romani3"
console_command create_building Vindobona "militia_barracks_B1"
console_command set_building_health Vindobona Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindobona = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vindobona "romani3"
console_command create_building Vindobona "city_barracks_B1"
console_command set_building_health Vindobona Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindobona = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Vindobona "romani3"
console_command create_building Vindobona "army_barracks_B1"
console_command set_building_health Vindobona Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Vindobona = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Vindobona "romani3"
console_command create_building Vindobona "royal_barracks_B1"
console_command set_building_health Vindobona Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Vindobona = seleucid

console_command set_building_health Vindobona Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ynys_Mon = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Ynys_Mon "romani3"
console_command create_building Ynys_Mon "muster_field_B"
console_command set_building_health Ynys_Mon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ynys_Mon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ynys_Mon "romani3"
console_command create_building Ynys_Mon "militia_barracks_B1"
console_command set_building_health Ynys_Mon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ynys_Mon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ynys_Mon "romani3"
console_command create_building Ynys_Mon "city_barracks_B1"
console_command set_building_health Ynys_Mon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ynys_Mon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Ynys_Mon "romani3"
console_command create_building Ynys_Mon "army_barracks_B1"
console_command set_building_health Ynys_Mon Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Ynys_Mon = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Ynys_Mon "romani3"
console_command create_building Ynys_Mon "royal_barracks_B1"
console_command set_building_health Ynys_Mon Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Ynys_Mon = seleucid

console_command set_building_health Ynys_Mon Barracks_A 0

end_monitor


monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Zadrakata = seleucid
and not SettlementBuildingExists = romani3
and not SettlementBuildingExists > muster_field_A

console_command create_building Zadrakata "romani3"
console_command create_building Zadrakata "muster_field_B"
console_command set_building_health Zadrakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Zadrakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Zadrakata "romani3"
console_command create_building Zadrakata "militia_barracks_B1"
console_command set_building_health Zadrakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Zadrakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = army_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Zadrakata "romani3"
console_command create_building Zadrakata "city_barracks_B1"
console_command set_building_health Zadrakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Zadrakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = royal_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = royal_barracks_A2

console_command create_building Zadrakata "romani3"
console_command create_building Zadrakata "army_barracks_B1"
console_command set_building_health Zadrakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Romanii_Reform = 2
and I_SettlementOwner Zadrakata = seleucid
and not SettlementBuildingExists = romani3
and SettlementBuildingExists > muster_field_A
and not SettlementBuildingExists = militia_barracks_A1
and not SettlementBuildingExists = city_barracks_A1
and not SettlementBuildingExists = army_barracks_A1
and not SettlementBuildingExists = militia_barracks_A2
and not SettlementBuildingExists = city_barracks_A2
and not SettlementBuildingExists = army_barracks_A2

console_command create_building Zadrakata "romani3"
console_command create_building Zadrakata "royal_barracks_B1"
console_command set_building_health Zadrakata Barracks_A 0

end_monitor

;Recurring damage to A-era MIC
monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Romanii_Reform > 1
and I_SettlementOwner Zadrakata = seleucid

console_command set_building_health Zadrakata Barracks_A 0

end_monitor

monitor_event SettlementTurnStart SettlementName Adrumeto
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Adrumeto = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Adrumeto "romani4"

end_monitor


;The advisor tells the player when the Marian reforms have taken place.
monitor_event CharacterTurnStart FactionType seleucid
          and FactionIsLocal
          and I_CompareCounter MarianReformsAdvisor = 1
    set_counter MarianReformsAdvisor 0
    advance_advice_thread Marian_Reforms_Thread
    terminate_monitor
end_monitor

;Augustan Placement

monitor_event SettlementTurnStart SettlementName Ak-Ink
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ak_Ink = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ak_Ink "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Alalia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Alalia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Alalia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Alexandreia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Alexandreia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Alexandreia_Ariana = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Alexandreia_Ariana "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Alexandreia_Eschate = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Alexandreia_Eschate "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Alexandropolis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Alexandropolis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Amaseia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Amaseia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Amaseia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ambrakia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Apollonia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Apollonia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ammonion
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ammonion = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ammonion "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ani-Kamah = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ani-Kamah "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ankyra
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ankyra = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ankyra "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Antiocheia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Antiocheia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Antiocheia_Margiane = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Antiocheia_Margiane "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Apameia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Apameia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Apameia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Arbela
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Arbela = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Arbela "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ariminum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ariminum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ariminum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Armavir
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Armavir = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Armavir "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Arpi
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Arpi = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Arpi "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Arretium
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Arretium = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Arretium "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ars
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Arse = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Arse "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Asaak
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Asaak = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Asaak "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ascaucalis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ascaucalis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ascaucalis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Asodt
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Asodat = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Asodat "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Athenai
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Athenai = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Athenai "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Attuaca
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Attuaca = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Attuaca "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Augila
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Augila_settlement = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Augila_settlement "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Avaricum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Avaricum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Avaricum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Aventicos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Aventicos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Aventicos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Axum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Axum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Axum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Bagacos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Bagacos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Bagacos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Baikor
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Baikor = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Baikor "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Baktra = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Baktra "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Bibracte
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Bibracte = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Bibracte "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Chach
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Chach = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Chach "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Bocchoris
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Bocchoris = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Bocchoris "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Bononia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Bononia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Bononia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Bostra
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Bostra = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Bostra "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Bratosporios
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Bratosporios = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Bratosporios "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Burdigala
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Burdigala = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Burdigala "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Buridava
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Buridava = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Buridava "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Byzantion
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Byzantion = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Byzantion "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Caern-Brigantae
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Caern_Brigantae = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Caern_Brigantae "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Camulosadae
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Camulosadae = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Camulosadae "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Capua
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Capua = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Capua "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Carna
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Carna = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Carna "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Carrodunum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Carrodunum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Carrodunum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Cenabum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Cenabum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Cenabum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Chalkis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Chalkis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Chalkis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Charax = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Charax "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Chersonesos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Chersonesos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Chersonesos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Chighu
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Chighu = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Chighu "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Atiqa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Atiqa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Atiqa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Dalminion
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Dalminion = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Dalminion "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Damaskos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Damaskos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Darioritum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Darioritum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Darioritum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Demetrias
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Demetrias = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Demetrias "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Diospolis-Megale
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Diospolis_Megale = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Diospolis_Megale "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Babylon = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Babylon "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Eburonum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Eburonum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Eburonum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Edessa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Edessa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ekbatana = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ekbatana "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Emain-Macha
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Emain_Macha = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Emain_Macha "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Emporion
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Emporion = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Emporion "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Epidamnos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Epidamnos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Epidamnos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gabai
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gabai = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gabai "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gader
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gader = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gader "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Garama
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Garama = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Garama "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Alanna
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Alanna = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Alanna "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Aursa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Aursa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Aursa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Haomavarga
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Haomavarga = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Haomavarga "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Mazsakata
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Mazsakata = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Mazsakata "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Roxsalanna
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Roxsalanna = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Roxsalanna "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Saka
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Saka = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Saka "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Thissakata
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Thissakata = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Thissakata "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yazyga
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Yazyga = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Yazyga "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gava-Yugra
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gava_Yugra = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gava_Yugra "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Bastarnoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Bastarnoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Bastarnoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Gotnoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Gotanoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Gotanoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Habukoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Habukoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Arctaunon
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Arctaunon = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Arctaunon "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Heruskoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Heruskoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Kimbroz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Kimbroz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Rugoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Rugoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Silengoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Silengoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Silengoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gawjam_Skandzawarjoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gelonus
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gelonus = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gelonus "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gergovia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gergovia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gergovia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gerrha
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gerrha = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gerrha "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gintaras_Ostan = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gintaras_Ostan "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Gordu-Neuriji
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Gordu_Neuriji = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Gordu_Neuriji "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Halikarnassos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Halikarnassos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Hekatompylos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Hekatompylos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Hibis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Hibis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Hibis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Hierosolyma
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Hierosolyma = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Hierosolyma "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Homna
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Homna = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Homna "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ictis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ictis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ictis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ippone
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ippone = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ippone "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ipsos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ipsos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Iuvavoaeta = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Iuvavoaeta "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ivernis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ivernis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ivernis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kabalaka
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kabalaka = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kabalaka "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kallatis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kallatis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kallatis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Karali
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Karali = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Karali "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Karkathiokerta = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Karkathiokerta "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Karmana
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Karmana = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Karmana "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kart-Hadast
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kart_Hadast = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kart_Hadast "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Khiva
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Khiva = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Khiva "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kirtan
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kirtan = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kirtan "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kophen
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kophen = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kophen "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Korinthos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Korinthos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Korinthos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kotais
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kotais = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kotais "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kydonia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kydonia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kydonia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Kyrene
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Kyrene = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Kyrene "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Lemonum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Lemonum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Lemonum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Lepki
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Lepki = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Lepki "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Lilibeo
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Lilibeo = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Lilibeo "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Lucarottea
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Lucarottea = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Lucarottea "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Marakanda
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Marakanda = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Marakanda "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Maryab
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Maryab = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Maryab "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Massalia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Massalia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Massalia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Mastia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Mastia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Mastia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Mazaka
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Mazaka = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Mazaka "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Mediolanum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Mediolanum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Mediolanum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Memphis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Memphis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Memphis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Meroe
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Meroe = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Meroe "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Messana
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Messana = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Messana "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Mtskheta
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Mtskheta = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Mtskheta "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Mytilene
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Mytilene = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Mytilene "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Naissos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Naissos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Naissos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Nikaia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Nikaia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Nikaia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Nisa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Nisa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Nisa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Numantia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Numantia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Numantia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Olbia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Olbia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Olbia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Opiana
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Opiana = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Opiana "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Oxtraca
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Oxtraca = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Oxtraca "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Pallantia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Pallantia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Pallantia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Palmyra
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Palmyra = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Palmyra "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Pantikapaion
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Pantikapaion = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Pantikapaion "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Paraitonion
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Paraitonion = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Paraitonion "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Patala
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Patala = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Patala "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Patavium
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Patavium = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Patavium "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Pella
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Pella = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Pella "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Pergamon
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Pergamon = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Pergamon "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Persepolis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Persepolis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Persepolis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Petra
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Petra = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Petra "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Phraaspa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Phraaspa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Phraaspa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Prophthasia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Prophthasia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Prophthasia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Pselkis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Pselkis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Pselkis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ptolemais-Theron
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ptolemais_Theron = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ptolemais_Theron "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Pura
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Pura = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Pura "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ratae
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ratae = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ratae "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Rhegion
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Rhegion = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Rhegion "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Rhodos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Rhodos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Rhodos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Roma
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Rome = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Rome "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sabata
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sabata = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sabata "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sala
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sala = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sala "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Salamis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Salamis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Salamis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sardis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sardis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sarmiszegethusa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sarmiszegethusa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Segesta
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Segesta = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Segesta "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Segestica
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Segestica = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Segestica "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Seleukeia = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Seleukeia "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Seliun-Pilis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Seliun_Pilis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Seliun_Pilis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Serdike
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Serdike = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Serdike "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Side
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Side = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Side "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sidon
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sidon = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sidon "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Siga
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Siga = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Siga "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Singidunum
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Singidunum = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Singidunum "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sinope
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sinope = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sinope "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sparte
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sparte = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sparte "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sucum-Murgi = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sucum-Murgi "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Sulek
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Sulek = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Sulek "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Susa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Susa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Swebotraustastamnoz = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Swebotraustastamnoz "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Syrakousai
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Syracuse = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Syracuse "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Taksashila
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Taksashila = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Taksashila "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Tamane
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Tamane = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Tamane "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Tanais
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Tanais = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Tanais "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Taras
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Taras = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Taras "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Tarsos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Tarsos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Tarsos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Terhazza
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Terhazza = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Terhazza "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Thermon
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Thermon = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Thermon "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Lixus
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Lixus = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Lixus "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Tolosa
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Tolosa = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Tolosa "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Trapezous
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Trapezous = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Trapezous "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Tuat
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Tuat = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Tuat "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Tyde
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Tyde = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Tyde "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Tylis
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Tylis = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Tylis "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ubar
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ubar = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ubar "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Uspe
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Uspe = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Uspe "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Veldideno
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Veldideno = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Veldideno "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Vellika
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Vellika = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Vellika "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Vesontio
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Vesontio = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Vesontio "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Viennos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Viennos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Viennos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Vindelicoppidos = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Vindelicoppidos "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Vindobona
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Vindobona = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Vindobona "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Ynys-Mon
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Ynys_Mon = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Ynys_Mon "romani4"

end_monitor



monitor_event SettlementTurnStart SettlementName Zadrakata
and I_CompareCounter Romanii_Reform = 3
and I_SettlementOwner Zadrakata = seleucid
and not SettlementBuildingExists = romani4

console_command create_building Zadrakata "romani4"

end_monitor


;The advisor tells the player when the Augustan reforms have taken place.
monitor_event CharacterTurnStart FactionType seleucid
          and FactionIsLocal
          and I_CompareCounter AugustanReformsAdvisor = 1
    set_counter AugustanReformsAdvisor 0
    advance_advice_thread Augustan_Reforms_Thread
    terminate_monitor
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2d: Seleukid Cataphract Reforms
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;triggers
declare_counter Seleukid_Reform
monitor_event CharacterTurnEnd FactionType romans_julii
and Trait ImpressedByCats = 2
set_counter Seleukid_Reform 1
end_monitor

monitor_event CharacterTurnEnd FactionType romans_julii
and Trait SeleukidsDevelopCats > 0
set_counter Seleukid_Reform 1
end_monitor

;building placement
monitor_event SettlementTurnStart SettlementName Ipsos
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Ipsos = romans_julii

console_command create_building Ipsos "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Sardis
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Sardis = romans_julii

console_command create_building Sardis "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Baktra
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Baktra = romans_julii

console_command create_building Baktra "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Eschate
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Alexandreia_Eschate = romans_julii

console_command create_building Alexandreia_Eschate "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Alexandreia_Ariana = romans_julii

console_command create_building Alexandreia_Ariana "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Ekbatana
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Ekbatana = romans_julii

console_command create_building Ekbatana "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Edessa
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Edessa = romans_julii

console_command create_building Edessa "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Seleukeia
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Seleukeia = romans_julii

console_command create_building Seleukeia "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Babylon
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Babylon = romans_julii

console_command create_building Babylon "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Antiocheia
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Antiocheia = romans_julii

console_command create_building Antiocheia "cataphract"

end_monitor



monitor_event SettlementTurnStart SettlementName Damaskos
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Damaskos = romans_julii

console_command create_building Damaskos "cataphract"

end_monitor

monitor_event SettlementTurnStart SettlementName Susa
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Susa = romans_julii

console_command create_building Susa "cataphract"

end_monitor

monitor_event SettlementTurnStart SettlementName Charax
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Charax = romans_julii

console_command create_building Charax "cataphract"

end_monitor

monitor_event SettlementTurnStart SettlementName Halikarnassos
and I_CompareCounter Seleukid_Reform = 1
and not SettlementBuildingExists = cataphract
and I_SettlementOwner Halikarnassos = romans_julii

console_command create_building Halikarnassos "cataphract"

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2e: Pan-Caucasus Empire Reform - Hayasdan
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Start of PCER
;; Declare counter
declare_counter Caucasus_Reform

;; Check if 1st Lvl PCER already reached, if true set counter to 1.
monitor_event SettlementTurnEnd SettlementName Armavir
and I_LocalFaction romans_scipii
and I_CompareCounter Caucasus_Reform = 0
and SettlementBuildingExists = homeland

set_counter Caucasus_Reform 1

end_monitor

;; Check if 2nd Lvl PCER already reached, if true set counter to 2.
monitor_event SettlementTurnEnd SettlementName Karkathiokerta
and I_LocalFaction romans_scipii
and SettlementBuildingExists = homeland

set_counter Caucasus_Reform 2

end_monitor

;; Check conditions for 1st Lvl, if true create building and set counter to 1.
monitor_event SettlementTurnStart SettlementName Armavir
and I_LocalFaction romans_scipii
and SettlementIsLocal
and I_CompareCounter Caucasus_Reform = 0
and SettlementBuildingExists >= market
and SettlementBuildingExists >= roads
and SettlementBuildingExists >= town_garrison
and SettlementBuildingExists >= governors_villa
and SettlementBuildingExists >= sanitize
and not SettlementBuildingExists = homeland

console_command create_building Armavir "homeland"
set_counter Caucasus_Reform 1

end_monitor

;; Check conditions for 2nd Lvl, if true create buildings and set counter to 2.
monitor_event SettlementTurnStart SettlementName Armavir
and I_LocalFaction romans_scipii
and I_CompareCounter Caucasus_Reform = 1
and SettlementIsLocal
and SettlementBuildingExists = gov1

console_command create_building Karkathiokerta "homeland"
console_command create_building Ani-Kamah "homeland"
console_command create_building Phraaspa "expansion"
console_command create_building Kotais "expansion"
console_command create_building Trapezous "expansion"
console_command create_building Kabalaka "expansion"
console_command create_building Mtskheta "expansion"
set_counter Caucasus_Reform 2

terminate_monitor
end_monitor

;; Start of PCER Appendix
;; Declare counters
declare_counter Caucasus_ReformA
declare_counter Caucasus_ReformAinc

;; Check if PCER Appendix already reached, if true set counter 2
monitor_event SettlementTurnEnd SettlementName Amaseia
and I_LocalFaction romans_scipii
and I_CompareCounter Caucasus_ReformA = 0
and SettlementBuildingExists = expansion

set_counter Caucasus_ReformA 2

end_monitor

;; Check Armavir for gov1, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Armavir
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov1
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check Karkathiokerta for >= gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Karkathiokerta
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists >= gov3
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check Ani-Kamah for >= gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Ani-Kamah
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists >= gov3
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check Phraaspa for >= gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Phraaspa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists >= gov3
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check Kotais for >= gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Kotais
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists >= gov3
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check Trapezous for >= gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Trapezous
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists >= gov3
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check Kabalaka for >= gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Kabalaka
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists >= gov3
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check Mtskheta for >= gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Mtskheta
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists >= gov3
and I_CompareCounter Caucasus_ReformA = 0

inc_counter Caucasus_ReformAinc 1

end_monitor

;; Check counter, if 8 set counter to 1, if != 8 set counter to 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Caucasus_ReformA = 0

if I_CompareCounter Caucasus_ReformAinc = 8

spawn_character slave Isaac, diplomat, command 0, influence 0, management 0, subterfuge 0, age 63, , x 229, y 144
console_command give_ancillary "Isaac" KingOfKingsAncillary
console_command create_building Amaseia "expansion"
console_command create_building Mazaka "expansion"
set_counter Caucasus_ReformA 1

end_if

if I_CompareCounter Caucasus_ReformAinc != 8

set_counter Caucasus_ReformAinc 0

end_if
end_monitor

;; Check counter, if 1 kill diplomat and set counter 2
monitor_event FactionTurnEnd FactionType romans_julii
and I_LocalFaction romans_scipii
and I_CompareCounter Caucasus_ReformA = 1

console_command kill_character Isaac
set_counter Caucasus_ReformA 2

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2f: Persia Reform - Hayasdan
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;; Start of PR
;; Declare counters.
declare_counter Persia_Reform1
declare_counter Persia_Reform1inc

;; If PR Lvl 1 already reached, set counter to 1
monitor_event SettlementTurnEnd SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform1 = 0

set_counter Persia_Reform1 1

end_monitor

;; Check Arbela for gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Arbela
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and I_CompareCounter Persia_Reform1 = 0

inc_counter Persia_Reform1inc 1

end_monitor

;; Check Seleukeia for gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Seleukeia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and I_CompareCounter Persia_Reform1 = 0

inc_counter Persia_Reform1inc 1

end_monitor

;; Check Babylon for gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Babylon
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and I_CompareCounter Persia_Reform1 = 0

inc_counter Persia_Reform1inc 1

end_monitor

;; Check Ekbatana for gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Ekbatana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and I_CompareCounter Persia_Reform1 = 0

inc_counter Persia_Reform1inc 1

end_monitor

;; Check Charax for gov3, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Charax
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and I_CompareCounter Persia_Reform1 = 0

inc_counter Persia_Reform1inc 1

end_monitor

;; Check Susa for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform1 = 0

inc_counter Persia_Reform1inc 1

end_monitor

;; Check Persepolis for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform1 = 0

inc_counter Persia_Reform1inc 1

end_monitor

;; Check counter, if 7 set counter to 1, if != 7 set counter to 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform1 = 0

if I_CompareCounter Persia_Reform1inc = 7

console_command create_building Susa "expansion"
console_command create_building Persepolis "expansion"
set_counter Persia_Reform1 1

end_if

if I_CompareCounter Persia_Reform1inc != 7

set_counter Persia_Reform1inc 0

end_if
end_monitor

;; WESTWARD EXPANSION

;; PR Lvl 2W
;; Declare counters.
declare_counter Persia_Reform2W
declare_counter Persia_Reform2Winc

;; If PR Lvl 2W already reached, set counter to 1.
monitor_event SettlementTurnEnd SettlementName Ekbatana
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform2W = 0

set_counter Persia_Reform2W 1

end_monitor

;; Check Ekbatana for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Ekbatana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform2W = 0

inc_counter Persia_Reform2Winc 1

end_monitor

;; Check Seleukeia for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Seleukeia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform2W = 0

inc_counter Persia_Reform2Winc 1

end_monitor

;; Check Babylon for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Babylon
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform2W = 0

inc_counter Persia_Reform2Winc 1

end_monitor

;; Check Charax for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Charax
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform2W = 0

inc_counter Persia_Reform2Winc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform2W = 0

inc_counter Persia_Reform2Winc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform2W = 0

inc_counter Persia_Reform2Winc 1

end_monitor

;; Check counter, if 6 set counter 1, if != 6 set counter 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform2W = 0

if I_CompareCounter Persia_Reform2Winc = 6

console_command create_building Ekbatana "expansion"
console_command create_building Seleukeia "expansion"
console_command create_building Babylon "expansion"
console_command create_building Charax "expansion"
set_counter Persia_Reform2W 1

end_if

if I_CompareCounter Persia_Reform2Winc != 6

set_counter Persia_Reform2Winc 0

end_if
end_monitor

;; PR Lvl 3W
;; Declare Counters
declare_counter Persia_Reform3W
declare_counter Persia_Reform3Winc

;; If PR Lvl 3W already reached, set counter to 1
monitor_event SettlementTurnEnd SettlementName Palmyra
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform3W = 0

set_counter Persia_Reform3W 1

end_monitor

;; Check Palmyra for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Palmyra
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Edessa for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Edessa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Arbela for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Arbela
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Charax for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Charax
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Ekbatana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Ekbatana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Seleukeia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Seleukeia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Babylon for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Babylon
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3W = 0

inc_counter Persia_Reform3Winc 1

end_monitor

;; Check counter, if 9 set counter to 1, if != 9 set counter to 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform3W = 0

if I_CompareCounter Persia_Reform3Winc = 9

console_command create_building Edessa "expansion"
console_command create_building Arbela "expansion"
console_command create_building Palmyra "expansion"
set_counter Persia_Reform3W 1

end_if

if I_CompareCounter Persia_Reform3Winc != 9

set_counter Persia_Reform3Winc 0

end_if
end_monitor

;; PR Lvl 4W
;; Declare Counters
declare_counter Persia_Reform4W
declare_counter Persia_Reform4Winc

;; If PR Lvl 4W already reached, set counter to 1
monitor_event SettlementTurnEnd SettlementName Tarsos
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform4W = 0

set_counter Persia_Reform4W 1

end_monitor

;; Check Tarsos for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Tarsos
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Antiocheia for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Antiocheia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Damaskos for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Damaskos
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Palmyra for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Palmyra
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Edessa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Edessa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Arbela for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Arbela
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Charax for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Charax
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Ekbatana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Ekbatana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Seleukeia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Seleukeia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Babylon for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Babylon
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4W = 0

inc_counter Persia_Reform4Winc 1

end_monitor

;; Check counter, if 12 set counter to 1, if != 12 set counter to 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform4W = 0

if I_CompareCounter Persia_Reform4Winc = 12

console_command create_building Tarsos "expansion"
console_command create_building Antiocheia "expansion"
console_command create_building Damaskos "expansion"
set_counter Persia_Reform4W 1

end_if

if I_CompareCounter Persia_Reform4Winc != 12

set_counter Persia_Reform4Winc 0

end_if
end_monitor

;; EASTWARD EXPANSION

;; PR Lvl 2EA
;; Declare counters.
declare_counter Persia_Reform2EA
declare_counter Persia_Reform2EAinc

;; If PR Lvl 2EA already reached, set counter to 1.
monitor_event SettlementTurnEnd SettlementName Zadrakata
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform2EA = 0

set_counter Persia_Reform2EA 1

end_monitor

;; Check Zadrakata for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Zadrakata
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform2EA = 0

inc_counter Persia_Reform2EAinc 1

end_monitor

;; Check Apameia for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Apameia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform2EA = 0

inc_counter Persia_Reform2EAinc 1

end_monitor

;; Check Gabai for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and not SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform2EA = 0

inc_counter Persia_Reform2EAinc 1

end_monitor

;; Check Gabai for expansion, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform2EA = 0

inc_counter Persia_Reform2EAinc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform2EA = 0

inc_counter Persia_Reform2EAinc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform2EA = 0

inc_counter Persia_Reform2EAinc 1

end_monitor

;; Check counter, if 5 set counter 1, if != 5 set counter 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform2EA = 0

if I_CompareCounter Persia_Reform2EAinc = 5
and I_CompareCounter Persia_Reform2EB > 0

console_command create_building Zadrakata "expansion"
console_command create_building Apameia "expansion"
set_counter Persia_Reform2EA 1

end_if

if I_CompareCounter Persia_Reform2EAinc = 5
and I_CompareCounter Persia_Reform2EB = 0

console_command create_building Zadrakata "expansion"
console_command create_building Apameia "expansion"
console_command create_building Gabai "expansion"
set_counter Persia_Reform2EA 1

end_if

if I_CompareCounter Persia_Reform2EAinc != 5

set_counter Persia_Reform2EAinc 0

end_if
end_monitor

;; PR Lvl 2EB
;; Declare counters.
declare_counter Persia_Reform2EB
declare_counter Persia_Reform2EBinc

;; If PR Lvl 2EB already reached, set counter to 1.
monitor_event SettlementTurnEnd SettlementName Karmana
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform2EB = 0

set_counter Persia_Reform2EB 1

end_monitor

;; Check Karmana for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Karmana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform2EB = 0

inc_counter Persia_Reform2EBinc 1

end_monitor

;; Check Gabai for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and not SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform2EB = 0

inc_counter Persia_Reform2EBinc 1

end_monitor

;; Check Gabai for expansion, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform2EB = 0

inc_counter Persia_Reform2EBinc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform2EB = 0

inc_counter Persia_Reform2EBinc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform2EB = 0

inc_counter Persia_Reform2EBinc 1

end_monitor

;; Check counter, if 4 set counter 1, if != 4 set counter 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform2EB = 0

if I_CompareCounter Persia_Reform2EBinc = 4
and I_CompareCounter Persia_Reform2EA > 0

console_command create_building Karmana "expansion"
set_counter Persia_Reform2EB 1

end_if

if I_CompareCounter Persia_Reform2EBinc = 4
and I_CompareCounter Persia_Reform2EA = 0

console_command create_building Karmana "expansion"
console_command create_building Gabai "expansion"
set_counter Persia_Reform2EB 1

end_if

if I_CompareCounter Persia_Reform2EBinc != 4

set_counter Persia_Reform2EBinc 0

end_if
end_monitor

;; PR Lvl 3EA
;; Declare counters.
declare_counter Persia_Reform3EA
declare_counter Persia_Reform3EAinc

;; If PR Lvl 3EA already reached, set counter to 1.
monitor_event SettlementTurnEnd SettlementName Asaak
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform3EA = 0

set_counter Persia_Reform3EA 1

end_monitor

;; Check Asaak for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Asaak
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Hekatompylos for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Alexandreia-Ariana for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and not SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Alexandreia-Ariana for expansion, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Zadrakata for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Zadrakata
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Apameia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Apameia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Gabai for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Karmana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Karmana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EA = 0

inc_counter Persia_Reform3EAinc 1

end_monitor

;; Check counter, if 9 set counter 1, if != 9 set counter 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform3EA = 0

if I_CompareCounter Persia_Reform3EAinc = 9
and I_CompareCounter Persia_Reform3EB > 0

console_command create_building Asaak "expansion"
console_command create_building Hekatompylos "expansion"
set_counter Persia_Reform3EA 1

end_if

if I_CompareCounter Persia_Reform3EAinc = 9
and I_CompareCounter Persia_Reform3EB = 0

console_command create_building Asaak "expansion"
console_command create_building Hekatompylos "expansion"
console_command create_building Alexandreia-Ariana "expansion"
set_counter Persia_Reform3EA 1

end_if

if I_CompareCounter Persia_Reform3EAinc != 9

set_counter Persia_Reform3EAinc 0

end_if
end_monitor

;; PR Lvl 3EB
;; Declare counters.
declare_counter Persia_Reform3EB
declare_counter Persia_Reform3EBinc

;; If PR Lvl 3EB already reached, set counter to 1.
monitor_event SettlementTurnEnd SettlementName Pura
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform3EB = 0

set_counter Persia_Reform3EB 1

end_monitor

;; Check Pura for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Pura
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Alexandropolis for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Prophthasia for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Prophthasia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Alexandreia-Ariana for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and not SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Alexandreia-Ariana for expansion, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Zadrakata for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Zadrakata
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Apameia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Apameia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Gabai for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Karmana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Karmana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform3EB = 0

inc_counter Persia_Reform3EBinc 1

end_monitor

;; Check counter, if 10 set counter 1, if != 10 set counter 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform3EB = 0

if I_CompareCounter Persia_Reform3EBinc = 10
and I_CompareCounter Persia_Reform3EA > 0

console_command create_building Pura "expansion"
console_command create_building Alexandropolis "expansion"
console_command create_building Prophthasia "expansion"
set_counter Persia_Reform3EB 1

end_if

if I_CompareCounter Persia_Reform3EBinc = 10
and I_CompareCounter Persia_Reform3EA = 0

console_command create_building Pura "expansion"
console_command create_building Alexandropolis "expansion"
console_command create_building Prophthasia "expansion"
console_command create_building Alexandreia-Ariana "expansion"
set_counter Persia_Reform3EB 1

end_if

if I_CompareCounter Persia_Reform3EBinc != 10

set_counter Persia_Reform3EBinc 0

end_if
end_monitor

;; PR Lvl 4E
;; Declare Counters
declare_counter Persia_Reform4E
declare_counter Persia_Reform4Einc

;; If PR Lvl 4E already reached, set counter to 1
monitor_event SettlementTurnEnd SettlementName Baktra
and I_LocalFaction romans_scipii
and SettlementBuildingExists = expansion
and I_CompareCounter Persia_Reform4E = 0

set_counter Persia_Reform4E 1

end_monitor

;; Check Baktra for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Baktra
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Alexandreia-Margiane for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Antiocheia-Margiane
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Kophen for gov3 and persiapart, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Kophen
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov3
and SettlementBuildingExists = persiapart
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Zadrakata for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Zadrakata
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Apameia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Apameia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Gabai for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Karmana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Karmana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Asaak for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Asaak
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Hekatompylos for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Hekatompylos
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Alexandreia-Ariana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Alexandreia-Ariana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Prophthasia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Prophthasia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Alexandropolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Alexandropolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Pura for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Pura
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter Persia_Reform4E = 0

inc_counter Persia_Reform4Einc 1

end_monitor

;; Check counter, if 15 set counter to 1, if != 15 set counter to 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter Persia_Reform4E = 0

if I_CompareCounter Persia_Reform4Einc = 15

console_command create_building Antiocheia-Margiane "expansion"
console_command create_building Baktra "expansion"
console_command create_building Kophen "expansion"
set_counter Persia_Reform4E 1

end_if

if I_CompareCounter Persia_Reform4Einc != 15

set_counter Persia_Reform4Einc 0

end_if
end_monitor

;; PR Appendix Lvl 1
;; Declare Counter
declare_counter PR_Appendix1
declare_counter PR_Appendix1inc

;; Check if PR Appendix Lvl 2a already reached, if true set counter 3
monitor_event SettlementTurnEnd SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementBuildingExists = gov1
and I_CompareCounter PR_Appendix1 = 0

set_counter PR_Appendix1 3

end_monitor

;; Check if PR Appendix Lvl 2b already reached, if true set counter 3
monitor_event SettlementTurnEnd SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementBuildingExists = gov1
and I_CompareCounter PR_Appendix1 = 0

set_counter PR_Appendix1 3

end_monitor

;; Check if PR Appendix Lvl 1 already reached, if true set counter 2
monitor_event SettlementTurnEnd SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementBuildingExists = homeland
and I_CompareCounter PR_Appendix1 = 0

set_counter PR_Appendix1 2

end_monitor

;; Check Susa for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Persepolis for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Seleukeia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Seleukeia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Babylon for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Babylon
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Charax for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Charax
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Ekbatana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Ekbatana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Zadrakata for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Zadrakata
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Apameia for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Apameia
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1 = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Gabai for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Gabai
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1inc = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check Karmana for persiafull, if true increase counter 1.
monitor_event SettlementTurnStart SettlementName Karmana
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = persiafull
and I_CompareCounter PR_Appendix1inc = 0

inc_counter PR_Appendix1inc 1

end_monitor

;; Check counter, if >= 6 set counter to 1, if < 6 set counter to 0.
monitor_event FactionTurnStart FactionType romans_scipii
and I_LocalFaction romans_scipii
and I_CompareCounter PR_Appendix1 = 0

if I_CompareCounter PR_Appendix1inc >= 6

console_command create_building Susa "homeland"
console_command create_building Persepolis "homeland"
set_counter PR_Appendix1 1

end_if

if I_CompareCounter PR_Appendix1inc < 6

set_counter PR_Appendix1inc 0

end_if
end_monitor

;; Check Susa for gov1, if true set counter 2.
monitor_event SettlementTurnStart SettlementName Susa
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov1
and I_CompareCounter PR_Appendix1 = 1

spawn_character slave Isaac, diplomat, command 0, influence 0, management 0, subterfuge 0, age 63, , x 229, y 144
;console_command give_ancillary "Isaac" ShahanshahAncillary
set_counter PR_Appendix1 2

end_monitor

;; Check Persepolis for gov1, if true set counter 2.
monitor_event SettlementTurnStart SettlementName Persepolis
and I_LocalFaction romans_scipii
and SettlementIsLocal
and SettlementBuildingExists = gov1
and I_CompareCounter PR_Appendix1 = 1

spawn_character slave Isaac, diplomat, command 0, influence 0, management 0, subterfuge 0, age 63, , x 229, y 144
;console_command give_ancillary "Isaac" ShahanshahAncillary
set_counter PR_Appendix1 2

end_monitor

;; Check counter, if 3 kill diplomat and set counter 4
monitor_event FactionTurnEnd FactionType romans_julii
and I_LocalFaction romans_scipii
and I_CompareCounter PR_Appendix1 = 2

console_command kill_character Isaac
set_counter PR_Appendix1 3

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2g: Carthage Reform
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter Carthage_Reforms
declare_counter Carthage_Reformsinc1
declare_counter Carthage_Reformsinc2
declare_counter Carthage_ReformTested

; Check if Carthage Reforms already reached, if true set counter 1
monitor_event SettlementTurnEnd SettlementName Kart-Hadast
and SettlementBuildingExists = carthage1
and I_CompareCounter Carthage_Reforms = 0
	set_counter Carthage_Reforms 1
end_monitor

; Delay placement of buildings until the check in Kart-Hadast is done
monitor_event SettlementTurnEnd SettlementName Kart-Hadast
	set_counter Carthage_ReformTested 1
end_monitor


; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Lepki
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Garama
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Adrumeto
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Kirtan
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Ippone
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Tuat
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Siga
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Lixus
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Sala
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Gader
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Mastia
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Sucum-Murgi
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Baikor
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Ars
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Oxtraca
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Numantia
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Emporion
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Tyde
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Pallantia
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Vellika
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Tolosa
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Massalia
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Segesta
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Arretium
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Ariminum
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Roma
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Capua
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Arpi
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Taras
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for royal_barracks_V1, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Rhegion
and SettlementBuildingExists = royal_barracks_V1
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc1 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Tolosa
and I_SettlementOwner Tolosa = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Massalia
and I_SettlementOwner Massalia = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Segesta
and I_SettlementOwner Segesta = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Arretium
and I_SettlementOwner Arretium = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Ariminum
and I_SettlementOwner Ariminum = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Roma
and I_SettlementOwner Rome = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Capua
and I_SettlementOwner Capua = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Arpi
and I_SettlementOwner Arpi = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Taras
and I_SettlementOwner Taras = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Rhegion
and I_SettlementOwner Rhegion = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Emporion
and I_SettlementOwner Emporion = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Ars
and I_SettlementOwner Arse = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Mastia
and I_SettlementOwner Mastia = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check for egypt ownership, if true inc counter 1
monitor_event SettlementTurnStart SettlementName Gader
and I_SettlementOwner Gader = egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
	inc_counter Carthage_Reformsinc2 1
end_monitor

; Check counters are >= 5 and >= 3 or 200BC, if true set counter 1, if false set counters 0
monitor_event FactionTurnStart FactionType egypt
and I_TurnNumber >= 148
and I_CompareCounter Carthage_Reforms = 0
and I_CompareCounter Carthage_ReformTested = 1

if I_TurnNumber >= 288
	console_command create_building Kart-Hadast "carthage1"
	console_command create_building Atiqa "carthage1"
	console_command create_building Gader "carthage1"
	console_command create_building Mastia "carthage1"
	console_command create_building Bocchoris "carthage1"
	console_command create_building Sala "carthage1"
	console_command create_building Lixus "carthage1"
	console_command create_building Adrumeto "carthage1"
	console_command create_building Lilibeo "carthage1"
	console_command create_building Lepki "carthage1"
	console_command create_building Karali "carthage1"
	set_counter Carthage_Reforms 1
end_if

if I_CompareCounter Carthage_Reformsinc1 >= 5
and I_CompareCounter Carthage_Reformsinc2 >= 3
	console_command create_building Kart-Hadast "carthage1"
	console_command create_building Atiqa "carthage1"
	console_command create_building Gader "carthage1"
	console_command create_building Mastia "carthage1"
	console_command create_building Bocchoris "carthage1"
	console_command create_building Sala "carthage1"
	console_command create_building Lixus "carthage1"
	console_command create_building Adrumeto "carthage1"
	console_command create_building Lilibeo "carthage1"
	console_command create_building Lepki "carthage1"
	console_command create_building Karali "carthage1"
	set_counter Carthage_Reforms 1
end_if

if I_CompareCounter Carthage_Reforms < 1
	set_counter Carthage_Reformsinc1 0
	set_counter Carthage_Reformsinc2 0
end_if
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 2h: Sweboz Reform
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter Sweboz_Reform
declare_counter Sweboz_Reforminc1
declare_counter Sweboz_Reforminc2
declare_counter Sweboz_ReformTested

; Check if Sweboz Reforms already reached, if true set counter 1
monitor_event SettlementTurnEnd SettlementName Swebotruststmnoz
and SettlementBuildingExists = sweboz2
and I_CompareCounter Sweboz_Reform = 0

set_counter Sweboz_Reform 1

end_monitor

; Delay placement of buildings until the check in Swebotruststmnoz is done
monitor_event SettlementTurnEnd SettlementName Swebotruststmnoz
	set_counter Sweboz_ReformTested 1
end_monitor

; Check if Sweboz Reforms already reached, if true set counter 1
; This second check is need if the Sweboz are controlled by the AI.
; For AI factions, SettlementTurnStart precedes SettlementTurnEnd
; when a game is reloaded.
;
monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and SettlementBuildingExists = sweboz2
and I_CompareCounter Sweboz_Reform = 0

set_counter Sweboz_Reform 1

end_monitor

; Check for forum, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Swebotruststmnoz
and SettlementBuildingExists >= forum
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc1 1

end_monitor

; Check for forum, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Gwjm~Hbukoz
and SettlementBuildingExists >= forum
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc1 1

end_monitor

; Check for forum, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Arctaunon
and SettlementBuildingExists >= forum
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc1 1

end_monitor

; Check for forum, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Gwjm~Heruskoz
and SettlementBuildingExists >= forum
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc1 1

end_monitor

; Check for forum, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Gwjm~Kimbroz
and SettlementBuildingExists >= forum
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc1 1

end_monitor

; Check for forum, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Gwjm~Rugoz
and SettlementBuildingExists >= forum
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc1 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Lucarottea
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Lucarottea = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Sarmiszegethusa
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Sarmiszegethusa = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Buridava
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Buridava = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Eburonum
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Eburonum = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Vindobona
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Vindobona = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Aventicos
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Aventicos = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Vindelicoppidos
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Vindelicoppidos = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Viennos
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Viennos = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Iuvavoaeta
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Iuvavoaeta = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check for rMIC4, if true inc counter 1.
monitor_event SettlementTurnStart SettlementName Veldideno
and SettlementBuildingExists >= army_barracks_U1
and I_SettlementOwner Veldideno = germans
and I_CompareCounter Sweboz_Reform = 0
and I_TurnNumber >= 328

inc_counter Sweboz_Reforminc2 1

end_monitor

; Check counters are >= 6 and >= 1 or 140BC, if true set counter 1, if false set counters 0
monitor_event FactionTurnStart FactionType germans
and I_TurnNumber >= 328
and I_CompareCounter Sweboz_Reform = 0
and I_CompareCounter Sweboz_ReformTested = 1

if I_TurnNumber >= 528

console_command create_building Swebotraustastamnoz sweboz2
console_command create_building Gawjam_Habukoz sweboz2
console_command create_building Gawjam_Heruskoz sweboz2
console_command create_building Arctaunon sweboz2
console_command create_building Vindelicoppidos sweboz2
console_command create_building Eburonum sweboz2
console_command create_building Gawjam_Kimbroz sweboz2
console_command create_building Gawjam_Gotanoz sweboz2
console_command create_building Gawjam_Rugoz sweboz2
console_command create_building Gawjam_Silengoz sweboz2
console_command create_building Carrodunum sweboz2
console_command create_building Gawjam_Bastarnoz sweboz2
console_command create_building Gawjam_Skandzawarjoz sweboz2
console_command create_building Ascaucalis sweboz2
set_counter Sweboz_Reform 1

end_if

if I_CompareCounter Sweboz_Reforminc1 >= 6
and I_CompareCounter Sweboz_Reforminc2 >= 1

console_command create_building Swebotraustastamnoz sweboz2
console_command create_building Gawjam_Habukoz sweboz2
console_command create_building Gawjam_Heruskoz sweboz2
console_command create_building Arctaunon sweboz2
console_command create_building Vindelicoppidos sweboz2
console_command create_building Eburonum sweboz2
console_command create_building Gawjam_Kimbroz sweboz2
console_command create_building Gawjam_Gotanoz sweboz2
console_command create_building Gawjam_Rugoz sweboz2
console_command create_building Gawjam_Silengoz sweboz2
console_command create_building Carrodunum sweboz2
console_command create_building Gawjam_Bastarnoz sweboz2
console_command create_building Gawjam_Skandzawarjoz sweboz2
console_command create_building Ascaucalis sweboz2
set_counter Sweboz_Reform 1

end_if

if I_CompareCounter Sweboz_Reform < 1
    set_counter Sweboz_Reforminc1 0
    set_counter Sweboz_Reforminc2 0
end_if
end_monitor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;
;;  Section 3: Government Building Management
;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
monitor_event FactionTurnStart TrueCondition
and not FactionIsLocal
and I_CompareCounter First_Turn = 0
        set_counter First_Turn 1
end_monitor

; Declare settlement ownership counters
;
declare_counter settlementowner_Arbela
declare_counter settlementowner_Phraaspa
declare_counter settlementowner_Bononia
declare_counter settlementowner_Kabalaka
declare_counter settlementowner_Thermon
declare_counter settlementowner_Arpi
declare_counter settlementowner_Burdigala
declare_counter settlementowner_Babylon
declare_counter settlementowner_Alexandropolis
declare_counter settlementowner_Alexandreia_Ariana
declare_counter settlementowner_Darioritum
declare_counter settlementowner_Gergovia
declare_counter settlementowner_Edessa
declare_counter settlementowner_Asaak
declare_counter settlementowner_Pallantia
declare_counter settlementowner_Athenai
declare_counter settlementowner_Augila_settlement
declare_counter settlementowner_Seleukeia
declare_counter settlementowner_Baktra
declare_counter settlementowner_Bocchoris
declare_counter settlementowner_Gawjam_Bastarnoz
declare_counter settlementowner_Mastia
declare_counter settlementowner_Avaricum
declare_counter settlementowner_Bratosporios
declare_counter settlementowner_Nikaia
declare_counter settlementowner_Pantikapaion
declare_counter settlementowner_Rhegion
declare_counter settlementowner_Caern_Brigantae
declare_counter settlementowner_Gelonus
declare_counter settlementowner_Adrumeto
declare_counter settlementowner_Attuaca
declare_counter settlementowner_Capua
declare_counter settlementowner_Vellika
declare_counter settlementowner_Baikor
declare_counter settlementowner_Camulosadae
declare_counter settlementowner_Numantia
declare_counter settlementowner_Charax
declare_counter settlementowner_Byzantion
declare_counter settlementowner_Ptolemais_Theron
declare_counter settlementowner_Ratae
declare_counter settlementowner_Ictis
declare_counter settlementowner_Lucarottea
declare_counter settlementowner_Emain_Macha
declare_counter settlementowner_Atiqa
declare_counter settlementowner_Ynys_Mon
declare_counter settlementowner_Gava_Alanna
declare_counter settlementowner_Gava_Aursa
declare_counter settlementowner_Nisa
declare_counter settlementowner_Gava_Haomavarga
declare_counter settlementowner_Gava_Mazsakata
declare_counter settlementowner_Gava_Roxsalanna
declare_counter settlementowner_Uspe
declare_counter settlementowner_Gava_Thissakata
declare_counter settlementowner_Gava_Yazyga
declare_counter settlementowner_Gava_Yugra
declare_counter settlementowner_Dalminion
declare_counter settlementowner_Serdike
declare_counter settlementowner_Alexandreia_Eschate
declare_counter settlementowner_Alexandreia
declare_counter settlementowner_Axum
declare_counter settlementowner_Prophthasia
declare_counter settlementowner_Arse
declare_counter settlementowner_Kotais
declare_counter settlementowner_Lilibeo
declare_counter settlementowner_Susa
declare_counter settlementowner_Apollonia
declare_counter settlementowner_Ivernis
declare_counter settlementowner_Ak_Ink
declare_counter settlementowner_Arretium
declare_counter settlementowner_Chalkis
declare_counter settlementowner_Gabai
declare_counter settlementowner_Tuat
declare_counter settlementowner_Tyde
declare_counter settlementowner_Ankyra
declare_counter settlementowner_Taksashila
declare_counter settlementowner_Pura
declare_counter settlementowner_Gerrha
declare_counter settlementowner_Buridava
declare_counter settlementowner_Sarmiszegethusa
declare_counter settlementowner_Massalia
declare_counter settlementowner_Gawjam_Habukoz
declare_counter settlementowner_Sabata
declare_counter settlementowner_Arctaunon
declare_counter settlementowner_Armavir
declare_counter settlementowner_Aventicos
declare_counter settlementowner_Memphis
declare_counter settlementowner_Gawjam_Heruskoz
declare_counter settlementowner_Zadrakata
declare_counter settlementowner_Epidamnos
declare_counter settlementowner_Mediolanum
declare_counter settlementowner_Hierosolyma
declare_counter settlementowner_Taras
declare_counter settlementowner_Chach
declare_counter settlementowner_Mazaka
declare_counter settlementowner_Amaseia
declare_counter settlementowner_Halikarnassos
declare_counter settlementowner_Karmana
declare_counter settlementowner_Mtskheta
declare_counter settlementowner_Apameia
declare_counter settlementowner_Khiva
declare_counter settlementowner_Tarsos
declare_counter settlementowner_Gawjam_Kimbroz
declare_counter settlementowner_Alalia
declare_counter settlementowner_Kydonia
declare_counter settlementowner_Meroe
declare_counter settlementowner_Salamis
declare_counter settlementowner_Kyrene
declare_counter settlementowner_Emporion
declare_counter settlementowner_Sparte
declare_counter settlementowner_Gawjam_Gotanoz
declare_counter settlementowner_Rome
declare_counter settlementowner_Lemonum
declare_counter settlementowner_Mytilene
declare_counter settlementowner_Ammonion
declare_counter settlementowner_Segesta
declare_counter settlementowner_Viennos
declare_counter settlementowner_Carrodunum
declare_counter settlementowner_Oxtraca
declare_counter settlementowner_Sardis
declare_counter settlementowner_Tanais
declare_counter settlementowner_Carna
declare_counter settlementowner_Pella
declare_counter settlementowner_Homna
declare_counter settlementowner_Antiocheia_Margiane
declare_counter settlementowner_Paraitonion
declare_counter settlementowner_Ippone
declare_counter settlementowner_Sala
declare_counter settlementowner_Siga
declare_counter settlementowner_Lixus
declare_counter settlementowner_Ekbatana
declare_counter settlementowner_Kallatis
declare_counter settlementowner_Bibracte
declare_counter settlementowner_Cenabum
declare_counter settlementowner_Eburonum
declare_counter settlementowner_Pergamon
declare_counter settlementowner_Bostra
declare_counter settlementowner_Bagacos
declare_counter settlementowner_Gordu_Neuriji
declare_counter settlementowner_Iuvavoaeta
declare_counter settlementowner_Kirtan
declare_counter settlementowner_Hibis
declare_counter settlementowner_Tylis
declare_counter settlementowner_Side
declare_counter settlementowner_Vindobona
declare_counter settlementowner_Segestica
declare_counter settlementowner_Sinope
declare_counter settlementowner_Kophen
declare_counter settlementowner_Hekatompylos
declare_counter settlementowner_Korinthos
declare_counter settlementowner_Persepolis
declare_counter settlementowner_Garama
declare_counter settlementowner_Sidon
declare_counter settlementowner_Ipsos
declare_counter settlementowner_Ani-Kamah
declare_counter settlementowner_Trapezous
declare_counter settlementowner_Tamane
declare_counter settlementowner_Veldideno
declare_counter settlementowner_Rhodos
declare_counter settlementowner_Gawjam_Rugoz
declare_counter settlementowner_Maryab
declare_counter settlementowner_Terhazza
declare_counter settlementowner_Gava_Saka
declare_counter settlementowner_Asodat
declare_counter settlementowner_Karali
declare_counter settlementowner_Opiana
declare_counter settlementowner_Singidunum
declare_counter settlementowner_Seliun_Pilis
declare_counter settlementowner_Gintaras_Ostan
declare_counter settlementowner_Vesontio
declare_counter settlementowner_Messana
declare_counter settlementowner_Gawjam_Silengoz
declare_counter settlementowner_Petra
declare_counter settlementowner_Patala
declare_counter settlementowner_Gawjam_Skandzawarjoz
declare_counter settlementowner_Olbia
declare_counter settlementowner_Marakanda
declare_counter settlementowner_Karkathiokerta
declare_counter settlementowner_Swebotraustastamnoz
declare_counter settlementowner_Antiocheia
declare_counter settlementowner_Damaskos
declare_counter settlementowner_Palmyra
declare_counter settlementowner_Chersonesos
declare_counter settlementowner_Diospolis_Megale
declare_counter settlementowner_Demetrias
declare_counter settlementowner_Naissos
declare_counter settlementowner_Ascaucalis
declare_counter settlementowner_Pselkis
declare_counter settlementowner_Syracuse
declare_counter settlementowner_Lepki
declare_counter settlementowner_Gader
declare_counter settlementowner_Sucum-Murgi
declare_counter settlementowner_Ariminum
declare_counter settlementowner_Patavium
declare_counter settlementowner_Vindelicoppidos
declare_counter settlementowner_Tolosa
declare_counter settlementowner_Chighu
declare_counter settlementowner_Sulek
declare_counter settlementowner_Kart_Hadast
declare_counter settlementowner_Ubar

; Set settlement ownership counters
;
monitor_event FactionTurnStart TrueCondition
if I_SettlementOwner Arbela = slave
set_counter settlementowner_Arbela 0
end_if
if I_SettlementOwner Arbela = seleucid
set_counter settlementowner_Arbela 1
end_if
if I_SettlementOwner Arbela = thrace
set_counter settlementowner_Arbela 2
end_if
if I_SettlementOwner Arbela = greek_cities
set_counter settlementowner_Arbela 3
end_if
if I_SettlementOwner Arbela = carthage
set_counter settlementowner_Arbela 4
end_if
if I_SettlementOwner Arbela = romans_julii
set_counter settlementowner_Arbela 5
end_if
if I_SettlementOwner Arbela = romans_brutii
set_counter settlementowner_Arbela 6
end_if
if I_SettlementOwner Arbela = romans_scipii
set_counter settlementowner_Arbela 7
end_if
if I_SettlementOwner Arbela = macedon
set_counter settlementowner_Arbela 8
end_if
if I_SettlementOwner Arbela = gauls
set_counter settlementowner_Arbela 9
end_if
if I_SettlementOwner Arbela = germans
set_counter settlementowner_Arbela 10
end_if
if I_SettlementOwner Arbela = britons
set_counter settlementowner_Arbela 11
end_if
if I_SettlementOwner Arbela = spain
set_counter settlementowner_Arbela 12
end_if
if I_SettlementOwner Arbela = dacia
set_counter settlementowner_Arbela 13
end_if
if I_SettlementOwner Arbela = scythia
set_counter settlementowner_Arbela 14
end_if
if I_SettlementOwner Arbela = egypt
set_counter settlementowner_Arbela 15
end_if
if I_SettlementOwner Arbela = parthia
set_counter settlementowner_Arbela 16
end_if
if I_SettlementOwner Arbela = numidia
set_counter settlementowner_Arbela 17
end_if
if I_SettlementOwner Arbela = saba
set_counter settlementowner_Arbela 18
end_if
if I_SettlementOwner Arbela = armenia
set_counter settlementowner_Arbela 19
end_if
if I_SettlementOwner Arbela = pontus
set_counter settlementowner_Arbela 20
end_if
if I_SettlementOwner Phraaspa = slave
set_counter settlementowner_Phraaspa 0
end_if
if I_SettlementOwner Phraaspa = seleucid
set_counter settlementowner_Phraaspa 1
end_if
if I_SettlementOwner Phraaspa = thrace
set_counter settlementowner_Phraaspa 2
end_if
if I_SettlementOwner Phraaspa = greek_cities
set_counter settlementowner_Phraaspa 3
end_if
if I_SettlementOwner Phraaspa = carthage
set_counter settlementowner_Phraaspa 4
end_if
if I_SettlementOwner Phraaspa = romans_julii
set_counter settlementowner_Phraaspa 5
end_if
if I_SettlementOwner Phraaspa = romans_brutii
set_counter settlementowner_Phraaspa 6
end_if
if I_SettlementOwner Phraaspa = romans_scipii
set_counter settlementowner_Phraaspa 7
end_if
if I_SettlementOwner Phraaspa = macedon
set_counter settlementowner_Phraaspa 8
end_if
if I_SettlementOwner Phraaspa = gauls
set_counter settlementowner_Phraaspa 9
end_if
if I_SettlementOwner Phraaspa = germans
set_counter settlementowner_Phraaspa 10
end_if
if I_SettlementOwner Phraaspa = britons
set_counter settlementowner_Phraaspa 11
end_if
if I_SettlementOwner Phraaspa = spain
set_counter settlementowner_Phraaspa 12
end_if
if I_SettlementOwner Phraaspa = dacia
set_counter settlementowner_Phraaspa 13
end_if
if I_SettlementOwner Phraaspa = scythia
set_counter settlementowner_Phraaspa 14
end_if
if I_SettlementOwner Phraaspa = egypt
set_counter settlementowner_Phraaspa 15
end_if
if I_SettlementOwner Phraaspa = parthia
set_counter settlementowner_Phraaspa 16
end_if
if I_SettlementOwner Phraaspa = numidia
set_counter settlementowner_Phraaspa 17
end_if
if I_SettlementOwner Phraaspa = saba
set_counter settlementowner_Phraaspa 18
end_if
if I_SettlementOwner Phraaspa = armenia
set_counter settlementowner_Phraaspa 19
end_if
if I_SettlementOwner Phraaspa = pontus
set_counter settlementowner_Phraaspa 20
end_if
if I_SettlementOwner Bononia = slave
set_counter settlementowner_Bononia 0
end_if
if I_SettlementOwner Bononia = seleucid
set_counter settlementowner_Bononia 1
end_if
if I_SettlementOwner Bononia = thrace
set_counter settlementowner_Bononia 2
end_if
if I_SettlementOwner Bononia = greek_cities
set_counter settlementowner_Bononia 3
end_if
if I_SettlementOwner Bononia = carthage
set_counter settlementowner_Bononia 4
end_if
if I_SettlementOwner Bononia = romans_julii
set_counter settlementowner_Bononia 5
end_if
if I_SettlementOwner Bononia = romans_brutii
set_counter settlementowner_Bononia 6
end_if
if I_SettlementOwner Bononia = romans_scipii
set_counter settlementowner_Bononia 7
end_if
if I_SettlementOwner Bononia = macedon
set_counter settlementowner_Bononia 8
end_if
if I_SettlementOwner Bononia = gauls
set_counter settlementowner_Bononia 9
end_if
if I_SettlementOwner Bononia = germans
set_counter settlementowner_Bononia 10
end_if
if I_SettlementOwner Bononia = britons
set_counter settlementowner_Bononia 11
end_if
if I_SettlementOwner Bononia = spain
set_counter settlementowner_Bononia 12
end_if
if I_SettlementOwner Bononia = dacia
set_counter settlementowner_Bononia 13
end_if
if I_SettlementOwner Bononia = scythia
set_counter settlementowner_Bononia 14
end_if
if I_SettlementOwner Bononia = egypt
set_counter settlementowner_Bononia 15
end_if
if I_SettlementOwner Bononia = parthia
set_counter settlementowner_Bononia 16
end_if
if I_SettlementOwner Bononia = numidia
set_counter settlementowner_Bononia 17
end_if
if I_SettlementOwner Bononia = saba
set_counter settlementowner_Bononia 18
end_if
if I_SettlementOwner Bononia = armenia
set_counter settlementowner_Bononia 19
end_if
if I_SettlementOwner Bononia = pontus
set_counter settlementowner_Bononia 20
end_if
if I_SettlementOwner Kabalaka = slave
set_counter settlementowner_Kabalaka 0
end_if
if I_SettlementOwner Kabalaka = seleucid
set_counter settlementowner_Kabalaka 1
end_if
if I_SettlementOwner Kabalaka = thrace
set_counter settlementowner_Kabalaka 2
end_if
if I_SettlementOwner Kabalaka = greek_cities
set_counter settlementowner_Kabalaka 3
end_if
if I_SettlementOwner Kabalaka = carthage
set_counter settlementowner_Kabalaka 4
end_if
if I_SettlementOwner Kabalaka = romans_julii
set_counter settlementowner_Kabalaka 5
end_if
if I_SettlementOwner Kabalaka = romans_brutii
set_counter settlementowner_Kabalaka 6
end_if
if I_SettlementOwner Kabalaka = romans_scipii
set_counter settlementowner_Kabalaka 7
end_if
if I_SettlementOwner Kabalaka = macedon
set_counter settlementowner_Kabalaka 8
end_if
if I_SettlementOwner Kabalaka = gauls
set_counter settlementowner_Kabalaka 9
end_if
if I_SettlementOwner Kabalaka = germans
set_counter settlementowner_Kabalaka 10
end_if
if I_SettlementOwner Kabalaka = britons
set_counter settlementowner_Kabalaka 11
end_if
if I_SettlementOwner Kabalaka = spain
set_counter settlementowner_Kabalaka 12
end_if
if I_SettlementOwner Kabalaka = dacia
set_counter settlementowner_Kabalaka 13
end_if
if I_SettlementOwner Kabalaka = scythia
set_counter settlementowner_Kabalaka 14
end_if
if I_SettlementOwner Kabalaka = egypt
set_counter settlementowner_Kabalaka 15
end_if
if I_SettlementOwner Kabalaka = parthia
set_counter settlementowner_Kabalaka 16
end_if
if I_SettlementOwner Kabalaka = numidia
set_counter settlementowner_Kabalaka 17
end_if
if I_SettlementOwner Kabalaka = saba
set_counter settlementowner_Kabalaka 18
end_if
if I_SettlementOwner Kabalaka = armenia
set_counter settlementowner_Kabalaka 19
end_if
if I_SettlementOwner Kabalaka = pontus
set_counter settlementowner_Kabalaka 20
end_if
if I_SettlementOwner Thermon = slave
set_counter settlementowner_Thermon 0
end_if
if I_SettlementOwner Thermon = seleucid
set_counter settlementowner_Thermon 1
end_if
if I_SettlementOwner Thermon = thrace
set_counter settlementowner_Thermon 2
end_if
if I_SettlementOwner Thermon = greek_cities
set_counter settlementowner_Thermon 3
end_if
if I_SettlementOwner Thermon = carthage
set_counter settlementowner_Thermon 4
end_if
if I_SettlementOwner Thermon = romans_julii
set_counter settlementowner_Thermon 5
end_if
if I_SettlementOwner Thermon = romans_brutii
set_counter settlementowner_Thermon 6
end_if
if I_SettlementOwner Thermon = romans_scipii
set_counter settlementowner_Thermon 7
end_if
if I_SettlementOwner Thermon = macedon
set_counter settlementowner_Thermon 8
end_if
if I_SettlementOwner Thermon = gauls
set_counter settlementowner_Thermon 9
end_if
if I_SettlementOwner Thermon = germans
set_counter settlementowner_Thermon 10
end_if
if I_SettlementOwner Thermon = britons
set_counter settlementowner_Thermon 11
end_if
if I_SettlementOwner Thermon = spain
set_counter settlementowner_Thermon 12
end_if
if I_SettlementOwner Thermon = dacia
set_counter settlementowner_Thermon 13
end_if
if I_SettlementOwner Thermon = scythia
set_counter settlementowner_Thermon 14
end_if
if I_SettlementOwner Thermon = egypt
set_counter settlementowner_Thermon 15
end_if
if I_SettlementOwner Thermon = parthia
set_counter settlementowner_Thermon 16
end_if
if I_SettlementOwner Thermon = numidia
set_counter settlementowner_Thermon 17
end_if
if I_SettlementOwner Thermon = saba
set_counter settlementowner_Thermon 18
end_if
if I_SettlementOwner Thermon = armenia
set_counter settlementowner_Thermon 19
end_if
if I_SettlementOwner Thermon = pontus
set_counter settlementowner_Thermon 20
end_if
if I_SettlementOwner Arpi = slave
set_counter settlementowner_Arpi 0
end_if
if I_SettlementOwner Arpi = seleucid
set_counter settlementowner_Arpi 1
end_if
if I_SettlementOwner Arpi = thrace
set_counter settlementowner_Arpi 2
end_if
if I_SettlementOwner Arpi = greek_cities
set_counter settlementowner_Arpi 3
end_if
if I_SettlementOwner Arpi = carthage
set_counter settlementowner_Arpi 4
end_if
if I_SettlementOwner Arpi = romans_julii
set_counter settlementowner_Arpi 5
end_if
if I_SettlementOwner Arpi = romans_brutii
set_counter settlementowner_Arpi 6
end_if
if I_SettlementOwner Arpi = romans_scipii
set_counter settlementowner_Arpi 7
end_if
if I_SettlementOwner Arpi = macedon
set_counter settlementowner_Arpi 8
end_if
if I_SettlementOwner Arpi = gauls
set_counter settlementowner_Arpi 9
end_if
if I_SettlementOwner Arpi = germans
set_counter settlementowner_Arpi 10
end_if
if I_SettlementOwner Arpi = britons
set_counter settlementowner_Arpi 11
end_if
if I_SettlementOwner Arpi = spain
set_counter settlementowner_Arpi 12
end_if
if I_SettlementOwner Arpi = dacia
set_counter settlementowner_Arpi 13
end_if
if I_SettlementOwner Arpi = scythia
set_counter settlementowner_Arpi 14
end_if
if I_SettlementOwner Arpi = egypt
set_counter settlementowner_Arpi 15
end_if
if I_SettlementOwner Arpi = parthia
set_counter settlementowner_Arpi 16
end_if
if I_SettlementOwner Arpi = numidia
set_counter settlementowner_Arpi 17
end_if
if I_SettlementOwner Arpi = saba
set_counter settlementowner_Arpi 18
end_if
if I_SettlementOwner Arpi = armenia
set_counter settlementowner_Arpi 19
end_if
if I_SettlementOwner Arpi = pontus
set_counter settlementowner_Arpi 20
end_if
if I_SettlementOwner Burdigala = slave
set_counter settlementowner_Burdigala 0
end_if
if I_SettlementOwner Burdigala = seleucid
set_counter settlementowner_Burdigala 1
end_if
if I_SettlementOwner Burdigala = thrace
set_counter settlementowner_Burdigala 2
end_if
if I_SettlementOwner Burdigala = greek_cities
set_counter settlementowner_Burdigala 3
end_if
if I_SettlementOwner Burdigala = carthage
set_counter settlementowner_Burdigala 4
end_if
if I_SettlementOwner Burdigala = romans_julii
set_counter settlementowner_Burdigala 5
end_if
if I_SettlementOwner Burdigala = romans_brutii
set_counter settlementowner_Burdigala 6
end_if
if I_SettlementOwner Burdigala = romans_scipii
set_counter settlementowner_Burdigala 7
end_if
if I_SettlementOwner Burdigala = macedon
set_counter settlementowner_Burdigala 8
end_if
if I_SettlementOwner Burdigala = gauls
set_counter settlementowner_Burdigala 9
end_if
if I_SettlementOwner Burdigala = germans
set_counter settlementowner_Burdigala 10
end_if
if I_SettlementOwner Burdigala = britons
set_counter settlementowner_Burdigala 11
end_if
if I_SettlementOwner Burdigala = spain
set_counter settlementowner_Burdigala 12
end_if
if I_SettlementOwner Burdigala = dacia
set_counter settlementowner_Burdigala 13
end_if
if I_SettlementOwner Burdigala = scythia
set_counter settlementowner_Burdigala 14
end_if
if I_SettlementOwner Burdigala = egypt
set_counter settlementowner_Burdigala 15
end_if
if I_SettlementOwner Burdigala = parthia
set_counter settlementowner_Burdigala 16
end_if
if I_SettlementOwner Burdigala = numidia
set_counter settlementowner_Burdigala 17
end_if
if I_SettlementOwner Burdigala = saba
set_counter settlementowner_Burdigala 18
end_if
if I_SettlementOwner Burdigala = armenia
set_counter settlementowner_Burdigala 19
end_if
if I_SettlementOwner Burdigala = pontus
set_counter settlementowner_Burdigala 20
end_if
if I_SettlementOwner Babylon = slave
set_counter settlementowner_Babylon 0
end_if
if I_SettlementOwner Babylon = seleucid
set_counter settlementowner_Babylon 1
end_if
if I_SettlementOwner Babylon = thrace
set_counter settlementowner_Babylon 2
end_if
if I_SettlementOwner Babylon = greek_cities
set_counter settlementowner_Babylon 3
end_if
if I_SettlementOwner Babylon = carthage
set_counter settlementowner_Babylon 4
end_if
if I_SettlementOwner Babylon = romans_julii
set_counter settlementowner_Babylon 5
end_if
if I_SettlementOwner Babylon = romans_brutii
set_counter settlementowner_Babylon 6
end_if
if I_SettlementOwner Babylon = romans_scipii
set_counter settlementowner_Babylon 7
end_if
if I_SettlementOwner Babylon = macedon
set_counter settlementowner_Babylon 8
end_if
if I_SettlementOwner Babylon = gauls
set_counter settlementowner_Babylon 9
end_if
if I_SettlementOwner Babylon = germans
set_counter settlementowner_Babylon 10
end_if
if I_SettlementOwner Babylon = britons
set_counter settlementowner_Babylon 11
end_if
if I_SettlementOwner Babylon = spain
set_counter settlementowner_Babylon 12
end_if
if I_SettlementOwner Babylon = dacia
set_counter settlementowner_Babylon 13
end_if
if I_SettlementOwner Babylon = scythia
set_counter settlementowner_Babylon 14
end_if
if I_SettlementOwner Babylon = egypt
set_counter settlementowner_Babylon 15
end_if
if I_SettlementOwner Babylon = parthia
set_counter settlementowner_Babylon 16
end_if
if I_SettlementOwner Babylon = numidia
set_counter settlementowner_Babylon 17
end_if
if I_SettlementOwner Babylon = saba
set_counter settlementowner_Babylon 18
end_if
if I_SettlementOwner Babylon = armenia
set_counter settlementowner_Babylon 19
end_if
if I_SettlementOwner Babylon = pontus
set_counter settlementowner_Babylon 20
end_if
if I_SettlementOwner Alexandropolis = slave
set_counter settlementowner_Alexandropolis 0
end_if
if I_SettlementOwner Alexandropolis = seleucid
set_counter settlementowner_Alexandropolis 1
end_if
if I_SettlementOwner Alexandropolis = thrace
set_counter settlementowner_Alexandropolis 2
end_if
if I_SettlementOwner Alexandropolis = greek_cities
set_counter settlementowner_Alexandropolis 3
end_if
if I_SettlementOwner Alexandropolis = carthage
set_counter settlementowner_Alexandropolis 4
end_if
if I_SettlementOwner Alexandropolis = romans_julii
set_counter settlementowner_Alexandropolis 5
end_if
if I_SettlementOwner Alexandropolis = romans_brutii
set_counter settlementowner_Alexandropolis 6
end_if
if I_SettlementOwner Alexandropolis = romans_scipii
set_counter settlementowner_Alexandropolis 7
end_if
if I_SettlementOwner Alexandropolis = macedon
set_counter settlementowner_Alexandropolis 8
end_if
if I_SettlementOwner Alexandropolis = gauls
set_counter settlementowner_Alexandropolis 9
end_if
if I_SettlementOwner Alexandropolis = germans
set_counter settlementowner_Alexandropolis 10
end_if
if I_SettlementOwner Alexandropolis = britons
set_counter settlementowner_Alexandropolis 11
end_if
if I_SettlementOwner Alexandropolis = spain
set_counter settlementowner_Alexandropolis 12
end_if
if I_SettlementOwner Alexandropolis = dacia
set_counter settlementowner_Alexandropolis 13
end_if
if I_SettlementOwner Alexandropolis = scythia
set_counter settlementowner_Alexandropolis 14
end_if
if I_SettlementOwner Alexandropolis = egypt
set_counter settlementowner_Alexandropolis 15
end_if
if I_SettlementOwner Alexandropolis = parthia
set_counter settlementowner_Alexandropolis 16
end_if
if I_SettlementOwner Alexandropolis = numidia
set_counter settlementowner_Alexandropolis 17
end_if
if I_SettlementOwner Alexandropolis = saba
set_counter settlementowner_Alexandropolis 18
end_if
if I_SettlementOwner Alexandropolis = armenia
set_counter settlementowner_Alexandropolis 19
end_if
if I_SettlementOwner Alexandropolis = pontus
set_counter settlementowner_Alexandropolis 20
end_if
if I_SettlementOwner Alexandreia_Ariana = slave
set_counter settlementowner_Alexandreia_Ariana 0
end_if
if I_SettlementOwner Alexandreia_Ariana = seleucid
set_counter settlementowner_Alexandreia_Ariana 1
end_if
if I_SettlementOwner Alexandreia_Ariana = thrace
set_counter settlementowner_Alexandreia_Ariana 2
end_if
if I_SettlementOwner Alexandreia_Ariana = greek_cities
set_counter settlementowner_Alexandreia_Ariana 3
end_if
if I_SettlementOwner Alexandreia_Ariana = carthage
set_counter settlementowner_Alexandreia_Ariana 4
end_if
if I_SettlementOwner Alexandreia_Ariana = romans_julii
set_counter settlementowner_Alexandreia_Ariana 5
end_if
if I_SettlementOwner Alexandreia_Ariana = romans_brutii
set_counter settlementowner_Alexandreia_Ariana 6
end_if
if I_SettlementOwner Alexandreia_Ariana = romans_scipii
set_counter settlementowner_Alexandreia_Ariana 7
end_if
if I_SettlementOwner Alexandreia_Ariana = macedon
set_counter settlementowner_Alexandreia_Ariana 8
end_if
if I_SettlementOwner Alexandreia_Ariana = gauls
set_counter settlementowner_Alexandreia_Ariana 9
end_if
if I_SettlementOwner Alexandreia_Ariana = germans
set_counter settlementowner_Alexandreia_Ariana 10
end_if
if I_SettlementOwner Alexandreia_Ariana = britons
set_counter settlementowner_Alexandreia_Ariana 11
end_if
if I_SettlementOwner Alexandreia_Ariana = spain
set_counter settlementowner_Alexandreia_Ariana 12
end_if
if I_SettlementOwner Alexandreia_Ariana = dacia
set_counter settlementowner_Alexandreia_Ariana 13
end_if
if I_SettlementOwner Alexandreia_Ariana = scythia
set_counter settlementowner_Alexandreia_Ariana 14
end_if
if I_SettlementOwner Alexandreia_Ariana = egypt
set_counter settlementowner_Alexandreia_Ariana 15
end_if
if I_SettlementOwner Alexandreia_Ariana = parthia
set_counter settlementowner_Alexandreia_Ariana 16
end_if
if I_SettlementOwner Alexandreia_Ariana = numidia
set_counter settlementowner_Alexandreia_Ariana 17
end_if
if I_SettlementOwner Alexandreia_Ariana = saba
set_counter settlementowner_Alexandreia_Ariana 18
end_if
if I_SettlementOwner Alexandreia_Ariana = armenia
set_counter settlementowner_Alexandreia_Ariana 19
end_if
if I_SettlementOwner Alexandreia_Ariana = pontus
set_counter settlementowner_Alexandreia_Ariana 20
end_if
if I_SettlementOwner Darioritum = slave
set_counter settlementowner_Darioritum 0
end_if
if I_SettlementOwner Darioritum = seleucid
set_counter settlementowner_Darioritum 1
end_if
if I_SettlementOwner Darioritum = thrace
set_counter settlementowner_Darioritum 2
end_if
if I_SettlementOwner Darioritum = greek_cities
set_counter settlementowner_Darioritum 3
end_if
if I_SettlementOwner Darioritum = carthage
set_counter settlementowner_Darioritum 4
end_if
if I_SettlementOwner Darioritum = romans_julii
set_counter settlementowner_Darioritum 5
end_if
if I_SettlementOwner Darioritum = romans_brutii
set_counter settlementowner_Darioritum 6
end_if
if I_SettlementOwner Darioritum = romans_scipii
set_counter settlementowner_Darioritum 7
end_if
if I_SettlementOwner Darioritum = macedon
set_counter settlementowner_Darioritum 8
end_if
if I_SettlementOwner Darioritum = gauls
set_counter settlementowner_Darioritum 9
end_if
if I_SettlementOwner Darioritum = germans
set_counter settlementowner_Darioritum 10
end_if
if I_SettlementOwner Darioritum = britons
set_counter settlementowner_Darioritum 11
end_if
if I_SettlementOwner Darioritum = spain
set_counter settlementowner_Darioritum 12
end_if
if I_SettlementOwner Darioritum = dacia
set_counter settlementowner_Darioritum 13
end_if
if I_SettlementOwner Darioritum = scythia
set_counter settlementowner_Darioritum 14
end_if
if I_SettlementOwner Darioritum = egypt
set_counter settlementowner_Darioritum 15
end_if
if I_SettlementOwner Darioritum = parthia
set_counter settlementowner_Darioritum 16
end_if
if I_SettlementOwner Darioritum = numidia
set_counter settlementowner_Darioritum 17
end_if
if I_SettlementOwner Darioritum = saba
set_counter settlementowner_Darioritum 18
end_if
if I_SettlementOwner Darioritum = armenia
set_counter settlementowner_Darioritum 19
end_if
if I_SettlementOwner Darioritum = pontus
set_counter settlementowner_Darioritum 20
end_if
if I_SettlementOwner Gergovia = slave
set_counter settlementowner_Gergovia 0
end_if
if I_SettlementOwner Gergovia = seleucid
set_counter settlementowner_Gergovia 1
end_if
if I_SettlementOwner Gergovia = thrace
set_counter settlementowner_Gergovia 2
end_if
if I_SettlementOwner Gergovia = greek_cities
set_counter settlementowner_Gergovia 3
end_if
if I_SettlementOwner Gergovia = carthage
set_counter settlementowner_Gergovia 4
end_if
if I_SettlementOwner Gergovia = romans_julii
set_counter settlementowner_Gergovia 5
end_if
if I_SettlementOwner Gergovia = romans_brutii
set_counter settlementowner_Gergovia 6
end_if
if I_SettlementOwner Gergovia = romans_scipii
set_counter settlementowner_Gergovia 7
end_if
if I_SettlementOwner Gergovia = macedon
set_counter settlementowner_Gergovia 8
end_if
if I_SettlementOwner Gergovia = gauls
set_counter settlementowner_Gergovia 9
end_if
if I_SettlementOwner Gergovia = germans
set_counter settlementowner_Gergovia 10
end_if
if I_SettlementOwner Gergovia = britons
set_counter settlementowner_Gergovia 11
end_if
if I_SettlementOwner Gergovia = spain
set_counter settlementowner_Gergovia 12
end_if
if I_SettlementOwner Gergovia = dacia
set_counter settlementowner_Gergovia 13
end_if
if I_SettlementOwner Gergovia = scythia
set_counter settlementowner_Gergovia 14
end_if
if I_SettlementOwner Gergovia = egypt
set_counter settlementowner_Gergovia 15
end_if
if I_SettlementOwner Gergovia = parthia
set_counter settlementowner_Gergovia 16
end_if
if I_SettlementOwner Gergovia = numidia
set_counter settlementowner_Gergovia 17
end_if
if I_SettlementOwner Gergovia = saba
set_counter settlementowner_Gergovia 18
end_if
if I_SettlementOwner Gergovia = armenia
set_counter settlementowner_Gergovia 19
end_if
if I_SettlementOwner Gergovia = pontus
set_counter settlementowner_Gergovia 20
end_if
if I_SettlementOwner Edessa = slave
set_counter settlementowner_Edessa 0
end_if
if I_SettlementOwner Edessa = seleucid
set_counter settlementowner_Edessa 1
end_if
if I_SettlementOwner Edessa = thrace
set_counter settlementowner_Edessa 2
end_if
if I_SettlementOwner Edessa = greek_cities
set_counter settlementowner_Edessa 3
end_if
if I_SettlementOwner Edessa = carthage
set_counter settlementowner_Edessa 4
end_if
if I_SettlementOwner Edessa = romans_julii
set_counter settlementowner_Edessa 5
end_if
if I_SettlementOwner Edessa = romans_brutii
set_counter settlementowner_Edessa 6
end_if
if I_SettlementOwner Edessa = romans_scipii
set_counter settlementowner_Edessa 7
end_if
if I_SettlementOwner Edessa = macedon
set_counter settlementowner_Edessa 8
end_if
if I_SettlementOwner Edessa = gauls
set_counter settlementowner_Edessa 9
end_if
if I_SettlementOwner Edessa = germans
set_counter settlementowner_Edessa 10
end_if
if I_SettlementOwner Edessa = britons
set_counter settlementowner_Edessa 11
end_if
if I_SettlementOwner Edessa = spain
set_counter settlementowner_Edessa 12
end_if
if I_SettlementOwner Edessa = dacia
set_counter settlementowner_Edessa 13
end_if
if I_SettlementOwner Edessa = scythia
set_counter settlementowner_Edessa 14
end_if
if I_SettlementOwner Edessa = egypt
set_counter settlementowner_Edessa 15
end_if
if I_SettlementOwner Edessa = parthia
set_counter settlementowner_Edessa 16
end_if
if I_SettlementOwner Edessa = numidia
set_counter settlementowner_Edessa 17
end_if
if I_SettlementOwner Edessa = saba
set_counter settlementowner_Edessa 18
end_if
if I_SettlementOwner Edessa = armenia
set_counter settlementowner_Edessa 19
end_if
if I_SettlementOwner Edessa = pontus
set_counter settlementowner_Edessa 20
end_if
if I_SettlementOwner Asaak = slave
set_counter settlementowner_Asaak 0
end_if
if I_SettlementOwner Asaak = seleucid
set_counter settlementowner_Asaak 1
end_if
if I_SettlementOwner Asaak = thrace
set_counter settlementowner_Asaak 2
end_if
if I_SettlementOwner Asaak = greek_cities
set_counter settlementowner_Asaak 3
end_if
if I_SettlementOwner Asaak = carthage
set_counter settlementowner_Asaak 4
end_if
if I_SettlementOwner Asaak = romans_julii
set_counter settlementowner_Asaak 5
end_if
if I_SettlementOwner Asaak = romans_brutii
set_counter settlementowner_Asaak 6
end_if
if I_SettlementOwner Asaak = romans_scipii
set_counter settlementowner_Asaak 7
end_if
if I_SettlementOwner Asaak = macedon
set_counter settlementowner_Asaak 8
end_if
if I_SettlementOwner Asaak = gauls
set_counter settlementowner_Asaak 9
end_if
if I_SettlementOwner Asaak = germans
set_counter settlementowner_Asaak 10
end_if
if I_SettlementOwner Asaak = britons
set_counter settlementowner_Asaak 11
end_if
if I_SettlementOwner Asaak = spain
set_counter settlementowner_Asaak 12
end_if
if I_SettlementOwner Asaak = dacia
set_counter settlementowner_Asaak 13
end_if
if I_SettlementOwner Asaak = scythia
set_counter settlementowner_Asaak 14
end_if
if I_SettlementOwner Asaak = egypt
set_counter settlementowner_Asaak 15
end_if
if I_SettlementOwner Asaak = parthia
set_counter settlementowner_Asaak 16
end_if
if I_SettlementOwner Asaak = numidia
set_counter settlementowner_Asaak 17
end_if
if I_SettlementOwner Asaak = saba
set_counter settlementowner_Asaak 18
end_if
if I_SettlementOwner Asaak = armenia
set_counter settlementowner_Asaak 19
end_if
if I_SettlementOwner Asaak = pontus
set_counter settlementowner_Asaak 20
end_if
if I_SettlementOwner Pallantia = slave
set_counter settlementowner_Pallantia 0
end_if
if I_SettlementOwner Pallantia = seleucid
set_counter settlementowner_Pallantia 1
end_if
if I_SettlementOwner Pallantia = thrace
set_counter settlementowner_Pallantia 2
end_if
if I_SettlementOwner Pallantia = greek_cities
set_counter settlementowner_Pallantia 3
end_if
if I_SettlementOwner Pallantia = carthage
set_counter settlementowner_Pallantia 4
end_if
if I_SettlementOwner Pallantia = romans_julii
set_counter settlementowner_Pallantia 5
end_if
if I_SettlementOwner Pallantia = romans_brutii
set_counter settlementowner_Pallantia 6
end_if
if I_SettlementOwner Pallantia = romans_scipii
set_counter settlementowner_Pallantia 7
end_if
if I_SettlementOwner Pallantia = macedon
set_counter settlementowner_Pallantia 8
end_if
if I_SettlementOwner Pallantia = gauls
set_counter settlementowner_Pallantia 9
end_if
if I_SettlementOwner Pallantia = germans
set_counter settlementowner_Pallantia 10
end_if
if I_SettlementOwner Pallantia = britons
set_counter settlementowner_Pallantia 11
end_if
if I_SettlementOwner Pallantia = spain
set_counter settlementowner_Pallantia 12
end_if
if I_SettlementOwner Pallantia = dacia
set_counter settlementowner_Pallantia 13
end_if
if I_SettlementOwner Pallantia = scythia
set_counter settlementowner_Pallantia 14
end_if
if I_SettlementOwner Pallantia = egypt
set_counter settlementowner_Pallantia 15
end_if
if I_SettlementOwner Pallantia = parthia
set_counter settlementowner_Pallantia 16
end_if
if I_SettlementOwner Pallantia = numidia
set_counter settlementowner_Pallantia 17
end_if
if I_SettlementOwner Pallantia = saba
set_counter settlementowner_Pallantia 18
end_if
if I_SettlementOwner Pallantia = armenia
set_counter settlementowner_Pallantia 19
end_if
if I_SettlementOwner Pallantia = pontus
set_counter settlementowner_Pallantia 20
end_if
if I_SettlementOwner Athenai = slave
set_counter settlementowner_Athenai 0
end_if
if I_SettlementOwner Athenai = seleucid
set_counter settlementowner_Athenai 1
end_if
if I_SettlementOwner Athenai = thrace
set_counter settlementowner_Athenai 2
end_if
if I_SettlementOwner Athenai = greek_cities
set_counter settlementowner_Athenai 3
end_if
if I_SettlementOwner Athenai = carthage
set_counter settlementowner_Athenai 4
end_if
if I_SettlementOwner Athenai = romans_julii
set_counter settlementowner_Athenai 5
end_if
if I_SettlementOwner Athenai = romans_brutii
set_counter settlementowner_Athenai 6
end_if
if I_SettlementOwner Athenai = romans_scipii
set_counter settlementowner_Athenai 7
end_if
if I_SettlementOwner Athenai = macedon
set_counter settlementowner_Athenai 8
end_if
if I_SettlementOwner Athenai = gauls
set_counter settlementowner_Athenai 9
end_if
if I_SettlementOwner Athenai = germans
set_counter settlementowner_Athenai 10
end_if
if I_SettlementOwner Athenai = britons
set_counter settlementowner_Athenai 11
end_if
if I_SettlementOwner Athenai = spain
set_counter settlementowner_Athenai 12
end_if
if I_SettlementOwner Athenai = dacia
set_counter settlementowner_Athenai 13
end_if
if I_SettlementOwner Athenai = scythia
set_counter settlementowner_Athenai 14
end_if
if I_SettlementOwner Athenai = egypt
set_counter settlementowner_Athenai 15
end_if
if I_SettlementOwner Athenai = parthia
set_counter settlementowner_Athenai 16
end_if
if I_SettlementOwner Athenai = numidia
set_counter settlementowner_Athenai 17
end_if
if I_SettlementOwner Athenai = saba
set_counter settlementowner_Athenai 18
end_if
if I_SettlementOwner Athenai = armenia
set_counter settlementowner_Athenai 19
end_if
if I_SettlementOwner Athenai = pontus
set_counter settlementowner_Athenai 20
end_if
if I_SettlementOwner Augila_settlement = slave
set_counter settlementowner_Augila_settlement 0
end_if
if I_SettlementOwner Augila_settlement = seleucid
set_counter settlementowner_Augila_settlement 1
end_if
if I_SettlementOwner Augila_settlement = thrace
set_counter settlementowner_Augila_settlement 2
end_if
if I_SettlementOwner Augila_settlement = greek_cities
set_counter settlementowner_Augila_settlement 3
end_if
if I_SettlementOwner Augila_settlement = carthage
set_counter settlementowner_Augila_settlement 4
end_if
if I_SettlementOwner Augila_settlement = romans_julii
set_counter settlementowner_Augila_settlement 5
end_if
if I_SettlementOwner Augila_settlement = romans_brutii
set_counter settlementowner_Augila_settlement 6
end_if
if I_SettlementOwner Augila_settlement = romans_scipii
set_counter settlementowner_Augila_settlement 7
end_if
if I_SettlementOwner Augila_settlement = macedon
set_counter settlementowner_Augila_settlement 8
end_if
if I_SettlementOwner Augila_settlement = gauls
set_counter settlementowner_Augila_settlement 9
end_if
if I_SettlementOwner Augila_settlement = germans
set_counter settlementowner_Augila_settlement 10
end_if
if I_SettlementOwner Augila_settlement = britons
set_counter settlementowner_Augila_settlement 11
end_if
if I_SettlementOwner Augila_settlement = spain
set_counter settlementowner_Augila_settlement 12
end_if
if I_SettlementOwner Augila_settlement = dacia
set_counter settlementowner_Augila_settlement 13
end_if
if I_SettlementOwner Augila_settlement = scythia
set_counter settlementowner_Augila_settlement 14
end_if
if I_SettlementOwner Augila_settlement = egypt
set_counter settlementowner_Augila_settlement 15
end_if
if I_SettlementOwner Augila_settlement = parthia
set_counter settlementowner_Augila_settlement 16
end_if
if I_SettlementOwner Augila_settlement = numidia
set_counter settlementowner_Augila_settlement 17
end_if
if I_SettlementOwner Augila_settlement = saba
set_counter settlementowner_Augila_settlement 18
end_if
if I_SettlementOwner Augila_settlement = armenia
set_counter settlementowner_Augila_settlement 19
end_if
if I_SettlementOwner Augila_settlement = pontus
set_counter settlementowner_Augila_settlement 20
end_if
if I_SettlementOwner Seleukeia = slave
set_counter settlementowner_Seleukeia 0
end_if
if I_SettlementOwner Seleukeia = seleucid
set_counter settlementowner_Seleukeia 1
end_if
if I_SettlementOwner Seleukeia = thrace
set_counter settlementowner_Seleukeia 2
end_if
if I_SettlementOwner Seleukeia = greek_cities
set_counter settlementowner_Seleukeia 3
end_if
if I_SettlementOwner Seleukeia = carthage
set_counter settlementowner_Seleukeia 4
end_if
if I_SettlementOwner Seleukeia = romans_julii
set_counter settlementowner_Seleukeia 5
end_if
if I_SettlementOwner Seleukeia = romans_brutii
set_counter settlementowner_Seleukeia 6
end_if
if I_SettlementOwner Seleukeia = romans_scipii
set_counter settlementowner_Seleukeia 7
end_if
if I_SettlementOwner Seleukeia = macedon
set_counter settlementowner_Seleukeia 8
end_if
if I_SettlementOwner Seleukeia = gauls
set_counter settlementowner_Seleukeia 9
end_if
if I_SettlementOwner Seleukeia = germans
set_counter settlementowner_Seleukeia 10
end_if
if I_SettlementOwner Seleukeia = britons
set_counter settlementowner_Seleukeia 11
end_if
if I_SettlementOwner Seleukeia = spain
set_counter settlementowner_Seleukeia 12
end_if
if I_SettlementOwner Seleukeia = dacia
set_counter settlementowner_Seleukeia 13
end_if
if I_SettlementOwner Seleukeia = scythia
set_counter settlementowner_Seleukeia 14
end_if
if I_SettlementOwner Seleukeia = egypt
set_counter settlementowner_Seleukeia 15
end_if
if I_SettlementOwner Seleukeia = parthia
set_counter settlementowner_Seleukeia 16
end_if
if I_SettlementOwner Seleukeia = numidia
set_counter settlementowner_Seleukeia 17
end_if
if I_SettlementOwner Seleukeia = saba
set_counter settlementowner_Seleukeia 18
end_if
if I_SettlementOwner Seleukeia = armenia
set_counter settlementowner_Seleukeia 19
end_if
if I_SettlementOwner Seleukeia = pontus
set_counter settlementowner_Seleukeia 20
end_if
if I_SettlementOwner Baktra = slave
set_counter settlementowner_Baktra 0
end_if
if I_SettlementOwner Baktra = seleucid
set_counter settlementowner_Baktra 1
end_if
if I_SettlementOwner Baktra = thrace
set_counter settlementowner_Baktra 2
end_if
if I_SettlementOwner Baktra = greek_cities
set_counter settlementowner_Baktra 3
end_if
if I_SettlementOwner Baktra = carthage
set_counter settlementowner_Baktra 4
end_if
if I_SettlementOwner Baktra = romans_julii
set_counter settlementowner_Baktra 5
end_if
if I_SettlementOwner Baktra = romans_brutii
set_counter settlementowner_Baktra 6
end_if
if I_SettlementOwner Baktra = romans_scipii
set_counter settlementowner_Baktra 7
end_if
if I_SettlementOwner Baktra = macedon
set_counter settlementowner_Baktra 8
end_if
if I_SettlementOwner Baktra = gauls
set_counter settlementowner_Baktra 9
end_if
if I_SettlementOwner Baktra = germans
set_counter settlementowner_Baktra 10
end_if
if I_SettlementOwner Baktra = britons
set_counter settlementowner_Baktra 11
end_if
if I_SettlementOwner Baktra = spain
set_counter settlementowner_Baktra 12
end_if
if I_SettlementOwner Baktra = dacia
set_counter settlementowner_Baktra 13
end_if
if I_SettlementOwner Baktra = scythia
set_counter settlementowner_Baktra 14
end_if
if I_SettlementOwner Baktra = egypt
set_counter settlementowner_Baktra 15
end_if
if I_SettlementOwner Baktra = parthia
set_counter settlementowner_Baktra 16
end_if
if I_SettlementOwner Baktra = numidia
set_counter settlementowner_Baktra 17
end_if
if I_SettlementOwner Baktra = saba
set_counter settlementowner_Baktra 18
end_if
if I_SettlementOwner Baktra = armenia
set_counter settlementowner_Baktra 19
end_if
if I_SettlementOwner Baktra = pontus
set_counter settlementowner_Baktra 20
end_if
if I_SettlementOwner Bocchoris = slave
set_counter settlementowner_Bocchoris 0
end_if
if I_SettlementOwner Bocchoris = seleucid
set_counter settlementowner_Bocchoris 1
end_if
if I_SettlementOwner Bocchoris = thrace
set_counter settlementowner_Bocchoris 2
end_if
if I_SettlementOwner Bocchoris = greek_cities
set_counter settlementowner_Bocchoris 3
end_if
if I_SettlementOwner Bocchoris = carthage
set_counter settlementowner_Bocchoris 4
end_if
if I_SettlementOwner Bocchoris = romans_julii
set_counter settlementowner_Bocchoris 5
end_if
if I_SettlementOwner Bocchoris = romans_brutii
set_counter settlementowner_Bocchoris 6
end_if
if I_SettlementOwner Bocchoris = romans_scipii
set_counter settlementowner_Bocchoris 7
end_if
if I_SettlementOwner Bocchoris = macedon
set_counter settlementowner_Bocchoris 8
end_if
if I_SettlementOwner Bocchoris = gauls
set_counter settlementowner_Bocchoris 9
end_if
if I_SettlementOwner Bocchoris = germans
set_counter settlementowner_Bocchoris 10
end_if
if I_SettlementOwner Bocchoris = britons
set_counter settlementowner_Bocchoris 11
end_if
if I_SettlementOwner Bocchoris = spain
set_counter settlementowner_Bocchoris 12
end_if
if I_SettlementOwner Bocchoris = dacia
set_counter settlementowner_Bocchoris 13
end_if
if I_SettlementOwner Bocchoris = scythia
set_counter settlementowner_Bocchoris 14
end_if
if I_SettlementOwner Bocchoris = egypt
set_counter settlementowner_Bocchoris 15
end_if
if I_SettlementOwner Bocchoris = parthia
set_counter settlementowner_Bocchoris 16
end_if
if I_SettlementOwner Bocchoris = numidia
set_counter settlementowner_Bocchoris 17
end_if
if I_SettlementOwner Bocchoris = saba
set_counter settlementowner_Bocchoris 18
end_if
if I_SettlementOwner Bocchoris = armenia
set_counter settlementowner_Bocchoris 19
end_if
if I_SettlementOwner Bocchoris = pontus
set_counter settlementowner_Bocchoris 20
end_if
if I_SettlementOwner Gawjam_Bastarnoz = slave
set_counter settlementowner_Gawjam_Bastarnoz 0
end_if
if I_SettlementOwner Gawjam_Bastarnoz = seleucid
set_counter settlementowner_Gawjam_Bastarnoz 1
end_if
if I_SettlementOwner Gawjam_Bastarnoz = thrace
set_counter settlementowner_Gawjam_Bastarnoz 2
end_if
if I_SettlementOwner Gawjam_Bastarnoz = greek_cities
set_counter settlementowner_Gawjam_Bastarnoz 3
end_if
if I_SettlementOwner Gawjam_Bastarnoz = carthage
set_counter settlementowner_Gawjam_Bastarnoz 4
end_if
if I_SettlementOwner Gawjam_Bastarnoz = romans_julii
set_counter settlementowner_Gawjam_Bastarnoz 5
end_if
if I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
set_counter settlementowner_Gawjam_Bastarnoz 6
end_if
if I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
set_counter settlementowner_Gawjam_Bastarnoz 7
end_if
if I_SettlementOwner Gawjam_Bastarnoz = macedon
set_counter settlementowner_Gawjam_Bastarnoz 8
end_if
if I_SettlementOwner Gawjam_Bastarnoz = gauls
set_counter settlementowner_Gawjam_Bastarnoz 9
end_if
if I_SettlementOwner Gawjam_Bastarnoz = germans
set_counter settlementowner_Gawjam_Bastarnoz 10
end_if
if I_SettlementOwner Gawjam_Bastarnoz = britons
set_counter settlementowner_Gawjam_Bastarnoz 11
end_if
if I_SettlementOwner Gawjam_Bastarnoz = spain
set_counter settlementowner_Gawjam_Bastarnoz 12
end_if
if I_SettlementOwner Gawjam_Bastarnoz = dacia
set_counter settlementowner_Gawjam_Bastarnoz 13
end_if
if I_SettlementOwner Gawjam_Bastarnoz = scythia
set_counter settlementowner_Gawjam_Bastarnoz 14
end_if
if I_SettlementOwner Gawjam_Bastarnoz = egypt
set_counter settlementowner_Gawjam_Bastarnoz 15
end_if
if I_SettlementOwner Gawjam_Bastarnoz = parthia
set_counter settlementowner_Gawjam_Bastarnoz 16
end_if
if I_SettlementOwner Gawjam_Bastarnoz = numidia
set_counter settlementowner_Gawjam_Bastarnoz 17
end_if
if I_SettlementOwner Gawjam_Bastarnoz = saba
set_counter settlementowner_Gawjam_Bastarnoz 18
end_if
if I_SettlementOwner Gawjam_Bastarnoz = armenia
set_counter settlementowner_Gawjam_Bastarnoz 19
end_if
if I_SettlementOwner Gawjam_Bastarnoz = pontus
set_counter settlementowner_Gawjam_Bastarnoz 20
end_if
if I_SettlementOwner Mastia = slave
set_counter settlementowner_Mastia 0
end_if
if I_SettlementOwner Mastia = seleucid
set_counter settlementowner_Mastia 1
end_if
if I_SettlementOwner Mastia = thrace
set_counter settlementowner_Mastia 2
end_if
if I_SettlementOwner Mastia = greek_cities
set_counter settlementowner_Mastia 3
end_if
if I_SettlementOwner Mastia = carthage
set_counter settlementowner_Mastia 4
end_if
if I_SettlementOwner Mastia = romans_julii
set_counter settlementowner_Mastia 5
end_if
if I_SettlementOwner Mastia = romans_brutii
set_counter settlementowner_Mastia 6
end_if
if I_SettlementOwner Mastia = romans_scipii
set_counter settlementowner_Mastia 7
end_if
if I_SettlementOwner Mastia = macedon
set_counter settlementowner_Mastia 8
end_if
if I_SettlementOwner Mastia = gauls
set_counter settlementowner_Mastia 9
end_if
if I_SettlementOwner Mastia = germans
set_counter settlementowner_Mastia 10
end_if
if I_SettlementOwner Mastia = britons
set_counter settlementowner_Mastia 11
end_if
if I_SettlementOwner Mastia = spain
set_counter settlementowner_Mastia 12
end_if
if I_SettlementOwner Mastia = dacia
set_counter settlementowner_Mastia 13
end_if
if I_SettlementOwner Mastia = scythia
set_counter settlementowner_Mastia 14
end_if
if I_SettlementOwner Mastia = egypt
set_counter settlementowner_Mastia 15
end_if
if I_SettlementOwner Mastia = parthia
set_counter settlementowner_Mastia 16
end_if
if I_SettlementOwner Mastia = numidia
set_counter settlementowner_Mastia 17
end_if
if I_SettlementOwner Mastia = saba
set_counter settlementowner_Mastia 18
end_if
if I_SettlementOwner Mastia = armenia
set_counter settlementowner_Mastia 19
end_if
if I_SettlementOwner Mastia = pontus
set_counter settlementowner_Mastia 20
end_if
if I_SettlementOwner Avaricum = slave
set_counter settlementowner_Avaricum 0
end_if
if I_SettlementOwner Avaricum = seleucid
set_counter settlementowner_Avaricum 1
end_if
if I_SettlementOwner Avaricum = thrace
set_counter settlementowner_Avaricum 2
end_if
if I_SettlementOwner Avaricum = greek_cities
set_counter settlementowner_Avaricum 3
end_if
if I_SettlementOwner Avaricum = carthage
set_counter settlementowner_Avaricum 4
end_if
if I_SettlementOwner Avaricum = romans_julii
set_counter settlementowner_Avaricum 5
end_if
if I_SettlementOwner Avaricum = romans_brutii
set_counter settlementowner_Avaricum 6
end_if
if I_SettlementOwner Avaricum = romans_scipii
set_counter settlementowner_Avaricum 7
end_if
if I_SettlementOwner Avaricum = macedon
set_counter settlementowner_Avaricum 8
end_if
if I_SettlementOwner Avaricum = gauls
set_counter settlementowner_Avaricum 9
end_if
if I_SettlementOwner Avaricum = germans
set_counter settlementowner_Avaricum 10
end_if
if I_SettlementOwner Avaricum = britons
set_counter settlementowner_Avaricum 11
end_if
if I_SettlementOwner Avaricum = spain
set_counter settlementowner_Avaricum 12
end_if
if I_SettlementOwner Avaricum = dacia
set_counter settlementowner_Avaricum 13
end_if
if I_SettlementOwner Avaricum = scythia
set_counter settlementowner_Avaricum 14
end_if
if I_SettlementOwner Avaricum = egypt
set_counter settlementowner_Avaricum 15
end_if
if I_SettlementOwner Avaricum = parthia
set_counter settlementowner_Avaricum 16
end_if
if I_SettlementOwner Avaricum = numidia
set_counter settlementowner_Avaricum 17
end_if
if I_SettlementOwner Avaricum = saba
set_counter settlementowner_Avaricum 18
end_if
if I_SettlementOwner Avaricum = armenia
set_counter settlementowner_Avaricum 19
end_if
if I_SettlementOwner Avaricum = pontus
set_counter settlementowner_Avaricum 20
end_if
if I_SettlementOwner Bratosporios = slave
set_counter settlementowner_Bratosporios 0
end_if
if I_SettlementOwner Bratosporios = seleucid
set_counter settlementowner_Bratosporios 1
end_if
if I_SettlementOwner Bratosporios = thrace
set_counter settlementowner_Bratosporios 2
end_if
if I_SettlementOwner Bratosporios = greek_cities
set_counter settlementowner_Bratosporios 3
end_if
if I_SettlementOwner Bratosporios = carthage
set_counter settlementowner_Bratosporios 4
end_if
if I_SettlementOwner Bratosporios = romans_julii
set_counter settlementowner_Bratosporios 5
end_if
if I_SettlementOwner Bratosporios = romans_brutii
set_counter settlementowner_Bratosporios 6
end_if
if I_SettlementOwner Bratosporios = romans_scipii
set_counter settlementowner_Bratosporios 7
end_if
if I_SettlementOwner Bratosporios = macedon
set_counter settlementowner_Bratosporios 8
end_if
if I_SettlementOwner Bratosporios = gauls
set_counter settlementowner_Bratosporios 9
end_if
if I_SettlementOwner Bratosporios = germans
set_counter settlementowner_Bratosporios 10
end_if
if I_SettlementOwner Bratosporios = britons
set_counter settlementowner_Bratosporios 11
end_if
if I_SettlementOwner Bratosporios = spain
set_counter settlementowner_Bratosporios 12
end_if
if I_SettlementOwner Bratosporios = dacia
set_counter settlementowner_Bratosporios 13
end_if
if I_SettlementOwner Bratosporios = scythia
set_counter settlementowner_Bratosporios 14
end_if
if I_SettlementOwner Bratosporios = egypt
set_counter settlementowner_Bratosporios 15
end_if
if I_SettlementOwner Bratosporios = parthia
set_counter settlementowner_Bratosporios 16
end_if
if I_SettlementOwner Bratosporios = numidia
set_counter settlementowner_Bratosporios 17
end_if
if I_SettlementOwner Bratosporios = saba
set_counter settlementowner_Bratosporios 18
end_if
if I_SettlementOwner Bratosporios = armenia
set_counter settlementowner_Bratosporios 19
end_if
if I_SettlementOwner Bratosporios = pontus
set_counter settlementowner_Bratosporios 20
end_if
if I_SettlementOwner Nikaia = slave
set_counter settlementowner_Nikaia 0
end_if
if I_SettlementOwner Nikaia = seleucid
set_counter settlementowner_Nikaia 1
end_if
if I_SettlementOwner Nikaia = thrace
set_counter settlementowner_Nikaia 2
end_if
if I_SettlementOwner Nikaia = greek_cities
set_counter settlementowner_Nikaia 3
end_if
if I_SettlementOwner Nikaia = carthage
set_counter settlementowner_Nikaia 4
end_if
if I_SettlementOwner Nikaia = romans_julii
set_counter settlementowner_Nikaia 5
end_if
if I_SettlementOwner Nikaia = romans_brutii
set_counter settlementowner_Nikaia 6
end_if
if I_SettlementOwner Nikaia = romans_scipii
set_counter settlementowner_Nikaia 7
end_if
if I_SettlementOwner Nikaia = macedon
set_counter settlementowner_Nikaia 8
end_if
if I_SettlementOwner Nikaia = gauls
set_counter settlementowner_Nikaia 9
end_if
if I_SettlementOwner Nikaia = germans
set_counter settlementowner_Nikaia 10
end_if
if I_SettlementOwner Nikaia = britons
set_counter settlementowner_Nikaia 11
end_if
if I_SettlementOwner Nikaia = spain
set_counter settlementowner_Nikaia 12
end_if
if I_SettlementOwner Nikaia = dacia
set_counter settlementowner_Nikaia 13
end_if
if I_SettlementOwner Nikaia = scythia
set_counter settlementowner_Nikaia 14
end_if
if I_SettlementOwner Nikaia = egypt
set_counter settlementowner_Nikaia 15
end_if
if I_SettlementOwner Nikaia = parthia
set_counter settlementowner_Nikaia 16
end_if
if I_SettlementOwner Nikaia = numidia
set_counter settlementowner_Nikaia 17
end_if
if I_SettlementOwner Nikaia = saba
set_counter settlementowner_Nikaia 18
end_if
if I_SettlementOwner Nikaia = armenia
set_counter settlementowner_Nikaia 19
end_if
if I_SettlementOwner Nikaia = pontus
set_counter settlementowner_Nikaia 20
end_if
if I_SettlementOwner Pantikapaion = slave
set_counter settlementowner_Pantikapaion 0
end_if
if I_SettlementOwner Pantikapaion = seleucid
set_counter settlementowner_Pantikapaion 1
end_if
if I_SettlementOwner Pantikapaion = thrace
set_counter settlementowner_Pantikapaion 2
end_if
if I_SettlementOwner Pantikapaion = greek_cities
set_counter settlementowner_Pantikapaion 3
end_if
if I_SettlementOwner Pantikapaion = carthage
set_counter settlementowner_Pantikapaion 4
end_if
if I_SettlementOwner Pantikapaion = romans_julii
set_counter settlementowner_Pantikapaion 5
end_if
if I_SettlementOwner Pantikapaion = romans_brutii
set_counter settlementowner_Pantikapaion 6
end_if
if I_SettlementOwner Pantikapaion = romans_scipii
set_counter settlementowner_Pantikapaion 7
end_if
if I_SettlementOwner Pantikapaion = macedon
set_counter settlementowner_Pantikapaion 8
end_if
if I_SettlementOwner Pantikapaion = gauls
set_counter settlementowner_Pantikapaion 9
end_if
if I_SettlementOwner Pantikapaion = germans
set_counter settlementowner_Pantikapaion 10
end_if
if I_SettlementOwner Pantikapaion = britons
set_counter settlementowner_Pantikapaion 11
end_if
if I_SettlementOwner Pantikapaion = spain
set_counter settlementowner_Pantikapaion 12
end_if
if I_SettlementOwner Pantikapaion = dacia
set_counter settlementowner_Pantikapaion 13
end_if
if I_SettlementOwner Pantikapaion = scythia
set_counter settlementowner_Pantikapaion 14
end_if
if I_SettlementOwner Pantikapaion = egypt
set_counter settlementowner_Pantikapaion 15
end_if
if I_SettlementOwner Pantikapaion = parthia
set_counter settlementowner_Pantikapaion 16
end_if
if I_SettlementOwner Pantikapaion = numidia
set_counter settlementowner_Pantikapaion 17
end_if
if I_SettlementOwner Pantikapaion = saba
set_counter settlementowner_Pantikapaion 18
end_if
if I_SettlementOwner Pantikapaion = armenia
set_counter settlementowner_Pantikapaion 19
end_if
if I_SettlementOwner Pantikapaion = pontus
set_counter settlementowner_Pantikapaion 20
end_if
if I_SettlementOwner Rhegion = slave
set_counter settlementowner_Rhegion 0
end_if
if I_SettlementOwner Rhegion = seleucid
set_counter settlementowner_Rhegion 1
end_if
if I_SettlementOwner Rhegion = thrace
set_counter settlementowner_Rhegion 2
end_if
if I_SettlementOwner Rhegion = greek_cities
set_counter settlementowner_Rhegion 3
end_if
if I_SettlementOwner Rhegion = carthage
set_counter settlementowner_Rhegion 4
end_if
if I_SettlementOwner Rhegion = romans_julii
set_counter settlementowner_Rhegion 5
end_if
if I_SettlementOwner Rhegion = romans_brutii
set_counter settlementowner_Rhegion 6
end_if
if I_SettlementOwner Rhegion = romans_scipii
set_counter settlementowner_Rhegion 7
end_if
if I_SettlementOwner Rhegion = macedon
set_counter settlementowner_Rhegion 8
end_if
if I_SettlementOwner Rhegion = gauls
set_counter settlementowner_Rhegion 9
end_if
if I_SettlementOwner Rhegion = germans
set_counter settlementowner_Rhegion 10
end_if
if I_SettlementOwner Rhegion = britons
set_counter settlementowner_Rhegion 11
end_if
if I_SettlementOwner Rhegion = spain
set_counter settlementowner_Rhegion 12
end_if
if I_SettlementOwner Rhegion = dacia
set_counter settlementowner_Rhegion 13
end_if
if I_SettlementOwner Rhegion = scythia
set_counter settlementowner_Rhegion 14
end_if
if I_SettlementOwner Rhegion = egypt
set_counter settlementowner_Rhegion 15
end_if
if I_SettlementOwner Rhegion = parthia
set_counter settlementowner_Rhegion 16
end_if
if I_SettlementOwner Rhegion = numidia
set_counter settlementowner_Rhegion 17
end_if
if I_SettlementOwner Rhegion = saba
set_counter settlementowner_Rhegion 18
end_if
if I_SettlementOwner Rhegion = armenia
set_counter settlementowner_Rhegion 19
end_if
if I_SettlementOwner Rhegion = pontus
set_counter settlementowner_Rhegion 20
end_if
if I_SettlementOwner Caern_Brigantae = slave
set_counter settlementowner_Caern_Brigantae 0
end_if
if I_SettlementOwner Caern_Brigantae = seleucid
set_counter settlementowner_Caern_Brigantae 1
end_if
if I_SettlementOwner Caern_Brigantae = thrace
set_counter settlementowner_Caern_Brigantae 2
end_if
if I_SettlementOwner Caern_Brigantae = greek_cities
set_counter settlementowner_Caern_Brigantae 3
end_if
if I_SettlementOwner Caern_Brigantae = carthage
set_counter settlementowner_Caern_Brigantae 4
end_if
if I_SettlementOwner Caern_Brigantae = romans_julii
set_counter settlementowner_Caern_Brigantae 5
end_if
if I_SettlementOwner Caern_Brigantae = romans_brutii
set_counter settlementowner_Caern_Brigantae 6
end_if
if I_SettlementOwner Caern_Brigantae = romans_scipii
set_counter settlementowner_Caern_Brigantae 7
end_if
if I_SettlementOwner Caern_Brigantae = macedon
set_counter settlementowner_Caern_Brigantae 8
end_if
if I_SettlementOwner Caern_Brigantae = gauls
set_counter settlementowner_Caern_Brigantae 9
end_if
if I_SettlementOwner Caern_Brigantae = germans
set_counter settlementowner_Caern_Brigantae 10
end_if
if I_SettlementOwner Caern_Brigantae = britons
set_counter settlementowner_Caern_Brigantae 11
end_if
if I_SettlementOwner Caern_Brigantae = spain
set_counter settlementowner_Caern_Brigantae 12
end_if
if I_SettlementOwner Caern_Brigantae = dacia
set_counter settlementowner_Caern_Brigantae 13
end_if
if I_SettlementOwner Caern_Brigantae = scythia
set_counter settlementowner_Caern_Brigantae 14
end_if
if I_SettlementOwner Caern_Brigantae = egypt
set_counter settlementowner_Caern_Brigantae 15
end_if
if I_SettlementOwner Caern_Brigantae = parthia
set_counter settlementowner_Caern_Brigantae 16
end_if
if I_SettlementOwner Caern_Brigantae = numidia
set_counter settlementowner_Caern_Brigantae 17
end_if
if I_SettlementOwner Caern_Brigantae = saba
set_counter settlementowner_Caern_Brigantae 18
end_if
if I_SettlementOwner Caern_Brigantae = armenia
set_counter settlementowner_Caern_Brigantae 19
end_if
if I_SettlementOwner Caern_Brigantae = pontus
set_counter settlementowner_Caern_Brigantae 20
end_if
if I_SettlementOwner Gelonus = slave
set_counter settlementowner_Gelonus 0
end_if
if I_SettlementOwner Gelonus = seleucid
set_counter settlementowner_Gelonus 1
end_if
if I_SettlementOwner Gelonus = thrace
set_counter settlementowner_Gelonus 2
end_if
if I_SettlementOwner Gelonus = greek_cities
set_counter settlementowner_Gelonus 3
end_if
if I_SettlementOwner Gelonus = carthage
set_counter settlementowner_Gelonus 4
end_if
if I_SettlementOwner Gelonus = romans_julii
set_counter settlementowner_Gelonus 5
end_if
if I_SettlementOwner Gelonus = romans_brutii
set_counter settlementowner_Gelonus 6
end_if
if I_SettlementOwner Gelonus = romans_scipii
set_counter settlementowner_Gelonus 7
end_if
if I_SettlementOwner Gelonus = macedon
set_counter settlementowner_Gelonus 8
end_if
if I_SettlementOwner Gelonus = gauls
set_counter settlementowner_Gelonus 9
end_if
if I_SettlementOwner Gelonus = germans
set_counter settlementowner_Gelonus 10
end_if
if I_SettlementOwner Gelonus = britons
set_counter settlementowner_Gelonus 11
end_if
if I_SettlementOwner Gelonus = spain
set_counter settlementowner_Gelonus 12
end_if
if I_SettlementOwner Gelonus = dacia
set_counter settlementowner_Gelonus 13
end_if
if I_SettlementOwner Gelonus = scythia
set_counter settlementowner_Gelonus 14
end_if
if I_SettlementOwner Gelonus = egypt
set_counter settlementowner_Gelonus 15
end_if
if I_SettlementOwner Gelonus = parthia
set_counter settlementowner_Gelonus 16
end_if
if I_SettlementOwner Gelonus = numidia
set_counter settlementowner_Gelonus 17
end_if
if I_SettlementOwner Gelonus = saba
set_counter settlementowner_Gelonus 18
end_if
if I_SettlementOwner Gelonus = armenia
set_counter settlementowner_Gelonus 19
end_if
if I_SettlementOwner Gelonus = pontus
set_counter settlementowner_Gelonus 20
end_if
if I_SettlementOwner Adrumeto = slave
set_counter settlementowner_Adrumeto 0
end_if
if I_SettlementOwner Adrumeto = seleucid
set_counter settlementowner_Adrumeto 1
end_if
if I_SettlementOwner Adrumeto = thrace
set_counter settlementowner_Adrumeto 2
end_if
if I_SettlementOwner Adrumeto = greek_cities
set_counter settlementowner_Adrumeto 3
end_if
if I_SettlementOwner Adrumeto = carthage
set_counter settlementowner_Adrumeto 4
end_if
if I_SettlementOwner Adrumeto = romans_julii
set_counter settlementowner_Adrumeto 5
end_if
if I_SettlementOwner Adrumeto = romans_brutii
set_counter settlementowner_Adrumeto 6
end_if
if I_SettlementOwner Adrumeto = romans_scipii
set_counter settlementowner_Adrumeto 7
end_if
if I_SettlementOwner Adrumeto = macedon
set_counter settlementowner_Adrumeto 8
end_if
if I_SettlementOwner Adrumeto = gauls
set_counter settlementowner_Adrumeto 9
end_if
if I_SettlementOwner Adrumeto = germans
set_counter settlementowner_Adrumeto 10
end_if
if I_SettlementOwner Adrumeto = britons
set_counter settlementowner_Adrumeto 11
end_if
if I_SettlementOwner Adrumeto = spain
set_counter settlementowner_Adrumeto 12
end_if
if I_SettlementOwner Adrumeto = dacia
set_counter settlementowner_Adrumeto 13
end_if
if I_SettlementOwner Adrumeto = scythia
set_counter settlementowner_Adrumeto 14
end_if
if I_SettlementOwner Adrumeto = egypt
set_counter settlementowner_Adrumeto 15
end_if
if I_SettlementOwner Adrumeto = parthia
set_counter settlementowner_Adrumeto 16
end_if
if I_SettlementOwner Adrumeto = numidia
set_counter settlementowner_Adrumeto 17
end_if
if I_SettlementOwner Adrumeto = saba
set_counter settlementowner_Adrumeto 18
end_if
if I_SettlementOwner Adrumeto = armenia
set_counter settlementowner_Adrumeto 19
end_if
if I_SettlementOwner Adrumeto = pontus
set_counter settlementowner_Adrumeto 20
end_if
if I_SettlementOwner Attuaca = slave
set_counter settlementowner_Attuaca 0
end_if
if I_SettlementOwner Attuaca = seleucid
set_counter settlementowner_Attuaca 1
end_if
if I_SettlementOwner Attuaca = thrace
set_counter settlementowner_Attuaca 2
end_if
if I_SettlementOwner Attuaca = greek_cities
set_counter settlementowner_Attuaca 3
end_if
if I_SettlementOwner Attuaca = carthage
set_counter settlementowner_Attuaca 4
end_if
if I_SettlementOwner Attuaca = romans_julii
set_counter settlementowner_Attuaca 5
end_if
if I_SettlementOwner Attuaca = romans_brutii
set_counter settlementowner_Attuaca 6
end_if
if I_SettlementOwner Attuaca = romans_scipii
set_counter settlementowner_Attuaca 7
end_if
if I_SettlementOwner Attuaca = macedon
set_counter settlementowner_Attuaca 8
end_if
if I_SettlementOwner Attuaca = gauls
set_counter settlementowner_Attuaca 9
end_if
if I_SettlementOwner Attuaca = germans
set_counter settlementowner_Attuaca 10
end_if
if I_SettlementOwner Attuaca = britons
set_counter settlementowner_Attuaca 11
end_if
if I_SettlementOwner Attuaca = spain
set_counter settlementowner_Attuaca 12
end_if
if I_SettlementOwner Attuaca = dacia
set_counter settlementowner_Attuaca 13
end_if
if I_SettlementOwner Attuaca = scythia
set_counter settlementowner_Attuaca 14
end_if
if I_SettlementOwner Attuaca = egypt
set_counter settlementowner_Attuaca 15
end_if
if I_SettlementOwner Attuaca = parthia
set_counter settlementowner_Attuaca 16
end_if
if I_SettlementOwner Attuaca = numidia
set_counter settlementowner_Attuaca 17
end_if
if I_SettlementOwner Attuaca = saba
set_counter settlementowner_Attuaca 18
end_if
if I_SettlementOwner Attuaca = armenia
set_counter settlementowner_Attuaca 19
end_if
if I_SettlementOwner Attuaca = pontus
set_counter settlementowner_Attuaca 20
end_if
if I_SettlementOwner Capua = slave
set_counter settlementowner_Capua 0
end_if
if I_SettlementOwner Capua = seleucid
set_counter settlementowner_Capua 1
end_if
if I_SettlementOwner Capua = thrace
set_counter settlementowner_Capua 2
end_if
if I_SettlementOwner Capua = greek_cities
set_counter settlementowner_Capua 3
end_if
if I_SettlementOwner Capua = carthage
set_counter settlementowner_Capua 4
end_if
if I_SettlementOwner Capua = romans_julii
set_counter settlementowner_Capua 5
end_if
if I_SettlementOwner Capua = romans_brutii
set_counter settlementowner_Capua 6
end_if
if I_SettlementOwner Capua = romans_scipii
set_counter settlementowner_Capua 7
end_if
if I_SettlementOwner Capua = macedon
set_counter settlementowner_Capua 8
end_if
if I_SettlementOwner Capua = gauls
set_counter settlementowner_Capua 9
end_if
if I_SettlementOwner Capua = germans
set_counter settlementowner_Capua 10
end_if
if I_SettlementOwner Capua = britons
set_counter settlementowner_Capua 11
end_if
if I_SettlementOwner Capua = spain
set_counter settlementowner_Capua 12
end_if
if I_SettlementOwner Capua = dacia
set_counter settlementowner_Capua 13
end_if
if I_SettlementOwner Capua = scythia
set_counter settlementowner_Capua 14
end_if
if I_SettlementOwner Capua = egypt
set_counter settlementowner_Capua 15
end_if
if I_SettlementOwner Capua = parthia
set_counter settlementowner_Capua 16
end_if
if I_SettlementOwner Capua = numidia
set_counter settlementowner_Capua 17
end_if
if I_SettlementOwner Capua = saba
set_counter settlementowner_Capua 18
end_if
if I_SettlementOwner Capua = armenia
set_counter settlementowner_Capua 19
end_if
if I_SettlementOwner Capua = pontus
set_counter settlementowner_Capua 20
end_if
if I_SettlementOwner Vellika = slave
set_counter settlementowner_Vellika 0
end_if
if I_SettlementOwner Vellika = seleucid
set_counter settlementowner_Vellika 1
end_if
if I_SettlementOwner Vellika = thrace
set_counter settlementowner_Vellika 2
end_if
if I_SettlementOwner Vellika = greek_cities
set_counter settlementowner_Vellika 3
end_if
if I_SettlementOwner Vellika = carthage
set_counter settlementowner_Vellika 4
end_if
if I_SettlementOwner Vellika = romans_julii
set_counter settlementowner_Vellika 5
end_if
if I_SettlementOwner Vellika = romans_brutii
set_counter settlementowner_Vellika 6
end_if
if I_SettlementOwner Vellika = romans_scipii
set_counter settlementowner_Vellika 7
end_if
if I_SettlementOwner Vellika = macedon
set_counter settlementowner_Vellika 8
end_if
if I_SettlementOwner Vellika = gauls
set_counter settlementowner_Vellika 9
end_if
if I_SettlementOwner Vellika = germans
set_counter settlementowner_Vellika 10
end_if
if I_SettlementOwner Vellika = britons
set_counter settlementowner_Vellika 11
end_if
if I_SettlementOwner Vellika = spain
set_counter settlementowner_Vellika 12
end_if
if I_SettlementOwner Vellika = dacia
set_counter settlementowner_Vellika 13
end_if
if I_SettlementOwner Vellika = scythia
set_counter settlementowner_Vellika 14
end_if
if I_SettlementOwner Vellika = egypt
set_counter settlementowner_Vellika 15
end_if
if I_SettlementOwner Vellika = parthia
set_counter settlementowner_Vellika 16
end_if
if I_SettlementOwner Vellika = numidia
set_counter settlementowner_Vellika 17
end_if
if I_SettlementOwner Vellika = saba
set_counter settlementowner_Vellika 18
end_if
if I_SettlementOwner Vellika = armenia
set_counter settlementowner_Vellika 19
end_if
if I_SettlementOwner Vellika = pontus
set_counter settlementowner_Vellika 20
end_if
if I_SettlementOwner Baikor = slave
set_counter settlementowner_Baikor 0
end_if
if I_SettlementOwner Baikor = seleucid
set_counter settlementowner_Baikor 1
end_if
if I_SettlementOwner Baikor = thrace
set_counter settlementowner_Baikor 2
end_if
if I_SettlementOwner Baikor = greek_cities
set_counter settlementowner_Baikor 3
end_if
if I_SettlementOwner Baikor = carthage
set_counter settlementowner_Baikor 4
end_if
if I_SettlementOwner Baikor = romans_julii
set_counter settlementowner_Baikor 5
end_if
if I_SettlementOwner Baikor = romans_brutii
set_counter settlementowner_Baikor 6
end_if
if I_SettlementOwner Baikor = romans_scipii
set_counter settlementowner_Baikor 7
end_if
if I_SettlementOwner Baikor = macedon
set_counter settlementowner_Baikor 8
end_if
if I_SettlementOwner Baikor = gauls
set_counter settlementowner_Baikor 9
end_if
if I_SettlementOwner Baikor = germans
set_counter settlementowner_Baikor 10
end_if
if I_SettlementOwner Baikor = britons
set_counter settlementowner_Baikor 11
end_if
if I_SettlementOwner Baikor = spain
set_counter settlementowner_Baikor 12
end_if
if I_SettlementOwner Baikor = dacia
set_counter settlementowner_Baikor 13
end_if
if I_SettlementOwner Baikor = scythia
set_counter settlementowner_Baikor 14
end_if
if I_SettlementOwner Baikor = egypt
set_counter settlementowner_Baikor 15
end_if
if I_SettlementOwner Baikor = parthia
set_counter settlementowner_Baikor 16
end_if
if I_SettlementOwner Baikor = numidia
set_counter settlementowner_Baikor 17
end_if
if I_SettlementOwner Baikor = saba
set_counter settlementowner_Baikor 18
end_if
if I_SettlementOwner Baikor = armenia
set_counter settlementowner_Baikor 19
end_if
if I_SettlementOwner Baikor = pontus
set_counter settlementowner_Baikor 20
end_if
if I_SettlementOwner Camulosadae = slave
set_counter settlementowner_Camulosadae 0
end_if
if I_SettlementOwner Camulosadae = seleucid
set_counter settlementowner_Camulosadae 1
end_if
if I_SettlementOwner Camulosadae = thrace
set_counter settlementowner_Camulosadae 2
end_if
if I_SettlementOwner Camulosadae = greek_cities
set_counter settlementowner_Camulosadae 3
end_if
if I_SettlementOwner Camulosadae = carthage
set_counter settlementowner_Camulosadae 4
end_if
if I_SettlementOwner Camulosadae = romans_julii
set_counter settlementowner_Camulosadae 5
end_if
if I_SettlementOwner Camulosadae = romans_brutii
set_counter settlementowner_Camulosadae 6
end_if
if I_SettlementOwner Camulosadae = romans_scipii
set_counter settlementowner_Camulosadae 7
end_if
if I_SettlementOwner Camulosadae = macedon
set_counter settlementowner_Camulosadae 8
end_if
if I_SettlementOwner Camulosadae = gauls
set_counter settlementowner_Camulosadae 9
end_if
if I_SettlementOwner Camulosadae = germans
set_counter settlementowner_Camulosadae 10
end_if
if I_SettlementOwner Camulosadae = britons
set_counter settlementowner_Camulosadae 11
end_if
if I_SettlementOwner Camulosadae = spain
set_counter settlementowner_Camulosadae 12
end_if
if I_SettlementOwner Camulosadae = dacia
set_counter settlementowner_Camulosadae 13
end_if
if I_SettlementOwner Camulosadae = scythia
set_counter settlementowner_Camulosadae 14
end_if
if I_SettlementOwner Camulosadae = egypt
set_counter settlementowner_Camulosadae 15
end_if
if I_SettlementOwner Camulosadae = parthia
set_counter settlementowner_Camulosadae 16
end_if
if I_SettlementOwner Camulosadae = numidia
set_counter settlementowner_Camulosadae 17
end_if
if I_SettlementOwner Camulosadae = saba
set_counter settlementowner_Camulosadae 18
end_if
if I_SettlementOwner Camulosadae = armenia
set_counter settlementowner_Camulosadae 19
end_if
if I_SettlementOwner Camulosadae = pontus
set_counter settlementowner_Camulosadae 20
end_if
if I_SettlementOwner Numantia = slave
set_counter settlementowner_Numantia 0
end_if
if I_SettlementOwner Numantia = seleucid
set_counter settlementowner_Numantia 1
end_if
if I_SettlementOwner Numantia = thrace
set_counter settlementowner_Numantia 2
end_if
if I_SettlementOwner Numantia = greek_cities
set_counter settlementowner_Numantia 3
end_if
if I_SettlementOwner Numantia = carthage
set_counter settlementowner_Numantia 4
end_if
if I_SettlementOwner Numantia = romans_julii
set_counter settlementowner_Numantia 5
end_if
if I_SettlementOwner Numantia = romans_brutii
set_counter settlementowner_Numantia 6
end_if
if I_SettlementOwner Numantia = romans_scipii
set_counter settlementowner_Numantia 7
end_if
if I_SettlementOwner Numantia = macedon
set_counter settlementowner_Numantia 8
end_if
if I_SettlementOwner Numantia = gauls
set_counter settlementowner_Numantia 9
end_if
if I_SettlementOwner Numantia = germans
set_counter settlementowner_Numantia 10
end_if
if I_SettlementOwner Numantia = britons
set_counter settlementowner_Numantia 11
end_if
if I_SettlementOwner Numantia = spain
set_counter settlementowner_Numantia 12
end_if
if I_SettlementOwner Numantia = dacia
set_counter settlementowner_Numantia 13
end_if
if I_SettlementOwner Numantia = scythia
set_counter settlementowner_Numantia 14
end_if
if I_SettlementOwner Numantia = egypt
set_counter settlementowner_Numantia 15
end_if
if I_SettlementOwner Numantia = parthia
set_counter settlementowner_Numantia 16
end_if
if I_SettlementOwner Numantia = numidia
set_counter settlementowner_Numantia 17
end_if
if I_SettlementOwner Numantia = saba
set_counter settlementowner_Numantia 18
end_if
if I_SettlementOwner Numantia = armenia
set_counter settlementowner_Numantia 19
end_if
if I_SettlementOwner Numantia = pontus
set_counter settlementowner_Numantia 20
end_if
if I_SettlementOwner Charax = slave
set_counter settlementowner_Charax 0
end_if
if I_SettlementOwner Charax = seleucid
set_counter settlementowner_Charax 1
end_if
if I_SettlementOwner Charax = thrace
set_counter settlementowner_Charax 2
end_if
if I_SettlementOwner Charax = greek_cities
set_counter settlementowner_Charax 3
end_if
if I_SettlementOwner Charax = carthage
set_counter settlementowner_Charax 4
end_if
if I_SettlementOwner Charax = romans_julii
set_counter settlementowner_Charax 5
end_if
if I_SettlementOwner Charax = romans_brutii
set_counter settlementowner_Charax 6
end_if
if I_SettlementOwner Charax = romans_scipii
set_counter settlementowner_Charax 7
end_if
if I_SettlementOwner Charax = macedon
set_counter settlementowner_Charax 8
end_if
if I_SettlementOwner Charax = gauls
set_counter settlementowner_Charax 9
end_if
if I_SettlementOwner Charax = germans
set_counter settlementowner_Charax 10
end_if
if I_SettlementOwner Charax = britons
set_counter settlementowner_Charax 11
end_if
if I_SettlementOwner Charax = spain
set_counter settlementowner_Charax 12
end_if
if I_SettlementOwner Charax = dacia
set_counter settlementowner_Charax 13
end_if
if I_SettlementOwner Charax = scythia
set_counter settlementowner_Charax 14
end_if
if I_SettlementOwner Charax = egypt
set_counter settlementowner_Charax 15
end_if
if I_SettlementOwner Charax = parthia
set_counter settlementowner_Charax 16
end_if
if I_SettlementOwner Charax = numidia
set_counter settlementowner_Charax 17
end_if
if I_SettlementOwner Charax = saba
set_counter settlementowner_Charax 18
end_if
if I_SettlementOwner Charax = armenia
set_counter settlementowner_Charax 19
end_if
if I_SettlementOwner Charax = pontus
set_counter settlementowner_Charax 20
end_if
if I_SettlementOwner Byzantion = slave
set_counter settlementowner_Byzantion 0
end_if
if I_SettlementOwner Byzantion = seleucid
set_counter settlementowner_Byzantion 1
end_if
if I_SettlementOwner Byzantion = thrace
set_counter settlementowner_Byzantion 2
end_if
if I_SettlementOwner Byzantion = greek_cities
set_counter settlementowner_Byzantion 3
end_if
if I_SettlementOwner Byzantion = carthage
set_counter settlementowner_Byzantion 4
end_if
if I_SettlementOwner Byzantion = romans_julii
set_counter settlementowner_Byzantion 5
end_if
if I_SettlementOwner Byzantion = romans_brutii
set_counter settlementowner_Byzantion 6
end_if
if I_SettlementOwner Byzantion = romans_scipii
set_counter settlementowner_Byzantion 7
end_if
if I_SettlementOwner Byzantion = macedon
set_counter settlementowner_Byzantion 8
end_if
if I_SettlementOwner Byzantion = gauls
set_counter settlementowner_Byzantion 9
end_if
if I_SettlementOwner Byzantion = germans
set_counter settlementowner_Byzantion 10
end_if
if I_SettlementOwner Byzantion = britons
set_counter settlementowner_Byzantion 11
end_if
if I_SettlementOwner Byzantion = spain
set_counter settlementowner_Byzantion 12
end_if
if I_SettlementOwner Byzantion = dacia
set_counter settlementowner_Byzantion 13
end_if
if I_SettlementOwner Byzantion = scythia
set_counter settlementowner_Byzantion 14
end_if
if I_SettlementOwner Byzantion = egypt
set_counter settlementowner_Byzantion 15
end_if
if I_SettlementOwner Byzantion = parthia
set_counter settlementowner_Byzantion 16
end_if
if I_SettlementOwner Byzantion = numidia
set_counter settlementowner_Byzantion 17
end_if
if I_SettlementOwner Byzantion = saba
set_counter settlementowner_Byzantion 18
end_if
if I_SettlementOwner Byzantion = armenia
set_counter settlementowner_Byzantion 19
end_if
if I_SettlementOwner Byzantion = pontus
set_counter settlementowner_Byzantion 20
end_if
if I_SettlementOwner Ptolemais_Theron = slave
set_counter settlementowner_Ptolemais_Theron 0
end_if
if I_SettlementOwner Ptolemais_Theron = seleucid
set_counter settlementowner_Ptolemais_Theron 1
end_if
if I_SettlementOwner Ptolemais_Theron = thrace
set_counter settlementowner_Ptolemais_Theron 2
end_if
if I_SettlementOwner Ptolemais_Theron = greek_cities
set_counter settlementowner_Ptolemais_Theron 3
end_if
if I_SettlementOwner Ptolemais_Theron = carthage
set_counter settlementowner_Ptolemais_Theron 4
end_if
if I_SettlementOwner Ptolemais_Theron = romans_julii
set_counter settlementowner_Ptolemais_Theron 5
end_if
if I_SettlementOwner Ptolemais_Theron = romans_brutii
set_counter settlementowner_Ptolemais_Theron 6
end_if
if I_SettlementOwner Ptolemais_Theron = romans_scipii
set_counter settlementowner_Ptolemais_Theron 7
end_if
if I_SettlementOwner Ptolemais_Theron = macedon
set_counter settlementowner_Ptolemais_Theron 8
end_if
if I_SettlementOwner Ptolemais_Theron = gauls
set_counter settlementowner_Ptolemais_Theron 9
end_if
if I_SettlementOwner Ptolemais_Theron = germans
set_counter settlementowner_Ptolemais_Theron 10
end_if
if I_SettlementOwner Ptolemais_Theron = britons
set_counter settlementowner_Ptolemais_Theron 11
end_if
if I_SettlementOwner Ptolemais_Theron = spain
set_counter settlementowner_Ptolemais_Theron 12
end_if
if I_SettlementOwner Ptolemais_Theron = dacia
set_counter settlementowner_Ptolemais_Theron 13
end_if
if I_SettlementOwner Ptolemais_Theron = scythia
set_counter settlementowner_Ptolemais_Theron 14
end_if
if I_SettlementOwner Ptolemais_Theron = egypt
set_counter settlementowner_Ptolemais_Theron 15
end_if
if I_SettlementOwner Ptolemais_Theron = parthia
set_counter settlementowner_Ptolemais_Theron 16
end_if
if I_SettlementOwner Ptolemais_Theron = numidia
set_counter settlementowner_Ptolemais_Theron 17
end_if
if I_SettlementOwner Ptolemais_Theron = saba
set_counter settlementowner_Ptolemais_Theron 18
end_if
if I_SettlementOwner Ptolemais_Theron = armenia
set_counter settlementowner_Ptolemais_Theron 19
end_if
if I_SettlementOwner Ptolemais_Theron = pontus
set_counter settlementowner_Ptolemais_Theron 20
end_if
if I_SettlementOwner Ratae = slave
set_counter settlementowner_Ratae 0
end_if
if I_SettlementOwner Ratae = seleucid
set_counter settlementowner_Ratae 1
end_if
if I_SettlementOwner Ratae = thrace
set_counter settlementowner_Ratae 2
end_if
if I_SettlementOwner Ratae = greek_cities
set_counter settlementowner_Ratae 3
end_if
if I_SettlementOwner Ratae = carthage
set_counter settlementowner_Ratae 4
end_if
if I_SettlementOwner Ratae = romans_julii
set_counter settlementowner_Ratae 5
end_if
if I_SettlementOwner Ratae = romans_brutii
set_counter settlementowner_Ratae 6
end_if
if I_SettlementOwner Ratae = romans_scipii
set_counter settlementowner_Ratae 7
end_if
if I_SettlementOwner Ratae = macedon
set_counter settlementowner_Ratae 8
end_if
if I_SettlementOwner Ratae = gauls
set_counter settlementowner_Ratae 9
end_if
if I_SettlementOwner Ratae = germans
set_counter settlementowner_Ratae 10
end_if
if I_SettlementOwner Ratae = britons
set_counter settlementowner_Ratae 11
end_if
if I_SettlementOwner Ratae = spain
set_counter settlementowner_Ratae 12
end_if
if I_SettlementOwner Ratae = dacia
set_counter settlementowner_Ratae 13
end_if
if I_SettlementOwner Ratae = scythia
set_counter settlementowner_Ratae 14
end_if
if I_SettlementOwner Ratae = egypt
set_counter settlementowner_Ratae 15
end_if
if I_SettlementOwner Ratae = parthia
set_counter settlementowner_Ratae 16
end_if
if I_SettlementOwner Ratae = numidia
set_counter settlementowner_Ratae 17
end_if
if I_SettlementOwner Ratae = saba
set_counter settlementowner_Ratae 18
end_if
if I_SettlementOwner Ratae = armenia
set_counter settlementowner_Ratae 19
end_if
if I_SettlementOwner Ratae = pontus
set_counter settlementowner_Ratae 20
end_if
if I_SettlementOwner Ictis = slave
set_counter settlementowner_Ictis 0
end_if
if I_SettlementOwner Ictis = seleucid
set_counter settlementowner_Ictis 1
end_if
if I_SettlementOwner Ictis = thrace
set_counter settlementowner_Ictis 2
end_if
if I_SettlementOwner Ictis = greek_cities
set_counter settlementowner_Ictis 3
end_if
if I_SettlementOwner Ictis = carthage
set_counter settlementowner_Ictis 4
end_if
if I_SettlementOwner Ictis = romans_julii
set_counter settlementowner_Ictis 5
end_if
if I_SettlementOwner Ictis = romans_brutii
set_counter settlementowner_Ictis 6
end_if
if I_SettlementOwner Ictis = romans_scipii
set_counter settlementowner_Ictis 7
end_if
if I_SettlementOwner Ictis = macedon
set_counter settlementowner_Ictis 8
end_if
if I_SettlementOwner Ictis = gauls
set_counter settlementowner_Ictis 9
end_if
if I_SettlementOwner Ictis = germans
set_counter settlementowner_Ictis 10
end_if
if I_SettlementOwner Ictis = britons
set_counter settlementowner_Ictis 11
end_if
if I_SettlementOwner Ictis = spain
set_counter settlementowner_Ictis 12
end_if
if I_SettlementOwner Ictis = dacia
set_counter settlementowner_Ictis 13
end_if
if I_SettlementOwner Ictis = scythia
set_counter settlementowner_Ictis 14
end_if
if I_SettlementOwner Ictis = egypt
set_counter settlementowner_Ictis 15
end_if
if I_SettlementOwner Ictis = parthia
set_counter settlementowner_Ictis 16
end_if
if I_SettlementOwner Ictis = numidia
set_counter settlementowner_Ictis 17
end_if
if I_SettlementOwner Ictis = saba
set_counter settlementowner_Ictis 18
end_if
if I_SettlementOwner Ictis = armenia
set_counter settlementowner_Ictis 19
end_if
if I_SettlementOwner Ictis = pontus
set_counter settlementowner_Ictis 20
end_if
if I_SettlementOwner Lucarottea = slave
set_counter settlementowner_Lucarottea 0
end_if
if I_SettlementOwner Lucarottea = seleucid
set_counter settlementowner_Lucarottea 1
end_if
if I_SettlementOwner Lucarottea = thrace
set_counter settlementowner_Lucarottea 2
end_if
if I_SettlementOwner Lucarottea = greek_cities
set_counter settlementowner_Lucarottea 3
end_if
if I_SettlementOwner Lucarottea = carthage
set_counter settlementowner_Lucarottea 4
end_if
if I_SettlementOwner Lucarottea = romans_julii
set_counter settlementowner_Lucarottea 5
end_if
if I_SettlementOwner Lucarottea = romans_brutii
set_counter settlementowner_Lucarottea 6
end_if
if I_SettlementOwner Lucarottea = romans_scipii
set_counter settlementowner_Lucarottea 7
end_if
if I_SettlementOwner Lucarottea = macedon
set_counter settlementowner_Lucarottea 8
end_if
if I_SettlementOwner Lucarottea = gauls
set_counter settlementowner_Lucarottea 9
end_if
if I_SettlementOwner Lucarottea = germans
set_counter settlementowner_Lucarottea 10
end_if
if I_SettlementOwner Lucarottea = britons
set_counter settlementowner_Lucarottea 11
end_if
if I_SettlementOwner Lucarottea = spain
set_counter settlementowner_Lucarottea 12
end_if
if I_SettlementOwner Lucarottea = dacia
set_counter settlementowner_Lucarottea 13
end_if
if I_SettlementOwner Lucarottea = scythia
set_counter settlementowner_Lucarottea 14
end_if
if I_SettlementOwner Lucarottea = egypt
set_counter settlementowner_Lucarottea 15
end_if
if I_SettlementOwner Lucarottea = parthia
set_counter settlementowner_Lucarottea 16
end_if
if I_SettlementOwner Lucarottea = numidia
set_counter settlementowner_Lucarottea 17
end_if
if I_SettlementOwner Lucarottea = saba
set_counter settlementowner_Lucarottea 18
end_if
if I_SettlementOwner Lucarottea = armenia
set_counter settlementowner_Lucarottea 19
end_if
if I_SettlementOwner Lucarottea = pontus
set_counter settlementowner_Lucarottea 20
end_if
if I_SettlementOwner Emain_Macha = slave
set_counter settlementowner_Emain_Macha 0
end_if
if I_SettlementOwner Emain_Macha = seleucid
set_counter settlementowner_Emain_Macha 1
end_if
if I_SettlementOwner Emain_Macha = thrace
set_counter settlementowner_Emain_Macha 2
end_if
if I_SettlementOwner Emain_Macha = greek_cities
set_counter settlementowner_Emain_Macha 3
end_if
if I_SettlementOwner Emain_Macha = carthage
set_counter settlementowner_Emain_Macha 4
end_if
if I_SettlementOwner Emain_Macha = romans_julii
set_counter settlementowner_Emain_Macha 5
end_if
if I_SettlementOwner Emain_Macha = romans_brutii
set_counter settlementowner_Emain_Macha 6
end_if
if I_SettlementOwner Emain_Macha = romans_scipii
set_counter settlementowner_Emain_Macha 7
end_if
if I_SettlementOwner Emain_Macha = macedon
set_counter settlementowner_Emain_Macha 8
end_if
if I_SettlementOwner Emain_Macha = gauls
set_counter settlementowner_Emain_Macha 9
end_if
if I_SettlementOwner Emain_Macha = germans
set_counter settlementowner_Emain_Macha 10
end_if
if I_SettlementOwner Emain_Macha = britons
set_counter settlementowner_Emain_Macha 11
end_if
if I_SettlementOwner Emain_Macha = spain
set_counter settlementowner_Emain_Macha 12
end_if
if I_SettlementOwner Emain_Macha = dacia
set_counter settlementowner_Emain_Macha 13
end_if
if I_SettlementOwner Emain_Macha = scythia
set_counter settlementowner_Emain_Macha 14
end_if
if I_SettlementOwner Emain_Macha = egypt
set_counter settlementowner_Emain_Macha 15
end_if
if I_SettlementOwner Emain_Macha = parthia
set_counter settlementowner_Emain_Macha 16
end_if
if I_SettlementOwner Emain_Macha = numidia
set_counter settlementowner_Emain_Macha 17
end_if
if I_SettlementOwner Emain_Macha = saba
set_counter settlementowner_Emain_Macha 18
end_if
if I_SettlementOwner Emain_Macha = armenia
set_counter settlementowner_Emain_Macha 19
end_if
if I_SettlementOwner Emain_Macha = pontus
set_counter settlementowner_Emain_Macha 20
end_if
if I_SettlementOwner Atiqa = slave
set_counter settlementowner_Atiqa 0
end_if
if I_SettlementOwner Atiqa = seleucid
set_counter settlementowner_Atiqa 1
end_if
if I_SettlementOwner Atiqa = thrace
set_counter settlementowner_Atiqa 2
end_if
if I_SettlementOwner Atiqa = greek_cities
set_counter settlementowner_Atiqa 3
end_if
if I_SettlementOwner Atiqa = carthage
set_counter settlementowner_Atiqa 4
end_if
if I_SettlementOwner Atiqa = romans_julii
set_counter settlementowner_Atiqa 5
end_if
if I_SettlementOwner Atiqa = romans_brutii
set_counter settlementowner_Atiqa 6
end_if
if I_SettlementOwner Atiqa = romans_scipii
set_counter settlementowner_Atiqa 7
end_if
if I_SettlementOwner Atiqa = macedon
set_counter settlementowner_Atiqa 8
end_if
if I_SettlementOwner Atiqa = gauls
set_counter settlementowner_Atiqa 9
end_if
if I_SettlementOwner Atiqa = germans
set_counter settlementowner_Atiqa 10
end_if
if I_SettlementOwner Atiqa = britons
set_counter settlementowner_Atiqa 11
end_if
if I_SettlementOwner Atiqa = spain
set_counter settlementowner_Atiqa 12
end_if
if I_SettlementOwner Atiqa = dacia
set_counter settlementowner_Atiqa 13
end_if
if I_SettlementOwner Atiqa = scythia
set_counter settlementowner_Atiqa 14
end_if
if I_SettlementOwner Atiqa = egypt
set_counter settlementowner_Atiqa 15
end_if
if I_SettlementOwner Atiqa = parthia
set_counter settlementowner_Atiqa 16
end_if
if I_SettlementOwner Atiqa = numidia
set_counter settlementowner_Atiqa 17
end_if
if I_SettlementOwner Atiqa = saba
set_counter settlementowner_Atiqa 18
end_if
if I_SettlementOwner Atiqa = armenia
set_counter settlementowner_Atiqa 19
end_if
if I_SettlementOwner Atiqa = pontus
set_counter settlementowner_Atiqa 20
end_if
if I_SettlementOwner Ynys_Mon = slave
set_counter settlementowner_Ynys_Mon 0
end_if
if I_SettlementOwner Ynys_Mon = seleucid
set_counter settlementowner_Ynys_Mon 1
end_if
if I_SettlementOwner Ynys_Mon = thrace
set_counter settlementowner_Ynys_Mon 2
end_if
if I_SettlementOwner Ynys_Mon = greek_cities
set_counter settlementowner_Ynys_Mon 3
end_if
if I_SettlementOwner Ynys_Mon = carthage
set_counter settlementowner_Ynys_Mon 4
end_if
if I_SettlementOwner Ynys_Mon = romans_julii
set_counter settlementowner_Ynys_Mon 5
end_if
if I_SettlementOwner Ynys_Mon = romans_brutii
set_counter settlementowner_Ynys_Mon 6
end_if
if I_SettlementOwner Ynys_Mon = romans_scipii
set_counter settlementowner_Ynys_Mon 7
end_if
if I_SettlementOwner Ynys_Mon = macedon
set_counter settlementowner_Ynys_Mon 8
end_if
if I_SettlementOwner Ynys_Mon = gauls
set_counter settlementowner_Ynys_Mon 9
end_if
if I_SettlementOwner Ynys_Mon = germans
set_counter settlementowner_Ynys_Mon 10
end_if
if I_SettlementOwner Ynys_Mon = britons
set_counter settlementowner_Ynys_Mon 11
end_if
if I_SettlementOwner Ynys_Mon = spain
set_counter settlementowner_Ynys_Mon 12
end_if
if I_SettlementOwner Ynys_Mon = dacia
set_counter settlementowner_Ynys_Mon 13
end_if
if I_SettlementOwner Ynys_Mon = scythia
set_counter settlementowner_Ynys_Mon 14
end_if
if I_SettlementOwner Ynys_Mon = egypt
set_counter settlementowner_Ynys_Mon 15
end_if
if I_SettlementOwner Ynys_Mon = parthia
set_counter settlementowner_Ynys_Mon 16
end_if
if I_SettlementOwner Ynys_Mon = numidia
set_counter settlementowner_Ynys_Mon 17
end_if
if I_SettlementOwner Ynys_Mon = saba
set_counter settlementowner_Ynys_Mon 18
end_if
if I_SettlementOwner Ynys_Mon = armenia
set_counter settlementowner_Ynys_Mon 19
end_if
if I_SettlementOwner Ynys_Mon = pontus
set_counter settlementowner_Ynys_Mon 20
end_if
if I_SettlementOwner Gava_Alanna = slave
set_counter settlementowner_Gava_Alanna 0
end_if
if I_SettlementOwner Gava_Alanna = seleucid
set_counter settlementowner_Gava_Alanna 1
end_if
if I_SettlementOwner Gava_Alanna = thrace
set_counter settlementowner_Gava_Alanna 2
end_if
if I_SettlementOwner Gava_Alanna = greek_cities
set_counter settlementowner_Gava_Alanna 3
end_if
if I_SettlementOwner Gava_Alanna = carthage
set_counter settlementowner_Gava_Alanna 4
end_if
if I_SettlementOwner Gava_Alanna = romans_julii
set_counter settlementowner_Gava_Alanna 5
end_if
if I_SettlementOwner Gava_Alanna = romans_brutii
set_counter settlementowner_Gava_Alanna 6
end_if
if I_SettlementOwner Gava_Alanna = romans_scipii
set_counter settlementowner_Gava_Alanna 7
end_if
if I_SettlementOwner Gava_Alanna = macedon
set_counter settlementowner_Gava_Alanna 8
end_if
if I_SettlementOwner Gava_Alanna = gauls
set_counter settlementowner_Gava_Alanna 9
end_if
if I_SettlementOwner Gava_Alanna = germans
set_counter settlementowner_Gava_Alanna 10
end_if
if I_SettlementOwner Gava_Alanna = britons
set_counter settlementowner_Gava_Alanna 11
end_if
if I_SettlementOwner Gava_Alanna = spain
set_counter settlementowner_Gava_Alanna 12
end_if
if I_SettlementOwner Gava_Alanna = dacia
set_counter settlementowner_Gava_Alanna 13
end_if
if I_SettlementOwner Gava_Alanna = scythia
set_counter settlementowner_Gava_Alanna 14
end_if
if I_SettlementOwner Gava_Alanna = egypt
set_counter settlementowner_Gava_Alanna 15
end_if
if I_SettlementOwner Gava_Alanna = parthia
set_counter settlementowner_Gava_Alanna 16
end_if
if I_SettlementOwner Gava_Alanna = numidia
set_counter settlementowner_Gava_Alanna 17
end_if
if I_SettlementOwner Gava_Alanna = saba
set_counter settlementowner_Gava_Alanna 18
end_if
if I_SettlementOwner Gava_Alanna = armenia
set_counter settlementowner_Gava_Alanna 19
end_if
if I_SettlementOwner Gava_Alanna = pontus
set_counter settlementowner_Gava_Alanna 20
end_if
if I_SettlementOwner Gava_Aursa = slave
set_counter settlementowner_Gava_Aursa 0
end_if
if I_SettlementOwner Gava_Aursa = seleucid
set_counter settlementowner_Gava_Aursa 1
end_if
if I_SettlementOwner Gava_Aursa = thrace
set_counter settlementowner_Gava_Aursa 2
end_if
if I_SettlementOwner Gava_Aursa = greek_cities
set_counter settlementowner_Gava_Aursa 3
end_if
if I_SettlementOwner Gava_Aursa = carthage
set_counter settlementowner_Gava_Aursa 4
end_if
if I_SettlementOwner Gava_Aursa = romans_julii
set_counter settlementowner_Gava_Aursa 5
end_if
if I_SettlementOwner Gava_Aursa = romans_brutii
set_counter settlementowner_Gava_Aursa 6
end_if
if I_SettlementOwner Gava_Aursa = romans_scipii
set_counter settlementowner_Gava_Aursa 7
end_if
if I_SettlementOwner Gava_Aursa = macedon
set_counter settlementowner_Gava_Aursa 8
end_if
if I_SettlementOwner Gava_Aursa = gauls
set_counter settlementowner_Gava_Aursa 9
end_if
if I_SettlementOwner Gava_Aursa = germans
set_counter settlementowner_Gava_Aursa 10
end_if
if I_SettlementOwner Gava_Aursa = britons
set_counter settlementowner_Gava_Aursa 11
end_if
if I_SettlementOwner Gava_Aursa = spain
set_counter settlementowner_Gava_Aursa 12
end_if
if I_SettlementOwner Gava_Aursa = dacia
set_counter settlementowner_Gava_Aursa 13
end_if
if I_SettlementOwner Gava_Aursa = scythia
set_counter settlementowner_Gava_Aursa 14
end_if
if I_SettlementOwner Gava_Aursa = egypt
set_counter settlementowner_Gava_Aursa 15
end_if
if I_SettlementOwner Gava_Aursa = parthia
set_counter settlementowner_Gava_Aursa 16
end_if
if I_SettlementOwner Gava_Aursa = numidia
set_counter settlementowner_Gava_Aursa 17
end_if
if I_SettlementOwner Gava_Aursa = saba
set_counter settlementowner_Gava_Aursa 18
end_if
if I_SettlementOwner Gava_Aursa = armenia
set_counter settlementowner_Gava_Aursa 19
end_if
if I_SettlementOwner Gava_Aursa = pontus
set_counter settlementowner_Gava_Aursa 20
end_if
if I_SettlementOwner Nisa = slave
set_counter settlementowner_Nisa 0
end_if
if I_SettlementOwner Nisa = seleucid
set_counter settlementowner_Nisa 1
end_if
if I_SettlementOwner Nisa = thrace
set_counter settlementowner_Nisa 2
end_if
if I_SettlementOwner Nisa = greek_cities
set_counter settlementowner_Nisa 3
end_if
if I_SettlementOwner Nisa = carthage
set_counter settlementowner_Nisa 4
end_if
if I_SettlementOwner Nisa = romans_julii
set_counter settlementowner_Nisa 5
end_if
if I_SettlementOwner Nisa = romans_brutii
set_counter settlementowner_Nisa 6
end_if
if I_SettlementOwner Nisa = romans_scipii
set_counter settlementowner_Nisa 7
end_if
if I_SettlementOwner Nisa = macedon
set_counter settlementowner_Nisa 8
end_if
if I_SettlementOwner Nisa = gauls
set_counter settlementowner_Nisa 9
end_if
if I_SettlementOwner Nisa = germans
set_counter settlementowner_Nisa 10
end_if
if I_SettlementOwner Nisa = britons
set_counter settlementowner_Nisa 11
end_if
if I_SettlementOwner Nisa = spain
set_counter settlementowner_Nisa 12
end_if
if I_SettlementOwner Nisa = dacia
set_counter settlementowner_Nisa 13
end_if
if I_SettlementOwner Nisa = scythia
set_counter settlementowner_Nisa 14
end_if
if I_SettlementOwner Nisa = egypt
set_counter settlementowner_Nisa 15
end_if
if I_SettlementOwner Nisa = parthia
set_counter settlementowner_Nisa 16
end_if
if I_SettlementOwner Nisa = numidia
set_counter settlementowner_Nisa 17
end_if
if I_SettlementOwner Nisa = saba
set_counter settlementowner_Nisa 18
end_if
if I_SettlementOwner Nisa = armenia
set_counter settlementowner_Nisa 19
end_if
if I_SettlementOwner Nisa = pontus
set_counter settlementowner_Nisa 20
end_if
if I_SettlementOwner Gava_Haomavarga = slave
set_counter settlementowner_Gava_Haomavarga 0
end_if
if I_SettlementOwner Gava_Haomavarga = seleucid
set_counter settlementowner_Gava_Haomavarga 1
end_if
if I_SettlementOwner Gava_Haomavarga = thrace
set_counter settlementowner_Gava_Haomavarga 2
end_if
if I_SettlementOwner Gava_Haomavarga = greek_cities
set_counter settlementowner_Gava_Haomavarga 3
end_if
if I_SettlementOwner Gava_Haomavarga = carthage
set_counter settlementowner_Gava_Haomavarga 4
end_if
if I_SettlementOwner Gava_Haomavarga = romans_julii
set_counter settlementowner_Gava_Haomavarga 5
end_if
if I_SettlementOwner Gava_Haomavarga = romans_brutii
set_counter settlementowner_Gava_Haomavarga 6
end_if
if I_SettlementOwner Gava_Haomavarga = romans_scipii
set_counter settlementowner_Gava_Haomavarga 7
end_if
if I_SettlementOwner Gava_Haomavarga = macedon
set_counter settlementowner_Gava_Haomavarga 8
end_if
if I_SettlementOwner Gava_Haomavarga = gauls
set_counter settlementowner_Gava_Haomavarga 9
end_if
if I_SettlementOwner Gava_Haomavarga = germans
set_counter settlementowner_Gava_Haomavarga 10
end_if
if I_SettlementOwner Gava_Haomavarga = britons
set_counter settlementowner_Gava_Haomavarga 11
end_if
if I_SettlementOwner Gava_Haomavarga = spain
set_counter settlementowner_Gava_Haomavarga 12
end_if
if I_SettlementOwner Gava_Haomavarga = dacia
set_counter settlementowner_Gava_Haomavarga 13
end_if
if I_SettlementOwner Gava_Haomavarga = scythia
set_counter settlementowner_Gava_Haomavarga 14
end_if
if I_SettlementOwner Gava_Haomavarga = egypt
set_counter settlementowner_Gava_Haomavarga 15
end_if
if I_SettlementOwner Gava_Haomavarga = parthia
set_counter settlementowner_Gava_Haomavarga 16
end_if
if I_SettlementOwner Gava_Haomavarga = numidia
set_counter settlementowner_Gava_Haomavarga 17
end_if
if I_SettlementOwner Gava_Haomavarga = saba
set_counter settlementowner_Gava_Haomavarga 18
end_if
if I_SettlementOwner Gava_Haomavarga = armenia
set_counter settlementowner_Gava_Haomavarga 19
end_if
if I_SettlementOwner Gava_Haomavarga = pontus
set_counter settlementowner_Gava_Haomavarga 20
end_if
if I_SettlementOwner Gava_Mazsakata = slave
set_counter settlementowner_Gava_Mazsakata 0
end_if
if I_SettlementOwner Gava_Mazsakata = seleucid
set_counter settlementowner_Gava_Mazsakata 1
end_if
if I_SettlementOwner Gava_Mazsakata = thrace
set_counter settlementowner_Gava_Mazsakata 2
end_if
if I_SettlementOwner Gava_Mazsakata = greek_cities
set_counter settlementowner_Gava_Mazsakata 3
end_if
if I_SettlementOwner Gava_Mazsakata = carthage
set_counter settlementowner_Gava_Mazsakata 4
end_if
if I_SettlementOwner Gava_Mazsakata = romans_julii
set_counter settlementowner_Gava_Mazsakata 5
end_if
if I_SettlementOwner Gava_Mazsakata = romans_brutii
set_counter settlementowner_Gava_Mazsakata 6
end_if
if I_SettlementOwner Gava_Mazsakata = romans_scipii
set_counter settlementowner_Gava_Mazsakata 7
end_if
if I_SettlementOwner Gava_Mazsakata = macedon
set_counter settlementowner_Gava_Mazsakata 8
end_if
if I_SettlementOwner Gava_Mazsakata = gauls
set_counter settlementowner_Gava_Mazsakata 9
end_if
if I_SettlementOwner Gava_Mazsakata = germans
set_counter settlementowner_Gava_Mazsakata 10
end_if
if I_SettlementOwner Gava_Mazsakata = britons
set_counter settlementowner_Gava_Mazsakata 11
end_if
if I_SettlementOwner Gava_Mazsakata = spain
set_counter settlementowner_Gava_Mazsakata 12
end_if
if I_SettlementOwner Gava_Mazsakata = dacia
set_counter settlementowner_Gava_Mazsakata 13
end_if
if I_SettlementOwner Gava_Mazsakata = scythia
set_counter settlementowner_Gava_Mazsakata 14
end_if
if I_SettlementOwner Gava_Mazsakata = egypt
set_counter settlementowner_Gava_Mazsakata 15
end_if
if I_SettlementOwner Gava_Mazsakata = parthia
set_counter settlementowner_Gava_Mazsakata 16
end_if
if I_SettlementOwner Gava_Mazsakata = numidia
set_counter settlementowner_Gava_Mazsakata 17
end_if
if I_SettlementOwner Gava_Mazsakata = saba
set_counter settlementowner_Gava_Mazsakata 18
end_if
if I_SettlementOwner Gava_Mazsakata = armenia
set_counter settlementowner_Gava_Mazsakata 19
end_if
if I_SettlementOwner Gava_Mazsakata = pontus
set_counter settlementowner_Gava_Mazsakata 20
end_if
if I_SettlementOwner Gava_Roxsalanna = slave
set_counter settlementowner_Gava_Roxsalanna 0
end_if
if I_SettlementOwner Gava_Roxsalanna = seleucid
set_counter settlementowner_Gava_Roxsalanna 1
end_if
if I_SettlementOwner Gava_Roxsalanna = thrace
set_counter settlementowner_Gava_Roxsalanna 2
end_if
if I_SettlementOwner Gava_Roxsalanna = greek_cities
set_counter settlementowner_Gava_Roxsalanna 3
end_if
if I_SettlementOwner Gava_Roxsalanna = carthage
set_counter settlementowner_Gava_Roxsalanna 4
end_if
if I_SettlementOwner Gava_Roxsalanna = romans_julii
set_counter settlementowner_Gava_Roxsalanna 5
end_if
if I_SettlementOwner Gava_Roxsalanna = romans_brutii
set_counter settlementowner_Gava_Roxsalanna 6
end_if
if I_SettlementOwner Gava_Roxsalanna = romans_scipii
set_counter settlementowner_Gava_Roxsalanna 7
end_if
if I_SettlementOwner Gava_Roxsalanna = macedon
set_counter settlementowner_Gava_Roxsalanna 8
end_if
if I_SettlementOwner Gava_Roxsalanna = gauls
set_counter settlementowner_Gava_Roxsalanna 9
end_if
if I_SettlementOwner Gava_Roxsalanna = germans
set_counter settlementowner_Gava_Roxsalanna 10
end_if
if I_SettlementOwner Gava_Roxsalanna = britons
set_counter settlementowner_Gava_Roxsalanna 11
end_if
if I_SettlementOwner Gava_Roxsalanna = spain
set_counter settlementowner_Gava_Roxsalanna 12
end_if
if I_SettlementOwner Gava_Roxsalanna = dacia
set_counter settlementowner_Gava_Roxsalanna 13
end_if
if I_SettlementOwner Gava_Roxsalanna = scythia
set_counter settlementowner_Gava_Roxsalanna 14
end_if
if I_SettlementOwner Gava_Roxsalanna = egypt
set_counter settlementowner_Gava_Roxsalanna 15
end_if
if I_SettlementOwner Gava_Roxsalanna = parthia
set_counter settlementowner_Gava_Roxsalanna 16
end_if
if I_SettlementOwner Gava_Roxsalanna = numidia
set_counter settlementowner_Gava_Roxsalanna 17
end_if
if I_SettlementOwner Gava_Roxsalanna = saba
set_counter settlementowner_Gava_Roxsalanna 18
end_if
if I_SettlementOwner Gava_Roxsalanna = armenia
set_counter settlementowner_Gava_Roxsalanna 19
end_if
if I_SettlementOwner Gava_Roxsalanna = pontus
set_counter settlementowner_Gava_Roxsalanna 20
end_if
if I_SettlementOwner Uspe = slave
set_counter settlementowner_Uspe 0
end_if
if I_SettlementOwner Uspe = seleucid
set_counter settlementowner_Uspe 1
end_if
if I_SettlementOwner Uspe = thrace
set_counter settlementowner_Uspe 2
end_if
if I_SettlementOwner Uspe = greek_cities
set_counter settlementowner_Uspe 3
end_if
if I_SettlementOwner Uspe = carthage
set_counter settlementowner_Uspe 4
end_if
if I_SettlementOwner Uspe = romans_julii
set_counter settlementowner_Uspe 5
end_if
if I_SettlementOwner Uspe = romans_brutii
set_counter settlementowner_Uspe 6
end_if
if I_SettlementOwner Uspe = romans_scipii
set_counter settlementowner_Uspe 7
end_if
if I_SettlementOwner Uspe = macedon
set_counter settlementowner_Uspe 8
end_if
if I_SettlementOwner Uspe = gauls
set_counter settlementowner_Uspe 9
end_if
if I_SettlementOwner Uspe = germans
set_counter settlementowner_Uspe 10
end_if
if I_SettlementOwner Uspe = britons
set_counter settlementowner_Uspe 11
end_if
if I_SettlementOwner Uspe = spain
set_counter settlementowner_Uspe 12
end_if
if I_SettlementOwner Uspe = dacia
set_counter settlementowner_Uspe 13
end_if
if I_SettlementOwner Uspe = scythia
set_counter settlementowner_Uspe 14
end_if
if I_SettlementOwner Uspe = egypt
set_counter settlementowner_Uspe 15
end_if
if I_SettlementOwner Uspe = parthia
set_counter settlementowner_Uspe 16
end_if
if I_SettlementOwner Uspe = numidia
set_counter settlementowner_Uspe 17
end_if
if I_SettlementOwner Uspe = saba
set_counter settlementowner_Uspe 18
end_if
if I_SettlementOwner Uspe = armenia
set_counter settlementowner_Uspe 19
end_if
if I_SettlementOwner Uspe = pontus
set_counter settlementowner_Uspe 20
end_if
if I_SettlementOwner Gava_Thissakata = slave
set_counter settlementowner_Gava_Thissakata 0
end_if
if I_SettlementOwner Gava_Thissakata = seleucid
set_counter settlementowner_Gava_Thissakata 1
end_if
if I_SettlementOwner Gava_Thissakata = thrace
set_counter settlementowner_Gava_Thissakata 2
end_if
if I_SettlementOwner Gava_Thissakata = greek_cities
set_counter settlementowner_Gava_Thissakata 3
end_if
if I_SettlementOwner Gava_Thissakata = carthage
set_counter settlementowner_Gava_Thissakata 4
end_if
if I_SettlementOwner Gava_Thissakata = romans_julii
set_counter settlementowner_Gava_Thissakata 5
end_if
if I_SettlementOwner Gava_Thissakata = romans_brutii
set_counter settlementowner_Gava_Thissakata 6
end_if
if I_SettlementOwner Gava_Thissakata = romans_scipii
set_counter settlementowner_Gava_Thissakata 7
end_if
if I_SettlementOwner Gava_Thissakata = macedon
set_counter settlementowner_Gava_Thissakata 8
end_if
if I_SettlementOwner Gava_Thissakata = gauls
set_counter settlementowner_Gava_Thissakata 9
end_if
if I_SettlementOwner Gava_Thissakata = germans
set_counter settlementowner_Gava_Thissakata 10
end_if
if I_SettlementOwner Gava_Thissakata = britons
set_counter settlementowner_Gava_Thissakata 11
end_if
if I_SettlementOwner Gava_Thissakata = spain
set_counter settlementowner_Gava_Thissakata 12
end_if
if I_SettlementOwner Gava_Thissakata = dacia
set_counter settlementowner_Gava_Thissakata 13
end_if
if I_SettlementOwner Gava_Thissakata = scythia
set_counter settlementowner_Gava_Thissakata 14
end_if
if I_SettlementOwner Gava_Thissakata = egypt
set_counter settlementowner_Gava_Thissakata 15
end_if
if I_SettlementOwner Gava_Thissakata = parthia
set_counter settlementowner_Gava_Thissakata 16
end_if
if I_SettlementOwner Gava_Thissakata = numidia
set_counter settlementowner_Gava_Thissakata 17
end_if
if I_SettlementOwner Gava_Thissakata = saba
set_counter settlementowner_Gava_Thissakata 18
end_if
if I_SettlementOwner Gava_Thissakata = armenia
set_counter settlementowner_Gava_Thissakata 19
end_if
if I_SettlementOwner Gava_Thissakata = pontus
set_counter settlementowner_Gava_Thissakata 20
end_if
if I_SettlementOwner Gava_Yazyga = slave
set_counter settlementowner_Gava_Yazyga 0
end_if
if I_SettlementOwner Gava_Yazyga = seleucid
set_counter settlementowner_Gava_Yazyga 1
end_if
if I_SettlementOwner Gava_Yazyga = thrace
set_counter settlementowner_Gava_Yazyga 2
end_if
if I_SettlementOwner Gava_Yazyga = greek_cities
set_counter settlementowner_Gava_Yazyga 3
end_if
if I_SettlementOwner Gava_Yazyga = carthage
set_counter settlementowner_Gava_Yazyga 4
end_if
if I_SettlementOwner Gava_Yazyga = romans_julii
set_counter settlementowner_Gava_Yazyga 5
end_if
if I_SettlementOwner Gava_Yazyga = romans_brutii
set_counter settlementowner_Gava_Yazyga 6
end_if
if I_SettlementOwner Gava_Yazyga = romans_scipii
set_counter settlementowner_Gava_Yazyga 7
end_if
if I_SettlementOwner Gava_Yazyga = macedon
set_counter settlementowner_Gava_Yazyga 8
end_if
if I_SettlementOwner Gava_Yazyga = gauls
set_counter settlementowner_Gava_Yazyga 9
end_if
if I_SettlementOwner Gava_Yazyga = germans
set_counter settlementowner_Gava_Yazyga 10
end_if
if I_SettlementOwner Gava_Yazyga = britons
set_counter settlementowner_Gava_Yazyga 11
end_if
if I_SettlementOwner Gava_Yazyga = spain
set_counter settlementowner_Gava_Yazyga 12
end_if
if I_SettlementOwner Gava_Yazyga = dacia
set_counter settlementowner_Gava_Yazyga 13
end_if
if I_SettlementOwner Gava_Yazyga = scythia
set_counter settlementowner_Gava_Yazyga 14
end_if
if I_SettlementOwner Gava_Yazyga = egypt
set_counter settlementowner_Gava_Yazyga 15
end_if
if I_SettlementOwner Gava_Yazyga = parthia
set_counter settlementowner_Gava_Yazyga 16
end_if
if I_SettlementOwner Gava_Yazyga = numidia
set_counter settlementowner_Gava_Yazyga 17
end_if
if I_SettlementOwner Gava_Yazyga = saba
set_counter settlementowner_Gava_Yazyga 18
end_if
if I_SettlementOwner Gava_Yazyga = armenia
set_counter settlementowner_Gava_Yazyga 19
end_if
if I_SettlementOwner Gava_Yazyga = pontus
set_counter settlementowner_Gava_Yazyga 20
end_if
if I_SettlementOwner Gava_Yugra = slave
set_counter settlementowner_Gava_Yugra 0
end_if
if I_SettlementOwner Gava_Yugra = seleucid
set_counter settlementowner_Gava_Yugra 1
end_if
if I_SettlementOwner Gava_Yugra = thrace
set_counter settlementowner_Gava_Yugra 2
end_if
if I_SettlementOwner Gava_Yugra = greek_cities
set_counter settlementowner_Gava_Yugra 3
end_if
if I_SettlementOwner Gava_Yugra = carthage
set_counter settlementowner_Gava_Yugra 4
end_if
if I_SettlementOwner Gava_Yugra = romans_julii
set_counter settlementowner_Gava_Yugra 5
end_if
if I_SettlementOwner Gava_Yugra = romans_brutii
set_counter settlementowner_Gava_Yugra 6
end_if
if I_SettlementOwner Gava_Yugra = romans_scipii
set_counter settlementowner_Gava_Yugra 7
end_if
if I_SettlementOwner Gava_Yugra = macedon
set_counter settlementowner_Gava_Yugra 8
end_if
if I_SettlementOwner Gava_Yugra = gauls
set_counter settlementowner_Gava_Yugra 9
end_if
if I_SettlementOwner Gava_Yugra = germans
set_counter settlementowner_Gava_Yugra 10
end_if
if I_SettlementOwner Gava_Yugra = britons
set_counter settlementowner_Gava_Yugra 11
end_if
if I_SettlementOwner Gava_Yugra = spain
set_counter settlementowner_Gava_Yugra 12
end_if
if I_SettlementOwner Gava_Yugra = dacia
set_counter settlementowner_Gava_Yugra 13
end_if
if I_SettlementOwner Gava_Yugra = scythia
set_counter settlementowner_Gava_Yugra 14
end_if
if I_SettlementOwner Gava_Yugra = egypt
set_counter settlementowner_Gava_Yugra 15
end_if
if I_SettlementOwner Gava_Yugra = parthia
set_counter settlementowner_Gava_Yugra 16
end_if
if I_SettlementOwner Gava_Yugra = numidia
set_counter settlementowner_Gava_Yugra 17
end_if
if I_SettlementOwner Gava_Yugra = saba
set_counter settlementowner_Gava_Yugra 18
end_if
if I_SettlementOwner Gava_Yugra = armenia
set_counter settlementowner_Gava_Yugra 19
end_if
if I_SettlementOwner Gava_Yugra = pontus
set_counter settlementowner_Gava_Yugra 20
end_if
if I_SettlementOwner Dalminion = slave
set_counter settlementowner_Dalminion 0
end_if
if I_SettlementOwner Dalminion = seleucid
set_counter settlementowner_Dalminion 1
end_if
if I_SettlementOwner Dalminion = thrace
set_counter settlementowner_Dalminion 2
end_if
if I_SettlementOwner Dalminion = greek_cities
set_counter settlementowner_Dalminion 3
end_if
if I_SettlementOwner Dalminion = carthage
set_counter settlementowner_Dalminion 4
end_if
if I_SettlementOwner Dalminion = romans_julii
set_counter settlementowner_Dalminion 5
end_if
if I_SettlementOwner Dalminion = romans_brutii
set_counter settlementowner_Dalminion 6
end_if
if I_SettlementOwner Dalminion = romans_scipii
set_counter settlementowner_Dalminion 7
end_if
if I_SettlementOwner Dalminion = macedon
set_counter settlementowner_Dalminion 8
end_if
if I_SettlementOwner Dalminion = gauls
set_counter settlementowner_Dalminion 9
end_if
if I_SettlementOwner Dalminion = germans
set_counter settlementowner_Dalminion 10
end_if
if I_SettlementOwner Dalminion = britons
set_counter settlementowner_Dalminion 11
end_if
if I_SettlementOwner Dalminion = spain
set_counter settlementowner_Dalminion 12
end_if
if I_SettlementOwner Dalminion = dacia
set_counter settlementowner_Dalminion 13
end_if
if I_SettlementOwner Dalminion = scythia
set_counter settlementowner_Dalminion 14
end_if
if I_SettlementOwner Dalminion = egypt
set_counter settlementowner_Dalminion 15
end_if
if I_SettlementOwner Dalminion = parthia
set_counter settlementowner_Dalminion 16
end_if
if I_SettlementOwner Dalminion = numidia
set_counter settlementowner_Dalminion 17
end_if
if I_SettlementOwner Dalminion = saba
set_counter settlementowner_Dalminion 18
end_if
if I_SettlementOwner Dalminion = armenia
set_counter settlementowner_Dalminion 19
end_if
if I_SettlementOwner Dalminion = pontus
set_counter settlementowner_Dalminion 20
end_if
if I_SettlementOwner Serdike = slave
set_counter settlementowner_Serdike 0
end_if
if I_SettlementOwner Serdike = seleucid
set_counter settlementowner_Serdike 1
end_if
if I_SettlementOwner Serdike = thrace
set_counter settlementowner_Serdike 2
end_if
if I_SettlementOwner Serdike = greek_cities
set_counter settlementowner_Serdike 3
end_if
if I_SettlementOwner Serdike = carthage
set_counter settlementowner_Serdike 4
end_if
if I_SettlementOwner Serdike = romans_julii
set_counter settlementowner_Serdike 5
end_if
if I_SettlementOwner Serdike = romans_brutii
set_counter settlementowner_Serdike 6
end_if
if I_SettlementOwner Serdike = romans_scipii
set_counter settlementowner_Serdike 7
end_if
if I_SettlementOwner Serdike = macedon
set_counter settlementowner_Serdike 8
end_if
if I_SettlementOwner Serdike = gauls
set_counter settlementowner_Serdike 9
end_if
if I_SettlementOwner Serdike = germans
set_counter settlementowner_Serdike 10
end_if
if I_SettlementOwner Serdike = britons
set_counter settlementowner_Serdike 11
end_if
if I_SettlementOwner Serdike = spain
set_counter settlementowner_Serdike 12
end_if
if I_SettlementOwner Serdike = dacia
set_counter settlementowner_Serdike 13
end_if
if I_SettlementOwner Serdike = scythia
set_counter settlementowner_Serdike 14
end_if
if I_SettlementOwner Serdike = egypt
set_counter settlementowner_Serdike 15
end_if
if I_SettlementOwner Serdike = parthia
set_counter settlementowner_Serdike 16
end_if
if I_SettlementOwner Serdike = numidia
set_counter settlementowner_Serdike 17
end_if
if I_SettlementOwner Serdike = saba
set_counter settlementowner_Serdike 18
end_if
if I_SettlementOwner Serdike = armenia
set_counter settlementowner_Serdike 19
end_if
if I_SettlementOwner Serdike = pontus
set_counter settlementowner_Serdike 20
end_if
if I_SettlementOwner Alexandreia_Eschate = slave
set_counter settlementowner_Alexandreia_Eschate 0
end_if
if I_SettlementOwner Alexandreia_Eschate = seleucid
set_counter settlementowner_Alexandreia_Eschate 1
end_if
if I_SettlementOwner Alexandreia_Eschate = thrace
set_counter settlementowner_Alexandreia_Eschate 2
end_if
if I_SettlementOwner Alexandreia_Eschate = greek_cities
set_counter settlementowner_Alexandreia_Eschate 3
end_if
if I_SettlementOwner Alexandreia_Eschate = carthage
set_counter settlementowner_Alexandreia_Eschate 4
end_if
if I_SettlementOwner Alexandreia_Eschate = romans_julii
set_counter settlementowner_Alexandreia_Eschate 5
end_if
if I_SettlementOwner Alexandreia_Eschate = romans_brutii
set_counter settlementowner_Alexandreia_Eschate 6
end_if
if I_SettlementOwner Alexandreia_Eschate = romans_scipii
set_counter settlementowner_Alexandreia_Eschate 7
end_if
if I_SettlementOwner Alexandreia_Eschate = macedon
set_counter settlementowner_Alexandreia_Eschate 8
end_if
if I_SettlementOwner Alexandreia_Eschate = gauls
set_counter settlementowner_Alexandreia_Eschate 9
end_if
if I_SettlementOwner Alexandreia_Eschate = germans
set_counter settlementowner_Alexandreia_Eschate 10
end_if
if I_SettlementOwner Alexandreia_Eschate = britons
set_counter settlementowner_Alexandreia_Eschate 11
end_if
if I_SettlementOwner Alexandreia_Eschate = spain
set_counter settlementowner_Alexandreia_Eschate 12
end_if
if I_SettlementOwner Alexandreia_Eschate = dacia
set_counter settlementowner_Alexandreia_Eschate 13
end_if
if I_SettlementOwner Alexandreia_Eschate = scythia
set_counter settlementowner_Alexandreia_Eschate 14
end_if
if I_SettlementOwner Alexandreia_Eschate = egypt
set_counter settlementowner_Alexandreia_Eschate 15
end_if
if I_SettlementOwner Alexandreia_Eschate = parthia
set_counter settlementowner_Alexandreia_Eschate 16
end_if
if I_SettlementOwner Alexandreia_Eschate = numidia
set_counter settlementowner_Alexandreia_Eschate 17
end_if
if I_SettlementOwner Alexandreia_Eschate = saba
set_counter settlementowner_Alexandreia_Eschate 18
end_if
if I_SettlementOwner Alexandreia_Eschate = armenia
set_counter settlementowner_Alexandreia_Eschate 19
end_if
if I_SettlementOwner Alexandreia_Eschate = pontus
set_counter settlementowner_Alexandreia_Eschate 20
end_if
if I_SettlementOwner Alexandreia = slave
set_counter settlementowner_Alexandreia 0
end_if
if I_SettlementOwner Alexandreia = seleucid
set_counter settlementowner_Alexandreia 1
end_if
if I_SettlementOwner Alexandreia = thrace
set_counter settlementowner_Alexandreia 2
end_if
if I_SettlementOwner Alexandreia = greek_cities
set_counter settlementowner_Alexandreia 3
end_if
if I_SettlementOwner Alexandreia = carthage
set_counter settlementowner_Alexandreia 4
end_if
if I_SettlementOwner Alexandreia = romans_julii
set_counter settlementowner_Alexandreia 5
end_if
if I_SettlementOwner Alexandreia = romans_brutii
set_counter settlementowner_Alexandreia 6
end_if
if I_SettlementOwner Alexandreia = romans_scipii
set_counter settlementowner_Alexandreia 7
end_if
if I_SettlementOwner Alexandreia = macedon
set_counter settlementowner_Alexandreia 8
end_if
if I_SettlementOwner Alexandreia = gauls
set_counter settlementowner_Alexandreia 9
end_if
if I_SettlementOwner Alexandreia = germans
set_counter settlementowner_Alexandreia 10
end_if
if I_SettlementOwner Alexandreia = britons
set_counter settlementowner_Alexandreia 11
end_if
if I_SettlementOwner Alexandreia = spain
set_counter settlementowner_Alexandreia 12
end_if
if I_SettlementOwner Alexandreia = dacia
set_counter settlementowner_Alexandreia 13
end_if
if I_SettlementOwner Alexandreia = scythia
set_counter settlementowner_Alexandreia 14
end_if
if I_SettlementOwner Alexandreia = egypt
set_counter settlementowner_Alexandreia 15
end_if
if I_SettlementOwner Alexandreia = parthia
set_counter settlementowner_Alexandreia 16
end_if
if I_SettlementOwner Alexandreia = numidia
set_counter settlementowner_Alexandreia 17
end_if
if I_SettlementOwner Alexandreia = saba
set_counter settlementowner_Alexandreia 18
end_if
if I_SettlementOwner Alexandreia = armenia
set_counter settlementowner_Alexandreia 19
end_if
if I_SettlementOwner Alexandreia = pontus
set_counter settlementowner_Alexandreia 20
end_if
if I_SettlementOwner Axum = slave
set_counter settlementowner_Axum 0
end_if
if I_SettlementOwner Axum = seleucid
set_counter settlementowner_Axum 1
end_if
if I_SettlementOwner Axum = thrace
set_counter settlementowner_Axum 2
end_if
if I_SettlementOwner Axum = greek_cities
set_counter settlementowner_Axum 3
end_if
if I_SettlementOwner Axum = carthage
set_counter settlementowner_Axum 4
end_if
if I_SettlementOwner Axum = romans_julii
set_counter settlementowner_Axum 5
end_if
if I_SettlementOwner Axum = romans_brutii
set_counter settlementowner_Axum 6
end_if
if I_SettlementOwner Axum = romans_scipii
set_counter settlementowner_Axum 7
end_if
if I_SettlementOwner Axum = macedon
set_counter settlementowner_Axum 8
end_if
if I_SettlementOwner Axum = gauls
set_counter settlementowner_Axum 9
end_if
if I_SettlementOwner Axum = germans
set_counter settlementowner_Axum 10
end_if
if I_SettlementOwner Axum = britons
set_counter settlementowner_Axum 11
end_if
if I_SettlementOwner Axum = spain
set_counter settlementowner_Axum 12
end_if
if I_SettlementOwner Axum = dacia
set_counter settlementowner_Axum 13
end_if
if I_SettlementOwner Axum = scythia
set_counter settlementowner_Axum 14
end_if
if I_SettlementOwner Axum = egypt
set_counter settlementowner_Axum 15
end_if
if I_SettlementOwner Axum = parthia
set_counter settlementowner_Axum 16
end_if
if I_SettlementOwner Axum = numidia
set_counter settlementowner_Axum 17
end_if
if I_SettlementOwner Axum = saba
set_counter settlementowner_Axum 18
end_if
if I_SettlementOwner Axum = armenia
set_counter settlementowner_Axum 19
end_if
if I_SettlementOwner Axum = pontus
set_counter settlementowner_Axum 20
end_if
if I_SettlementOwner Prophthasia = slave
set_counter settlementowner_Prophthasia 0
end_if
if I_SettlementOwner Prophthasia = seleucid
set_counter settlementowner_Prophthasia 1
end_if
if I_SettlementOwner Prophthasia = thrace
set_counter settlementowner_Prophthasia 2
end_if
if I_SettlementOwner Prophthasia = greek_cities
set_counter settlementowner_Prophthasia 3
end_if
if I_SettlementOwner Prophthasia = carthage
set_counter settlementowner_Prophthasia 4
end_if
if I_SettlementOwner Prophthasia = romans_julii
set_counter settlementowner_Prophthasia 5
end_if
if I_SettlementOwner Prophthasia = romans_brutii
set_counter settlementowner_Prophthasia 6
end_if
if I_SettlementOwner Prophthasia = romans_scipii
set_counter settlementowner_Prophthasia 7
end_if
if I_SettlementOwner Prophthasia = macedon
set_counter settlementowner_Prophthasia 8
end_if
if I_SettlementOwner Prophthasia = gauls
set_counter settlementowner_Prophthasia 9
end_if
if I_SettlementOwner Prophthasia = germans
set_counter settlementowner_Prophthasia 10
end_if
if I_SettlementOwner Prophthasia = britons
set_counter settlementowner_Prophthasia 11
end_if
if I_SettlementOwner Prophthasia = spain
set_counter settlementowner_Prophthasia 12
end_if
if I_SettlementOwner Prophthasia = dacia
set_counter settlementowner_Prophthasia 13
end_if
if I_SettlementOwner Prophthasia = scythia
set_counter settlementowner_Prophthasia 14
end_if
if I_SettlementOwner Prophthasia = egypt
set_counter settlementowner_Prophthasia 15
end_if
if I_SettlementOwner Prophthasia = parthia
set_counter settlementowner_Prophthasia 16
end_if
if I_SettlementOwner Prophthasia = numidia
set_counter settlementowner_Prophthasia 17
end_if
if I_SettlementOwner Prophthasia = saba
set_counter settlementowner_Prophthasia 18
end_if
if I_SettlementOwner Prophthasia = armenia
set_counter settlementowner_Prophthasia 19
end_if
if I_SettlementOwner Prophthasia = pontus
set_counter settlementowner_Prophthasia 20
end_if
if I_SettlementOwner Arse = slave
set_counter settlementowner_Arse 0
end_if
if I_SettlementOwner Arse = seleucid
set_counter settlementowner_Arse 1
end_if
if I_SettlementOwner Arse = thrace
set_counter settlementowner_Arse 2
end_if
if I_SettlementOwner Arse = greek_cities
set_counter settlementowner_Arse 3
end_if
if I_SettlementOwner Arse = carthage
set_counter settlementowner_Arse 4
end_if
if I_SettlementOwner Arse = romans_julii
set_counter settlementowner_Arse 5
end_if
if I_SettlementOwner Arse = romans_brutii
set_counter settlementowner_Arse 6
end_if
if I_SettlementOwner Arse = romans_scipii
set_counter settlementowner_Arse 7
end_if
if I_SettlementOwner Arse = macedon
set_counter settlementowner_Arse 8
end_if
if I_SettlementOwner Arse = gauls
set_counter settlementowner_Arse 9
end_if
if I_SettlementOwner Arse = germans
set_counter settlementowner_Arse 10
end_if
if I_SettlementOwner Arse = britons
set_counter settlementowner_Arse 11
end_if
if I_SettlementOwner Arse = spain
set_counter settlementowner_Arse 12
end_if
if I_SettlementOwner Arse = dacia
set_counter settlementowner_Arse 13
end_if
if I_SettlementOwner Arse = scythia
set_counter settlementowner_Arse 14
end_if
if I_SettlementOwner Arse = egypt
set_counter settlementowner_Arse 15
end_if
if I_SettlementOwner Arse = parthia
set_counter settlementowner_Arse 16
end_if
if I_SettlementOwner Arse = numidia
set_counter settlementowner_Arse 17
end_if
if I_SettlementOwner Arse = saba
set_counter settlementowner_Arse 18
end_if
if I_SettlementOwner Arse = armenia
set_counter settlementowner_Arse 19
end_if
if I_SettlementOwner Arse = pontus
set_counter settlementowner_Arse 20
end_if
if I_SettlementOwner Kotais = slave
set_counter settlementowner_Kotais 0
end_if
if I_SettlementOwner Kotais = seleucid
set_counter settlementowner_Kotais 1
end_if
if I_SettlementOwner Kotais = thrace
set_counter settlementowner_Kotais 2
end_if
if I_SettlementOwner Kotais = greek_cities
set_counter settlementowner_Kotais 3
end_if
if I_SettlementOwner Kotais = carthage
set_counter settlementowner_Kotais 4
end_if
if I_SettlementOwner Kotais = romans_julii
set_counter settlementowner_Kotais 5
end_if
if I_SettlementOwner Kotais = romans_brutii
set_counter settlementowner_Kotais 6
end_if
if I_SettlementOwner Kotais = romans_scipii
set_counter settlementowner_Kotais 7
end_if
if I_SettlementOwner Kotais = macedon
set_counter settlementowner_Kotais 8
end_if
if I_SettlementOwner Kotais = gauls
set_counter settlementowner_Kotais 9
end_if
if I_SettlementOwner Kotais = germans
set_counter settlementowner_Kotais 10
end_if
if I_SettlementOwner Kotais = britons
set_counter settlementowner_Kotais 11
end_if
if I_SettlementOwner Kotais = spain
set_counter settlementowner_Kotais 12
end_if
if I_SettlementOwner Kotais = dacia
set_counter settlementowner_Kotais 13
end_if
if I_SettlementOwner Kotais = scythia
set_counter settlementowner_Kotais 14
end_if
if I_SettlementOwner Kotais = egypt
set_counter settlementowner_Kotais 15
end_if
if I_SettlementOwner Kotais = parthia
set_counter settlementowner_Kotais 16
end_if
if I_SettlementOwner Kotais = numidia
set_counter settlementowner_Kotais 17
end_if
if I_SettlementOwner Kotais = saba
set_counter settlementowner_Kotais 18
end_if
if I_SettlementOwner Kotais = armenia
set_counter settlementowner_Kotais 19
end_if
if I_SettlementOwner Kotais = pontus
set_counter settlementowner_Kotais 20
end_if
if I_SettlementOwner Lilibeo = slave
set_counter settlementowner_Lilibeo 0
end_if
if I_SettlementOwner Lilibeo = seleucid
set_counter settlementowner_Lilibeo 1
end_if
if I_SettlementOwner Lilibeo = thrace
set_counter settlementowner_Lilibeo 2
end_if
if I_SettlementOwner Lilibeo = greek_cities
set_counter settlementowner_Lilibeo 3
end_if
if I_SettlementOwner Lilibeo = carthage
set_counter settlementowner_Lilibeo 4
end_if
if I_SettlementOwner Lilibeo = romans_julii
set_counter settlementowner_Lilibeo 5
end_if
if I_SettlementOwner Lilibeo = romans_brutii
set_counter settlementowner_Lilibeo 6
end_if
if I_SettlementOwner Lilibeo = romans_scipii
set_counter settlementowner_Lilibeo 7
end_if
if I_SettlementOwner Lilibeo = macedon
set_counter settlementowner_Lilibeo 8
end_if
if I_SettlementOwner Lilibeo = gauls
set_counter settlementowner_Lilibeo 9
end_if
if I_SettlementOwner Lilibeo = germans
set_counter settlementowner_Lilibeo 10
end_if
if I_SettlementOwner Lilibeo = britons
set_counter settlementowner_Lilibeo 11
end_if
if I_SettlementOwner Lilibeo = spain
set_counter settlementowner_Lilibeo 12
end_if
if I_SettlementOwner Lilibeo = dacia
set_counter settlementowner_Lilibeo 13
end_if
if I_SettlementOwner Lilibeo = scythia
set_counter settlementowner_Lilibeo 14
end_if
if I_SettlementOwner Lilibeo = egypt
set_counter settlementowner_Lilibeo 15
end_if
if I_SettlementOwner Lilibeo = parthia
set_counter settlementowner_Lilibeo 16
end_if
if I_SettlementOwner Lilibeo = numidia
set_counter settlementowner_Lilibeo 17
end_if
if I_SettlementOwner Lilibeo = saba
set_counter settlementowner_Lilibeo 18
end_if
if I_SettlementOwner Lilibeo = armenia
set_counter settlementowner_Lilibeo 19
end_if
if I_SettlementOwner Lilibeo = pontus
set_counter settlementowner_Lilibeo 20
end_if
if I_SettlementOwner Susa = slave
set_counter settlementowner_Susa 0
end_if
if I_SettlementOwner Susa = seleucid
set_counter settlementowner_Susa 1
end_if
if I_SettlementOwner Susa = thrace
set_counter settlementowner_Susa 2
end_if
if I_SettlementOwner Susa = greek_cities
set_counter settlementowner_Susa 3
end_if
if I_SettlementOwner Susa = carthage
set_counter settlementowner_Susa 4
end_if
if I_SettlementOwner Susa = romans_julii
set_counter settlementowner_Susa 5
end_if
if I_SettlementOwner Susa = romans_brutii
set_counter settlementowner_Susa 6
end_if
if I_SettlementOwner Susa = romans_scipii
set_counter settlementowner_Susa 7
end_if
if I_SettlementOwner Susa = macedon
set_counter settlementowner_Susa 8
end_if
if I_SettlementOwner Susa = gauls
set_counter settlementowner_Susa 9
end_if
if I_SettlementOwner Susa = germans
set_counter settlementowner_Susa 10
end_if
if I_SettlementOwner Susa = britons
set_counter settlementowner_Susa 11
end_if
if I_SettlementOwner Susa = spain
set_counter settlementowner_Susa 12
end_if
if I_SettlementOwner Susa = dacia
set_counter settlementowner_Susa 13
end_if
if I_SettlementOwner Susa = scythia
set_counter settlementowner_Susa 14
end_if
if I_SettlementOwner Susa = egypt
set_counter settlementowner_Susa 15
end_if
if I_SettlementOwner Susa = parthia
set_counter settlementowner_Susa 16
end_if
if I_SettlementOwner Susa = numidia
set_counter settlementowner_Susa 17
end_if
if I_SettlementOwner Susa = saba
set_counter settlementowner_Susa 18
end_if
if I_SettlementOwner Susa = armenia
set_counter settlementowner_Susa 19
end_if
if I_SettlementOwner Susa = pontus
set_counter settlementowner_Susa 20
end_if
if I_SettlementOwner Apollonia = slave
set_counter settlementowner_Apollonia 0
end_if
if I_SettlementOwner Apollonia = seleucid
set_counter settlementowner_Apollonia 1
end_if
if I_SettlementOwner Apollonia = thrace
set_counter settlementowner_Apollonia 2
end_if
if I_SettlementOwner Apollonia = greek_cities
set_counter settlementowner_Apollonia 3
end_if
if I_SettlementOwner Apollonia = carthage
set_counter settlementowner_Apollonia 4
end_if
if I_SettlementOwner Apollonia = romans_julii
set_counter settlementowner_Apollonia 5
end_if
if I_SettlementOwner Apollonia = romans_brutii
set_counter settlementowner_Apollonia 6
end_if
if I_SettlementOwner Apollonia = romans_scipii
set_counter settlementowner_Apollonia 7
end_if
if I_SettlementOwner Apollonia = macedon
set_counter settlementowner_Apollonia 8
end_if
if I_SettlementOwner Apollonia = gauls
set_counter settlementowner_Apollonia 9
end_if
if I_SettlementOwner Apollonia = germans
set_counter settlementowner_Apollonia 10
end_if
if I_SettlementOwner Apollonia = britons
set_counter settlementowner_Apollonia 11
end_if
if I_SettlementOwner Apollonia = spain
set_counter settlementowner_Apollonia 12
end_if
if I_SettlementOwner Apollonia = dacia
set_counter settlementowner_Apollonia 13
end_if
if I_SettlementOwner Apollonia = scythia
set_counter settlementowner_Apollonia 14
end_if
if I_SettlementOwner Apollonia = egypt
set_counter settlementowner_Apollonia 15
end_if
if I_SettlementOwner Apollonia = parthia
set_counter settlementowner_Apollonia 16
end_if
if I_SettlementOwner Apollonia = numidia
set_counter settlementowner_Apollonia 17
end_if
if I_SettlementOwner Apollonia = saba
set_counter settlementowner_Apollonia 18
end_if
if I_SettlementOwner Apollonia = armenia
set_counter settlementowner_Apollonia 19
end_if
if I_SettlementOwner Apollonia = pontus
set_counter settlementowner_Apollonia 20
end_if
if I_SettlementOwner Ivernis = slave
set_counter settlementowner_Ivernis 0
end_if
if I_SettlementOwner Ivernis = seleucid
set_counter settlementowner_Ivernis 1
end_if
if I_SettlementOwner Ivernis = thrace
set_counter settlementowner_Ivernis 2
end_if
if I_SettlementOwner Ivernis = greek_cities
set_counter settlementowner_Ivernis 3
end_if
if I_SettlementOwner Ivernis = carthage
set_counter settlementowner_Ivernis 4
end_if
if I_SettlementOwner Ivernis = romans_julii
set_counter settlementowner_Ivernis 5
end_if
if I_SettlementOwner Ivernis = romans_brutii
set_counter settlementowner_Ivernis 6
end_if
if I_SettlementOwner Ivernis = romans_scipii
set_counter settlementowner_Ivernis 7
end_if
if I_SettlementOwner Ivernis = macedon
set_counter settlementowner_Ivernis 8
end_if
if I_SettlementOwner Ivernis = gauls
set_counter settlementowner_Ivernis 9
end_if
if I_SettlementOwner Ivernis = germans
set_counter settlementowner_Ivernis 10
end_if
if I_SettlementOwner Ivernis = britons
set_counter settlementowner_Ivernis 11
end_if
if I_SettlementOwner Ivernis = spain
set_counter settlementowner_Ivernis 12
end_if
if I_SettlementOwner Ivernis = dacia
set_counter settlementowner_Ivernis 13
end_if
if I_SettlementOwner Ivernis = scythia
set_counter settlementowner_Ivernis 14
end_if
if I_SettlementOwner Ivernis = egypt
set_counter settlementowner_Ivernis 15
end_if
if I_SettlementOwner Ivernis = parthia
set_counter settlementowner_Ivernis 16
end_if
if I_SettlementOwner Ivernis = numidia
set_counter settlementowner_Ivernis 17
end_if
if I_SettlementOwner Ivernis = saba
set_counter settlementowner_Ivernis 18
end_if
if I_SettlementOwner Ivernis = armenia
set_counter settlementowner_Ivernis 19
end_if
if I_SettlementOwner Ivernis = pontus
set_counter settlementowner_Ivernis 20
end_if
if I_SettlementOwner Ak_Ink = slave
set_counter settlementowner_Ak_Ink 0
end_if
if I_SettlementOwner Ak_Ink = seleucid
set_counter settlementowner_Ak_Ink 1
end_if
if I_SettlementOwner Ak_Ink = thrace
set_counter settlementowner_Ak_Ink 2
end_if
if I_SettlementOwner Ak_Ink = greek_cities
set_counter settlementowner_Ak_Ink 3
end_if
if I_SettlementOwner Ak_Ink = carthage
set_counter settlementowner_Ak_Ink 4
end_if
if I_SettlementOwner Ak_Ink = romans_julii
set_counter settlementowner_Ak_Ink 5
end_if
if I_SettlementOwner Ak_Ink = romans_brutii
set_counter settlementowner_Ak_Ink 6
end_if
if I_SettlementOwner Ak_Ink = romans_scipii
set_counter settlementowner_Ak_Ink 7
end_if
if I_SettlementOwner Ak_Ink = macedon
set_counter settlementowner_Ak_Ink 8
end_if
if I_SettlementOwner Ak_Ink = gauls
set_counter settlementowner_Ak_Ink 9
end_if
if I_SettlementOwner Ak_Ink = germans
set_counter settlementowner_Ak_Ink 10
end_if
if I_SettlementOwner Ak_Ink = britons
set_counter settlementowner_Ak_Ink 11
end_if
if I_SettlementOwner Ak_Ink = spain
set_counter settlementowner_Ak_Ink 12
end_if
if I_SettlementOwner Ak_Ink = dacia
set_counter settlementowner_Ak_Ink 13
end_if
if I_SettlementOwner Ak_Ink = scythia
set_counter settlementowner_Ak_Ink 14
end_if
if I_SettlementOwner Ak_Ink = egypt
set_counter settlementowner_Ak_Ink 15
end_if
if I_SettlementOwner Ak_Ink = parthia
set_counter settlementowner_Ak_Ink 16
end_if
if I_SettlementOwner Ak_Ink = numidia
set_counter settlementowner_Ak_Ink 17
end_if
if I_SettlementOwner Ak_Ink = saba
set_counter settlementowner_Ak_Ink 18
end_if
if I_SettlementOwner Ak_Ink = armenia
set_counter settlementowner_Ak_Ink 19
end_if
if I_SettlementOwner Ak_Ink = pontus
set_counter settlementowner_Ak_Ink 20
end_if
if I_SettlementOwner Arretium = slave
set_counter settlementowner_Arretium 0
end_if
if I_SettlementOwner Arretium = seleucid
set_counter settlementowner_Arretium 1
end_if
if I_SettlementOwner Arretium = thrace
set_counter settlementowner_Arretium 2
end_if
if I_SettlementOwner Arretium = greek_cities
set_counter settlementowner_Arretium 3
end_if
if I_SettlementOwner Arretium = carthage
set_counter settlementowner_Arretium 4
end_if
if I_SettlementOwner Arretium = romans_julii
set_counter settlementowner_Arretium 5
end_if
if I_SettlementOwner Arretium = romans_brutii
set_counter settlementowner_Arretium 6
end_if
if I_SettlementOwner Arretium = romans_scipii
set_counter settlementowner_Arretium 7
end_if
if I_SettlementOwner Arretium = macedon
set_counter settlementowner_Arretium 8
end_if
if I_SettlementOwner Arretium = gauls
set_counter settlementowner_Arretium 9
end_if
if I_SettlementOwner Arretium = germans
set_counter settlementowner_Arretium 10
end_if
if I_SettlementOwner Arretium = britons
set_counter settlementowner_Arretium 11
end_if
if I_SettlementOwner Arretium = spain
set_counter settlementowner_Arretium 12
end_if
if I_SettlementOwner Arretium = dacia
set_counter settlementowner_Arretium 13
end_if
if I_SettlementOwner Arretium = scythia
set_counter settlementowner_Arretium 14
end_if
if I_SettlementOwner Arretium = egypt
set_counter settlementowner_Arretium 15
end_if
if I_SettlementOwner Arretium = parthia
set_counter settlementowner_Arretium 16
end_if
if I_SettlementOwner Arretium = numidia
set_counter settlementowner_Arretium 17
end_if
if I_SettlementOwner Arretium = saba
set_counter settlementowner_Arretium 18
end_if
if I_SettlementOwner Arretium = armenia
set_counter settlementowner_Arretium 19
end_if
if I_SettlementOwner Arretium = pontus
set_counter settlementowner_Arretium 20
end_if
if I_SettlementOwner Chalkis = slave
set_counter settlementowner_Chalkis 0
end_if
if I_SettlementOwner Chalkis = seleucid
set_counter settlementowner_Chalkis 1
end_if
if I_SettlementOwner Chalkis = thrace
set_counter settlementowner_Chalkis 2
end_if
if I_SettlementOwner Chalkis = greek_cities
set_counter settlementowner_Chalkis 3
end_if
if I_SettlementOwner Chalkis = carthage
set_counter settlementowner_Chalkis 4
end_if
if I_SettlementOwner Chalkis = romans_julii
set_counter settlementowner_Chalkis 5
end_if
if I_SettlementOwner Chalkis = romans_brutii
set_counter settlementowner_Chalkis 6
end_if
if I_SettlementOwner Chalkis = romans_scipii
set_counter settlementowner_Chalkis 7
end_if
if I_SettlementOwner Chalkis = macedon
set_counter settlementowner_Chalkis 8
end_if
if I_SettlementOwner Chalkis = gauls
set_counter settlementowner_Chalkis 9
end_if
if I_SettlementOwner Chalkis = germans
set_counter settlementowner_Chalkis 10
end_if
if I_SettlementOwner Chalkis = britons
set_counter settlementowner_Chalkis 11
end_if
if I_SettlementOwner Chalkis = spain
set_counter settlementowner_Chalkis 12
end_if
if I_SettlementOwner Chalkis = dacia
set_counter settlementowner_Chalkis 13
end_if
if I_SettlementOwner Chalkis = scythia
set_counter settlementowner_Chalkis 14
end_if
if I_SettlementOwner Chalkis = egypt
set_counter settlementowner_Chalkis 15
end_if
if I_SettlementOwner Chalkis = parthia
set_counter settlementowner_Chalkis 16
end_if
if I_SettlementOwner Chalkis = numidia
set_counter settlementowner_Chalkis 17
end_if
if I_SettlementOwner Chalkis = saba
set_counter settlementowner_Chalkis 18
end_if
if I_SettlementOwner Chalkis = armenia
set_counter settlementowner_Chalkis 19
end_if
if I_SettlementOwner Chalkis = pontus
set_counter settlementowner_Chalkis 20
end_if
if I_SettlementOwner Gabai = slave
set_counter settlementowner_Gabai 0
end_if
if I_SettlementOwner Gabai = seleucid
set_counter settlementowner_Gabai 1
end_if
if I_SettlementOwner Gabai = thrace
set_counter settlementowner_Gabai 2
end_if
if I_SettlementOwner Gabai = greek_cities
set_counter settlementowner_Gabai 3
end_if
if I_SettlementOwner Gabai = carthage
set_counter settlementowner_Gabai 4
end_if
if I_SettlementOwner Gabai = romans_julii
set_counter settlementowner_Gabai 5
end_if
if I_SettlementOwner Gabai = romans_brutii
set_counter settlementowner_Gabai 6
end_if
if I_SettlementOwner Gabai = romans_scipii
set_counter settlementowner_Gabai 7
end_if
if I_SettlementOwner Gabai = macedon
set_counter settlementowner_Gabai 8
end_if
if I_SettlementOwner Gabai = gauls
set_counter settlementowner_Gabai 9
end_if
if I_SettlementOwner Gabai = germans
set_counter settlementowner_Gabai 10
end_if
if I_SettlementOwner Gabai = britons
set_counter settlementowner_Gabai 11
end_if
if I_SettlementOwner Gabai = spain
set_counter settlementowner_Gabai 12
end_if
if I_SettlementOwner Gabai = dacia
set_counter settlementowner_Gabai 13
end_if
if I_SettlementOwner Gabai = scythia
set_counter settlementowner_Gabai 14
end_if
if I_SettlementOwner Gabai = egypt
set_counter settlementowner_Gabai 15
end_if
if I_SettlementOwner Gabai = parthia
set_counter settlementowner_Gabai 16
end_if
if I_SettlementOwner Gabai = numidia
set_counter settlementowner_Gabai 17
end_if
if I_SettlementOwner Gabai = saba
set_counter settlementowner_Gabai 18
end_if
if I_SettlementOwner Gabai = armenia
set_counter settlementowner_Gabai 19
end_if
if I_SettlementOwner Gabai = pontus
set_counter settlementowner_Gabai 20
end_if
if I_SettlementOwner Tuat = slave
set_counter settlementowner_Tuat 0
end_if
if I_SettlementOwner Tuat = seleucid
set_counter settlementowner_Tuat 1
end_if
if I_SettlementOwner Tuat = thrace
set_counter settlementowner_Tuat 2
end_if
if I_SettlementOwner Tuat = greek_cities
set_counter settlementowner_Tuat 3
end_if
if I_SettlementOwner Tuat = carthage
set_counter settlementowner_Tuat 4
end_if
if I_SettlementOwner Tuat = romans_julii
set_counter settlementowner_Tuat 5
end_if
if I_SettlementOwner Tuat = romans_brutii
set_counter settlementowner_Tuat 6
end_if
if I_SettlementOwner Tuat = romans_scipii
set_counter settlementowner_Tuat 7
end_if
if I_SettlementOwner Tuat = macedon
set_counter settlementowner_Tuat 8
end_if
if I_SettlementOwner Tuat = gauls
set_counter settlementowner_Tuat 9
end_if
if I_SettlementOwner Tuat = germans
set_counter settlementowner_Tuat 10
end_if
if I_SettlementOwner Tuat = britons
set_counter settlementowner_Tuat 11
end_if
if I_SettlementOwner Tuat = spain
set_counter settlementowner_Tuat 12
end_if
if I_SettlementOwner Tuat = dacia
set_counter settlementowner_Tuat 13
end_if
if I_SettlementOwner Tuat = scythia
set_counter settlementowner_Tuat 14
end_if
if I_SettlementOwner Tuat = egypt
set_counter settlementowner_Tuat 15
end_if
if I_SettlementOwner Tuat = parthia
set_counter settlementowner_Tuat 16
end_if
if I_SettlementOwner Tuat = numidia
set_counter settlementowner_Tuat 17
end_if
if I_SettlementOwner Tuat = saba
set_counter settlementowner_Tuat 18
end_if
if I_SettlementOwner Tuat = armenia
set_counter settlementowner_Tuat 19
end_if
if I_SettlementOwner Tuat = pontus
set_counter settlementowner_Tuat 20
end_if
if I_SettlementOwner Tyde = slave
set_counter settlementowner_Tyde 0
end_if
if I_SettlementOwner Tyde = seleucid
set_counter settlementowner_Tyde 1
end_if
if I_SettlementOwner Tyde = thrace
set_counter settlementowner_Tyde 2
end_if
if I_SettlementOwner Tyde = greek_cities
set_counter settlementowner_Tyde 3
end_if
if I_SettlementOwner Tyde = carthage
set_counter settlementowner_Tyde 4
end_if
if I_SettlementOwner Tyde = romans_julii
set_counter settlementowner_Tyde 5
end_if
if I_SettlementOwner Tyde = romans_brutii
set_counter settlementowner_Tyde 6
end_if
if I_SettlementOwner Tyde = romans_scipii
set_counter settlementowner_Tyde 7
end_if
if I_SettlementOwner Tyde = macedon
set_counter settlementowner_Tyde 8
end_if
if I_SettlementOwner Tyde = gauls
set_counter settlementowner_Tyde 9
end_if
if I_SettlementOwner Tyde = germans
set_counter settlementowner_Tyde 10
end_if
if I_SettlementOwner Tyde = britons
set_counter settlementowner_Tyde 11
end_if
if I_SettlementOwner Tyde = spain
set_counter settlementowner_Tyde 12
end_if
if I_SettlementOwner Tyde = dacia
set_counter settlementowner_Tyde 13
end_if
if I_SettlementOwner Tyde = scythia
set_counter settlementowner_Tyde 14
end_if
if I_SettlementOwner Tyde = egypt
set_counter settlementowner_Tyde 15
end_if
if I_SettlementOwner Tyde = parthia
set_counter settlementowner_Tyde 16
end_if
if I_SettlementOwner Tyde = numidia
set_counter settlementowner_Tyde 17
end_if
if I_SettlementOwner Tyde = saba
set_counter settlementowner_Tyde 18
end_if
if I_SettlementOwner Tyde = armenia
set_counter settlementowner_Tyde 19
end_if
if I_SettlementOwner Tyde = pontus
set_counter settlementowner_Tyde 20
end_if
if I_SettlementOwner Ankyra = slave
set_counter settlementowner_Ankyra 0
end_if
if I_SettlementOwner Ankyra = seleucid
set_counter settlementowner_Ankyra 1
end_if
if I_SettlementOwner Ankyra = thrace
set_counter settlementowner_Ankyra 2
end_if
if I_SettlementOwner Ankyra = greek_cities
set_counter settlementowner_Ankyra 3
end_if
if I_SettlementOwner Ankyra = carthage
set_counter settlementowner_Ankyra 4
end_if
if I_SettlementOwner Ankyra = romans_julii
set_counter settlementowner_Ankyra 5
end_if
if I_SettlementOwner Ankyra = romans_brutii
set_counter settlementowner_Ankyra 6
end_if
if I_SettlementOwner Ankyra = romans_scipii
set_counter settlementowner_Ankyra 7
end_if
if I_SettlementOwner Ankyra = macedon
set_counter settlementowner_Ankyra 8
end_if
if I_SettlementOwner Ankyra = gauls
set_counter settlementowner_Ankyra 9
end_if
if I_SettlementOwner Ankyra = germans
set_counter settlementowner_Ankyra 10
end_if
if I_SettlementOwner Ankyra = britons
set_counter settlementowner_Ankyra 11
end_if
if I_SettlementOwner Ankyra = spain
set_counter settlementowner_Ankyra 12
end_if
if I_SettlementOwner Ankyra = dacia
set_counter settlementowner_Ankyra 13
end_if
if I_SettlementOwner Ankyra = scythia
set_counter settlementowner_Ankyra 14
end_if
if I_SettlementOwner Ankyra = egypt
set_counter settlementowner_Ankyra 15
end_if
if I_SettlementOwner Ankyra = parthia
set_counter settlementowner_Ankyra 16
end_if
if I_SettlementOwner Ankyra = numidia
set_counter settlementowner_Ankyra 17
end_if
if I_SettlementOwner Ankyra = saba
set_counter settlementowner_Ankyra 18
end_if
if I_SettlementOwner Ankyra = armenia
set_counter settlementowner_Ankyra 19
end_if
if I_SettlementOwner Ankyra = pontus
set_counter settlementowner_Ankyra 20
end_if
if I_SettlementOwner Taksashila = slave
set_counter settlementowner_Taksashila 0
end_if
if I_SettlementOwner Taksashila = seleucid
set_counter settlementowner_Taksashila 1
end_if
if I_SettlementOwner Taksashila = thrace
set_counter settlementowner_Taksashila 2
end_if
if I_SettlementOwner Taksashila = greek_cities
set_counter settlementowner_Taksashila 3
end_if
if I_SettlementOwner Taksashila = carthage
set_counter settlementowner_Taksashila 4
end_if
if I_SettlementOwner Taksashila = romans_julii
set_counter settlementowner_Taksashila 5
end_if
if I_SettlementOwner Taksashila = romans_brutii
set_counter settlementowner_Taksashila 6
end_if
if I_SettlementOwner Taksashila = romans_scipii
set_counter settlementowner_Taksashila 7
end_if
if I_SettlementOwner Taksashila = macedon
set_counter settlementowner_Taksashila 8
end_if
if I_SettlementOwner Taksashila = gauls
set_counter settlementowner_Taksashila 9
end_if
if I_SettlementOwner Taksashila = germans
set_counter settlementowner_Taksashila 10
end_if
if I_SettlementOwner Taksashila = britons
set_counter settlementowner_Taksashila 11
end_if
if I_SettlementOwner Taksashila = spain
set_counter settlementowner_Taksashila 12
end_if
if I_SettlementOwner Taksashila = dacia
set_counter settlementowner_Taksashila 13
end_if
if I_SettlementOwner Taksashila = scythia
set_counter settlementowner_Taksashila 14
end_if
if I_SettlementOwner Taksashila = egypt
set_counter settlementowner_Taksashila 15
end_if
if I_SettlementOwner Taksashila = parthia
set_counter settlementowner_Taksashila 16
end_if
if I_SettlementOwner Taksashila = numidia
set_counter settlementowner_Taksashila 17
end_if
if I_SettlementOwner Taksashila = saba
set_counter settlementowner_Taksashila 18
end_if
if I_SettlementOwner Taksashila = armenia
set_counter settlementowner_Taksashila 19
end_if
if I_SettlementOwner Taksashila = pontus
set_counter settlementowner_Taksashila 20
end_if
if I_SettlementOwner Pura = slave
set_counter settlementowner_Pura 0
end_if
if I_SettlementOwner Pura = seleucid
set_counter settlementowner_Pura 1
end_if
if I_SettlementOwner Pura = thrace
set_counter settlementowner_Pura 2
end_if
if I_SettlementOwner Pura = greek_cities
set_counter settlementowner_Pura 3
end_if
if I_SettlementOwner Pura = carthage
set_counter settlementowner_Pura 4
end_if
if I_SettlementOwner Pura = romans_julii
set_counter settlementowner_Pura 5
end_if
if I_SettlementOwner Pura = romans_brutii
set_counter settlementowner_Pura 6
end_if
if I_SettlementOwner Pura = romans_scipii
set_counter settlementowner_Pura 7
end_if
if I_SettlementOwner Pura = macedon
set_counter settlementowner_Pura 8
end_if
if I_SettlementOwner Pura = gauls
set_counter settlementowner_Pura 9
end_if
if I_SettlementOwner Pura = germans
set_counter settlementowner_Pura 10
end_if
if I_SettlementOwner Pura = britons
set_counter settlementowner_Pura 11
end_if
if I_SettlementOwner Pura = spain
set_counter settlementowner_Pura 12
end_if
if I_SettlementOwner Pura = dacia
set_counter settlementowner_Pura 13
end_if
if I_SettlementOwner Pura = scythia
set_counter settlementowner_Pura 14
end_if
if I_SettlementOwner Pura = egypt
set_counter settlementowner_Pura 15
end_if
if I_SettlementOwner Pura = parthia
set_counter settlementowner_Pura 16
end_if
if I_SettlementOwner Pura = numidia
set_counter settlementowner_Pura 17
end_if
if I_SettlementOwner Pura = saba
set_counter settlementowner_Pura 18
end_if
if I_SettlementOwner Pura = armenia
set_counter settlementowner_Pura 19
end_if
if I_SettlementOwner Pura = pontus
set_counter settlementowner_Pura 20
end_if
if I_SettlementOwner Gerrha = slave
set_counter settlementowner_Gerrha 0
end_if
if I_SettlementOwner Gerrha = seleucid
set_counter settlementowner_Gerrha 1
end_if
if I_SettlementOwner Gerrha = thrace
set_counter settlementowner_Gerrha 2
end_if
if I_SettlementOwner Gerrha = greek_cities
set_counter settlementowner_Gerrha 3
end_if
if I_SettlementOwner Gerrha = carthage
set_counter settlementowner_Gerrha 4
end_if
if I_SettlementOwner Gerrha = romans_julii
set_counter settlementowner_Gerrha 5
end_if
if I_SettlementOwner Gerrha = romans_brutii
set_counter settlementowner_Gerrha 6
end_if
if I_SettlementOwner Gerrha = romans_scipii
set_counter settlementowner_Gerrha 7
end_if
if I_SettlementOwner Gerrha = macedon
set_counter settlementowner_Gerrha 8
end_if
if I_SettlementOwner Gerrha = gauls
set_counter settlementowner_Gerrha 9
end_if
if I_SettlementOwner Gerrha = germans
set_counter settlementowner_Gerrha 10
end_if
if I_SettlementOwner Gerrha = britons
set_counter settlementowner_Gerrha 11
end_if
if I_SettlementOwner Gerrha = spain
set_counter settlementowner_Gerrha 12
end_if
if I_SettlementOwner Gerrha = dacia
set_counter settlementowner_Gerrha 13
end_if
if I_SettlementOwner Gerrha = scythia
set_counter settlementowner_Gerrha 14
end_if
if I_SettlementOwner Gerrha = egypt
set_counter settlementowner_Gerrha 15
end_if
if I_SettlementOwner Gerrha = parthia
set_counter settlementowner_Gerrha 16
end_if
if I_SettlementOwner Gerrha = numidia
set_counter settlementowner_Gerrha 17
end_if
if I_SettlementOwner Gerrha = saba
set_counter settlementowner_Gerrha 18
end_if
if I_SettlementOwner Gerrha = armenia
set_counter settlementowner_Gerrha 19
end_if
if I_SettlementOwner Gerrha = pontus
set_counter settlementowner_Gerrha 20
end_if
if I_SettlementOwner Buridava = slave
set_counter settlementowner_Buridava 0
end_if
if I_SettlementOwner Buridava = seleucid
set_counter settlementowner_Buridava 1
end_if
if I_SettlementOwner Buridava = thrace
set_counter settlementowner_Buridava 2
end_if
if I_SettlementOwner Buridava = greek_cities
set_counter settlementowner_Buridava 3
end_if
if I_SettlementOwner Buridava = carthage
set_counter settlementowner_Buridava 4
end_if
if I_SettlementOwner Buridava = romans_julii
set_counter settlementowner_Buridava 5
end_if
if I_SettlementOwner Buridava = romans_brutii
set_counter settlementowner_Buridava 6
end_if
if I_SettlementOwner Buridava = romans_scipii
set_counter settlementowner_Buridava 7
end_if
if I_SettlementOwner Buridava = macedon
set_counter settlementowner_Buridava 8
end_if
if I_SettlementOwner Buridava = gauls
set_counter settlementowner_Buridava 9
end_if
if I_SettlementOwner Buridava = germans
set_counter settlementowner_Buridava 10
end_if
if I_SettlementOwner Buridava = britons
set_counter settlementowner_Buridava 11
end_if
if I_SettlementOwner Buridava = spain
set_counter settlementowner_Buridava 12
end_if
if I_SettlementOwner Buridava = dacia
set_counter settlementowner_Buridava 13
end_if
if I_SettlementOwner Buridava = scythia
set_counter settlementowner_Buridava 14
end_if
if I_SettlementOwner Buridava = egypt
set_counter settlementowner_Buridava 15
end_if
if I_SettlementOwner Buridava = parthia
set_counter settlementowner_Buridava 16
end_if
if I_SettlementOwner Buridava = numidia
set_counter settlementowner_Buridava 17
end_if
if I_SettlementOwner Buridava = saba
set_counter settlementowner_Buridava 18
end_if
if I_SettlementOwner Buridava = armenia
set_counter settlementowner_Buridava 19
end_if
if I_SettlementOwner Buridava = pontus
set_counter settlementowner_Buridava 20
end_if
if I_SettlementOwner Sarmiszegethusa = slave
set_counter settlementowner_Sarmiszegethusa 0
end_if
if I_SettlementOwner Sarmiszegethusa = seleucid
set_counter settlementowner_Sarmiszegethusa 1
end_if
if I_SettlementOwner Sarmiszegethusa = thrace
set_counter settlementowner_Sarmiszegethusa 2
end_if
if I_SettlementOwner Sarmiszegethusa = greek_cities
set_counter settlementowner_Sarmiszegethusa 3
end_if
if I_SettlementOwner Sarmiszegethusa = carthage
set_counter settlementowner_Sarmiszegethusa 4
end_if
if I_SettlementOwner Sarmiszegethusa = romans_julii
set_counter settlementowner_Sarmiszegethusa 5
end_if
if I_SettlementOwner Sarmiszegethusa = romans_brutii
set_counter settlementowner_Sarmiszegethusa 6
end_if
if I_SettlementOwner Sarmiszegethusa = romans_scipii
set_counter settlementowner_Sarmiszegethusa 7
end_if
if I_SettlementOwner Sarmiszegethusa = macedon
set_counter settlementowner_Sarmiszegethusa 8
end_if
if I_SettlementOwner Sarmiszegethusa = gauls
set_counter settlementowner_Sarmiszegethusa 9
end_if
if I_SettlementOwner Sarmiszegethusa = germans
set_counter settlementowner_Sarmiszegethusa 10
end_if
if I_SettlementOwner Sarmiszegethusa = britons
set_counter settlementowner_Sarmiszegethusa 11
end_if
if I_SettlementOwner Sarmiszegethusa = spain
set_counter settlementowner_Sarmiszegethusa 12
end_if
if I_SettlementOwner Sarmiszegethusa = dacia
set_counter settlementowner_Sarmiszegethusa 13
end_if
if I_SettlementOwner Sarmiszegethusa = scythia
set_counter settlementowner_Sarmiszegethusa 14
end_if
if I_SettlementOwner Sarmiszegethusa = egypt
set_counter settlementowner_Sarmiszegethusa 15
end_if
if I_SettlementOwner Sarmiszegethusa = parthia
set_counter settlementowner_Sarmiszegethusa 16
end_if
if I_SettlementOwner Sarmiszegethusa = numidia
set_counter settlementowner_Sarmiszegethusa 17
end_if
if I_SettlementOwner Sarmiszegethusa = saba
set_counter settlementowner_Sarmiszegethusa 18
end_if
if I_SettlementOwner Sarmiszegethusa = armenia
set_counter settlementowner_Sarmiszegethusa 19
end_if
if I_SettlementOwner Sarmiszegethusa = pontus
set_counter settlementowner_Sarmiszegethusa 20
end_if
if I_SettlementOwner Massalia = slave
set_counter settlementowner_Massalia 0
end_if
if I_SettlementOwner Massalia = seleucid
set_counter settlementowner_Massalia 1
end_if
if I_SettlementOwner Massalia = thrace
set_counter settlementowner_Massalia 2
end_if
if I_SettlementOwner Massalia = greek_cities
set_counter settlementowner_Massalia 3
end_if
if I_SettlementOwner Massalia = carthage
set_counter settlementowner_Massalia 4
end_if
if I_SettlementOwner Massalia = romans_julii
set_counter settlementowner_Massalia 5
end_if
if I_SettlementOwner Massalia = romans_brutii
set_counter settlementowner_Massalia 6
end_if
if I_SettlementOwner Massalia = romans_scipii
set_counter settlementowner_Massalia 7
end_if
if I_SettlementOwner Massalia = macedon
set_counter settlementowner_Massalia 8
end_if
if I_SettlementOwner Massalia = gauls
set_counter settlementowner_Massalia 9
end_if
if I_SettlementOwner Massalia = germans
set_counter settlementowner_Massalia 10
end_if
if I_SettlementOwner Massalia = britons
set_counter settlementowner_Massalia 11
end_if
if I_SettlementOwner Massalia = spain
set_counter settlementowner_Massalia 12
end_if
if I_SettlementOwner Massalia = dacia
set_counter settlementowner_Massalia 13
end_if
if I_SettlementOwner Massalia = scythia
set_counter settlementowner_Massalia 14
end_if
if I_SettlementOwner Massalia = egypt
set_counter settlementowner_Massalia 15
end_if
if I_SettlementOwner Massalia = parthia
set_counter settlementowner_Massalia 16
end_if
if I_SettlementOwner Massalia = numidia
set_counter settlementowner_Massalia 17
end_if
if I_SettlementOwner Massalia = saba
set_counter settlementowner_Massalia 18
end_if
if I_SettlementOwner Massalia = armenia
set_counter settlementowner_Massalia 19
end_if
if I_SettlementOwner Massalia = pontus
set_counter settlementowner_Massalia 20
end_if
if I_SettlementOwner Gawjam_Habukoz = slave
set_counter settlementowner_Gawjam_Habukoz 0
end_if
if I_SettlementOwner Gawjam_Habukoz = seleucid
set_counter settlementowner_Gawjam_Habukoz 1
end_if
if I_SettlementOwner Gawjam_Habukoz = thrace
set_counter settlementowner_Gawjam_Habukoz 2
end_if
if I_SettlementOwner Gawjam_Habukoz = greek_cities
set_counter settlementowner_Gawjam_Habukoz 3
end_if
if I_SettlementOwner Gawjam_Habukoz = carthage
set_counter settlementowner_Gawjam_Habukoz 4
end_if
if I_SettlementOwner Gawjam_Habukoz = romans_julii
set_counter settlementowner_Gawjam_Habukoz 5
end_if
if I_SettlementOwner Gawjam_Habukoz = romans_brutii
set_counter settlementowner_Gawjam_Habukoz 6
end_if
if I_SettlementOwner Gawjam_Habukoz = romans_scipii
set_counter settlementowner_Gawjam_Habukoz 7
end_if
if I_SettlementOwner Gawjam_Habukoz = macedon
set_counter settlementowner_Gawjam_Habukoz 8
end_if
if I_SettlementOwner Gawjam_Habukoz = gauls
set_counter settlementowner_Gawjam_Habukoz 9
end_if
if I_SettlementOwner Gawjam_Habukoz = germans
set_counter settlementowner_Gawjam_Habukoz 10
end_if
if I_SettlementOwner Gawjam_Habukoz = britons
set_counter settlementowner_Gawjam_Habukoz 11
end_if
if I_SettlementOwner Gawjam_Habukoz = spain
set_counter settlementowner_Gawjam_Habukoz 12
end_if
if I_SettlementOwner Gawjam_Habukoz = dacia
set_counter settlementowner_Gawjam_Habukoz 13
end_if
if I_SettlementOwner Gawjam_Habukoz = scythia
set_counter settlementowner_Gawjam_Habukoz 14
end_if
if I_SettlementOwner Gawjam_Habukoz = egypt
set_counter settlementowner_Gawjam_Habukoz 15
end_if
if I_SettlementOwner Gawjam_Habukoz = parthia
set_counter settlementowner_Gawjam_Habukoz 16
end_if
if I_SettlementOwner Gawjam_Habukoz = numidia
set_counter settlementowner_Gawjam_Habukoz 17
end_if
if I_SettlementOwner Gawjam_Habukoz = saba
set_counter settlementowner_Gawjam_Habukoz 18
end_if
if I_SettlementOwner Gawjam_Habukoz = armenia
set_counter settlementowner_Gawjam_Habukoz 19
end_if
if I_SettlementOwner Gawjam_Habukoz = pontus
set_counter settlementowner_Gawjam_Habukoz 20
end_if
if I_SettlementOwner Sabata = slave
set_counter settlementowner_Sabata 0
end_if
if I_SettlementOwner Sabata = seleucid
set_counter settlementowner_Sabata 1
end_if
if I_SettlementOwner Sabata = thrace
set_counter settlementowner_Sabata 2
end_if
if I_SettlementOwner Sabata = greek_cities
set_counter settlementowner_Sabata 3
end_if
if I_SettlementOwner Sabata = carthage
set_counter settlementowner_Sabata 4
end_if
if I_SettlementOwner Sabata = romans_julii
set_counter settlementowner_Sabata 5
end_if
if I_SettlementOwner Sabata = romans_brutii
set_counter settlementowner_Sabata 6
end_if
if I_SettlementOwner Sabata = romans_scipii
set_counter settlementowner_Sabata 7
end_if
if I_SettlementOwner Sabata = macedon
set_counter settlementowner_Sabata 8
end_if
if I_SettlementOwner Sabata = gauls
set_counter settlementowner_Sabata 9
end_if
if I_SettlementOwner Sabata = germans
set_counter settlementowner_Sabata 10
end_if
if I_SettlementOwner Sabata = britons
set_counter settlementowner_Sabata 11
end_if
if I_SettlementOwner Sabata = spain
set_counter settlementowner_Sabata 12
end_if
if I_SettlementOwner Sabata = dacia
set_counter settlementowner_Sabata 13
end_if
if I_SettlementOwner Sabata = scythia
set_counter settlementowner_Sabata 14
end_if
if I_SettlementOwner Sabata = egypt
set_counter settlementowner_Sabata 15
end_if
if I_SettlementOwner Sabata = parthia
set_counter settlementowner_Sabata 16
end_if
if I_SettlementOwner Sabata = numidia
set_counter settlementowner_Sabata 17
end_if
if I_SettlementOwner Sabata = saba
set_counter settlementowner_Sabata 18
end_if
if I_SettlementOwner Sabata = armenia
set_counter settlementowner_Sabata 19
end_if
if I_SettlementOwner Sabata = pontus
set_counter settlementowner_Sabata 20
end_if
if I_SettlementOwner Arctaunon = slave
set_counter settlementowner_Arctaunon 0
end_if
if I_SettlementOwner Arctaunon = seleucid
set_counter settlementowner_Arctaunon 1
end_if
if I_SettlementOwner Arctaunon = thrace
set_counter settlementowner_Arctaunon 2
end_if
if I_SettlementOwner Arctaunon = greek_cities
set_counter settlementowner_Arctaunon 3
end_if
if I_SettlementOwner Arctaunon = carthage
set_counter settlementowner_Arctaunon 4
end_if
if I_SettlementOwner Arctaunon = romans_julii
set_counter settlementowner_Arctaunon 5
end_if
if I_SettlementOwner Arctaunon = romans_brutii
set_counter settlementowner_Arctaunon 6
end_if
if I_SettlementOwner Arctaunon = romans_scipii
set_counter settlementowner_Arctaunon 7
end_if
if I_SettlementOwner Arctaunon = macedon
set_counter settlementowner_Arctaunon 8
end_if
if I_SettlementOwner Arctaunon = gauls
set_counter settlementowner_Arctaunon 9
end_if
if I_SettlementOwner Arctaunon = germans
set_counter settlementowner_Arctaunon 10
end_if
if I_SettlementOwner Arctaunon = britons
set_counter settlementowner_Arctaunon 11
end_if
if I_SettlementOwner Arctaunon = spain
set_counter settlementowner_Arctaunon 12
end_if
if I_SettlementOwner Arctaunon = dacia
set_counter settlementowner_Arctaunon 13
end_if
if I_SettlementOwner Arctaunon = scythia
set_counter settlementowner_Arctaunon 14
end_if
if I_SettlementOwner Arctaunon = egypt
set_counter settlementowner_Arctaunon 15
end_if
if I_SettlementOwner Arctaunon = parthia
set_counter settlementowner_Arctaunon 16
end_if
if I_SettlementOwner Arctaunon = numidia
set_counter settlementowner_Arctaunon 17
end_if
if I_SettlementOwner Arctaunon = saba
set_counter settlementowner_Arctaunon 18
end_if
if I_SettlementOwner Arctaunon = armenia
set_counter settlementowner_Arctaunon 19
end_if
if I_SettlementOwner Arctaunon = pontus
set_counter settlementowner_Arctaunon 20
end_if
if I_SettlementOwner Armavir = slave
set_counter settlementowner_Armavir 0
end_if
if I_SettlementOwner Armavir = seleucid
set_counter settlementowner_Armavir 1
end_if
if I_SettlementOwner Armavir = thrace
set_counter settlementowner_Armavir 2
end_if
if I_SettlementOwner Armavir = greek_cities
set_counter settlementowner_Armavir 3
end_if
if I_SettlementOwner Armavir = carthage
set_counter settlementowner_Armavir 4
end_if
if I_SettlementOwner Armavir = romans_julii
set_counter settlementowner_Armavir 5
end_if
if I_SettlementOwner Armavir = romans_brutii
set_counter settlementowner_Armavir 6
end_if
if I_SettlementOwner Armavir = romans_scipii
set_counter settlementowner_Armavir 7
end_if
if I_SettlementOwner Armavir = macedon
set_counter settlementowner_Armavir 8
end_if
if I_SettlementOwner Armavir = gauls
set_counter settlementowner_Armavir 9
end_if
if I_SettlementOwner Armavir = germans
set_counter settlementowner_Armavir 10
end_if
if I_SettlementOwner Armavir = britons
set_counter settlementowner_Armavir 11
end_if
if I_SettlementOwner Armavir = spain
set_counter settlementowner_Armavir 12
end_if
if I_SettlementOwner Armavir = dacia
set_counter settlementowner_Armavir 13
end_if
if I_SettlementOwner Armavir = scythia
set_counter settlementowner_Armavir 14
end_if
if I_SettlementOwner Armavir = egypt
set_counter settlementowner_Armavir 15
end_if
if I_SettlementOwner Armavir = parthia
set_counter settlementowner_Armavir 16
end_if
if I_SettlementOwner Armavir = numidia
set_counter settlementowner_Armavir 17
end_if
if I_SettlementOwner Armavir = saba
set_counter settlementowner_Armavir 18
end_if
if I_SettlementOwner Armavir = armenia
set_counter settlementowner_Armavir 19
end_if
if I_SettlementOwner Armavir = pontus
set_counter settlementowner_Armavir 20
end_if
if I_SettlementOwner Aventicos = slave
set_counter settlementowner_Aventicos 0
end_if
if I_SettlementOwner Aventicos = seleucid
set_counter settlementowner_Aventicos 1
end_if
if I_SettlementOwner Aventicos = thrace
set_counter settlementowner_Aventicos 2
end_if
if I_SettlementOwner Aventicos = greek_cities
set_counter settlementowner_Aventicos 3
end_if
if I_SettlementOwner Aventicos = carthage
set_counter settlementowner_Aventicos 4
end_if
if I_SettlementOwner Aventicos = romans_julii
set_counter settlementowner_Aventicos 5
end_if
if I_SettlementOwner Aventicos = romans_brutii
set_counter settlementowner_Aventicos 6
end_if
if I_SettlementOwner Aventicos = romans_scipii
set_counter settlementowner_Aventicos 7
end_if
if I_SettlementOwner Aventicos = macedon
set_counter settlementowner_Aventicos 8
end_if
if I_SettlementOwner Aventicos = gauls
set_counter settlementowner_Aventicos 9
end_if
if I_SettlementOwner Aventicos = germans
set_counter settlementowner_Aventicos 10
end_if
if I_SettlementOwner Aventicos = britons
set_counter settlementowner_Aventicos 11
end_if
if I_SettlementOwner Aventicos = spain
set_counter settlementowner_Aventicos 12
end_if
if I_SettlementOwner Aventicos = dacia
set_counter settlementowner_Aventicos 13
end_if
if I_SettlementOwner Aventicos = scythia
set_counter settlementowner_Aventicos 14
end_if
if I_SettlementOwner Aventicos = egypt
set_counter settlementowner_Aventicos 15
end_if
if I_SettlementOwner Aventicos = parthia
set_counter settlementowner_Aventicos 16
end_if
if I_SettlementOwner Aventicos = numidia
set_counter settlementowner_Aventicos 17
end_if
if I_SettlementOwner Aventicos = saba
set_counter settlementowner_Aventicos 18
end_if
if I_SettlementOwner Aventicos = armenia
set_counter settlementowner_Aventicos 19
end_if
if I_SettlementOwner Aventicos = pontus
set_counter settlementowner_Aventicos 20
end_if
if I_SettlementOwner Memphis = slave
set_counter settlementowner_Memphis 0
end_if
if I_SettlementOwner Memphis = seleucid
set_counter settlementowner_Memphis 1
end_if
if I_SettlementOwner Memphis = thrace
set_counter settlementowner_Memphis 2
end_if
if I_SettlementOwner Memphis = greek_cities
set_counter settlementowner_Memphis 3
end_if
if I_SettlementOwner Memphis = carthage
set_counter settlementowner_Memphis 4
end_if
if I_SettlementOwner Memphis = romans_julii
set_counter settlementowner_Memphis 5
end_if
if I_SettlementOwner Memphis = romans_brutii
set_counter settlementowner_Memphis 6
end_if
if I_SettlementOwner Memphis = romans_scipii
set_counter settlementowner_Memphis 7
end_if
if I_SettlementOwner Memphis = macedon
set_counter settlementowner_Memphis 8
end_if
if I_SettlementOwner Memphis = gauls
set_counter settlementowner_Memphis 9
end_if
if I_SettlementOwner Memphis = germans
set_counter settlementowner_Memphis 10
end_if
if I_SettlementOwner Memphis = britons
set_counter settlementowner_Memphis 11
end_if
if I_SettlementOwner Memphis = spain
set_counter settlementowner_Memphis 12
end_if
if I_SettlementOwner Memphis = dacia
set_counter settlementowner_Memphis 13
end_if
if I_SettlementOwner Memphis = scythia
set_counter settlementowner_Memphis 14
end_if
if I_SettlementOwner Memphis = egypt
set_counter settlementowner_Memphis 15
end_if
if I_SettlementOwner Memphis = parthia
set_counter settlementowner_Memphis 16
end_if
if I_SettlementOwner Memphis = numidia
set_counter settlementowner_Memphis 17
end_if
if I_SettlementOwner Memphis = saba
set_counter settlementowner_Memphis 18
end_if
if I_SettlementOwner Memphis = armenia
set_counter settlementowner_Memphis 19
end_if
if I_SettlementOwner Memphis = pontus
set_counter settlementowner_Memphis 20
end_if
if I_SettlementOwner Gawjam_Heruskoz = slave
set_counter settlementowner_Gawjam_Heruskoz 0
end_if
if I_SettlementOwner Gawjam_Heruskoz = seleucid
set_counter settlementowner_Gawjam_Heruskoz 1
end_if
if I_SettlementOwner Gawjam_Heruskoz = thrace
set_counter settlementowner_Gawjam_Heruskoz 2
end_if
if I_SettlementOwner Gawjam_Heruskoz = greek_cities
set_counter settlementowner_Gawjam_Heruskoz 3
end_if
if I_SettlementOwner Gawjam_Heruskoz = carthage
set_counter settlementowner_Gawjam_Heruskoz 4
end_if
if I_SettlementOwner Gawjam_Heruskoz = romans_julii
set_counter settlementowner_Gawjam_Heruskoz 5
end_if
if I_SettlementOwner Gawjam_Heruskoz = romans_brutii
set_counter settlementowner_Gawjam_Heruskoz 6
end_if
if I_SettlementOwner Gawjam_Heruskoz = romans_scipii
set_counter settlementowner_Gawjam_Heruskoz 7
end_if
if I_SettlementOwner Gawjam_Heruskoz = macedon
set_counter settlementowner_Gawjam_Heruskoz 8
end_if
if I_SettlementOwner Gawjam_Heruskoz = gauls
set_counter settlementowner_Gawjam_Heruskoz 9
end_if
if I_SettlementOwner Gawjam_Heruskoz = germans
set_counter settlementowner_Gawjam_Heruskoz 10
end_if
if I_SettlementOwner Gawjam_Heruskoz = britons
set_counter settlementowner_Gawjam_Heruskoz 11
end_if
if I_SettlementOwner Gawjam_Heruskoz = spain
set_counter settlementowner_Gawjam_Heruskoz 12
end_if
if I_SettlementOwner Gawjam_Heruskoz = dacia
set_counter settlementowner_Gawjam_Heruskoz 13
end_if
if I_SettlementOwner Gawjam_Heruskoz = scythia
set_counter settlementowner_Gawjam_Heruskoz 14
end_if
if I_SettlementOwner Gawjam_Heruskoz = egypt
set_counter settlementowner_Gawjam_Heruskoz 15
end_if
if I_SettlementOwner Gawjam_Heruskoz = parthia
set_counter settlementowner_Gawjam_Heruskoz 16
end_if
if I_SettlementOwner Gawjam_Heruskoz = numidia
set_counter settlementowner_Gawjam_Heruskoz 17
end_if
if I_SettlementOwner Gawjam_Heruskoz = saba
set_counter settlementowner_Gawjam_Heruskoz 18
end_if
if I_SettlementOwner Gawjam_Heruskoz = armenia
set_counter settlementowner_Gawjam_Heruskoz 19
end_if
if I_SettlementOwner Gawjam_Heruskoz = pontus
set_counter settlementowner_Gawjam_Heruskoz 20
end_if
if I_SettlementOwner Zadrakata = slave
set_counter settlementowner_Zadrakata 0
end_if
if I_SettlementOwner Zadrakata = seleucid
set_counter settlementowner_Zadrakata 1
end_if
if I_SettlementOwner Zadrakata = thrace
set_counter settlementowner_Zadrakata 2
end_if
if I_SettlementOwner Zadrakata = greek_cities
set_counter settlementowner_Zadrakata 3
end_if
if I_SettlementOwner Zadrakata = carthage
set_counter settlementowner_Zadrakata 4
end_if
if I_SettlementOwner Zadrakata = romans_julii
set_counter settlementowner_Zadrakata 5
end_if
if I_SettlementOwner Zadrakata = romans_brutii
set_counter settlementowner_Zadrakata 6
end_if
if I_SettlementOwner Zadrakata = romans_scipii
set_counter settlementowner_Zadrakata 7
end_if
if I_SettlementOwner Zadrakata = macedon
set_counter settlementowner_Zadrakata 8
end_if
if I_SettlementOwner Zadrakata = gauls
set_counter settlementowner_Zadrakata 9
end_if
if I_SettlementOwner Zadrakata = germans
set_counter settlementowner_Zadrakata 10
end_if
if I_SettlementOwner Zadrakata = britons
set_counter settlementowner_Zadrakata 11
end_if
if I_SettlementOwner Zadrakata = spain
set_counter settlementowner_Zadrakata 12
end_if
if I_SettlementOwner Zadrakata = dacia
set_counter settlementowner_Zadrakata 13
end_if
if I_SettlementOwner Zadrakata = scythia
set_counter settlementowner_Zadrakata 14
end_if
if I_SettlementOwner Zadrakata = egypt
set_counter settlementowner_Zadrakata 15
end_if
if I_SettlementOwner Zadrakata = parthia
set_counter settlementowner_Zadrakata 16
end_if
if I_SettlementOwner Zadrakata = numidia
set_counter settlementowner_Zadrakata 17
end_if
if I_SettlementOwner Zadrakata = saba
set_counter settlementowner_Zadrakata 18
end_if
if I_SettlementOwner Zadrakata = armenia
set_counter settlementowner_Zadrakata 19
end_if
if I_SettlementOwner Zadrakata = pontus
set_counter settlementowner_Zadrakata 20
end_if
if I_SettlementOwner Epidamnos = slave
set_counter settlementowner_Epidamnos 0
end_if
if I_SettlementOwner Epidamnos = seleucid
set_counter settlementowner_Epidamnos 1
end_if
if I_SettlementOwner Epidamnos = thrace
set_counter settlementowner_Epidamnos 2
end_if
if I_SettlementOwner Epidamnos = greek_cities
set_counter settlementowner_Epidamnos 3
end_if
if I_SettlementOwner Epidamnos = carthage
set_counter settlementowner_Epidamnos 4
end_if
if I_SettlementOwner Epidamnos = romans_julii
set_counter settlementowner_Epidamnos 5
end_if
if I_SettlementOwner Epidamnos = romans_brutii
set_counter settlementowner_Epidamnos 6
end_if
if I_SettlementOwner Epidamnos = romans_scipii
set_counter settlementowner_Epidamnos 7
end_if
if I_SettlementOwner Epidamnos = macedon
set_counter settlementowner_Epidamnos 8
end_if
if I_SettlementOwner Epidamnos = gauls
set_counter settlementowner_Epidamnos 9
end_if
if I_SettlementOwner Epidamnos = germans
set_counter settlementowner_Epidamnos 10
end_if
if I_SettlementOwner Epidamnos = britons
set_counter settlementowner_Epidamnos 11
end_if
if I_SettlementOwner Epidamnos = spain
set_counter settlementowner_Epidamnos 12
end_if
if I_SettlementOwner Epidamnos = dacia
set_counter settlementowner_Epidamnos 13
end_if
if I_SettlementOwner Epidamnos = scythia
set_counter settlementowner_Epidamnos 14
end_if
if I_SettlementOwner Epidamnos = egypt
set_counter settlementowner_Epidamnos 15
end_if
if I_SettlementOwner Epidamnos = parthia
set_counter settlementowner_Epidamnos 16
end_if
if I_SettlementOwner Epidamnos = numidia
set_counter settlementowner_Epidamnos 17
end_if
if I_SettlementOwner Epidamnos = saba
set_counter settlementowner_Epidamnos 18
end_if
if I_SettlementOwner Epidamnos = armenia
set_counter settlementowner_Epidamnos 19
end_if
if I_SettlementOwner Epidamnos = pontus
set_counter settlementowner_Epidamnos 20
end_if
if I_SettlementOwner Mediolanum = slave
set_counter settlementowner_Mediolanum 0
end_if
if I_SettlementOwner Mediolanum = seleucid
set_counter settlementowner_Mediolanum 1
end_if
if I_SettlementOwner Mediolanum = thrace
set_counter settlementowner_Mediolanum 2
end_if
if I_SettlementOwner Mediolanum = greek_cities
set_counter settlementowner_Mediolanum 3
end_if
if I_SettlementOwner Mediolanum = carthage
set_counter settlementowner_Mediolanum 4
end_if
if I_SettlementOwner Mediolanum = romans_julii
set_counter settlementowner_Mediolanum 5
end_if
if I_SettlementOwner Mediolanum = romans_brutii
set_counter settlementowner_Mediolanum 6
end_if
if I_SettlementOwner Mediolanum = romans_scipii
set_counter settlementowner_Mediolanum 7
end_if
if I_SettlementOwner Mediolanum = macedon
set_counter settlementowner_Mediolanum 8
end_if
if I_SettlementOwner Mediolanum = gauls
set_counter settlementowner_Mediolanum 9
end_if
if I_SettlementOwner Mediolanum = germans
set_counter settlementowner_Mediolanum 10
end_if
if I_SettlementOwner Mediolanum = britons
set_counter settlementowner_Mediolanum 11
end_if
if I_SettlementOwner Mediolanum = spain
set_counter settlementowner_Mediolanum 12
end_if
if I_SettlementOwner Mediolanum = dacia
set_counter settlementowner_Mediolanum 13
end_if
if I_SettlementOwner Mediolanum = scythia
set_counter settlementowner_Mediolanum 14
end_if
if I_SettlementOwner Mediolanum = egypt
set_counter settlementowner_Mediolanum 15
end_if
if I_SettlementOwner Mediolanum = parthia
set_counter settlementowner_Mediolanum 16
end_if
if I_SettlementOwner Mediolanum = numidia
set_counter settlementowner_Mediolanum 17
end_if
if I_SettlementOwner Mediolanum = saba
set_counter settlementowner_Mediolanum 18
end_if
if I_SettlementOwner Mediolanum = armenia
set_counter settlementowner_Mediolanum 19
end_if
if I_SettlementOwner Mediolanum = pontus
set_counter settlementowner_Mediolanum 20
end_if
if I_SettlementOwner Hierosolyma = slave
set_counter settlementowner_Hierosolyma 0
end_if
if I_SettlementOwner Hierosolyma = seleucid
set_counter settlementowner_Hierosolyma 1
end_if
if I_SettlementOwner Hierosolyma = thrace
set_counter settlementowner_Hierosolyma 2
end_if
if I_SettlementOwner Hierosolyma = greek_cities
set_counter settlementowner_Hierosolyma 3
end_if
if I_SettlementOwner Hierosolyma = carthage
set_counter settlementowner_Hierosolyma 4
end_if
if I_SettlementOwner Hierosolyma = romans_julii
set_counter settlementowner_Hierosolyma 5
end_if
if I_SettlementOwner Hierosolyma = romans_brutii
set_counter settlementowner_Hierosolyma 6
end_if
if I_SettlementOwner Hierosolyma = romans_scipii
set_counter settlementowner_Hierosolyma 7
end_if
if I_SettlementOwner Hierosolyma = macedon
set_counter settlementowner_Hierosolyma 8
end_if
if I_SettlementOwner Hierosolyma = gauls
set_counter settlementowner_Hierosolyma 9
end_if
if I_SettlementOwner Hierosolyma = germans
set_counter settlementowner_Hierosolyma 10
end_if
if I_SettlementOwner Hierosolyma = britons
set_counter settlementowner_Hierosolyma 11
end_if
if I_SettlementOwner Hierosolyma = spain
set_counter settlementowner_Hierosolyma 12
end_if
if I_SettlementOwner Hierosolyma = dacia
set_counter settlementowner_Hierosolyma 13
end_if
if I_SettlementOwner Hierosolyma = scythia
set_counter settlementowner_Hierosolyma 14
end_if
if I_SettlementOwner Hierosolyma = egypt
set_counter settlementowner_Hierosolyma 15
end_if
if I_SettlementOwner Hierosolyma = parthia
set_counter settlementowner_Hierosolyma 16
end_if
if I_SettlementOwner Hierosolyma = numidia
set_counter settlementowner_Hierosolyma 17
end_if
if I_SettlementOwner Hierosolyma = saba
set_counter settlementowner_Hierosolyma 18
end_if
if I_SettlementOwner Hierosolyma = armenia
set_counter settlementowner_Hierosolyma 19
end_if
if I_SettlementOwner Hierosolyma = pontus
set_counter settlementowner_Hierosolyma 20
end_if
if I_SettlementOwner Taras = slave
set_counter settlementowner_Taras 0
end_if
if I_SettlementOwner Taras = seleucid
set_counter settlementowner_Taras 1
end_if
if I_SettlementOwner Taras = thrace
set_counter settlementowner_Taras 2
end_if
if I_SettlementOwner Taras = greek_cities
set_counter settlementowner_Taras 3
end_if
if I_SettlementOwner Taras = carthage
set_counter settlementowner_Taras 4
end_if
if I_SettlementOwner Taras = romans_julii
set_counter settlementowner_Taras 5
end_if
if I_SettlementOwner Taras = romans_brutii
set_counter settlementowner_Taras 6
end_if
if I_SettlementOwner Taras = romans_scipii
set_counter settlementowner_Taras 7
end_if
if I_SettlementOwner Taras = macedon
set_counter settlementowner_Taras 8
end_if
if I_SettlementOwner Taras = gauls
set_counter settlementowner_Taras 9
end_if
if I_SettlementOwner Taras = germans
set_counter settlementowner_Taras 10
end_if
if I_SettlementOwner Taras = britons
set_counter settlementowner_Taras 11
end_if
if I_SettlementOwner Taras = spain
set_counter settlementowner_Taras 12
end_if
if I_SettlementOwner Taras = dacia
set_counter settlementowner_Taras 13
end_if
if I_SettlementOwner Taras = scythia
set_counter settlementowner_Taras 14
end_if
if I_SettlementOwner Taras = egypt
set_counter settlementowner_Taras 15
end_if
if I_SettlementOwner Taras = parthia
set_counter settlementowner_Taras 16
end_if
if I_SettlementOwner Taras = numidia
set_counter settlementowner_Taras 17
end_if
if I_SettlementOwner Taras = saba
set_counter settlementowner_Taras 18
end_if
if I_SettlementOwner Taras = armenia
set_counter settlementowner_Taras 19
end_if
if I_SettlementOwner Taras = pontus
set_counter settlementowner_Taras 20
end_if
if I_SettlementOwner Chach = slave
set_counter settlementowner_Chach 0
end_if
if I_SettlementOwner Chach = seleucid
set_counter settlementowner_Chach 1
end_if
if I_SettlementOwner Chach = thrace
set_counter settlementowner_Chach 2
end_if
if I_SettlementOwner Chach = greek_cities
set_counter settlementowner_Chach 3
end_if
if I_SettlementOwner Chach = carthage
set_counter settlementowner_Chach 4
end_if
if I_SettlementOwner Chach = romans_julii
set_counter settlementowner_Chach 5
end_if
if I_SettlementOwner Chach = romans_brutii
set_counter settlementowner_Chach 6
end_if
if I_SettlementOwner Chach = romans_scipii
set_counter settlementowner_Chach 7
end_if
if I_SettlementOwner Chach = macedon
set_counter settlementowner_Chach 8
end_if
if I_SettlementOwner Chach = gauls
set_counter settlementowner_Chach 9
end_if
if I_SettlementOwner Chach = germans
set_counter settlementowner_Chach 10
end_if
if I_SettlementOwner Chach = britons
set_counter settlementowner_Chach 11
end_if
if I_SettlementOwner Chach = spain
set_counter settlementowner_Chach 12
end_if
if I_SettlementOwner Chach = dacia
set_counter settlementowner_Chach 13
end_if
if I_SettlementOwner Chach = scythia
set_counter settlementowner_Chach 14
end_if
if I_SettlementOwner Chach = egypt
set_counter settlementowner_Chach 15
end_if
if I_SettlementOwner Chach = parthia
set_counter settlementowner_Chach 16
end_if
if I_SettlementOwner Chach = numidia
set_counter settlementowner_Chach 17
end_if
if I_SettlementOwner Chach = saba
set_counter settlementowner_Chach 18
end_if
if I_SettlementOwner Chach = armenia
set_counter settlementowner_Chach 19
end_if
if I_SettlementOwner Chach = pontus
set_counter settlementowner_Chach 20
end_if
if I_SettlementOwner Mazaka = slave
set_counter settlementowner_Mazaka 0
end_if
if I_SettlementOwner Mazaka = seleucid
set_counter settlementowner_Mazaka 1
end_if
if I_SettlementOwner Mazaka = thrace
set_counter settlementowner_Mazaka 2
end_if
if I_SettlementOwner Mazaka = greek_cities
set_counter settlementowner_Mazaka 3
end_if
if I_SettlementOwner Mazaka = carthage
set_counter settlementowner_Mazaka 4
end_if
if I_SettlementOwner Mazaka = romans_julii
set_counter settlementowner_Mazaka 5
end_if
if I_SettlementOwner Mazaka = romans_brutii
set_counter settlementowner_Mazaka 6
end_if
if I_SettlementOwner Mazaka = romans_scipii
set_counter settlementowner_Mazaka 7
end_if
if I_SettlementOwner Mazaka = macedon
set_counter settlementowner_Mazaka 8
end_if
if I_SettlementOwner Mazaka = gauls
set_counter settlementowner_Mazaka 9
end_if
if I_SettlementOwner Mazaka = germans
set_counter settlementowner_Mazaka 10
end_if
if I_SettlementOwner Mazaka = britons
set_counter settlementowner_Mazaka 11
end_if
if I_SettlementOwner Mazaka = spain
set_counter settlementowner_Mazaka 12
end_if
if I_SettlementOwner Mazaka = dacia
set_counter settlementowner_Mazaka 13
end_if
if I_SettlementOwner Mazaka = scythia
set_counter settlementowner_Mazaka 14
end_if
if I_SettlementOwner Mazaka = egypt
set_counter settlementowner_Mazaka 15
end_if
if I_SettlementOwner Mazaka = parthia
set_counter settlementowner_Mazaka 16
end_if
if I_SettlementOwner Mazaka = numidia
set_counter settlementowner_Mazaka 17
end_if
if I_SettlementOwner Mazaka = saba
set_counter settlementowner_Mazaka 18
end_if
if I_SettlementOwner Mazaka = armenia
set_counter settlementowner_Mazaka 19
end_if
if I_SettlementOwner Mazaka = pontus
set_counter settlementowner_Mazaka 20
end_if
if I_SettlementOwner Amaseia = slave
set_counter settlementowner_Amaseia 0
end_if
if I_SettlementOwner Amaseia = seleucid
set_counter settlementowner_Amaseia 1
end_if
if I_SettlementOwner Amaseia = thrace
set_counter settlementowner_Amaseia 2
end_if
if I_SettlementOwner Amaseia = greek_cities
set_counter settlementowner_Amaseia 3
end_if
if I_SettlementOwner Amaseia = carthage
set_counter settlementowner_Amaseia 4
end_if
if I_SettlementOwner Amaseia = romans_julii
set_counter settlementowner_Amaseia 5
end_if
if I_SettlementOwner Amaseia = romans_brutii
set_counter settlementowner_Amaseia 6
end_if
if I_SettlementOwner Amaseia = romans_scipii
set_counter settlementowner_Amaseia 7
end_if
if I_SettlementOwner Amaseia = macedon
set_counter settlementowner_Amaseia 8
end_if
if I_SettlementOwner Amaseia = gauls
set_counter settlementowner_Amaseia 9
end_if
if I_SettlementOwner Amaseia = germans
set_counter settlementowner_Amaseia 10
end_if
if I_SettlementOwner Amaseia = britons
set_counter settlementowner_Amaseia 11
end_if
if I_SettlementOwner Amaseia = spain
set_counter settlementowner_Amaseia 12
end_if
if I_SettlementOwner Amaseia = dacia
set_counter settlementowner_Amaseia 13
end_if
if I_SettlementOwner Amaseia = scythia
set_counter settlementowner_Amaseia 14
end_if
if I_SettlementOwner Amaseia = egypt
set_counter settlementowner_Amaseia 15
end_if
if I_SettlementOwner Amaseia = parthia
set_counter settlementowner_Amaseia 16
end_if
if I_SettlementOwner Amaseia = numidia
set_counter settlementowner_Amaseia 17
end_if
if I_SettlementOwner Amaseia = saba
set_counter settlementowner_Amaseia 18
end_if
if I_SettlementOwner Amaseia = armenia
set_counter settlementowner_Amaseia 19
end_if
if I_SettlementOwner Amaseia = pontus
set_counter settlementowner_Amaseia 20
end_if
if I_SettlementOwner Halikarnassos = slave
set_counter settlementowner_Halikarnassos 0
end_if
if I_SettlementOwner Halikarnassos = seleucid
set_counter settlementowner_Halikarnassos 1
end_if
if I_SettlementOwner Halikarnassos = thrace
set_counter settlementowner_Halikarnassos 2
end_if
if I_SettlementOwner Halikarnassos = greek_cities
set_counter settlementowner_Halikarnassos 3
end_if
if I_SettlementOwner Halikarnassos = carthage
set_counter settlementowner_Halikarnassos 4
end_if
if I_SettlementOwner Halikarnassos = romans_julii
set_counter settlementowner_Halikarnassos 5
end_if
if I_SettlementOwner Halikarnassos = romans_brutii
set_counter settlementowner_Halikarnassos 6
end_if
if I_SettlementOwner Halikarnassos = romans_scipii
set_counter settlementowner_Halikarnassos 7
end_if
if I_SettlementOwner Halikarnassos = macedon
set_counter settlementowner_Halikarnassos 8
end_if
if I_SettlementOwner Halikarnassos = gauls
set_counter settlementowner_Halikarnassos 9
end_if
if I_SettlementOwner Halikarnassos = germans
set_counter settlementowner_Halikarnassos 10
end_if
if I_SettlementOwner Halikarnassos = britons
set_counter settlementowner_Halikarnassos 11
end_if
if I_SettlementOwner Halikarnassos = spain
set_counter settlementowner_Halikarnassos 12
end_if
if I_SettlementOwner Halikarnassos = dacia
set_counter settlementowner_Halikarnassos 13
end_if
if I_SettlementOwner Halikarnassos = scythia
set_counter settlementowner_Halikarnassos 14
end_if
if I_SettlementOwner Halikarnassos = egypt
set_counter settlementowner_Halikarnassos 15
end_if
if I_SettlementOwner Halikarnassos = parthia
set_counter settlementowner_Halikarnassos 16
end_if
if I_SettlementOwner Halikarnassos = numidia
set_counter settlementowner_Halikarnassos 17
end_if
if I_SettlementOwner Halikarnassos = saba
set_counter settlementowner_Halikarnassos 18
end_if
if I_SettlementOwner Halikarnassos = armenia
set_counter settlementowner_Halikarnassos 19
end_if
if I_SettlementOwner Halikarnassos = pontus
set_counter settlementowner_Halikarnassos 20
end_if
if I_SettlementOwner Karmana = slave
set_counter settlementowner_Karmana 0
end_if
if I_SettlementOwner Karmana = seleucid
set_counter settlementowner_Karmana 1
end_if
if I_SettlementOwner Karmana = thrace
set_counter settlementowner_Karmana 2
end_if
if I_SettlementOwner Karmana = greek_cities
set_counter settlementowner_Karmana 3
end_if
if I_SettlementOwner Karmana = carthage
set_counter settlementowner_Karmana 4
end_if
if I_SettlementOwner Karmana = romans_julii
set_counter settlementowner_Karmana 5
end_if
if I_SettlementOwner Karmana = romans_brutii
set_counter settlementowner_Karmana 6
end_if
if I_SettlementOwner Karmana = romans_scipii
set_counter settlementowner_Karmana 7
end_if
if I_SettlementOwner Karmana = macedon
set_counter settlementowner_Karmana 8
end_if
if I_SettlementOwner Karmana = gauls
set_counter settlementowner_Karmana 9
end_if
if I_SettlementOwner Karmana = germans
set_counter settlementowner_Karmana 10
end_if
if I_SettlementOwner Karmana = britons
set_counter settlementowner_Karmana 11
end_if
if I_SettlementOwner Karmana = spain
set_counter settlementowner_Karmana 12
end_if
if I_SettlementOwner Karmana = dacia
set_counter settlementowner_Karmana 13
end_if
if I_SettlementOwner Karmana = scythia
set_counter settlementowner_Karmana 14
end_if
if I_SettlementOwner Karmana = egypt
set_counter settlementowner_Karmana 15
end_if
if I_SettlementOwner Karmana = parthia
set_counter settlementowner_Karmana 16
end_if
if I_SettlementOwner Karmana = numidia
set_counter settlementowner_Karmana 17
end_if
if I_SettlementOwner Karmana = saba
set_counter settlementowner_Karmana 18
end_if
if I_SettlementOwner Karmana = armenia
set_counter settlementowner_Karmana 19
end_if
if I_SettlementOwner Karmana = pontus
set_counter settlementowner_Karmana 20
end_if
if I_SettlementOwner Mtskheta = slave
set_counter settlementowner_Mtskheta 0
end_if
if I_SettlementOwner Mtskheta = seleucid
set_counter settlementowner_Mtskheta 1
end_if
if I_SettlementOwner Mtskheta = thrace
set_counter settlementowner_Mtskheta 2
end_if
if I_SettlementOwner Mtskheta = greek_cities
set_counter settlementowner_Mtskheta 3
end_if
if I_SettlementOwner Mtskheta = carthage
set_counter settlementowner_Mtskheta 4
end_if
if I_SettlementOwner Mtskheta = romans_julii
set_counter settlementowner_Mtskheta 5
end_if
if I_SettlementOwner Mtskheta = romans_brutii
set_counter settlementowner_Mtskheta 6
end_if
if I_SettlementOwner Mtskheta = romans_scipii
set_counter settlementowner_Mtskheta 7
end_if
if I_SettlementOwner Mtskheta = macedon
set_counter settlementowner_Mtskheta 8
end_if
if I_SettlementOwner Mtskheta = gauls
set_counter settlementowner_Mtskheta 9
end_if
if I_SettlementOwner Mtskheta = germans
set_counter settlementowner_Mtskheta 10
end_if
if I_SettlementOwner Mtskheta = britons
set_counter settlementowner_Mtskheta 11
end_if
if I_SettlementOwner Mtskheta = spain
set_counter settlementowner_Mtskheta 12
end_if
if I_SettlementOwner Mtskheta = dacia
set_counter settlementowner_Mtskheta 13
end_if
if I_SettlementOwner Mtskheta = scythia
set_counter settlementowner_Mtskheta 14
end_if
if I_SettlementOwner Mtskheta = egypt
set_counter settlementowner_Mtskheta 15
end_if
if I_SettlementOwner Mtskheta = parthia
set_counter settlementowner_Mtskheta 16
end_if
if I_SettlementOwner Mtskheta = numidia
set_counter settlementowner_Mtskheta 17
end_if
if I_SettlementOwner Mtskheta = saba
set_counter settlementowner_Mtskheta 18
end_if
if I_SettlementOwner Mtskheta = armenia
set_counter settlementowner_Mtskheta 19
end_if
if I_SettlementOwner Mtskheta = pontus
set_counter settlementowner_Mtskheta 20
end_if
if I_SettlementOwner Apameia = slave
set_counter settlementowner_Apameia 0
end_if
if I_SettlementOwner Apameia = seleucid
set_counter settlementowner_Apameia 1
end_if
if I_SettlementOwner Apameia = thrace
set_counter settlementowner_Apameia 2
end_if
if I_SettlementOwner Apameia = greek_cities
set_counter settlementowner_Apameia 3
end_if
if I_SettlementOwner Apameia = carthage
set_counter settlementowner_Apameia 4
end_if
if I_SettlementOwner Apameia = romans_julii
set_counter settlementowner_Apameia 5
end_if
if I_SettlementOwner Apameia = romans_brutii
set_counter settlementowner_Apameia 6
end_if
if I_SettlementOwner Apameia = romans_scipii
set_counter settlementowner_Apameia 7
end_if
if I_SettlementOwner Apameia = macedon
set_counter settlementowner_Apameia 8
end_if
if I_SettlementOwner Apameia = gauls
set_counter settlementowner_Apameia 9
end_if
if I_SettlementOwner Apameia = germans
set_counter settlementowner_Apameia 10
end_if
if I_SettlementOwner Apameia = britons
set_counter settlementowner_Apameia 11
end_if
if I_SettlementOwner Apameia = spain
set_counter settlementowner_Apameia 12
end_if
if I_SettlementOwner Apameia = dacia
set_counter settlementowner_Apameia 13
end_if
if I_SettlementOwner Apameia = scythia
set_counter settlementowner_Apameia 14
end_if
if I_SettlementOwner Apameia = egypt
set_counter settlementowner_Apameia 15
end_if
if I_SettlementOwner Apameia = parthia
set_counter settlementowner_Apameia 16
end_if
if I_SettlementOwner Apameia = numidia
set_counter settlementowner_Apameia 17
end_if
if I_SettlementOwner Apameia = saba
set_counter settlementowner_Apameia 18
end_if
if I_SettlementOwner Apameia = armenia
set_counter settlementowner_Apameia 19
end_if
if I_SettlementOwner Apameia = pontus
set_counter settlementowner_Apameia 20
end_if
if I_SettlementOwner Khiva = slave
set_counter settlementowner_Khiva 0
end_if
if I_SettlementOwner Khiva = seleucid
set_counter settlementowner_Khiva 1
end_if
if I_SettlementOwner Khiva = thrace
set_counter settlementowner_Khiva 2
end_if
if I_SettlementOwner Khiva = greek_cities
set_counter settlementowner_Khiva 3
end_if
if I_SettlementOwner Khiva = carthage
set_counter settlementowner_Khiva 4
end_if
if I_SettlementOwner Khiva = romans_julii
set_counter settlementowner_Khiva 5
end_if
if I_SettlementOwner Khiva = romans_brutii
set_counter settlementowner_Khiva 6
end_if
if I_SettlementOwner Khiva = romans_scipii
set_counter settlementowner_Khiva 7
end_if
if I_SettlementOwner Khiva = macedon
set_counter settlementowner_Khiva 8
end_if
if I_SettlementOwner Khiva = gauls
set_counter settlementowner_Khiva 9
end_if
if I_SettlementOwner Khiva = germans
set_counter settlementowner_Khiva 10
end_if
if I_SettlementOwner Khiva = britons
set_counter settlementowner_Khiva 11
end_if
if I_SettlementOwner Khiva = spain
set_counter settlementowner_Khiva 12
end_if
if I_SettlementOwner Khiva = dacia
set_counter settlementowner_Khiva 13
end_if
if I_SettlementOwner Khiva = scythia
set_counter settlementowner_Khiva 14
end_if
if I_SettlementOwner Khiva = egypt
set_counter settlementowner_Khiva 15
end_if
if I_SettlementOwner Khiva = parthia
set_counter settlementowner_Khiva 16
end_if
if I_SettlementOwner Khiva = numidia
set_counter settlementowner_Khiva 17
end_if
if I_SettlementOwner Khiva = saba
set_counter settlementowner_Khiva 18
end_if
if I_SettlementOwner Khiva = armenia
set_counter settlementowner_Khiva 19
end_if
if I_SettlementOwner Khiva = pontus
set_counter settlementowner_Khiva 20
end_if
if I_SettlementOwner Tarsos = slave
set_counter settlementowner_Tarsos 0
end_if
if I_SettlementOwner Tarsos = seleucid
set_counter settlementowner_Tarsos 1
end_if
if I_SettlementOwner Tarsos = thrace
set_counter settlementowner_Tarsos 2
end_if
if I_SettlementOwner Tarsos = greek_cities
set_counter settlementowner_Tarsos 3
end_if
if I_SettlementOwner Tarsos = carthage
set_counter settlementowner_Tarsos 4
end_if
if I_SettlementOwner Tarsos = romans_julii
set_counter settlementowner_Tarsos 5
end_if
if I_SettlementOwner Tarsos = romans_brutii
set_counter settlementowner_Tarsos 6
end_if
if I_SettlementOwner Tarsos = romans_scipii
set_counter settlementowner_Tarsos 7
end_if
if I_SettlementOwner Tarsos = macedon
set_counter settlementowner_Tarsos 8
end_if
if I_SettlementOwner Tarsos = gauls
set_counter settlementowner_Tarsos 9
end_if
if I_SettlementOwner Tarsos = germans
set_counter settlementowner_Tarsos 10
end_if
if I_SettlementOwner Tarsos = britons
set_counter settlementowner_Tarsos 11
end_if
if I_SettlementOwner Tarsos = spain
set_counter settlementowner_Tarsos 12
end_if
if I_SettlementOwner Tarsos = dacia
set_counter settlementowner_Tarsos 13
end_if
if I_SettlementOwner Tarsos = scythia
set_counter settlementowner_Tarsos 14
end_if
if I_SettlementOwner Tarsos = egypt
set_counter settlementowner_Tarsos 15
end_if
if I_SettlementOwner Tarsos = parthia
set_counter settlementowner_Tarsos 16
end_if
if I_SettlementOwner Tarsos = numidia
set_counter settlementowner_Tarsos 17
end_if
if I_SettlementOwner Tarsos = saba
set_counter settlementowner_Tarsos 18
end_if
if I_SettlementOwner Tarsos = armenia
set_counter settlementowner_Tarsos 19
end_if
if I_SettlementOwner Tarsos = pontus
set_counter settlementowner_Tarsos 20
end_if
if I_SettlementOwner Gawjam_Kimbroz = slave
set_counter settlementowner_Gawjam_Kimbroz 0
end_if
if I_SettlementOwner Gawjam_Kimbroz = seleucid
set_counter settlementowner_Gawjam_Kimbroz 1
end_if
if I_SettlementOwner Gawjam_Kimbroz = thrace
set_counter settlementowner_Gawjam_Kimbroz 2
end_if
if I_SettlementOwner Gawjam_Kimbroz = greek_cities
set_counter settlementowner_Gawjam_Kimbroz 3
end_if
if I_SettlementOwner Gawjam_Kimbroz = carthage
set_counter settlementowner_Gawjam_Kimbroz 4
end_if
if I_SettlementOwner Gawjam_Kimbroz = romans_julii
set_counter settlementowner_Gawjam_Kimbroz 5
end_if
if I_SettlementOwner Gawjam_Kimbroz = romans_brutii
set_counter settlementowner_Gawjam_Kimbroz 6
end_if
if I_SettlementOwner Gawjam_Kimbroz = romans_scipii
set_counter settlementowner_Gawjam_Kimbroz 7
end_if
if I_SettlementOwner Gawjam_Kimbroz = macedon
set_counter settlementowner_Gawjam_Kimbroz 8
end_if
if I_SettlementOwner Gawjam_Kimbroz = gauls
set_counter settlementowner_Gawjam_Kimbroz 9
end_if
if I_SettlementOwner Gawjam_Kimbroz = germans
set_counter settlementowner_Gawjam_Kimbroz 10
end_if
if I_SettlementOwner Gawjam_Kimbroz = britons
set_counter settlementowner_Gawjam_Kimbroz 11
end_if
if I_SettlementOwner Gawjam_Kimbroz = spain
set_counter settlementowner_Gawjam_Kimbroz 12
end_if
if I_SettlementOwner Gawjam_Kimbroz = dacia
set_counter settlementowner_Gawjam_Kimbroz 13
end_if
if I_SettlementOwner Gawjam_Kimbroz = scythia
set_counter settlementowner_Gawjam_Kimbroz 14
end_if
if I_SettlementOwner Gawjam_Kimbroz = egypt
set_counter settlementowner_Gawjam_Kimbroz 15
end_if
if I_SettlementOwner Gawjam_Kimbroz = parthia
set_counter settlementowner_Gawjam_Kimbroz 16
end_if
if I_SettlementOwner Gawjam_Kimbroz = numidia
set_counter settlementowner_Gawjam_Kimbroz 17
end_if
if I_SettlementOwner Gawjam_Kimbroz = saba
set_counter settlementowner_Gawjam_Kimbroz 18
end_if
if I_SettlementOwner Gawjam_Kimbroz = armenia
set_counter settlementowner_Gawjam_Kimbroz 19
end_if
if I_SettlementOwner Gawjam_Kimbroz = pontus
set_counter settlementowner_Gawjam_Kimbroz 20
end_if
if I_SettlementOwner Alalia = slave
set_counter settlementowner_Alalia 0
end_if
if I_SettlementOwner Alalia = seleucid
set_counter settlementowner_Alalia 1
end_if
if I_SettlementOwner Alalia = thrace
set_counter settlementowner_Alalia 2
end_if
if I_SettlementOwner Alalia = greek_cities
set_counter settlementowner_Alalia 3
end_if
if I_SettlementOwner Alalia = carthage
set_counter settlementowner_Alalia 4
end_if
if I_SettlementOwner Alalia = romans_julii
set_counter settlementowner_Alalia 5
end_if
if I_SettlementOwner Alalia = romans_brutii
set_counter settlementowner_Alalia 6
end_if
if I_SettlementOwner Alalia = romans_scipii
set_counter settlementowner_Alalia 7
end_if
if I_SettlementOwner Alalia = macedon
set_counter settlementowner_Alalia 8
end_if
if I_SettlementOwner Alalia = gauls
set_counter settlementowner_Alalia 9
end_if
if I_SettlementOwner Alalia = germans
set_counter settlementowner_Alalia 10
end_if
if I_SettlementOwner Alalia = britons
set_counter settlementowner_Alalia 11
end_if
if I_SettlementOwner Alalia = spain
set_counter settlementowner_Alalia 12
end_if
if I_SettlementOwner Alalia = dacia
set_counter settlementowner_Alalia 13
end_if
if I_SettlementOwner Alalia = scythia
set_counter settlementowner_Alalia 14
end_if
if I_SettlementOwner Alalia = egypt
set_counter settlementowner_Alalia 15
end_if
if I_SettlementOwner Alalia = parthia
set_counter settlementowner_Alalia 16
end_if
if I_SettlementOwner Alalia = numidia
set_counter settlementowner_Alalia 17
end_if
if I_SettlementOwner Alalia = saba
set_counter settlementowner_Alalia 18
end_if
if I_SettlementOwner Alalia = armenia
set_counter settlementowner_Alalia 19
end_if
if I_SettlementOwner Alalia = pontus
set_counter settlementowner_Alalia 20
end_if
if I_SettlementOwner Kydonia = slave
set_counter settlementowner_Kydonia 0
end_if
if I_SettlementOwner Kydonia = seleucid
set_counter settlementowner_Kydonia 1
end_if
if I_SettlementOwner Kydonia = thrace
set_counter settlementowner_Kydonia 2
end_if
if I_SettlementOwner Kydonia = greek_cities
set_counter settlementowner_Kydonia 3
end_if
if I_SettlementOwner Kydonia = carthage
set_counter settlementowner_Kydonia 4
end_if
if I_SettlementOwner Kydonia = romans_julii
set_counter settlementowner_Kydonia 5
end_if
if I_SettlementOwner Kydonia = romans_brutii
set_counter settlementowner_Kydonia 6
end_if
if I_SettlementOwner Kydonia = romans_scipii
set_counter settlementowner_Kydonia 7
end_if
if I_SettlementOwner Kydonia = macedon
set_counter settlementowner_Kydonia 8
end_if
if I_SettlementOwner Kydonia = gauls
set_counter settlementowner_Kydonia 9
end_if
if I_SettlementOwner Kydonia = germans
set_counter settlementowner_Kydonia 10
end_if
if I_SettlementOwner Kydonia = britons
set_counter settlementowner_Kydonia 11
end_if
if I_SettlementOwner Kydonia = spain
set_counter settlementowner_Kydonia 12
end_if
if I_SettlementOwner Kydonia = dacia
set_counter settlementowner_Kydonia 13
end_if
if I_SettlementOwner Kydonia = scythia
set_counter settlementowner_Kydonia 14
end_if
if I_SettlementOwner Kydonia = egypt
set_counter settlementowner_Kydonia 15
end_if
if I_SettlementOwner Kydonia = parthia
set_counter settlementowner_Kydonia 16
end_if
if I_SettlementOwner Kydonia = numidia
set_counter settlementowner_Kydonia 17
end_if
if I_SettlementOwner Kydonia = saba
set_counter settlementowner_Kydonia 18
end_if
if I_SettlementOwner Kydonia = armenia
set_counter settlementowner_Kydonia 19
end_if
if I_SettlementOwner Kydonia = pontus
set_counter settlementowner_Kydonia 20
end_if
if I_SettlementOwner Meroe = slave
set_counter settlementowner_Meroe 0
end_if
if I_SettlementOwner Meroe = seleucid
set_counter settlementowner_Meroe 1
end_if
if I_SettlementOwner Meroe = thrace
set_counter settlementowner_Meroe 2
end_if
if I_SettlementOwner Meroe = greek_cities
set_counter settlementowner_Meroe 3
end_if
if I_SettlementOwner Meroe = carthage
set_counter settlementowner_Meroe 4
end_if
if I_SettlementOwner Meroe = romans_julii
set_counter settlementowner_Meroe 5
end_if
if I_SettlementOwner Meroe = romans_brutii
set_counter settlementowner_Meroe 6
end_if
if I_SettlementOwner Meroe = romans_scipii
set_counter settlementowner_Meroe 7
end_if
if I_SettlementOwner Meroe = macedon
set_counter settlementowner_Meroe 8
end_if
if I_SettlementOwner Meroe = gauls
set_counter settlementowner_Meroe 9
end_if
if I_SettlementOwner Meroe = germans
set_counter settlementowner_Meroe 10
end_if
if I_SettlementOwner Meroe = britons
set_counter settlementowner_Meroe 11
end_if
if I_SettlementOwner Meroe = spain
set_counter settlementowner_Meroe 12
end_if
if I_SettlementOwner Meroe = dacia
set_counter settlementowner_Meroe 13
end_if
if I_SettlementOwner Meroe = scythia
set_counter settlementowner_Meroe 14
end_if
if I_SettlementOwner Meroe = egypt
set_counter settlementowner_Meroe 15
end_if
if I_SettlementOwner Meroe = parthia
set_counter settlementowner_Meroe 16
end_if
if I_SettlementOwner Meroe = numidia
set_counter settlementowner_Meroe 17
end_if
if I_SettlementOwner Meroe = saba
set_counter settlementowner_Meroe 18
end_if
if I_SettlementOwner Meroe = armenia
set_counter settlementowner_Meroe 19
end_if
if I_SettlementOwner Meroe = pontus
set_counter settlementowner_Meroe 20
end_if
if I_SettlementOwner Salamis = slave
set_counter settlementowner_Salamis 0
end_if
if I_SettlementOwner Salamis = seleucid
set_counter settlementowner_Salamis 1
end_if
if I_SettlementOwner Salamis = thrace
set_counter settlementowner_Salamis 2
end_if
if I_SettlementOwner Salamis = greek_cities
set_counter settlementowner_Salamis 3
end_if
if I_SettlementOwner Salamis = carthage
set_counter settlementowner_Salamis 4
end_if
if I_SettlementOwner Salamis = romans_julii
set_counter settlementowner_Salamis 5
end_if
if I_SettlementOwner Salamis = romans_brutii
set_counter settlementowner_Salamis 6
end_if
if I_SettlementOwner Salamis = romans_scipii
set_counter settlementowner_Salamis 7
end_if
if I_SettlementOwner Salamis = macedon
set_counter settlementowner_Salamis 8
end_if
if I_SettlementOwner Salamis = gauls
set_counter settlementowner_Salamis 9
end_if
if I_SettlementOwner Salamis = germans
set_counter settlementowner_Salamis 10
end_if
if I_SettlementOwner Salamis = britons
set_counter settlementowner_Salamis 11
end_if
if I_SettlementOwner Salamis = spain
set_counter settlementowner_Salamis 12
end_if
if I_SettlementOwner Salamis = dacia
set_counter settlementowner_Salamis 13
end_if
if I_SettlementOwner Salamis = scythia
set_counter settlementowner_Salamis 14
end_if
if I_SettlementOwner Salamis = egypt
set_counter settlementowner_Salamis 15
end_if
if I_SettlementOwner Salamis = parthia
set_counter settlementowner_Salamis 16
end_if
if I_SettlementOwner Salamis = numidia
set_counter settlementowner_Salamis 17
end_if
if I_SettlementOwner Salamis = saba
set_counter settlementowner_Salamis 18
end_if
if I_SettlementOwner Salamis = armenia
set_counter settlementowner_Salamis 19
end_if
if I_SettlementOwner Salamis = pontus
set_counter settlementowner_Salamis 20
end_if
if I_SettlementOwner Kyrene = slave
set_counter settlementowner_Kyrene 0
end_if
if I_SettlementOwner Kyrene = seleucid
set_counter settlementowner_Kyrene 1
end_if
if I_SettlementOwner Kyrene = thrace
set_counter settlementowner_Kyrene 2
end_if
if I_SettlementOwner Kyrene = greek_cities
set_counter settlementowner_Kyrene 3
end_if
if I_SettlementOwner Kyrene = carthage
set_counter settlementowner_Kyrene 4
end_if
if I_SettlementOwner Kyrene = romans_julii
set_counter settlementowner_Kyrene 5
end_if
if I_SettlementOwner Kyrene = romans_brutii
set_counter settlementowner_Kyrene 6
end_if
if I_SettlementOwner Kyrene = romans_scipii
set_counter settlementowner_Kyrene 7
end_if
if I_SettlementOwner Kyrene = macedon
set_counter settlementowner_Kyrene 8
end_if
if I_SettlementOwner Kyrene = gauls
set_counter settlementowner_Kyrene 9
end_if
if I_SettlementOwner Kyrene = germans
set_counter settlementowner_Kyrene 10
end_if
if I_SettlementOwner Kyrene = britons
set_counter settlementowner_Kyrene 11
end_if
if I_SettlementOwner Kyrene = spain
set_counter settlementowner_Kyrene 12
end_if
if I_SettlementOwner Kyrene = dacia
set_counter settlementowner_Kyrene 13
end_if
if I_SettlementOwner Kyrene = scythia
set_counter settlementowner_Kyrene 14
end_if
if I_SettlementOwner Kyrene = egypt
set_counter settlementowner_Kyrene 15
end_if
if I_SettlementOwner Kyrene = parthia
set_counter settlementowner_Kyrene 16
end_if
if I_SettlementOwner Kyrene = numidia
set_counter settlementowner_Kyrene 17
end_if
if I_SettlementOwner Kyrene = saba
set_counter settlementowner_Kyrene 18
end_if
if I_SettlementOwner Kyrene = armenia
set_counter settlementowner_Kyrene 19
end_if
if I_SettlementOwner Kyrene = pontus
set_counter settlementowner_Kyrene 20
end_if
if I_SettlementOwner Emporion = slave
set_counter settlementowner_Emporion 0
end_if
if I_SettlementOwner Emporion = seleucid
set_counter settlementowner_Emporion 1
end_if
if I_SettlementOwner Emporion = thrace
set_counter settlementowner_Emporion 2
end_if
if I_SettlementOwner Emporion = greek_cities
set_counter settlementowner_Emporion 3
end_if
if I_SettlementOwner Emporion = carthage
set_counter settlementowner_Emporion 4
end_if
if I_SettlementOwner Emporion = romans_julii
set_counter settlementowner_Emporion 5
end_if
if I_SettlementOwner Emporion = romans_brutii
set_counter settlementowner_Emporion 6
end_if
if I_SettlementOwner Emporion = romans_scipii
set_counter settlementowner_Emporion 7
end_if
if I_SettlementOwner Emporion = macedon
set_counter settlementowner_Emporion 8
end_if
if I_SettlementOwner Emporion = gauls
set_counter settlementowner_Emporion 9
end_if
if I_SettlementOwner Emporion = germans
set_counter settlementowner_Emporion 10
end_if
if I_SettlementOwner Emporion = britons
set_counter settlementowner_Emporion 11
end_if
if I_SettlementOwner Emporion = spain
set_counter settlementowner_Emporion 12
end_if
if I_SettlementOwner Emporion = dacia
set_counter settlementowner_Emporion 13
end_if
if I_SettlementOwner Emporion = scythia
set_counter settlementowner_Emporion 14
end_if
if I_SettlementOwner Emporion = egypt
set_counter settlementowner_Emporion 15
end_if
if I_SettlementOwner Emporion = parthia
set_counter settlementowner_Emporion 16
end_if
if I_SettlementOwner Emporion = numidia
set_counter settlementowner_Emporion 17
end_if
if I_SettlementOwner Emporion = saba
set_counter settlementowner_Emporion 18
end_if
if I_SettlementOwner Emporion = armenia
set_counter settlementowner_Emporion 19
end_if
if I_SettlementOwner Emporion = pontus
set_counter settlementowner_Emporion 20
end_if
if I_SettlementOwner Sparte = slave
set_counter settlementowner_Sparte 0
end_if
if I_SettlementOwner Sparte = seleucid
set_counter settlementowner_Sparte 1
end_if
if I_SettlementOwner Sparte = thrace
set_counter settlementowner_Sparte 2
end_if
if I_SettlementOwner Sparte = greek_cities
set_counter settlementowner_Sparte 3
end_if
if I_SettlementOwner Sparte = carthage
set_counter settlementowner_Sparte 4
end_if
if I_SettlementOwner Sparte = romans_julii
set_counter settlementowner_Sparte 5
end_if
if I_SettlementOwner Sparte = romans_brutii
set_counter settlementowner_Sparte 6
end_if
if I_SettlementOwner Sparte = romans_scipii
set_counter settlementowner_Sparte 7
end_if
if I_SettlementOwner Sparte = macedon
set_counter settlementowner_Sparte 8
end_if
if I_SettlementOwner Sparte = gauls
set_counter settlementowner_Sparte 9
end_if
if I_SettlementOwner Sparte = germans
set_counter settlementowner_Sparte 10
end_if
if I_SettlementOwner Sparte = britons
set_counter settlementowner_Sparte 11
end_if
if I_SettlementOwner Sparte = spain
set_counter settlementowner_Sparte 12
end_if
if I_SettlementOwner Sparte = dacia
set_counter settlementowner_Sparte 13
end_if
if I_SettlementOwner Sparte = scythia
set_counter settlementowner_Sparte 14
end_if
if I_SettlementOwner Sparte = egypt
set_counter settlementowner_Sparte 15
end_if
if I_SettlementOwner Sparte = parthia
set_counter settlementowner_Sparte 16
end_if
if I_SettlementOwner Sparte = numidia
set_counter settlementowner_Sparte 17
end_if
if I_SettlementOwner Sparte = saba
set_counter settlementowner_Sparte 18
end_if
if I_SettlementOwner Sparte = armenia
set_counter settlementowner_Sparte 19
end_if
if I_SettlementOwner Sparte = pontus
set_counter settlementowner_Sparte 20
end_if
if I_SettlementOwner Gawjam_Gotanoz = slave
set_counter settlementowner_Gawjam_Gotanoz 0
end_if
if I_SettlementOwner Gawjam_Gotanoz = seleucid
set_counter settlementowner_Gawjam_Gotanoz 1
end_if
if I_SettlementOwner Gawjam_Gotanoz = thrace
set_counter settlementowner_Gawjam_Gotanoz 2
end_if
if I_SettlementOwner Gawjam_Gotanoz = greek_cities
set_counter settlementowner_Gawjam_Gotanoz 3
end_if
if I_SettlementOwner Gawjam_Gotanoz = carthage
set_counter settlementowner_Gawjam_Gotanoz 4
end_if
if I_SettlementOwner Gawjam_Gotanoz = romans_julii
set_counter settlementowner_Gawjam_Gotanoz 5
end_if
if I_SettlementOwner Gawjam_Gotanoz = romans_brutii
set_counter settlementowner_Gawjam_Gotanoz 6
end_if
if I_SettlementOwner Gawjam_Gotanoz = romans_scipii
set_counter settlementowner_Gawjam_Gotanoz 7
end_if
if I_SettlementOwner Gawjam_Gotanoz = macedon
set_counter settlementowner_Gawjam_Gotanoz 8
end_if
if I_SettlementOwner Gawjam_Gotanoz = gauls
set_counter settlementowner_Gawjam_Gotanoz 9
end_if
if I_SettlementOwner Gawjam_Gotanoz = germans
set_counter settlementowner_Gawjam_Gotanoz 10
end_if
if I_SettlementOwner Gawjam_Gotanoz = britons
set_counter settlementowner_Gawjam_Gotanoz 11
end_if
if I_SettlementOwner Gawjam_Gotanoz = spain
set_counter settlementowner_Gawjam_Gotanoz 12
end_if
if I_SettlementOwner Gawjam_Gotanoz = dacia
set_counter settlementowner_Gawjam_Gotanoz 13
end_if
if I_SettlementOwner Gawjam_Gotanoz = scythia
set_counter settlementowner_Gawjam_Gotanoz 14
end_if
if I_SettlementOwner Gawjam_Gotanoz = egypt
set_counter settlementowner_Gawjam_Gotanoz 15
end_if
if I_SettlementOwner Gawjam_Gotanoz = parthia
set_counter settlementowner_Gawjam_Gotanoz 16
end_if
if I_SettlementOwner Gawjam_Gotanoz = numidia
set_counter settlementowner_Gawjam_Gotanoz 17
end_if
if I_SettlementOwner Gawjam_Gotanoz = saba
set_counter settlementowner_Gawjam_Gotanoz 18
end_if
if I_SettlementOwner Gawjam_Gotanoz = armenia
set_counter settlementowner_Gawjam_Gotanoz 19
end_if
if I_SettlementOwner Gawjam_Gotanoz = pontus
set_counter settlementowner_Gawjam_Gotanoz 20
end_if
if I_SettlementOwner Rome = slave
set_counter settlementowner_Rome 0
end_if
if I_SettlementOwner Rome = seleucid
set_counter settlementowner_Rome 1
end_if
if I_SettlementOwner Rome = thrace
set_counter settlementowner_Rome 2
end_if
if I_SettlementOwner Rome = greek_cities
set_counter settlementowner_Rome 3
end_if
if I_SettlementOwner Rome = carthage
set_counter settlementowner_Rome 4
end_if
if I_SettlementOwner Rome = romans_julii
set_counter settlementowner_Rome 5
end_if
if I_SettlementOwner Rome = romans_brutii
set_counter settlementowner_Rome 6
end_if
if I_SettlementOwner Rome = romans_scipii
set_counter settlementowner_Rome 7
end_if
if I_SettlementOwner Rome = macedon
set_counter settlementowner_Rome 8
end_if
if I_SettlementOwner Rome = gauls
set_counter settlementowner_Rome 9
end_if
if I_SettlementOwner Rome = germans
set_counter settlementowner_Rome 10
end_if
if I_SettlementOwner Rome = britons
set_counter settlementowner_Rome 11
end_if
if I_SettlementOwner Rome = spain
set_counter settlementowner_Rome 12
end_if
if I_SettlementOwner Rome = dacia
set_counter settlementowner_Rome 13
end_if
if I_SettlementOwner Rome = scythia
set_counter settlementowner_Rome 14
end_if
if I_SettlementOwner Rome = egypt
set_counter settlementowner_Rome 15
end_if
if I_SettlementOwner Rome = parthia
set_counter settlementowner_Rome 16
end_if
if I_SettlementOwner Rome = numidia
set_counter settlementowner_Rome 17
end_if
if I_SettlementOwner Rome = saba
set_counter settlementowner_Rome 18
end_if
if I_SettlementOwner Rome = armenia
set_counter settlementowner_Rome 19
end_if
if I_SettlementOwner Rome = pontus
set_counter settlementowner_Rome 20
end_if
if I_SettlementOwner Lemonum = slave
set_counter settlementowner_Lemonum 0
end_if
if I_SettlementOwner Lemonum = seleucid
set_counter settlementowner_Lemonum 1
end_if
if I_SettlementOwner Lemonum = thrace
set_counter settlementowner_Lemonum 2
end_if
if I_SettlementOwner Lemonum = greek_cities
set_counter settlementowner_Lemonum 3
end_if
if I_SettlementOwner Lemonum = carthage
set_counter settlementowner_Lemonum 4
end_if
if I_SettlementOwner Lemonum = romans_julii
set_counter settlementowner_Lemonum 5
end_if
if I_SettlementOwner Lemonum = romans_brutii
set_counter settlementowner_Lemonum 6
end_if
if I_SettlementOwner Lemonum = romans_scipii
set_counter settlementowner_Lemonum 7
end_if
if I_SettlementOwner Lemonum = macedon
set_counter settlementowner_Lemonum 8
end_if
if I_SettlementOwner Lemonum = gauls
set_counter settlementowner_Lemonum 9
end_if
if I_SettlementOwner Lemonum = germans
set_counter settlementowner_Lemonum 10
end_if
if I_SettlementOwner Lemonum = britons
set_counter settlementowner_Lemonum 11
end_if
if I_SettlementOwner Lemonum = spain
set_counter settlementowner_Lemonum 12
end_if
if I_SettlementOwner Lemonum = dacia
set_counter settlementowner_Lemonum 13
end_if
if I_SettlementOwner Lemonum = scythia
set_counter settlementowner_Lemonum 14
end_if
if I_SettlementOwner Lemonum = egypt
set_counter settlementowner_Lemonum 15
end_if
if I_SettlementOwner Lemonum = parthia
set_counter settlementowner_Lemonum 16
end_if
if I_SettlementOwner Lemonum = numidia
set_counter settlementowner_Lemonum 17
end_if
if I_SettlementOwner Lemonum = saba
set_counter settlementowner_Lemonum 18
end_if
if I_SettlementOwner Lemonum = armenia
set_counter settlementowner_Lemonum 19
end_if
if I_SettlementOwner Lemonum = pontus
set_counter settlementowner_Lemonum 20
end_if
if I_SettlementOwner Mytilene = slave
set_counter settlementowner_Mytilene 0
end_if
if I_SettlementOwner Mytilene = seleucid
set_counter settlementowner_Mytilene 1
end_if
if I_SettlementOwner Mytilene = thrace
set_counter settlementowner_Mytilene 2
end_if
if I_SettlementOwner Mytilene = greek_cities
set_counter settlementowner_Mytilene 3
end_if
if I_SettlementOwner Mytilene = carthage
set_counter settlementowner_Mytilene 4
end_if
if I_SettlementOwner Mytilene = romans_julii
set_counter settlementowner_Mytilene 5
end_if
if I_SettlementOwner Mytilene = romans_brutii
set_counter settlementowner_Mytilene 6
end_if
if I_SettlementOwner Mytilene = romans_scipii
set_counter settlementowner_Mytilene 7
end_if
if I_SettlementOwner Mytilene = macedon
set_counter settlementowner_Mytilene 8
end_if
if I_SettlementOwner Mytilene = gauls
set_counter settlementowner_Mytilene 9
end_if
if I_SettlementOwner Mytilene = germans
set_counter settlementowner_Mytilene 10
end_if
if I_SettlementOwner Mytilene = britons
set_counter settlementowner_Mytilene 11
end_if
if I_SettlementOwner Mytilene = spain
set_counter settlementowner_Mytilene 12
end_if
if I_SettlementOwner Mytilene = dacia
set_counter settlementowner_Mytilene 13
end_if
if I_SettlementOwner Mytilene = scythia
set_counter settlementowner_Mytilene 14
end_if
if I_SettlementOwner Mytilene = egypt
set_counter settlementowner_Mytilene 15
end_if
if I_SettlementOwner Mytilene = parthia
set_counter settlementowner_Mytilene 16
end_if
if I_SettlementOwner Mytilene = numidia
set_counter settlementowner_Mytilene 17
end_if
if I_SettlementOwner Mytilene = saba
set_counter settlementowner_Mytilene 18
end_if
if I_SettlementOwner Mytilene = armenia
set_counter settlementowner_Mytilene 19
end_if
if I_SettlementOwner Mytilene = pontus
set_counter settlementowner_Mytilene 20
end_if
if I_SettlementOwner Ammonion = slave
set_counter settlementowner_Ammonion 0
end_if
if I_SettlementOwner Ammonion = seleucid
set_counter settlementowner_Ammonion 1
end_if
if I_SettlementOwner Ammonion = thrace
set_counter settlementowner_Ammonion 2
end_if
if I_SettlementOwner Ammonion = greek_cities
set_counter settlementowner_Ammonion 3
end_if
if I_SettlementOwner Ammonion = carthage
set_counter settlementowner_Ammonion 4
end_if
if I_SettlementOwner Ammonion = romans_julii
set_counter settlementowner_Ammonion 5
end_if
if I_SettlementOwner Ammonion = romans_brutii
set_counter settlementowner_Ammonion 6
end_if
if I_SettlementOwner Ammonion = romans_scipii
set_counter settlementowner_Ammonion 7
end_if
if I_SettlementOwner Ammonion = macedon
set_counter settlementowner_Ammonion 8
end_if
if I_SettlementOwner Ammonion = gauls
set_counter settlementowner_Ammonion 9
end_if
if I_SettlementOwner Ammonion = germans
set_counter settlementowner_Ammonion 10
end_if
if I_SettlementOwner Ammonion = britons
set_counter settlementowner_Ammonion 11
end_if
if I_SettlementOwner Ammonion = spain
set_counter settlementowner_Ammonion 12
end_if
if I_SettlementOwner Ammonion = dacia
set_counter settlementowner_Ammonion 13
end_if
if I_SettlementOwner Ammonion = scythia
set_counter settlementowner_Ammonion 14
end_if
if I_SettlementOwner Ammonion = egypt
set_counter settlementowner_Ammonion 15
end_if
if I_SettlementOwner Ammonion = parthia
set_counter settlementowner_Ammonion 16
end_if
if I_SettlementOwner Ammonion = numidia
set_counter settlementowner_Ammonion 17
end_if
if I_SettlementOwner Ammonion = saba
set_counter settlementowner_Ammonion 18
end_if
if I_SettlementOwner Ammonion = armenia
set_counter settlementowner_Ammonion 19
end_if
if I_SettlementOwner Ammonion = pontus
set_counter settlementowner_Ammonion 20
end_if
if I_SettlementOwner Segesta = slave
set_counter settlementowner_Segesta 0
end_if
if I_SettlementOwner Segesta = seleucid
set_counter settlementowner_Segesta 1
end_if
if I_SettlementOwner Segesta = thrace
set_counter settlementowner_Segesta 2
end_if
if I_SettlementOwner Segesta = greek_cities
set_counter settlementowner_Segesta 3
end_if
if I_SettlementOwner Segesta = carthage
set_counter settlementowner_Segesta 4
end_if
if I_SettlementOwner Segesta = romans_julii
set_counter settlementowner_Segesta 5
end_if
if I_SettlementOwner Segesta = romans_brutii
set_counter settlementowner_Segesta 6
end_if
if I_SettlementOwner Segesta = romans_scipii
set_counter settlementowner_Segesta 7
end_if
if I_SettlementOwner Segesta = macedon
set_counter settlementowner_Segesta 8
end_if
if I_SettlementOwner Segesta = gauls
set_counter settlementowner_Segesta 9
end_if
if I_SettlementOwner Segesta = germans
set_counter settlementowner_Segesta 10
end_if
if I_SettlementOwner Segesta = britons
set_counter settlementowner_Segesta 11
end_if
if I_SettlementOwner Segesta = spain
set_counter settlementowner_Segesta 12
end_if
if I_SettlementOwner Segesta = dacia
set_counter settlementowner_Segesta 13
end_if
if I_SettlementOwner Segesta = scythia
set_counter settlementowner_Segesta 14
end_if
if I_SettlementOwner Segesta = egypt
set_counter settlementowner_Segesta 15
end_if
if I_SettlementOwner Segesta = parthia
set_counter settlementowner_Segesta 16
end_if
if I_SettlementOwner Segesta = numidia
set_counter settlementowner_Segesta 17
end_if
if I_SettlementOwner Segesta = saba
set_counter settlementowner_Segesta 18
end_if
if I_SettlementOwner Segesta = armenia
set_counter settlementowner_Segesta 19
end_if
if I_SettlementOwner Segesta = pontus
set_counter settlementowner_Segesta 20
end_if
if I_SettlementOwner Viennos = slave
set_counter settlementowner_Viennos 0
end_if
if I_SettlementOwner Viennos = seleucid
set_counter settlementowner_Viennos 1
end_if
if I_SettlementOwner Viennos = thrace
set_counter settlementowner_Viennos 2
end_if
if I_SettlementOwner Viennos = greek_cities
set_counter settlementowner_Viennos 3
end_if
if I_SettlementOwner Viennos = carthage
set_counter settlementowner_Viennos 4
end_if
if I_SettlementOwner Viennos = romans_julii
set_counter settlementowner_Viennos 5
end_if
if I_SettlementOwner Viennos = romans_brutii
set_counter settlementowner_Viennos 6
end_if
if I_SettlementOwner Viennos = romans_scipii
set_counter settlementowner_Viennos 7
end_if
if I_SettlementOwner Viennos = macedon
set_counter settlementowner_Viennos 8
end_if
if I_SettlementOwner Viennos = gauls
set_counter settlementowner_Viennos 9
end_if
if I_SettlementOwner Viennos = germans
set_counter settlementowner_Viennos 10
end_if
if I_SettlementOwner Viennos = britons
set_counter settlementowner_Viennos 11
end_if
if I_SettlementOwner Viennos = spain
set_counter settlementowner_Viennos 12
end_if
if I_SettlementOwner Viennos = dacia
set_counter settlementowner_Viennos 13
end_if
if I_SettlementOwner Viennos = scythia
set_counter settlementowner_Viennos 14
end_if
if I_SettlementOwner Viennos = egypt
set_counter settlementowner_Viennos 15
end_if
if I_SettlementOwner Viennos = parthia
set_counter settlementowner_Viennos 16
end_if
if I_SettlementOwner Viennos = numidia
set_counter settlementowner_Viennos 17
end_if
if I_SettlementOwner Viennos = saba
set_counter settlementowner_Viennos 18
end_if
if I_SettlementOwner Viennos = armenia
set_counter settlementowner_Viennos 19
end_if
if I_SettlementOwner Viennos = pontus
set_counter settlementowner_Viennos 20
end_if
if I_SettlementOwner Carrodunum = slave
set_counter settlementowner_Carrodunum 0
end_if
if I_SettlementOwner Carrodunum = seleucid
set_counter settlementowner_Carrodunum 1
end_if
if I_SettlementOwner Carrodunum = thrace
set_counter settlementowner_Carrodunum 2
end_if
if I_SettlementOwner Carrodunum = greek_cities
set_counter settlementowner_Carrodunum 3
end_if
if I_SettlementOwner Carrodunum = carthage
set_counter settlementowner_Carrodunum 4
end_if
if I_SettlementOwner Carrodunum = romans_julii
set_counter settlementowner_Carrodunum 5
end_if
if I_SettlementOwner Carrodunum = romans_brutii
set_counter settlementowner_Carrodunum 6
end_if
if I_SettlementOwner Carrodunum = romans_scipii
set_counter settlementowner_Carrodunum 7
end_if
if I_SettlementOwner Carrodunum = macedon
set_counter settlementowner_Carrodunum 8
end_if
if I_SettlementOwner Carrodunum = gauls
set_counter settlementowner_Carrodunum 9
end_if
if I_SettlementOwner Carrodunum = germans
set_counter settlementowner_Carrodunum 10
end_if
if I_SettlementOwner Carrodunum = britons
set_counter settlementowner_Carrodunum 11
end_if
if I_SettlementOwner Carrodunum = spain
set_counter settlementowner_Carrodunum 12
end_if
if I_SettlementOwner Carrodunum = dacia
set_counter settlementowner_Carrodunum 13
end_if
if I_SettlementOwner Carrodunum = scythia
set_counter settlementowner_Carrodunum 14
end_if
if I_SettlementOwner Carrodunum = egypt
set_counter settlementowner_Carrodunum 15
end_if
if I_SettlementOwner Carrodunum = parthia
set_counter settlementowner_Carrodunum 16
end_if
if I_SettlementOwner Carrodunum = numidia
set_counter settlementowner_Carrodunum 17
end_if
if I_SettlementOwner Carrodunum = saba
set_counter settlementowner_Carrodunum 18
end_if
if I_SettlementOwner Carrodunum = armenia
set_counter settlementowner_Carrodunum 19
end_if
if I_SettlementOwner Carrodunum = pontus
set_counter settlementowner_Carrodunum 20
end_if
if I_SettlementOwner Oxtraca = slave
set_counter settlementowner_Oxtraca 0
end_if
if I_SettlementOwner Oxtraca = seleucid
set_counter settlementowner_Oxtraca 1
end_if
if I_SettlementOwner Oxtraca = thrace
set_counter settlementowner_Oxtraca 2
end_if
if I_SettlementOwner Oxtraca = greek_cities
set_counter settlementowner_Oxtraca 3
end_if
if I_SettlementOwner Oxtraca = carthage
set_counter settlementowner_Oxtraca 4
end_if
if I_SettlementOwner Oxtraca = romans_julii
set_counter settlementowner_Oxtraca 5
end_if
if I_SettlementOwner Oxtraca = romans_brutii
set_counter settlementowner_Oxtraca 6
end_if
if I_SettlementOwner Oxtraca = romans_scipii
set_counter settlementowner_Oxtraca 7
end_if
if I_SettlementOwner Oxtraca = macedon
set_counter settlementowner_Oxtraca 8
end_if
if I_SettlementOwner Oxtraca = gauls
set_counter settlementowner_Oxtraca 9
end_if
if I_SettlementOwner Oxtraca = germans
set_counter settlementowner_Oxtraca 10
end_if
if I_SettlementOwner Oxtraca = britons
set_counter settlementowner_Oxtraca 11
end_if
if I_SettlementOwner Oxtraca = spain
set_counter settlementowner_Oxtraca 12
end_if
if I_SettlementOwner Oxtraca = dacia
set_counter settlementowner_Oxtraca 13
end_if
if I_SettlementOwner Oxtraca = scythia
set_counter settlementowner_Oxtraca 14
end_if
if I_SettlementOwner Oxtraca = egypt
set_counter settlementowner_Oxtraca 15
end_if
if I_SettlementOwner Oxtraca = parthia
set_counter settlementowner_Oxtraca 16
end_if
if I_SettlementOwner Oxtraca = numidia
set_counter settlementowner_Oxtraca 17
end_if
if I_SettlementOwner Oxtraca = saba
set_counter settlementowner_Oxtraca 18
end_if
if I_SettlementOwner Oxtraca = armenia
set_counter settlementowner_Oxtraca 19
end_if
if I_SettlementOwner Oxtraca = pontus
set_counter settlementowner_Oxtraca 20
end_if
if I_SettlementOwner Sardis = slave
set_counter settlementowner_Sardis 0
end_if
if I_SettlementOwner Sardis = seleucid
set_counter settlementowner_Sardis 1
end_if
if I_SettlementOwner Sardis = thrace
set_counter settlementowner_Sardis 2
end_if
if I_SettlementOwner Sardis = greek_cities
set_counter settlementowner_Sardis 3
end_if
if I_SettlementOwner Sardis = carthage
set_counter settlementowner_Sardis 4
end_if
if I_SettlementOwner Sardis = romans_julii
set_counter settlementowner_Sardis 5
end_if
if I_SettlementOwner Sardis = romans_brutii
set_counter settlementowner_Sardis 6
end_if
if I_SettlementOwner Sardis = romans_scipii
set_counter settlementowner_Sardis 7
end_if
if I_SettlementOwner Sardis = macedon
set_counter settlementowner_Sardis 8
end_if
if I_SettlementOwner Sardis = gauls
set_counter settlementowner_Sardis 9
end_if
if I_SettlementOwner Sardis = germans
set_counter settlementowner_Sardis 10
end_if
if I_SettlementOwner Sardis = britons
set_counter settlementowner_Sardis 11
end_if
if I_SettlementOwner Sardis = spain
set_counter settlementowner_Sardis 12
end_if
if I_SettlementOwner Sardis = dacia
set_counter settlementowner_Sardis 13
end_if
if I_SettlementOwner Sardis = scythia
set_counter settlementowner_Sardis 14
end_if
if I_SettlementOwner Sardis = egypt
set_counter settlementowner_Sardis 15
end_if
if I_SettlementOwner Sardis = parthia
set_counter settlementowner_Sardis 16
end_if
if I_SettlementOwner Sardis = numidia
set_counter settlementowner_Sardis 17
end_if
if I_SettlementOwner Sardis = saba
set_counter settlementowner_Sardis 18
end_if
if I_SettlementOwner Sardis = armenia
set_counter settlementowner_Sardis 19
end_if
if I_SettlementOwner Sardis = pontus
set_counter settlementowner_Sardis 20
end_if
if I_SettlementOwner Tanais = slave
set_counter settlementowner_Tanais 0
end_if
if I_SettlementOwner Tanais = seleucid
set_counter settlementowner_Tanais 1
end_if
if I_SettlementOwner Tanais = thrace
set_counter settlementowner_Tanais 2
end_if
if I_SettlementOwner Tanais = greek_cities
set_counter settlementowner_Tanais 3
end_if
if I_SettlementOwner Tanais = carthage
set_counter settlementowner_Tanais 4
end_if
if I_SettlementOwner Tanais = romans_julii
set_counter settlementowner_Tanais 5
end_if
if I_SettlementOwner Tanais = romans_brutii
set_counter settlementowner_Tanais 6
end_if
if I_SettlementOwner Tanais = romans_scipii
set_counter settlementowner_Tanais 7
end_if
if I_SettlementOwner Tanais = macedon
set_counter settlementowner_Tanais 8
end_if
if I_SettlementOwner Tanais = gauls
set_counter settlementowner_Tanais 9
end_if
if I_SettlementOwner Tanais = germans
set_counter settlementowner_Tanais 10
end_if
if I_SettlementOwner Tanais = britons
set_counter settlementowner_Tanais 11
end_if
if I_SettlementOwner Tanais = spain
set_counter settlementowner_Tanais 12
end_if
if I_SettlementOwner Tanais = dacia
set_counter settlementowner_Tanais 13
end_if
if I_SettlementOwner Tanais = scythia
set_counter settlementowner_Tanais 14
end_if
if I_SettlementOwner Tanais = egypt
set_counter settlementowner_Tanais 15
end_if
if I_SettlementOwner Tanais = parthia
set_counter settlementowner_Tanais 16
end_if
if I_SettlementOwner Tanais = numidia
set_counter settlementowner_Tanais 17
end_if
if I_SettlementOwner Tanais = saba
set_counter settlementowner_Tanais 18
end_if
if I_SettlementOwner Tanais = armenia
set_counter settlementowner_Tanais 19
end_if
if I_SettlementOwner Tanais = pontus
set_counter settlementowner_Tanais 20
end_if
if I_SettlementOwner Carna = slave
set_counter settlementowner_Carna 0
end_if
if I_SettlementOwner Carna = seleucid
set_counter settlementowner_Carna 1
end_if
if I_SettlementOwner Carna = thrace
set_counter settlementowner_Carna 2
end_if
if I_SettlementOwner Carna = greek_cities
set_counter settlementowner_Carna 3
end_if
if I_SettlementOwner Carna = carthage
set_counter settlementowner_Carna 4
end_if
if I_SettlementOwner Carna = romans_julii
set_counter settlementowner_Carna 5
end_if
if I_SettlementOwner Carna = romans_brutii
set_counter settlementowner_Carna 6
end_if
if I_SettlementOwner Carna = romans_scipii
set_counter settlementowner_Carna 7
end_if
if I_SettlementOwner Carna = macedon
set_counter settlementowner_Carna 8
end_if
if I_SettlementOwner Carna = gauls
set_counter settlementowner_Carna 9
end_if
if I_SettlementOwner Carna = germans
set_counter settlementowner_Carna 10
end_if
if I_SettlementOwner Carna = britons
set_counter settlementowner_Carna 11
end_if
if I_SettlementOwner Carna = spain
set_counter settlementowner_Carna 12
end_if
if I_SettlementOwner Carna = dacia
set_counter settlementowner_Carna 13
end_if
if I_SettlementOwner Carna = scythia
set_counter settlementowner_Carna 14
end_if
if I_SettlementOwner Carna = egypt
set_counter settlementowner_Carna 15
end_if
if I_SettlementOwner Carna = parthia
set_counter settlementowner_Carna 16
end_if
if I_SettlementOwner Carna = numidia
set_counter settlementowner_Carna 17
end_if
if I_SettlementOwner Carna = saba
set_counter settlementowner_Carna 18
end_if
if I_SettlementOwner Carna = armenia
set_counter settlementowner_Carna 19
end_if
if I_SettlementOwner Carna = pontus
set_counter settlementowner_Carna 20
end_if
if I_SettlementOwner Pella = slave
set_counter settlementowner_Pella 0
end_if
if I_SettlementOwner Pella = seleucid
set_counter settlementowner_Pella 1
end_if
if I_SettlementOwner Pella = thrace
set_counter settlementowner_Pella 2
end_if
if I_SettlementOwner Pella = greek_cities
set_counter settlementowner_Pella 3
end_if
if I_SettlementOwner Pella = carthage
set_counter settlementowner_Pella 4
end_if
if I_SettlementOwner Pella = romans_julii
set_counter settlementowner_Pella 5
end_if
if I_SettlementOwner Pella = romans_brutii
set_counter settlementowner_Pella 6
end_if
if I_SettlementOwner Pella = romans_scipii
set_counter settlementowner_Pella 7
end_if
if I_SettlementOwner Pella = macedon
set_counter settlementowner_Pella 8
end_if
if I_SettlementOwner Pella = gauls
set_counter settlementowner_Pella 9
end_if
if I_SettlementOwner Pella = germans
set_counter settlementowner_Pella 10
end_if
if I_SettlementOwner Pella = britons
set_counter settlementowner_Pella 11
end_if
if I_SettlementOwner Pella = spain
set_counter settlementowner_Pella 12
end_if
if I_SettlementOwner Pella = dacia
set_counter settlementowner_Pella 13
end_if
if I_SettlementOwner Pella = scythia
set_counter settlementowner_Pella 14
end_if
if I_SettlementOwner Pella = egypt
set_counter settlementowner_Pella 15
end_if
if I_SettlementOwner Pella = parthia
set_counter settlementowner_Pella 16
end_if
if I_SettlementOwner Pella = numidia
set_counter settlementowner_Pella 17
end_if
if I_SettlementOwner Pella = saba
set_counter settlementowner_Pella 18
end_if
if I_SettlementOwner Pella = armenia
set_counter settlementowner_Pella 19
end_if
if I_SettlementOwner Pella = pontus
set_counter settlementowner_Pella 20
end_if
if I_SettlementOwner Homna = slave
set_counter settlementowner_Homna 0
end_if
if I_SettlementOwner Homna = seleucid
set_counter settlementowner_Homna 1
end_if
if I_SettlementOwner Homna = thrace
set_counter settlementowner_Homna 2
end_if
if I_SettlementOwner Homna = greek_cities
set_counter settlementowner_Homna 3
end_if
if I_SettlementOwner Homna = carthage
set_counter settlementowner_Homna 4
end_if
if I_SettlementOwner Homna = romans_julii
set_counter settlementowner_Homna 5
end_if
if I_SettlementOwner Homna = romans_brutii
set_counter settlementowner_Homna 6
end_if
if I_SettlementOwner Homna = romans_scipii
set_counter settlementowner_Homna 7
end_if
if I_SettlementOwner Homna = macedon
set_counter settlementowner_Homna 8
end_if
if I_SettlementOwner Homna = gauls
set_counter settlementowner_Homna 9
end_if
if I_SettlementOwner Homna = germans
set_counter settlementowner_Homna 10
end_if
if I_SettlementOwner Homna = britons
set_counter settlementowner_Homna 11
end_if
if I_SettlementOwner Homna = spain
set_counter settlementowner_Homna 12
end_if
if I_SettlementOwner Homna = dacia
set_counter settlementowner_Homna 13
end_if
if I_SettlementOwner Homna = scythia
set_counter settlementowner_Homna 14
end_if
if I_SettlementOwner Homna = egypt
set_counter settlementowner_Homna 15
end_if
if I_SettlementOwner Homna = parthia
set_counter settlementowner_Homna 16
end_if
if I_SettlementOwner Homna = numidia
set_counter settlementowner_Homna 17
end_if
if I_SettlementOwner Homna = saba
set_counter settlementowner_Homna 18
end_if
if I_SettlementOwner Homna = armenia
set_counter settlementowner_Homna 19
end_if
if I_SettlementOwner Homna = pontus
set_counter settlementowner_Homna 20
end_if
if I_SettlementOwner Antiocheia_Margiane = slave
set_counter settlementowner_Antiocheia_Margiane 0
end_if
if I_SettlementOwner Antiocheia_Margiane = seleucid
set_counter settlementowner_Antiocheia_Margiane 1
end_if
if I_SettlementOwner Antiocheia_Margiane = thrace
set_counter settlementowner_Antiocheia_Margiane 2
end_if
if I_SettlementOwner Antiocheia_Margiane = greek_cities
set_counter settlementowner_Antiocheia_Margiane 3
end_if
if I_SettlementOwner Antiocheia_Margiane = carthage
set_counter settlementowner_Antiocheia_Margiane 4
end_if
if I_SettlementOwner Antiocheia_Margiane = romans_julii
set_counter settlementowner_Antiocheia_Margiane 5
end_if
if I_SettlementOwner Antiocheia_Margiane = romans_brutii
set_counter settlementowner_Antiocheia_Margiane 6
end_if
if I_SettlementOwner Antiocheia_Margiane = romans_scipii
set_counter settlementowner_Antiocheia_Margiane 7
end_if
if I_SettlementOwner Antiocheia_Margiane = macedon
set_counter settlementowner_Antiocheia_Margiane 8
end_if
if I_SettlementOwner Antiocheia_Margiane = gauls
set_counter settlementowner_Antiocheia_Margiane 9
end_if
if I_SettlementOwner Antiocheia_Margiane = germans
set_counter settlementowner_Antiocheia_Margiane 10
end_if
if I_SettlementOwner Antiocheia_Margiane = britons
set_counter settlementowner_Antiocheia_Margiane 11
end_if
if I_SettlementOwner Antiocheia_Margiane = spain
set_counter settlementowner_Antiocheia_Margiane 12
end_if
if I_SettlementOwner Antiocheia_Margiane = dacia
set_counter settlementowner_Antiocheia_Margiane 13
end_if
if I_SettlementOwner Antiocheia_Margiane = scythia
set_counter settlementowner_Antiocheia_Margiane 14
end_if
if I_SettlementOwner Antiocheia_Margiane = egypt
set_counter settlementowner_Antiocheia_Margiane 15
end_if
if I_SettlementOwner Antiocheia_Margiane = parthia
set_counter settlementowner_Antiocheia_Margiane 16
end_if
if I_SettlementOwner Antiocheia_Margiane = numidia
set_counter settlementowner_Antiocheia_Margiane 17
end_if
if I_SettlementOwner Antiocheia_Margiane = saba
set_counter settlementowner_Antiocheia_Margiane 18
end_if
if I_SettlementOwner Antiocheia_Margiane = armenia
set_counter settlementowner_Antiocheia_Margiane 19
end_if
if I_SettlementOwner Antiocheia_Margiane = pontus
set_counter settlementowner_Antiocheia_Margiane 20
end_if
if I_SettlementOwner Paraitonion = slave
set_counter settlementowner_Paraitonion 0
end_if
if I_SettlementOwner Paraitonion = seleucid
set_counter settlementowner_Paraitonion 1
end_if
if I_SettlementOwner Paraitonion = thrace
set_counter settlementowner_Paraitonion 2
end_if
if I_SettlementOwner Paraitonion = greek_cities
set_counter settlementowner_Paraitonion 3
end_if
if I_SettlementOwner Paraitonion = carthage
set_counter settlementowner_Paraitonion 4
end_if
if I_SettlementOwner Paraitonion = romans_julii
set_counter settlementowner_Paraitonion 5
end_if
if I_SettlementOwner Paraitonion = romans_brutii
set_counter settlementowner_Paraitonion 6
end_if
if I_SettlementOwner Paraitonion = romans_scipii
set_counter settlementowner_Paraitonion 7
end_if
if I_SettlementOwner Paraitonion = macedon
set_counter settlementowner_Paraitonion 8
end_if
if I_SettlementOwner Paraitonion = gauls
set_counter settlementowner_Paraitonion 9
end_if
if I_SettlementOwner Paraitonion = germans
set_counter settlementowner_Paraitonion 10
end_if
if I_SettlementOwner Paraitonion = britons
set_counter settlementowner_Paraitonion 11
end_if
if I_SettlementOwner Paraitonion = spain
set_counter settlementowner_Paraitonion 12
end_if
if I_SettlementOwner Paraitonion = dacia
set_counter settlementowner_Paraitonion 13
end_if
if I_SettlementOwner Paraitonion = scythia
set_counter settlementowner_Paraitonion 14
end_if
if I_SettlementOwner Paraitonion = egypt
set_counter settlementowner_Paraitonion 15
end_if
if I_SettlementOwner Paraitonion = parthia
set_counter settlementowner_Paraitonion 16
end_if
if I_SettlementOwner Paraitonion = numidia
set_counter settlementowner_Paraitonion 17
end_if
if I_SettlementOwner Paraitonion = saba
set_counter settlementowner_Paraitonion 18
end_if
if I_SettlementOwner Paraitonion = armenia
set_counter settlementowner_Paraitonion 19
end_if
if I_SettlementOwner Paraitonion = pontus
set_counter settlementowner_Paraitonion 20
end_if
if I_SettlementOwner Ippone = slave
set_counter settlementowner_Ippone 0
end_if
if I_SettlementOwner Ippone = seleucid
set_counter settlementowner_Ippone 1
end_if
if I_SettlementOwner Ippone = thrace
set_counter settlementowner_Ippone 2
end_if
if I_SettlementOwner Ippone = greek_cities
set_counter settlementowner_Ippone 3
end_if
if I_SettlementOwner Ippone = carthage
set_counter settlementowner_Ippone 4
end_if
if I_SettlementOwner Ippone = romans_julii
set_counter settlementowner_Ippone 5
end_if
if I_SettlementOwner Ippone = romans_brutii
set_counter settlementowner_Ippone 6
end_if
if I_SettlementOwner Ippone = romans_scipii
set_counter settlementowner_Ippone 7
end_if
if I_SettlementOwner Ippone = macedon
set_counter settlementowner_Ippone 8
end_if
if I_SettlementOwner Ippone = gauls
set_counter settlementowner_Ippone 9
end_if
if I_SettlementOwner Ippone = germans
set_counter settlementowner_Ippone 10
end_if
if I_SettlementOwner Ippone = britons
set_counter settlementowner_Ippone 11
end_if
if I_SettlementOwner Ippone = spain
set_counter settlementowner_Ippone 12
end_if
if I_SettlementOwner Ippone = dacia
set_counter settlementowner_Ippone 13
end_if
if I_SettlementOwner Ippone = scythia
set_counter settlementowner_Ippone 14
end_if
if I_SettlementOwner Ippone = egypt
set_counter settlementowner_Ippone 15
end_if
if I_SettlementOwner Ippone = parthia
set_counter settlementowner_Ippone 16
end_if
if I_SettlementOwner Ippone = numidia
set_counter settlementowner_Ippone 17
end_if
if I_SettlementOwner Ippone = saba
set_counter settlementowner_Ippone 18
end_if
if I_SettlementOwner Ippone = armenia
set_counter settlementowner_Ippone 19
end_if
if I_SettlementOwner Ippone = pontus
set_counter settlementowner_Ippone 20
end_if
if I_SettlementOwner Sala = slave
set_counter settlementowner_Sala 0
end_if
if I_SettlementOwner Sala = seleucid
set_counter settlementowner_Sala 1
end_if
if I_SettlementOwner Sala = thrace
set_counter settlementowner_Sala 2
end_if
if I_SettlementOwner Sala = greek_cities
set_counter settlementowner_Sala 3
end_if
if I_SettlementOwner Sala = carthage
set_counter settlementowner_Sala 4
end_if
if I_SettlementOwner Sala = romans_julii
set_counter settlementowner_Sala 5
end_if
if I_SettlementOwner Sala = romans_brutii
set_counter settlementowner_Sala 6
end_if
if I_SettlementOwner Sala = romans_scipii
set_counter settlementowner_Sala 7
end_if
if I_SettlementOwner Sala = macedon
set_counter settlementowner_Sala 8
end_if
if I_SettlementOwner Sala = gauls
set_counter settlementowner_Sala 9
end_if
if I_SettlementOwner Sala = germans
set_counter settlementowner_Sala 10
end_if
if I_SettlementOwner Sala = britons
set_counter settlementowner_Sala 11
end_if
if I_SettlementOwner Sala = spain
set_counter settlementowner_Sala 12
end_if
if I_SettlementOwner Sala = dacia
set_counter settlementowner_Sala 13
end_if
if I_SettlementOwner Sala = scythia
set_counter settlementowner_Sala 14
end_if
if I_SettlementOwner Sala = egypt
set_counter settlementowner_Sala 15
end_if
if I_SettlementOwner Sala = parthia
set_counter settlementowner_Sala 16
end_if
if I_SettlementOwner Sala = numidia
set_counter settlementowner_Sala 17
end_if
if I_SettlementOwner Sala = saba
set_counter settlementowner_Sala 18
end_if
if I_SettlementOwner Sala = armenia
set_counter settlementowner_Sala 19
end_if
if I_SettlementOwner Sala = pontus
set_counter settlementowner_Sala 20
end_if
if I_SettlementOwner Siga = slave
set_counter settlementowner_Siga 0
end_if
if I_SettlementOwner Siga = seleucid
set_counter settlementowner_Siga 1
end_if
if I_SettlementOwner Siga = thrace
set_counter settlementowner_Siga 2
end_if
if I_SettlementOwner Siga = greek_cities
set_counter settlementowner_Siga 3
end_if
if I_SettlementOwner Siga = carthage
set_counter settlementowner_Siga 4
end_if
if I_SettlementOwner Siga = romans_julii
set_counter settlementowner_Siga 5
end_if
if I_SettlementOwner Siga = romans_brutii
set_counter settlementowner_Siga 6
end_if
if I_SettlementOwner Siga = romans_scipii
set_counter settlementowner_Siga 7
end_if
if I_SettlementOwner Siga = macedon
set_counter settlementowner_Siga 8
end_if
if I_SettlementOwner Siga = gauls
set_counter settlementowner_Siga 9
end_if
if I_SettlementOwner Siga = germans
set_counter settlementowner_Siga 10
end_if
if I_SettlementOwner Siga = britons
set_counter settlementowner_Siga 11
end_if
if I_SettlementOwner Siga = spain
set_counter settlementowner_Siga 12
end_if
if I_SettlementOwner Siga = dacia
set_counter settlementowner_Siga 13
end_if
if I_SettlementOwner Siga = scythia
set_counter settlementowner_Siga 14
end_if
if I_SettlementOwner Siga = egypt
set_counter settlementowner_Siga 15
end_if
if I_SettlementOwner Siga = parthia
set_counter settlementowner_Siga 16
end_if
if I_SettlementOwner Siga = numidia
set_counter settlementowner_Siga 17
end_if
if I_SettlementOwner Siga = saba
set_counter settlementowner_Siga 18
end_if
if I_SettlementOwner Siga = armenia
set_counter settlementowner_Siga 19
end_if
if I_SettlementOwner Siga = pontus
set_counter settlementowner_Siga 20
end_if
if I_SettlementOwner Lixus = slave
set_counter settlementowner_Lixus 0
end_if
if I_SettlementOwner Lixus = seleucid
set_counter settlementowner_Lixus 1
end_if
if I_SettlementOwner Lixus = thrace
set_counter settlementowner_Lixus 2
end_if
if I_SettlementOwner Lixus = greek_cities
set_counter settlementowner_Lixus 3
end_if
if I_SettlementOwner Lixus = carthage
set_counter settlementowner_Lixus 4
end_if
if I_SettlementOwner Lixus = romans_julii
set_counter settlementowner_Lixus 5
end_if
if I_SettlementOwner Lixus = romans_brutii
set_counter settlementowner_Lixus 6
end_if
if I_SettlementOwner Lixus = romans_scipii
set_counter settlementowner_Lixus 7
end_if
if I_SettlementOwner Lixus = macedon
set_counter settlementowner_Lixus 8
end_if
if I_SettlementOwner Lixus = gauls
set_counter settlementowner_Lixus 9
end_if
if I_SettlementOwner Lixus = germans
set_counter settlementowner_Lixus 10
end_if
if I_SettlementOwner Lixus = britons
set_counter settlementowner_Lixus 11
end_if
if I_SettlementOwner Lixus = spain
set_counter settlementowner_Lixus 12
end_if
if I_SettlementOwner Lixus = dacia
set_counter settlementowner_Lixus 13
end_if
if I_SettlementOwner Lixus = scythia
set_counter settlementowner_Lixus 14
end_if
if I_SettlementOwner Lixus = egypt
set_counter settlementowner_Lixus 15
end_if
if I_SettlementOwner Lixus = parthia
set_counter settlementowner_Lixus 16
end_if
if I_SettlementOwner Lixus = numidia
set_counter settlementowner_Lixus 17
end_if
if I_SettlementOwner Lixus = saba
set_counter settlementowner_Lixus 18
end_if
if I_SettlementOwner Lixus = armenia
set_counter settlementowner_Lixus 19
end_if
if I_SettlementOwner Lixus = pontus
set_counter settlementowner_Lixus 20
end_if
if I_SettlementOwner Ekbatana = slave
set_counter settlementowner_Ekbatana 0
end_if
if I_SettlementOwner Ekbatana = seleucid
set_counter settlementowner_Ekbatana 1
end_if
if I_SettlementOwner Ekbatana = thrace
set_counter settlementowner_Ekbatana 2
end_if
if I_SettlementOwner Ekbatana = greek_cities
set_counter settlementowner_Ekbatana 3
end_if
if I_SettlementOwner Ekbatana = carthage
set_counter settlementowner_Ekbatana 4
end_if
if I_SettlementOwner Ekbatana = romans_julii
set_counter settlementowner_Ekbatana 5
end_if
if I_SettlementOwner Ekbatana = romans_brutii
set_counter settlementowner_Ekbatana 6
end_if
if I_SettlementOwner Ekbatana = romans_scipii
set_counter settlementowner_Ekbatana 7
end_if
if I_SettlementOwner Ekbatana = macedon
set_counter settlementowner_Ekbatana 8
end_if
if I_SettlementOwner Ekbatana = gauls
set_counter settlementowner_Ekbatana 9
end_if
if I_SettlementOwner Ekbatana = germans
set_counter settlementowner_Ekbatana 10
end_if
if I_SettlementOwner Ekbatana = britons
set_counter settlementowner_Ekbatana 11
end_if
if I_SettlementOwner Ekbatana = spain
set_counter settlementowner_Ekbatana 12
end_if
if I_SettlementOwner Ekbatana = dacia
set_counter settlementowner_Ekbatana 13
end_if
if I_SettlementOwner Ekbatana = scythia
set_counter settlementowner_Ekbatana 14
end_if
if I_SettlementOwner Ekbatana = egypt
set_counter settlementowner_Ekbatana 15
end_if
if I_SettlementOwner Ekbatana = parthia
set_counter settlementowner_Ekbatana 16
end_if
if I_SettlementOwner Ekbatana = numidia
set_counter settlementowner_Ekbatana 17
end_if
if I_SettlementOwner Ekbatana = saba
set_counter settlementowner_Ekbatana 18
end_if
if I_SettlementOwner Ekbatana = armenia
set_counter settlementowner_Ekbatana 19
end_if
if I_SettlementOwner Ekbatana = pontus
set_counter settlementowner_Ekbatana 20
end_if
if I_SettlementOwner Kallatis = slave
set_counter settlementowner_Kallatis 0
end_if
if I_SettlementOwner Kallatis = seleucid
set_counter settlementowner_Kallatis 1
end_if
if I_SettlementOwner Kallatis = thrace
set_counter settlementowner_Kallatis 2
end_if
if I_SettlementOwner Kallatis = greek_cities
set_counter settlementowner_Kallatis 3
end_if
if I_SettlementOwner Kallatis = carthage
set_counter settlementowner_Kallatis 4
end_if
if I_SettlementOwner Kallatis = romans_julii
set_counter settlementowner_Kallatis 5
end_if
if I_SettlementOwner Kallatis = romans_brutii
set_counter settlementowner_Kallatis 6
end_if
if I_SettlementOwner Kallatis = romans_scipii
set_counter settlementowner_Kallatis 7
end_if
if I_SettlementOwner Kallatis = macedon
set_counter settlementowner_Kallatis 8
end_if
if I_SettlementOwner Kallatis = gauls
set_counter settlementowner_Kallatis 9
end_if
if I_SettlementOwner Kallatis = germans
set_counter settlementowner_Kallatis 10
end_if
if I_SettlementOwner Kallatis = britons
set_counter settlementowner_Kallatis 11
end_if
if I_SettlementOwner Kallatis = spain
set_counter settlementowner_Kallatis 12
end_if
if I_SettlementOwner Kallatis = dacia
set_counter settlementowner_Kallatis 13
end_if
if I_SettlementOwner Kallatis = scythia
set_counter settlementowner_Kallatis 14
end_if
if I_SettlementOwner Kallatis = egypt
set_counter settlementowner_Kallatis 15
end_if
if I_SettlementOwner Kallatis = parthia
set_counter settlementowner_Kallatis 16
end_if
if I_SettlementOwner Kallatis = numidia
set_counter settlementowner_Kallatis 17
end_if
if I_SettlementOwner Kallatis = saba
set_counter settlementowner_Kallatis 18
end_if
if I_SettlementOwner Kallatis = armenia
set_counter settlementowner_Kallatis 19
end_if
if I_SettlementOwner Kallatis = pontus
set_counter settlementowner_Kallatis 20
end_if
if I_SettlementOwner Bibracte = slave
set_counter settlementowner_Bibracte 0
end_if
if I_SettlementOwner Bibracte = seleucid
set_counter settlementowner_Bibracte 1
end_if
if I_SettlementOwner Bibracte = thrace
set_counter settlementowner_Bibracte 2
end_if
if I_SettlementOwner Bibracte = greek_cities
set_counter settlementowner_Bibracte 3
end_if
if I_SettlementOwner Bibracte = carthage
set_counter settlementowner_Bibracte 4
end_if
if I_SettlementOwner Bibracte = romans_julii
set_counter settlementowner_Bibracte 5
end_if
if I_SettlementOwner Bibracte = romans_brutii
set_counter settlementowner_Bibracte 6
end_if
if I_SettlementOwner Bibracte = romans_scipii
set_counter settlementowner_Bibracte 7
end_if
if I_SettlementOwner Bibracte = macedon
set_counter settlementowner_Bibracte 8
end_if
if I_SettlementOwner Bibracte = gauls
set_counter settlementowner_Bibracte 9
end_if
if I_SettlementOwner Bibracte = germans
set_counter settlementowner_Bibracte 10
end_if
if I_SettlementOwner Bibracte = britons
set_counter settlementowner_Bibracte 11
end_if
if I_SettlementOwner Bibracte = spain
set_counter settlementowner_Bibracte 12
end_if
if I_SettlementOwner Bibracte = dacia
set_counter settlementowner_Bibracte 13
end_if
if I_SettlementOwner Bibracte = scythia
set_counter settlementowner_Bibracte 14
end_if
if I_SettlementOwner Bibracte = egypt
set_counter settlementowner_Bibracte 15
end_if
if I_SettlementOwner Bibracte = parthia
set_counter settlementowner_Bibracte 16
end_if
if I_SettlementOwner Bibracte = numidia
set_counter settlementowner_Bibracte 17
end_if
if I_SettlementOwner Bibracte = saba
set_counter settlementowner_Bibracte 18
end_if
if I_SettlementOwner Bibracte = armenia
set_counter settlementowner_Bibracte 19
end_if
if I_SettlementOwner Bibracte = pontus
set_counter settlementowner_Bibracte 20
end_if
if I_SettlementOwner Cenabum = slave
set_counter settlementowner_Cenabum 0
end_if
if I_SettlementOwner Cenabum = seleucid
set_counter settlementowner_Cenabum 1
end_if
if I_SettlementOwner Cenabum = thrace
set_counter settlementowner_Cenabum 2
end_if
if I_SettlementOwner Cenabum = greek_cities
set_counter settlementowner_Cenabum 3
end_if
if I_SettlementOwner Cenabum = carthage
set_counter settlementowner_Cenabum 4
end_if
if I_SettlementOwner Cenabum = romans_julii
set_counter settlementowner_Cenabum 5
end_if
if I_SettlementOwner Cenabum = romans_brutii
set_counter settlementowner_Cenabum 6
end_if
if I_SettlementOwner Cenabum = romans_scipii
set_counter settlementowner_Cenabum 7
end_if
if I_SettlementOwner Cenabum = macedon
set_counter settlementowner_Cenabum 8
end_if
if I_SettlementOwner Cenabum = gauls
set_counter settlementowner_Cenabum 9
end_if
if I_SettlementOwner Cenabum = germans
set_counter settlementowner_Cenabum 10
end_if
if I_SettlementOwner Cenabum = britons
set_counter settlementowner_Cenabum 11
end_if
if I_SettlementOwner Cenabum = spain
set_counter settlementowner_Cenabum 12
end_if
if I_SettlementOwner Cenabum = dacia
set_counter settlementowner_Cenabum 13
end_if
if I_SettlementOwner Cenabum = scythia
set_counter settlementowner_Cenabum 14
end_if
if I_SettlementOwner Cenabum = egypt
set_counter settlementowner_Cenabum 15
end_if
if I_SettlementOwner Cenabum = parthia
set_counter settlementowner_Cenabum 16
end_if
if I_SettlementOwner Cenabum = numidia
set_counter settlementowner_Cenabum 17
end_if
if I_SettlementOwner Cenabum = saba
set_counter settlementowner_Cenabum 18
end_if
if I_SettlementOwner Cenabum = armenia
set_counter settlementowner_Cenabum 19
end_if
if I_SettlementOwner Cenabum = pontus
set_counter settlementowner_Cenabum 20
end_if
if I_SettlementOwner Eburonum = slave
set_counter settlementowner_Eburonum 0
end_if
if I_SettlementOwner Eburonum = seleucid
set_counter settlementowner_Eburonum 1
end_if
if I_SettlementOwner Eburonum = thrace
set_counter settlementowner_Eburonum 2
end_if
if I_SettlementOwner Eburonum = greek_cities
set_counter settlementowner_Eburonum 3
end_if
if I_SettlementOwner Eburonum = carthage
set_counter settlementowner_Eburonum 4
end_if
if I_SettlementOwner Eburonum = romans_julii
set_counter settlementowner_Eburonum 5
end_if
if I_SettlementOwner Eburonum = romans_brutii
set_counter settlementowner_Eburonum 6
end_if
if I_SettlementOwner Eburonum = romans_scipii
set_counter settlementowner_Eburonum 7
end_if
if I_SettlementOwner Eburonum = macedon
set_counter settlementowner_Eburonum 8
end_if
if I_SettlementOwner Eburonum = gauls
set_counter settlementowner_Eburonum 9
end_if
if I_SettlementOwner Eburonum = germans
set_counter settlementowner_Eburonum 10
end_if
if I_SettlementOwner Eburonum = britons
set_counter settlementowner_Eburonum 11
end_if
if I_SettlementOwner Eburonum = spain
set_counter settlementowner_Eburonum 12
end_if
if I_SettlementOwner Eburonum = dacia
set_counter settlementowner_Eburonum 13
end_if
if I_SettlementOwner Eburonum = scythia
set_counter settlementowner_Eburonum 14
end_if
if I_SettlementOwner Eburonum = egypt
set_counter settlementowner_Eburonum 15
end_if
if I_SettlementOwner Eburonum = parthia
set_counter settlementowner_Eburonum 16
end_if
if I_SettlementOwner Eburonum = numidia
set_counter settlementowner_Eburonum 17
end_if
if I_SettlementOwner Eburonum = saba
set_counter settlementowner_Eburonum 18
end_if
if I_SettlementOwner Eburonum = armenia
set_counter settlementowner_Eburonum 19
end_if
if I_SettlementOwner Eburonum = pontus
set_counter settlementowner_Eburonum 20
end_if
if I_SettlementOwner Pergamon = slave
set_counter settlementowner_Pergamon 0
end_if
if I_SettlementOwner Pergamon = seleucid
set_counter settlementowner_Pergamon 1
end_if
if I_SettlementOwner Pergamon = thrace
set_counter settlementowner_Pergamon 2
end_if
if I_SettlementOwner Pergamon = greek_cities
set_counter settlementowner_Pergamon 3
end_if
if I_SettlementOwner Pergamon = carthage
set_counter settlementowner_Pergamon 4
end_if
if I_SettlementOwner Pergamon = romans_julii
set_counter settlementowner_Pergamon 5
end_if
if I_SettlementOwner Pergamon = romans_brutii
set_counter settlementowner_Pergamon 6
end_if
if I_SettlementOwner Pergamon = romans_scipii
set_counter settlementowner_Pergamon 7
end_if
if I_SettlementOwner Pergamon = macedon
set_counter settlementowner_Pergamon 8
end_if
if I_SettlementOwner Pergamon = gauls
set_counter settlementowner_Pergamon 9
end_if
if I_SettlementOwner Pergamon = germans
set_counter settlementowner_Pergamon 10
end_if
if I_SettlementOwner Pergamon = britons
set_counter settlementowner_Pergamon 11
end_if
if I_SettlementOwner Pergamon = spain
set_counter settlementowner_Pergamon 12
end_if
if I_SettlementOwner Pergamon = dacia
set_counter settlementowner_Pergamon 13
end_if
if I_SettlementOwner Pergamon = scythia
set_counter settlementowner_Pergamon 14
end_if
if I_SettlementOwner Pergamon = egypt
set_counter settlementowner_Pergamon 15
end_if
if I_SettlementOwner Pergamon = parthia
set_counter settlementowner_Pergamon 16
end_if
if I_SettlementOwner Pergamon = numidia
set_counter settlementowner_Pergamon 17
end_if
if I_SettlementOwner Pergamon = saba
set_counter settlementowner_Pergamon 18
end_if
if I_SettlementOwner Pergamon = armenia
set_counter settlementowner_Pergamon 19
end_if
if I_SettlementOwner Pergamon = pontus
set_counter settlementowner_Pergamon 20
end_if
if I_SettlementOwner Bostra = slave
set_counter settlementowner_Bostra 0
end_if
if I_SettlementOwner Bostra = seleucid
set_counter settlementowner_Bostra 1
end_if
if I_SettlementOwner Bostra = thrace
set_counter settlementowner_Bostra 2
end_if
if I_SettlementOwner Bostra = greek_cities
set_counter settlementowner_Bostra 3
end_if
if I_SettlementOwner Bostra = carthage
set_counter settlementowner_Bostra 4
end_if
if I_SettlementOwner Bostra = romans_julii
set_counter settlementowner_Bostra 5
end_if
if I_SettlementOwner Bostra = romans_brutii
set_counter settlementowner_Bostra 6
end_if
if I_SettlementOwner Bostra = romans_scipii
set_counter settlementowner_Bostra 7
end_if
if I_SettlementOwner Bostra = macedon
set_counter settlementowner_Bostra 8
end_if
if I_SettlementOwner Bostra = gauls
set_counter settlementowner_Bostra 9
end_if
if I_SettlementOwner Bostra = germans
set_counter settlementowner_Bostra 10
end_if
if I_SettlementOwner Bostra = britons
set_counter settlementowner_Bostra 11
end_if
if I_SettlementOwner Bostra = spain
set_counter settlementowner_Bostra 12
end_if
if I_SettlementOwner Bostra = dacia
set_counter settlementowner_Bostra 13
end_if
if I_SettlementOwner Bostra = scythia
set_counter settlementowner_Bostra 14
end_if
if I_SettlementOwner Bostra = egypt
set_counter settlementowner_Bostra 15
end_if
if I_SettlementOwner Bostra = parthia
set_counter settlementowner_Bostra 16
end_if
if I_SettlementOwner Bostra = numidia
set_counter settlementowner_Bostra 17
end_if
if I_SettlementOwner Bostra = saba
set_counter settlementowner_Bostra 18
end_if
if I_SettlementOwner Bostra = armenia
set_counter settlementowner_Bostra 19
end_if
if I_SettlementOwner Bostra = pontus
set_counter settlementowner_Bostra 20
end_if
if I_SettlementOwner Bagacos = slave
set_counter settlementowner_Bagacos 0
end_if
if I_SettlementOwner Bagacos = seleucid
set_counter settlementowner_Bagacos 1
end_if
if I_SettlementOwner Bagacos = thrace
set_counter settlementowner_Bagacos 2
end_if
if I_SettlementOwner Bagacos = greek_cities
set_counter settlementowner_Bagacos 3
end_if
if I_SettlementOwner Bagacos = carthage
set_counter settlementowner_Bagacos 4
end_if
if I_SettlementOwner Bagacos = romans_julii
set_counter settlementowner_Bagacos 5
end_if
if I_SettlementOwner Bagacos = romans_brutii
set_counter settlementowner_Bagacos 6
end_if
if I_SettlementOwner Bagacos = romans_scipii
set_counter settlementowner_Bagacos 7
end_if
if I_SettlementOwner Bagacos = macedon
set_counter settlementowner_Bagacos 8
end_if
if I_SettlementOwner Bagacos = gauls
set_counter settlementowner_Bagacos 9
end_if
if I_SettlementOwner Bagacos = germans
set_counter settlementowner_Bagacos 10
end_if
if I_SettlementOwner Bagacos = britons
set_counter settlementowner_Bagacos 11
end_if
if I_SettlementOwner Bagacos = spain
set_counter settlementowner_Bagacos 12
end_if
if I_SettlementOwner Bagacos = dacia
set_counter settlementowner_Bagacos 13
end_if
if I_SettlementOwner Bagacos = scythia
set_counter settlementowner_Bagacos 14
end_if
if I_SettlementOwner Bagacos = egypt
set_counter settlementowner_Bagacos 15
end_if
if I_SettlementOwner Bagacos = parthia
set_counter settlementowner_Bagacos 16
end_if
if I_SettlementOwner Bagacos = numidia
set_counter settlementowner_Bagacos 17
end_if
if I_SettlementOwner Bagacos = saba
set_counter settlementowner_Bagacos 18
end_if
if I_SettlementOwner Bagacos = armenia
set_counter settlementowner_Bagacos 19
end_if
if I_SettlementOwner Bagacos = pontus
set_counter settlementowner_Bagacos 20
end_if
if I_SettlementOwner Gordu_Neuriji = slave
set_counter settlementowner_Gordu_Neuriji 0
end_if
if I_SettlementOwner Gordu_Neuriji = seleucid
set_counter settlementowner_Gordu_Neuriji 1
end_if
if I_SettlementOwner Gordu_Neuriji = thrace
set_counter settlementowner_Gordu_Neuriji 2
end_if
if I_SettlementOwner Gordu_Neuriji = greek_cities
set_counter settlementowner_Gordu_Neuriji 3
end_if
if I_SettlementOwner Gordu_Neuriji = carthage
set_counter settlementowner_Gordu_Neuriji 4
end_if
if I_SettlementOwner Gordu_Neuriji = romans_julii
set_counter settlementowner_Gordu_Neuriji 5
end_if
if I_SettlementOwner Gordu_Neuriji = romans_brutii
set_counter settlementowner_Gordu_Neuriji 6
end_if
if I_SettlementOwner Gordu_Neuriji = romans_scipii
set_counter settlementowner_Gordu_Neuriji 7
end_if
if I_SettlementOwner Gordu_Neuriji = macedon
set_counter settlementowner_Gordu_Neuriji 8
end_if
if I_SettlementOwner Gordu_Neuriji = gauls
set_counter settlementowner_Gordu_Neuriji 9
end_if
if I_SettlementOwner Gordu_Neuriji = germans
set_counter settlementowner_Gordu_Neuriji 10
end_if
if I_SettlementOwner Gordu_Neuriji = britons
set_counter settlementowner_Gordu_Neuriji 11
end_if
if I_SettlementOwner Gordu_Neuriji = spain
set_counter settlementowner_Gordu_Neuriji 12
end_if
if I_SettlementOwner Gordu_Neuriji = dacia
set_counter settlementowner_Gordu_Neuriji 13
end_if
if I_SettlementOwner Gordu_Neuriji = scythia
set_counter settlementowner_Gordu_Neuriji 14
end_if
if I_SettlementOwner Gordu_Neuriji = egypt
set_counter settlementowner_Gordu_Neuriji 15
end_if
if I_SettlementOwner Gordu_Neuriji = parthia
set_counter settlementowner_Gordu_Neuriji 16
end_if
if I_SettlementOwner Gordu_Neuriji = numidia
set_counter settlementowner_Gordu_Neuriji 17
end_if
if I_SettlementOwner Gordu_Neuriji = saba
set_counter settlementowner_Gordu_Neuriji 18
end_if
if I_SettlementOwner Gordu_Neuriji = armenia
set_counter settlementowner_Gordu_Neuriji 19
end_if
if I_SettlementOwner Gordu_Neuriji = pontus
set_counter settlementowner_Gordu_Neuriji 20
end_if
if I_SettlementOwner Iuvavoaeta = slave
set_counter settlementowner_Iuvavoaeta 0
end_if
if I_SettlementOwner Iuvavoaeta = seleucid
set_counter settlementowner_Iuvavoaeta 1
end_if
if I_SettlementOwner Iuvavoaeta = thrace
set_counter settlementowner_Iuvavoaeta 2
end_if
if I_SettlementOwner Iuvavoaeta = greek_cities
set_counter settlementowner_Iuvavoaeta 3
end_if
if I_SettlementOwner Iuvavoaeta = carthage
set_counter settlementowner_Iuvavoaeta 4
end_if
if I_SettlementOwner Iuvavoaeta = romans_julii
set_counter settlementowner_Iuvavoaeta 5
end_if
if I_SettlementOwner Iuvavoaeta = romans_brutii
set_counter settlementowner_Iuvavoaeta 6
end_if
if I_SettlementOwner Iuvavoaeta = romans_scipii
set_counter settlementowner_Iuvavoaeta 7
end_if
if I_SettlementOwner Iuvavoaeta = macedon
set_counter settlementowner_Iuvavoaeta 8
end_if
if I_SettlementOwner Iuvavoaeta = gauls
set_counter settlementowner_Iuvavoaeta 9
end_if
if I_SettlementOwner Iuvavoaeta = germans
set_counter settlementowner_Iuvavoaeta 10
end_if
if I_SettlementOwner Iuvavoaeta = britons
set_counter settlementowner_Iuvavoaeta 11
end_if
if I_SettlementOwner Iuvavoaeta = spain
set_counter settlementowner_Iuvavoaeta 12
end_if
if I_SettlementOwner Iuvavoaeta = dacia
set_counter settlementowner_Iuvavoaeta 13
end_if
if I_SettlementOwner Iuvavoaeta = scythia
set_counter settlementowner_Iuvavoaeta 14
end_if
if I_SettlementOwner Iuvavoaeta = egypt
set_counter settlementowner_Iuvavoaeta 15
end_if
if I_SettlementOwner Iuvavoaeta = parthia
set_counter settlementowner_Iuvavoaeta 16
end_if
if I_SettlementOwner Iuvavoaeta = numidia
set_counter settlementowner_Iuvavoaeta 17
end_if
if I_SettlementOwner Iuvavoaeta = saba
set_counter settlementowner_Iuvavoaeta 18
end_if
if I_SettlementOwner Iuvavoaeta = armenia
set_counter settlementowner_Iuvavoaeta 19
end_if
if I_SettlementOwner Iuvavoaeta = pontus
set_counter settlementowner_Iuvavoaeta 20
end_if
if I_SettlementOwner Kirtan = slave
set_counter settlementowner_Kirtan 0
end_if
if I_SettlementOwner Kirtan = seleucid
set_counter settlementowner_Kirtan 1
end_if
if I_SettlementOwner Kirtan = thrace
set_counter settlementowner_Kirtan 2
end_if
if I_SettlementOwner Kirtan = greek_cities
set_counter settlementowner_Kirtan 3
end_if
if I_SettlementOwner Kirtan = carthage
set_counter settlementowner_Kirtan 4
end_if
if I_SettlementOwner Kirtan = romans_julii
set_counter settlementowner_Kirtan 5
end_if
if I_SettlementOwner Kirtan = romans_brutii
set_counter settlementowner_Kirtan 6
end_if
if I_SettlementOwner Kirtan = romans_scipii
set_counter settlementowner_Kirtan 7
end_if
if I_SettlementOwner Kirtan = macedon
set_counter settlementowner_Kirtan 8
end_if
if I_SettlementOwner Kirtan = gauls
set_counter settlementowner_Kirtan 9
end_if
if I_SettlementOwner Kirtan = germans
set_counter settlementowner_Kirtan 10
end_if
if I_SettlementOwner Kirtan = britons
set_counter settlementowner_Kirtan 11
end_if
if I_SettlementOwner Kirtan = spain
set_counter settlementowner_Kirtan 12
end_if
if I_SettlementOwner Kirtan = dacia
set_counter settlementowner_Kirtan 13
end_if
if I_SettlementOwner Kirtan = scythia
set_counter settlementowner_Kirtan 14
end_if
if I_SettlementOwner Kirtan = egypt
set_counter settlementowner_Kirtan 15
end_if
if I_SettlementOwner Kirtan = parthia
set_counter settlementowner_Kirtan 16
end_if
if I_SettlementOwner Kirtan = numidia
set_counter settlementowner_Kirtan 17
end_if
if I_SettlementOwner Kirtan = saba
set_counter settlementowner_Kirtan 18
end_if
if I_SettlementOwner Kirtan = armenia
set_counter settlementowner_Kirtan 19
end_if
if I_SettlementOwner Kirtan = pontus
set_counter settlementowner_Kirtan 20
end_if
if I_SettlementOwner Hibis = slave
set_counter settlementowner_Hibis 0
end_if
if I_SettlementOwner Hibis = seleucid
set_counter settlementowner_Hibis 1
end_if
if I_SettlementOwner Hibis = thrace
set_counter settlementowner_Hibis 2
end_if
if I_SettlementOwner Hibis = greek_cities
set_counter settlementowner_Hibis 3
end_if
if I_SettlementOwner Hibis = carthage
set_counter settlementowner_Hibis 4
end_if
if I_SettlementOwner Hibis = romans_julii
set_counter settlementowner_Hibis 5
end_if
if I_SettlementOwner Hibis = romans_brutii
set_counter settlementowner_Hibis 6
end_if
if I_SettlementOwner Hibis = romans_scipii
set_counter settlementowner_Hibis 7
end_if
if I_SettlementOwner Hibis = macedon
set_counter settlementowner_Hibis 8
end_if
if I_SettlementOwner Hibis = gauls
set_counter settlementowner_Hibis 9
end_if
if I_SettlementOwner Hibis = germans
set_counter settlementowner_Hibis 10
end_if
if I_SettlementOwner Hibis = britons
set_counter settlementowner_Hibis 11
end_if
if I_SettlementOwner Hibis = spain
set_counter settlementowner_Hibis 12
end_if
if I_SettlementOwner Hibis = dacia
set_counter settlementowner_Hibis 13
end_if
if I_SettlementOwner Hibis = scythia
set_counter settlementowner_Hibis 14
end_if
if I_SettlementOwner Hibis = egypt
set_counter settlementowner_Hibis 15
end_if
if I_SettlementOwner Hibis = parthia
set_counter settlementowner_Hibis 16
end_if
if I_SettlementOwner Hibis = numidia
set_counter settlementowner_Hibis 17
end_if
if I_SettlementOwner Hibis = saba
set_counter settlementowner_Hibis 18
end_if
if I_SettlementOwner Hibis = armenia
set_counter settlementowner_Hibis 19
end_if
if I_SettlementOwner Hibis = pontus
set_counter settlementowner_Hibis 20
end_if
if I_SettlementOwner Tylis = slave
set_counter settlementowner_Tylis 0
end_if
if I_SettlementOwner Tylis = seleucid
set_counter settlementowner_Tylis 1
end_if
if I_SettlementOwner Tylis = thrace
set_counter settlementowner_Tylis 2
end_if
if I_SettlementOwner Tylis = greek_cities
set_counter settlementowner_Tylis 3
end_if
if I_SettlementOwner Tylis = carthage
set_counter settlementowner_Tylis 4
end_if
if I_SettlementOwner Tylis = romans_julii
set_counter settlementowner_Tylis 5
end_if
if I_SettlementOwner Tylis = romans_brutii
set_counter settlementowner_Tylis 6
end_if
if I_SettlementOwner Tylis = romans_scipii
set_counter settlementowner_Tylis 7
end_if
if I_SettlementOwner Tylis = macedon
set_counter settlementowner_Tylis 8
end_if
if I_SettlementOwner Tylis = gauls
set_counter settlementowner_Tylis 9
end_if
if I_SettlementOwner Tylis = germans
set_counter settlementowner_Tylis 10
end_if
if I_SettlementOwner Tylis = britons
set_counter settlementowner_Tylis 11
end_if
if I_SettlementOwner Tylis = spain
set_counter settlementowner_Tylis 12
end_if
if I_SettlementOwner Tylis = dacia
set_counter settlementowner_Tylis 13
end_if
if I_SettlementOwner Tylis = scythia
set_counter settlementowner_Tylis 14
end_if
if I_SettlementOwner Tylis = egypt
set_counter settlementowner_Tylis 15
end_if
if I_SettlementOwner Tylis = parthia
set_counter settlementowner_Tylis 16
end_if
if I_SettlementOwner Tylis = numidia
set_counter settlementowner_Tylis 17
end_if
if I_SettlementOwner Tylis = saba
set_counter settlementowner_Tylis 18
end_if
if I_SettlementOwner Tylis = armenia
set_counter settlementowner_Tylis 19
end_if
if I_SettlementOwner Tylis = pontus
set_counter settlementowner_Tylis 20
end_if
if I_SettlementOwner Side = slave
set_counter settlementowner_Side 0
end_if
if I_SettlementOwner Side = seleucid
set_counter settlementowner_Side 1
end_if
if I_SettlementOwner Side = thrace
set_counter settlementowner_Side 2
end_if
if I_SettlementOwner Side = greek_cities
set_counter settlementowner_Side 3
end_if
if I_SettlementOwner Side = carthage
set_counter settlementowner_Side 4
end_if
if I_SettlementOwner Side = romans_julii
set_counter settlementowner_Side 5
end_if
if I_SettlementOwner Side = romans_brutii
set_counter settlementowner_Side 6
end_if
if I_SettlementOwner Side = romans_scipii
set_counter settlementowner_Side 7
end_if
if I_SettlementOwner Side = macedon
set_counter settlementowner_Side 8
end_if
if I_SettlementOwner Side = gauls
set_counter settlementowner_Side 9
end_if
if I_SettlementOwner Side = germans
set_counter settlementowner_Side 10
end_if
if I_SettlementOwner Side = britons
set_counter settlementowner_Side 11
end_if
if I_SettlementOwner Side = spain
set_counter settlementowner_Side 12
end_if
if I_SettlementOwner Side = dacia
set_counter settlementowner_Side 13
end_if
if I_SettlementOwner Side = scythia
set_counter settlementowner_Side 14
end_if
if I_SettlementOwner Side = egypt
set_counter settlementowner_Side 15
end_if
if I_SettlementOwner Side = parthia
set_counter settlementowner_Side 16
end_if
if I_SettlementOwner Side = numidia
set_counter settlementowner_Side 17
end_if
if I_SettlementOwner Side = saba
set_counter settlementowner_Side 18
end_if
if I_SettlementOwner Side = armenia
set_counter settlementowner_Side 19
end_if
if I_SettlementOwner Side = pontus
set_counter settlementowner_Side 20
end_if
if I_SettlementOwner Vindobona = slave
set_counter settlementowner_Vindobona 0
end_if
if I_SettlementOwner Vindobona = seleucid
set_counter settlementowner_Vindobona 1
end_if
if I_SettlementOwner Vindobona = thrace
set_counter settlementowner_Vindobona 2
end_if
if I_SettlementOwner Vindobona = greek_cities
set_counter settlementowner_Vindobona 3
end_if
if I_SettlementOwner Vindobona = carthage
set_counter settlementowner_Vindobona 4
end_if
if I_SettlementOwner Vindobona = romans_julii
set_counter settlementowner_Vindobona 5
end_if
if I_SettlementOwner Vindobona = romans_brutii
set_counter settlementowner_Vindobona 6
end_if
if I_SettlementOwner Vindobona = romans_scipii
set_counter settlementowner_Vindobona 7
end_if
if I_SettlementOwner Vindobona = macedon
set_counter settlementowner_Vindobona 8
end_if
if I_SettlementOwner Vindobona = gauls
set_counter settlementowner_Vindobona 9
end_if
if I_SettlementOwner Vindobona = germans
set_counter settlementowner_Vindobona 10
end_if
if I_SettlementOwner Vindobona = britons
set_counter settlementowner_Vindobona 11
end_if
if I_SettlementOwner Vindobona = spain
set_counter settlementowner_Vindobona 12
end_if
if I_SettlementOwner Vindobona = dacia
set_counter settlementowner_Vindobona 13
end_if
if I_SettlementOwner Vindobona = scythia
set_counter settlementowner_Vindobona 14
end_if
if I_SettlementOwner Vindobona = egypt
set_counter settlementowner_Vindobona 15
end_if
if I_SettlementOwner Vindobona = parthia
set_counter settlementowner_Vindobona 16
end_if
if I_SettlementOwner Vindobona = numidia
set_counter settlementowner_Vindobona 17
end_if
if I_SettlementOwner Vindobona = saba
set_counter settlementowner_Vindobona 18
end_if
if I_SettlementOwner Vindobona = armenia
set_counter settlementowner_Vindobona 19
end_if
if I_SettlementOwner Vindobona = pontus
set_counter settlementowner_Vindobona 20
end_if
if I_SettlementOwner Segestica = slave
set_counter settlementowner_Segestica 0
end_if
if I_SettlementOwner Segestica = seleucid
set_counter settlementowner_Segestica 1
end_if
if I_SettlementOwner Segestica = thrace
set_counter settlementowner_Segestica 2
end_if
if I_SettlementOwner Segestica = greek_cities
set_counter settlementowner_Segestica 3
end_if
if I_SettlementOwner Segestica = carthage
set_counter settlementowner_Segestica 4
end_if
if I_SettlementOwner Segestica = romans_julii
set_counter settlementowner_Segestica 5
end_if
if I_SettlementOwner Segestica = romans_brutii
set_counter settlementowner_Segestica 6
end_if
if I_SettlementOwner Segestica = romans_scipii
set_counter settlementowner_Segestica 7
end_if
if I_SettlementOwner Segestica = macedon
set_counter settlementowner_Segestica 8
end_if
if I_SettlementOwner Segestica = gauls
set_counter settlementowner_Segestica 9
end_if
if I_SettlementOwner Segestica = germans
set_counter settlementowner_Segestica 10
end_if
if I_SettlementOwner Segestica = britons
set_counter settlementowner_Segestica 11
end_if
if I_SettlementOwner Segestica = spain
set_counter settlementowner_Segestica 12
end_if
if I_SettlementOwner Segestica = dacia
set_counter settlementowner_Segestica 13
end_if
if I_SettlementOwner Segestica = scythia
set_counter settlementowner_Segestica 14
end_if
if I_SettlementOwner Segestica = egypt
set_counter settlementowner_Segestica 15
end_if
if I_SettlementOwner Segestica = parthia
set_counter settlementowner_Segestica 16
end_if
if I_SettlementOwner Segestica = numidia
set_counter settlementowner_Segestica 17
end_if
if I_SettlementOwner Segestica = saba
set_counter settlementowner_Segestica 18
end_if
if I_SettlementOwner Segestica = armenia
set_counter settlementowner_Segestica 19
end_if
if I_SettlementOwner Segestica = pontus
set_counter settlementowner_Segestica 20
end_if
if I_SettlementOwner Sinope = slave
set_counter settlementowner_Sinope 0
end_if
if I_SettlementOwner Sinope = seleucid
set_counter settlementowner_Sinope 1
end_if
if I_SettlementOwner Sinope = thrace
set_counter settlementowner_Sinope 2
end_if
if I_SettlementOwner Sinope = greek_cities
set_counter settlementowner_Sinope 3
end_if
if I_SettlementOwner Sinope = carthage
set_counter settlementowner_Sinope 4
end_if
if I_SettlementOwner Sinope = romans_julii
set_counter settlementowner_Sinope 5
end_if
if I_SettlementOwner Sinope = romans_brutii
set_counter settlementowner_Sinope 6
end_if
if I_SettlementOwner Sinope = romans_scipii
set_counter settlementowner_Sinope 7
end_if
if I_SettlementOwner Sinope = macedon
set_counter settlementowner_Sinope 8
end_if
if I_SettlementOwner Sinope = gauls
set_counter settlementowner_Sinope 9
end_if
if I_SettlementOwner Sinope = germans
set_counter settlementowner_Sinope 10
end_if
if I_SettlementOwner Sinope = britons
set_counter settlementowner_Sinope 11
end_if
if I_SettlementOwner Sinope = spain
set_counter settlementowner_Sinope 12
end_if
if I_SettlementOwner Sinope = dacia
set_counter settlementowner_Sinope 13
end_if
if I_SettlementOwner Sinope = scythia
set_counter settlementowner_Sinope 14
end_if
if I_SettlementOwner Sinope = egypt
set_counter settlementowner_Sinope 15
end_if
if I_SettlementOwner Sinope = parthia
set_counter settlementowner_Sinope 16
end_if
if I_SettlementOwner Sinope = numidia
set_counter settlementowner_Sinope 17
end_if
if I_SettlementOwner Sinope = saba
set_counter settlementowner_Sinope 18
end_if
if I_SettlementOwner Sinope = armenia
set_counter settlementowner_Sinope 19
end_if
if I_SettlementOwner Sinope = pontus
set_counter settlementowner_Sinope 20
end_if
if I_SettlementOwner Kophen = slave
set_counter settlementowner_Kophen 0
end_if
if I_SettlementOwner Kophen = seleucid
set_counter settlementowner_Kophen 1
end_if
if I_SettlementOwner Kophen = thrace
set_counter settlementowner_Kophen 2
end_if
if I_SettlementOwner Kophen = greek_cities
set_counter settlementowner_Kophen 3
end_if
if I_SettlementOwner Kophen = carthage
set_counter settlementowner_Kophen 4
end_if
if I_SettlementOwner Kophen = romans_julii
set_counter settlementowner_Kophen 5
end_if
if I_SettlementOwner Kophen = romans_brutii
set_counter settlementowner_Kophen 6
end_if
if I_SettlementOwner Kophen = romans_scipii
set_counter settlementowner_Kophen 7
end_if
if I_SettlementOwner Kophen = macedon
set_counter settlementowner_Kophen 8
end_if
if I_SettlementOwner Kophen = gauls
set_counter settlementowner_Kophen 9
end_if
if I_SettlementOwner Kophen = germans
set_counter settlementowner_Kophen 10
end_if
if I_SettlementOwner Kophen = britons
set_counter settlementowner_Kophen 11
end_if
if I_SettlementOwner Kophen = spain
set_counter settlementowner_Kophen 12
end_if
if I_SettlementOwner Kophen = dacia
set_counter settlementowner_Kophen 13
end_if
if I_SettlementOwner Kophen = scythia
set_counter settlementowner_Kophen 14
end_if
if I_SettlementOwner Kophen = egypt
set_counter settlementowner_Kophen 15
end_if
if I_SettlementOwner Kophen = parthia
set_counter settlementowner_Kophen 16
end_if
if I_SettlementOwner Kophen = numidia
set_counter settlementowner_Kophen 17
end_if
if I_SettlementOwner Kophen = saba
set_counter settlementowner_Kophen 18
end_if
if I_SettlementOwner Kophen = armenia
set_counter settlementowner_Kophen 19
end_if
if I_SettlementOwner Kophen = pontus
set_counter settlementowner_Kophen 20
end_if
if I_SettlementOwner Hekatompylos = slave
set_counter settlementowner_Hekatompylos 0
end_if
if I_SettlementOwner Hekatompylos = seleucid
set_counter settlementowner_Hekatompylos 1
end_if
if I_SettlementOwner Hekatompylos = thrace
set_counter settlementowner_Hekatompylos 2
end_if
if I_SettlementOwner Hekatompylos = greek_cities
set_counter settlementowner_Hekatompylos 3
end_if
if I_SettlementOwner Hekatompylos = carthage
set_counter settlementowner_Hekatompylos 4
end_if
if I_SettlementOwner Hekatompylos = romans_julii
set_counter settlementowner_Hekatompylos 5
end_if
if I_SettlementOwner Hekatompylos = romans_brutii
set_counter settlementowner_Hekatompylos 6
end_if
if I_SettlementOwner Hekatompylos = romans_scipii
set_counter settlementowner_Hekatompylos 7
end_if
if I_SettlementOwner Hekatompylos = macedon
set_counter settlementowner_Hekatompylos 8
end_if
if I_SettlementOwner Hekatompylos = gauls
set_counter settlementowner_Hekatompylos 9
end_if
if I_SettlementOwner Hekatompylos = germans
set_counter settlementowner_Hekatompylos 10
end_if
if I_SettlementOwner Hekatompylos = britons
set_counter settlementowner_Hekatompylos 11
end_if
if I_SettlementOwner Hekatompylos = spain
set_counter settlementowner_Hekatompylos 12
end_if
if I_SettlementOwner Hekatompylos = dacia
set_counter settlementowner_Hekatompylos 13
end_if
if I_SettlementOwner Hekatompylos = scythia
set_counter settlementowner_Hekatompylos 14
end_if
if I_SettlementOwner Hekatompylos = egypt
set_counter settlementowner_Hekatompylos 15
end_if
if I_SettlementOwner Hekatompylos = parthia
set_counter settlementowner_Hekatompylos 16
end_if
if I_SettlementOwner Hekatompylos = numidia
set_counter settlementowner_Hekatompylos 17
end_if
if I_SettlementOwner Hekatompylos = saba
set_counter settlementowner_Hekatompylos 18
end_if
if I_SettlementOwner Hekatompylos = armenia
set_counter settlementowner_Hekatompylos 19
end_if
if I_SettlementOwner Hekatompylos = pontus
set_counter settlementowner_Hekatompylos 20
end_if
if I_SettlementOwner Korinthos = slave
set_counter settlementowner_Korinthos 0
end_if
if I_SettlementOwner Korinthos = seleucid
set_counter settlementowner_Korinthos 1
end_if
if I_SettlementOwner Korinthos = thrace
set_counter settlementowner_Korinthos 2
end_if
if I_SettlementOwner Korinthos = greek_cities
set_counter settlementowner_Korinthos 3
end_if
if I_SettlementOwner Korinthos = carthage
set_counter settlementowner_Korinthos 4
end_if
if I_SettlementOwner Korinthos = romans_julii
set_counter settlementowner_Korinthos 5
end_if
if I_SettlementOwner Korinthos = romans_brutii
set_counter settlementowner_Korinthos 6
end_if
if I_SettlementOwner Korinthos = romans_scipii
set_counter settlementowner_Korinthos 7
end_if
if I_SettlementOwner Korinthos = macedon
set_counter settlementowner_Korinthos 8
end_if
if I_SettlementOwner Korinthos = gauls
set_counter settlementowner_Korinthos 9
end_if
if I_SettlementOwner Korinthos = germans
set_counter settlementowner_Korinthos 10
end_if
if I_SettlementOwner Korinthos = britons
set_counter settlementowner_Korinthos 11
end_if
if I_SettlementOwner Korinthos = spain
set_counter settlementowner_Korinthos 12
end_if
if I_SettlementOwner Korinthos = dacia
set_counter settlementowner_Korinthos 13
end_if
if I_SettlementOwner Korinthos = scythia
set_counter settlementowner_Korinthos 14
end_if
if I_SettlementOwner Korinthos = egypt
set_counter settlementowner_Korinthos 15
end_if
if I_SettlementOwner Korinthos = parthia
set_counter settlementowner_Korinthos 16
end_if
if I_SettlementOwner Korinthos = numidia
set_counter settlementowner_Korinthos 17
end_if
if I_SettlementOwner Korinthos = saba
set_counter settlementowner_Korinthos 18
end_if
if I_SettlementOwner Korinthos = armenia
set_counter settlementowner_Korinthos 19
end_if
if I_SettlementOwner Korinthos = pontus
set_counter settlementowner_Korinthos 20
end_if
if I_SettlementOwner Persepolis = slave
set_counter settlementowner_Persepolis 0
end_if
if I_SettlementOwner Persepolis = seleucid
set_counter settlementowner_Persepolis 1
end_if
if I_SettlementOwner Persepolis = thrace
set_counter settlementowner_Persepolis 2
end_if
if I_SettlementOwner Persepolis = greek_cities
set_counter settlementowner_Persepolis 3
end_if
if I_SettlementOwner Persepolis = carthage
set_counter settlementowner_Persepolis 4
end_if
if I_SettlementOwner Persepolis = romans_julii
set_counter settlementowner_Persepolis 5
end_if
if I_SettlementOwner Persepolis = romans_brutii
set_counter settlementowner_Persepolis 6
end_if
if I_SettlementOwner Persepolis = romans_scipii
set_counter settlementowner_Persepolis 7
end_if
if I_SettlementOwner Persepolis = macedon
set_counter settlementowner_Persepolis 8
end_if
if I_SettlementOwner Persepolis = gauls
set_counter settlementowner_Persepolis 9
end_if
if I_SettlementOwner Persepolis = germans
set_counter settlementowner_Persepolis 10
end_if
if I_SettlementOwner Persepolis = britons
set_counter settlementowner_Persepolis 11
end_if
if I_SettlementOwner Persepolis = spain
set_counter settlementowner_Persepolis 12
end_if
if I_SettlementOwner Persepolis = dacia
set_counter settlementowner_Persepolis 13
end_if
if I_SettlementOwner Persepolis = scythia
set_counter settlementowner_Persepolis 14
end_if
if I_SettlementOwner Persepolis = egypt
set_counter settlementowner_Persepolis 15
end_if
if I_SettlementOwner Persepolis = parthia
set_counter settlementowner_Persepolis 16
end_if
if I_SettlementOwner Persepolis = numidia
set_counter settlementowner_Persepolis 17
end_if
if I_SettlementOwner Persepolis = saba
set_counter settlementowner_Persepolis 18
end_if
if I_SettlementOwner Persepolis = armenia
set_counter settlementowner_Persepolis 19
end_if
if I_SettlementOwner Persepolis = pontus
set_counter settlementowner_Persepolis 20
end_if
if I_SettlementOwner Garama = slave
set_counter settlementowner_Garama 0
end_if
if I_SettlementOwner Garama = seleucid
set_counter settlementowner_Garama 1
end_if
if I_SettlementOwner Garama = thrace
set_counter settlementowner_Garama 2
end_if
if I_SettlementOwner Garama = greek_cities
set_counter settlementowner_Garama 3
end_if
if I_SettlementOwner Garama = carthage
set_counter settlementowner_Garama 4
end_if
if I_SettlementOwner Garama = romans_julii
set_counter settlementowner_Garama 5
end_if
if I_SettlementOwner Garama = romans_brutii
set_counter settlementowner_Garama 6
end_if
if I_SettlementOwner Garama = romans_scipii
set_counter settlementowner_Garama 7
end_if
if I_SettlementOwner Garama = macedon
set_counter settlementowner_Garama 8
end_if
if I_SettlementOwner Garama = gauls
set_counter settlementowner_Garama 9
end_if
if I_SettlementOwner Garama = germans
set_counter settlementowner_Garama 10
end_if
if I_SettlementOwner Garama = britons
set_counter settlementowner_Garama 11
end_if
if I_SettlementOwner Garama = spain
set_counter settlementowner_Garama 12
end_if
if I_SettlementOwner Garama = dacia
set_counter settlementowner_Garama 13
end_if
if I_SettlementOwner Garama = scythia
set_counter settlementowner_Garama 14
end_if
if I_SettlementOwner Garama = egypt
set_counter settlementowner_Garama 15
end_if
if I_SettlementOwner Garama = parthia
set_counter settlementowner_Garama 16
end_if
if I_SettlementOwner Garama = numidia
set_counter settlementowner_Garama 17
end_if
if I_SettlementOwner Garama = saba
set_counter settlementowner_Garama 18
end_if
if I_SettlementOwner Garama = armenia
set_counter settlementowner_Garama 19
end_if
if I_SettlementOwner Garama = pontus
set_counter settlementowner_Garama 20
end_if
if I_SettlementOwner Sidon = slave
set_counter settlementowner_Sidon 0
end_if
if I_SettlementOwner Sidon = seleucid
set_counter settlementowner_Sidon 1
end_if
if I_SettlementOwner Sidon = thrace
set_counter settlementowner_Sidon 2
end_if
if I_SettlementOwner Sidon = greek_cities
set_counter settlementowner_Sidon 3
end_if
if I_SettlementOwner Sidon = carthage
set_counter settlementowner_Sidon 4
end_if
if I_SettlementOwner Sidon = romans_julii
set_counter settlementowner_Sidon 5
end_if
if I_SettlementOwner Sidon = romans_brutii
set_counter settlementowner_Sidon 6
end_if
if I_SettlementOwner Sidon = romans_scipii
set_counter settlementowner_Sidon 7
end_if
if I_SettlementOwner Sidon = macedon
set_counter settlementowner_Sidon 8
end_if
if I_SettlementOwner Sidon = gauls
set_counter settlementowner_Sidon 9
end_if
if I_SettlementOwner Sidon = germans
set_counter settlementowner_Sidon 10
end_if
if I_SettlementOwner Sidon = britons
set_counter settlementowner_Sidon 11
end_if
if I_SettlementOwner Sidon = spain
set_counter settlementowner_Sidon 12
end_if
if I_SettlementOwner Sidon = dacia
set_counter settlementowner_Sidon 13
end_if
if I_SettlementOwner Sidon = scythia
set_counter settlementowner_Sidon 14
end_if
if I_SettlementOwner Sidon = egypt
set_counter settlementowner_Sidon 15
end_if
if I_SettlementOwner Sidon = parthia
set_counter settlementowner_Sidon 16
end_if
if I_SettlementOwner Sidon = numidia
set_counter settlementowner_Sidon 17
end_if
if I_SettlementOwner Sidon = saba
set_counter settlementowner_Sidon 18
end_if
if I_SettlementOwner Sidon = armenia
set_counter settlementowner_Sidon 19
end_if
if I_SettlementOwner Sidon = pontus
set_counter settlementowner_Sidon 20
end_if
if I_SettlementOwner Ipsos = slave
set_counter settlementowner_Ipsos 0
end_if
if I_SettlementOwner Ipsos = seleucid
set_counter settlementowner_Ipsos 1
end_if
if I_SettlementOwner Ipsos = thrace
set_counter settlementowner_Ipsos 2
end_if
if I_SettlementOwner Ipsos = greek_cities
set_counter settlementowner_Ipsos 3
end_if
if I_SettlementOwner Ipsos = carthage
set_counter settlementowner_Ipsos 4
end_if
if I_SettlementOwner Ipsos = romans_julii
set_counter settlementowner_Ipsos 5
end_if
if I_SettlementOwner Ipsos = romans_brutii
set_counter settlementowner_Ipsos 6
end_if
if I_SettlementOwner Ipsos = romans_scipii
set_counter settlementowner_Ipsos 7
end_if
if I_SettlementOwner Ipsos = macedon
set_counter settlementowner_Ipsos 8
end_if
if I_SettlementOwner Ipsos = gauls
set_counter settlementowner_Ipsos 9
end_if
if I_SettlementOwner Ipsos = germans
set_counter settlementowner_Ipsos 10
end_if
if I_SettlementOwner Ipsos = britons
set_counter settlementowner_Ipsos 11
end_if
if I_SettlementOwner Ipsos = spain
set_counter settlementowner_Ipsos 12
end_if
if I_SettlementOwner Ipsos = dacia
set_counter settlementowner_Ipsos 13
end_if
if I_SettlementOwner Ipsos = scythia
set_counter settlementowner_Ipsos 14
end_if
if I_SettlementOwner Ipsos = egypt
set_counter settlementowner_Ipsos 15
end_if
if I_SettlementOwner Ipsos = parthia
set_counter settlementowner_Ipsos 16
end_if
if I_SettlementOwner Ipsos = numidia
set_counter settlementowner_Ipsos 17
end_if
if I_SettlementOwner Ipsos = saba
set_counter settlementowner_Ipsos 18
end_if
if I_SettlementOwner Ipsos = armenia
set_counter settlementowner_Ipsos 19
end_if
if I_SettlementOwner Ipsos = pontus
set_counter settlementowner_Ipsos 20
end_if
if I_SettlementOwner Ani-Kamah = slave
set_counter settlementowner_Ani-Kamah 0
end_if
if I_SettlementOwner Ani-Kamah = seleucid
set_counter settlementowner_Ani-Kamah 1
end_if
if I_SettlementOwner Ani-Kamah = thrace
set_counter settlementowner_Ani-Kamah 2
end_if
if I_SettlementOwner Ani-Kamah = greek_cities
set_counter settlementowner_Ani-Kamah 3
end_if
if I_SettlementOwner Ani-Kamah = carthage
set_counter settlementowner_Ani-Kamah 4
end_if
if I_SettlementOwner Ani-Kamah = romans_julii
set_counter settlementowner_Ani-Kamah 5
end_if
if I_SettlementOwner Ani-Kamah = romans_brutii
set_counter settlementowner_Ani-Kamah 6
end_if
if I_SettlementOwner Ani-Kamah = romans_scipii
set_counter settlementowner_Ani-Kamah 7
end_if
if I_SettlementOwner Ani-Kamah = macedon
set_counter settlementowner_Ani-Kamah 8
end_if
if I_SettlementOwner Ani-Kamah = gauls
set_counter settlementowner_Ani-Kamah 9
end_if
if I_SettlementOwner Ani-Kamah = germans
set_counter settlementowner_Ani-Kamah 10
end_if
if I_SettlementOwner Ani-Kamah = britons
set_counter settlementowner_Ani-Kamah 11
end_if
if I_SettlementOwner Ani-Kamah = spain
set_counter settlementowner_Ani-Kamah 12
end_if
if I_SettlementOwner Ani-Kamah = dacia
set_counter settlementowner_Ani-Kamah 13
end_if
if I_SettlementOwner Ani-Kamah = scythia
set_counter settlementowner_Ani-Kamah 14
end_if
if I_SettlementOwner Ani-Kamah = egypt
set_counter settlementowner_Ani-Kamah 15
end_if
if I_SettlementOwner Ani-Kamah = parthia
set_counter settlementowner_Ani-Kamah 16
end_if
if I_SettlementOwner Ani-Kamah = numidia
set_counter settlementowner_Ani-Kamah 17
end_if
if I_SettlementOwner Ani-Kamah = saba
set_counter settlementowner_Ani-Kamah 18
end_if
if I_SettlementOwner Ani-Kamah = armenia
set_counter settlementowner_Ani-Kamah 19
end_if
if I_SettlementOwner Ani-Kamah = pontus
set_counter settlementowner_Ani-Kamah 20
end_if
if I_SettlementOwner Trapezous = slave
set_counter settlementowner_Trapezous 0
end_if
if I_SettlementOwner Trapezous = seleucid
set_counter settlementowner_Trapezous 1
end_if
if I_SettlementOwner Trapezous = thrace
set_counter settlementowner_Trapezous 2
end_if
if I_SettlementOwner Trapezous = greek_cities
set_counter settlementowner_Trapezous 3
end_if
if I_SettlementOwner Trapezous = carthage
set_counter settlementowner_Trapezous 4
end_if
if I_SettlementOwner Trapezous = romans_julii
set_counter settlementowner_Trapezous 5
end_if
if I_SettlementOwner Trapezous = romans_brutii
set_counter settlementowner_Trapezous 6
end_if
if I_SettlementOwner Trapezous = romans_scipii
set_counter settlementowner_Trapezous 7
end_if
if I_SettlementOwner Trapezous = macedon
set_counter settlementowner_Trapezous 8
end_if
if I_SettlementOwner Trapezous = gauls
set_counter settlementowner_Trapezous 9
end_if
if I_SettlementOwner Trapezous = germans
set_counter settlementowner_Trapezous 10
end_if
if I_SettlementOwner Trapezous = britons
set_counter settlementowner_Trapezous 11
end_if
if I_SettlementOwner Trapezous = spain
set_counter settlementowner_Trapezous 12
end_if
if I_SettlementOwner Trapezous = dacia
set_counter settlementowner_Trapezous 13
end_if
if I_SettlementOwner Trapezous = scythia
set_counter settlementowner_Trapezous 14
end_if
if I_SettlementOwner Trapezous = egypt
set_counter settlementowner_Trapezous 15
end_if
if I_SettlementOwner Trapezous = parthia
set_counter settlementowner_Trapezous 16
end_if
if I_SettlementOwner Trapezous = numidia
set_counter settlementowner_Trapezous 17
end_if
if I_SettlementOwner Trapezous = saba
set_counter settlementowner_Trapezous 18
end_if
if I_SettlementOwner Trapezous = armenia
set_counter settlementowner_Trapezous 19
end_if
if I_SettlementOwner Trapezous = pontus
set_counter settlementowner_Trapezous 20
end_if
if I_SettlementOwner Tamane = slave
set_counter settlementowner_Tamane 0
end_if
if I_SettlementOwner Tamane = seleucid
set_counter settlementowner_Tamane 1
end_if
if I_SettlementOwner Tamane = thrace
set_counter settlementowner_Tamane 2
end_if
if I_SettlementOwner Tamane = greek_cities
set_counter settlementowner_Tamane 3
end_if
if I_SettlementOwner Tamane = carthage
set_counter settlementowner_Tamane 4
end_if
if I_SettlementOwner Tamane = romans_julii
set_counter settlementowner_Tamane 5
end_if
if I_SettlementOwner Tamane = romans_brutii
set_counter settlementowner_Tamane 6
end_if
if I_SettlementOwner Tamane = romans_scipii
set_counter settlementowner_Tamane 7
end_if
if I_SettlementOwner Tamane = macedon
set_counter settlementowner_Tamane 8
end_if
if I_SettlementOwner Tamane = gauls
set_counter settlementowner_Tamane 9
end_if
if I_SettlementOwner Tamane = germans
set_counter settlementowner_Tamane 10
end_if
if I_SettlementOwner Tamane = britons
set_counter settlementowner_Tamane 11
end_if
if I_SettlementOwner Tamane = spain
set_counter settlementowner_Tamane 12
end_if
if I_SettlementOwner Tamane = dacia
set_counter settlementowner_Tamane 13
end_if
if I_SettlementOwner Tamane = scythia
set_counter settlementowner_Tamane 14
end_if
if I_SettlementOwner Tamane = egypt
set_counter settlementowner_Tamane 15
end_if
if I_SettlementOwner Tamane = parthia
set_counter settlementowner_Tamane 16
end_if
if I_SettlementOwner Tamane = numidia
set_counter settlementowner_Tamane 17
end_if
if I_SettlementOwner Tamane = saba
set_counter settlementowner_Tamane 18
end_if
if I_SettlementOwner Tamane = armenia
set_counter settlementowner_Tamane 19
end_if
if I_SettlementOwner Tamane = pontus
set_counter settlementowner_Tamane 20
end_if
if I_SettlementOwner Veldideno = slave
set_counter settlementowner_Veldideno 0
end_if
if I_SettlementOwner Veldideno = seleucid
set_counter settlementowner_Veldideno 1
end_if
if I_SettlementOwner Veldideno = thrace
set_counter settlementowner_Veldideno 2
end_if
if I_SettlementOwner Veldideno = greek_cities
set_counter settlementowner_Veldideno 3
end_if
if I_SettlementOwner Veldideno = carthage
set_counter settlementowner_Veldideno 4
end_if
if I_SettlementOwner Veldideno = romans_julii
set_counter settlementowner_Veldideno 5
end_if
if I_SettlementOwner Veldideno = romans_brutii
set_counter settlementowner_Veldideno 6
end_if
if I_SettlementOwner Veldideno = romans_scipii
set_counter settlementowner_Veldideno 7
end_if
if I_SettlementOwner Veldideno = macedon
set_counter settlementowner_Veldideno 8
end_if
if I_SettlementOwner Veldideno = gauls
set_counter settlementowner_Veldideno 9
end_if
if I_SettlementOwner Veldideno = germans
set_counter settlementowner_Veldideno 10
end_if
if I_SettlementOwner Veldideno = britons
set_counter settlementowner_Veldideno 11
end_if
if I_SettlementOwner Veldideno = spain
set_counter settlementowner_Veldideno 12
end_if
if I_SettlementOwner Veldideno = dacia
set_counter settlementowner_Veldideno 13
end_if
if I_SettlementOwner Veldideno = scythia
set_counter settlementowner_Veldideno 14
end_if
if I_SettlementOwner Veldideno = egypt
set_counter settlementowner_Veldideno 15
end_if
if I_SettlementOwner Veldideno = parthia
set_counter settlementowner_Veldideno 16
end_if
if I_SettlementOwner Veldideno = numidia
set_counter settlementowner_Veldideno 17
end_if
if I_SettlementOwner Veldideno = saba
set_counter settlementowner_Veldideno 18
end_if
if I_SettlementOwner Veldideno = armenia
set_counter settlementowner_Veldideno 19
end_if
if I_SettlementOwner Veldideno = pontus
set_counter settlementowner_Veldideno 20
end_if
if I_SettlementOwner Rhodos = slave
set_counter settlementowner_Rhodos 0
end_if
if I_SettlementOwner Rhodos = seleucid
set_counter settlementowner_Rhodos 1
end_if
if I_SettlementOwner Rhodos = thrace
set_counter settlementowner_Rhodos 2
end_if
if I_SettlementOwner Rhodos = greek_cities
set_counter settlementowner_Rhodos 3
end_if
if I_SettlementOwner Rhodos = carthage
set_counter settlementowner_Rhodos 4
end_if
if I_SettlementOwner Rhodos = romans_julii
set_counter settlementowner_Rhodos 5
end_if
if I_SettlementOwner Rhodos = romans_brutii
set_counter settlementowner_Rhodos 6
end_if
if I_SettlementOwner Rhodos = romans_scipii
set_counter settlementowner_Rhodos 7
end_if
if I_SettlementOwner Rhodos = macedon
set_counter settlementowner_Rhodos 8
end_if
if I_SettlementOwner Rhodos = gauls
set_counter settlementowner_Rhodos 9
end_if
if I_SettlementOwner Rhodos = germans
set_counter settlementowner_Rhodos 10
end_if
if I_SettlementOwner Rhodos = britons
set_counter settlementowner_Rhodos 11
end_if
if I_SettlementOwner Rhodos = spain
set_counter settlementowner_Rhodos 12
end_if
if I_SettlementOwner Rhodos = dacia
set_counter settlementowner_Rhodos 13
end_if
if I_SettlementOwner Rhodos = scythia
set_counter settlementowner_Rhodos 14
end_if
if I_SettlementOwner Rhodos = egypt
set_counter settlementowner_Rhodos 15
end_if
if I_SettlementOwner Rhodos = parthia
set_counter settlementowner_Rhodos 16
end_if
if I_SettlementOwner Rhodos = numidia
set_counter settlementowner_Rhodos 17
end_if
if I_SettlementOwner Rhodos = saba
set_counter settlementowner_Rhodos 18
end_if
if I_SettlementOwner Rhodos = armenia
set_counter settlementowner_Rhodos 19
end_if
if I_SettlementOwner Rhodos = pontus
set_counter settlementowner_Rhodos 20
end_if
if I_SettlementOwner Gawjam_Rugoz = slave
set_counter settlementowner_Gawjam_Rugoz 0
end_if
if I_SettlementOwner Gawjam_Rugoz = seleucid
set_counter settlementowner_Gawjam_Rugoz 1
end_if
if I_SettlementOwner Gawjam_Rugoz = thrace
set_counter settlementowner_Gawjam_Rugoz 2
end_if
if I_SettlementOwner Gawjam_Rugoz = greek_cities
set_counter settlementowner_Gawjam_Rugoz 3
end_if
if I_SettlementOwner Gawjam_Rugoz = carthage
set_counter settlementowner_Gawjam_Rugoz 4
end_if
if I_SettlementOwner Gawjam_Rugoz = romans_julii
set_counter settlementowner_Gawjam_Rugoz 5
end_if
if I_SettlementOwner Gawjam_Rugoz = romans_brutii
set_counter settlementowner_Gawjam_Rugoz 6
end_if
if I_SettlementOwner Gawjam_Rugoz = romans_scipii
set_counter settlementowner_Gawjam_Rugoz 7
end_if
if I_SettlementOwner Gawjam_Rugoz = macedon
set_counter settlementowner_Gawjam_Rugoz 8
end_if
if I_SettlementOwner Gawjam_Rugoz = gauls
set_counter settlementowner_Gawjam_Rugoz 9
end_if
if I_SettlementOwner Gawjam_Rugoz = germans
set_counter settlementowner_Gawjam_Rugoz 10
end_if
if I_SettlementOwner Gawjam_Rugoz = britons
set_counter settlementowner_Gawjam_Rugoz 11
end_if
if I_SettlementOwner Gawjam_Rugoz = spain
set_counter settlementowner_Gawjam_Rugoz 12
end_if
if I_SettlementOwner Gawjam_Rugoz = dacia
set_counter settlementowner_Gawjam_Rugoz 13
end_if
if I_SettlementOwner Gawjam_Rugoz = scythia
set_counter settlementowner_Gawjam_Rugoz 14
end_if
if I_SettlementOwner Gawjam_Rugoz = egypt
set_counter settlementowner_Gawjam_Rugoz 15
end_if
if I_SettlementOwner Gawjam_Rugoz = parthia
set_counter settlementowner_Gawjam_Rugoz 16
end_if
if I_SettlementOwner Gawjam_Rugoz = numidia
set_counter settlementowner_Gawjam_Rugoz 17
end_if
if I_SettlementOwner Gawjam_Rugoz = saba
set_counter settlementowner_Gawjam_Rugoz 18
end_if
if I_SettlementOwner Gawjam_Rugoz = armenia
set_counter settlementowner_Gawjam_Rugoz 19
end_if
if I_SettlementOwner Gawjam_Rugoz = pontus
set_counter settlementowner_Gawjam_Rugoz 20
end_if
if I_SettlementOwner Maryab = slave
set_counter settlementowner_Maryab 0
end_if
if I_SettlementOwner Maryab = seleucid
set_counter settlementowner_Maryab 1
end_if
if I_SettlementOwner Maryab = thrace
set_counter settlementowner_Maryab 2
end_if
if I_SettlementOwner Maryab = greek_cities
set_counter settlementowner_Maryab 3
end_if
if I_SettlementOwner Maryab = carthage
set_counter settlementowner_Maryab 4
end_if
if I_SettlementOwner Maryab = romans_julii
set_counter settlementowner_Maryab 5
end_if
if I_SettlementOwner Maryab = romans_brutii
set_counter settlementowner_Maryab 6
end_if
if I_SettlementOwner Maryab = romans_scipii
set_counter settlementowner_Maryab 7
end_if
if I_SettlementOwner Maryab = macedon
set_counter settlementowner_Maryab 8
end_if
if I_SettlementOwner Maryab = gauls
set_counter settlementowner_Maryab 9
end_if
if I_SettlementOwner Maryab = germans
set_counter settlementowner_Maryab 10
end_if
if I_SettlementOwner Maryab = britons
set_counter settlementowner_Maryab 11
end_if
if I_SettlementOwner Maryab = spain
set_counter settlementowner_Maryab 12
end_if
if I_SettlementOwner Maryab = dacia
set_counter settlementowner_Maryab 13
end_if
if I_SettlementOwner Maryab = scythia
set_counter settlementowner_Maryab 14
end_if
if I_SettlementOwner Maryab = egypt
set_counter settlementowner_Maryab 15
end_if
if I_SettlementOwner Maryab = parthia
set_counter settlementowner_Maryab 16
end_if
if I_SettlementOwner Maryab = numidia
set_counter settlementowner_Maryab 17
end_if
if I_SettlementOwner Maryab = saba
set_counter settlementowner_Maryab 18
end_if
if I_SettlementOwner Maryab = armenia
set_counter settlementowner_Maryab 19
end_if
if I_SettlementOwner Maryab = pontus
set_counter settlementowner_Maryab 20
end_if
if I_SettlementOwner Terhazza = slave
set_counter settlementowner_Terhazza 0
end_if
if I_SettlementOwner Terhazza = seleucid
set_counter settlementowner_Terhazza 1
end_if
if I_SettlementOwner Terhazza = thrace
set_counter settlementowner_Terhazza 2
end_if
if I_SettlementOwner Terhazza = greek_cities
set_counter settlementowner_Terhazza 3
end_if
if I_SettlementOwner Terhazza = carthage
set_counter settlementowner_Terhazza 4
end_if
if I_SettlementOwner Terhazza = romans_julii
set_counter settlementowner_Terhazza 5
end_if
if I_SettlementOwner Terhazza = romans_brutii
set_counter settlementowner_Terhazza 6
end_if
if I_SettlementOwner Terhazza = romans_scipii
set_counter settlementowner_Terhazza 7
end_if
if I_SettlementOwner Terhazza = macedon
set_counter settlementowner_Terhazza 8
end_if
if I_SettlementOwner Terhazza = gauls
set_counter settlementowner_Terhazza 9
end_if
if I_SettlementOwner Terhazza = germans
set_counter settlementowner_Terhazza 10
end_if
if I_SettlementOwner Terhazza = britons
set_counter settlementowner_Terhazza 11
end_if
if I_SettlementOwner Terhazza = spain
set_counter settlementowner_Terhazza 12
end_if
if I_SettlementOwner Terhazza = dacia
set_counter settlementowner_Terhazza 13
end_if
if I_SettlementOwner Terhazza = scythia
set_counter settlementowner_Terhazza 14
end_if
if I_SettlementOwner Terhazza = egypt
set_counter settlementowner_Terhazza 15
end_if
if I_SettlementOwner Terhazza = parthia
set_counter settlementowner_Terhazza 16
end_if
if I_SettlementOwner Terhazza = numidia
set_counter settlementowner_Terhazza 17
end_if
if I_SettlementOwner Terhazza = saba
set_counter settlementowner_Terhazza 18
end_if
if I_SettlementOwner Terhazza = armenia
set_counter settlementowner_Terhazza 19
end_if
if I_SettlementOwner Terhazza = pontus
set_counter settlementowner_Terhazza 20
end_if
if I_SettlementOwner Gava_Saka = slave
set_counter settlementowner_Gava_Saka 0
end_if
if I_SettlementOwner Gava_Saka = seleucid
set_counter settlementowner_Gava_Saka 1
end_if
if I_SettlementOwner Gava_Saka = thrace
set_counter settlementowner_Gava_Saka 2
end_if
if I_SettlementOwner Gava_Saka = greek_cities
set_counter settlementowner_Gava_Saka 3
end_if
if I_SettlementOwner Gava_Saka = carthage
set_counter settlementowner_Gava_Saka 4
end_if
if I_SettlementOwner Gava_Saka = romans_julii
set_counter settlementowner_Gava_Saka 5
end_if
if I_SettlementOwner Gava_Saka = romans_brutii
set_counter settlementowner_Gava_Saka 6
end_if
if I_SettlementOwner Gava_Saka = romans_scipii
set_counter settlementowner_Gava_Saka 7
end_if
if I_SettlementOwner Gava_Saka = macedon
set_counter settlementowner_Gava_Saka 8
end_if
if I_SettlementOwner Gava_Saka = gauls
set_counter settlementowner_Gava_Saka 9
end_if
if I_SettlementOwner Gava_Saka = germans
set_counter settlementowner_Gava_Saka 10
end_if
if I_SettlementOwner Gava_Saka = britons
set_counter settlementowner_Gava_Saka 11
end_if
if I_SettlementOwner Gava_Saka = spain
set_counter settlementowner_Gava_Saka 12
end_if
if I_SettlementOwner Gava_Saka = dacia
set_counter settlementowner_Gava_Saka 13
end_if
if I_SettlementOwner Gava_Saka = scythia
set_counter settlementowner_Gava_Saka 14
end_if
if I_SettlementOwner Gava_Saka = egypt
set_counter settlementowner_Gava_Saka 15
end_if
if I_SettlementOwner Gava_Saka = parthia
set_counter settlementowner_Gava_Saka 16
end_if
if I_SettlementOwner Gava_Saka = numidia
set_counter settlementowner_Gava_Saka 17
end_if
if I_SettlementOwner Gava_Saka = saba
set_counter settlementowner_Gava_Saka 18
end_if
if I_SettlementOwner Gava_Saka = armenia
set_counter settlementowner_Gava_Saka 19
end_if
if I_SettlementOwner Gava_Saka = pontus
set_counter settlementowner_Gava_Saka 20
end_if
if I_SettlementOwner Asodat = slave
set_counter settlementowner_Asodat 0
end_if
if I_SettlementOwner Asodat = seleucid
set_counter settlementowner_Asodat 1
end_if
if I_SettlementOwner Asodat = thrace
set_counter settlementowner_Asodat 2
end_if
if I_SettlementOwner Asodat = greek_cities
set_counter settlementowner_Asodat 3
end_if
if I_SettlementOwner Asodat = carthage
set_counter settlementowner_Asodat 4
end_if
if I_SettlementOwner Asodat = romans_julii
set_counter settlementowner_Asodat 5
end_if
if I_SettlementOwner Asodat = romans_brutii
set_counter settlementowner_Asodat 6
end_if
if I_SettlementOwner Asodat = romans_scipii
set_counter settlementowner_Asodat 7
end_if
if I_SettlementOwner Asodat = macedon
set_counter settlementowner_Asodat 8
end_if
if I_SettlementOwner Asodat = gauls
set_counter settlementowner_Asodat 9
end_if
if I_SettlementOwner Asodat = germans
set_counter settlementowner_Asodat 10
end_if
if I_SettlementOwner Asodat = britons
set_counter settlementowner_Asodat 11
end_if
if I_SettlementOwner Asodat = spain
set_counter settlementowner_Asodat 12
end_if
if I_SettlementOwner Asodat = dacia
set_counter settlementowner_Asodat 13
end_if
if I_SettlementOwner Asodat = scythia
set_counter settlementowner_Asodat 14
end_if
if I_SettlementOwner Asodat = egypt
set_counter settlementowner_Asodat 15
end_if
if I_SettlementOwner Asodat = parthia
set_counter settlementowner_Asodat 16
end_if
if I_SettlementOwner Asodat = numidia
set_counter settlementowner_Asodat 17
end_if
if I_SettlementOwner Asodat = saba
set_counter settlementowner_Asodat 18
end_if
if I_SettlementOwner Asodat = armenia
set_counter settlementowner_Asodat 19
end_if
if I_SettlementOwner Asodat = pontus
set_counter settlementowner_Asodat 20
end_if
if I_SettlementOwner Karali = slave
set_counter settlementowner_Karali 0
end_if
if I_SettlementOwner Karali = seleucid
set_counter settlementowner_Karali 1
end_if
if I_SettlementOwner Karali = thrace
set_counter settlementowner_Karali 2
end_if
if I_SettlementOwner Karali = greek_cities
set_counter settlementowner_Karali 3
end_if
if I_SettlementOwner Karali = carthage
set_counter settlementowner_Karali 4
end_if
if I_SettlementOwner Karali = romans_julii
set_counter settlementowner_Karali 5
end_if
if I_SettlementOwner Karali = romans_brutii
set_counter settlementowner_Karali 6
end_if
if I_SettlementOwner Karali = romans_scipii
set_counter settlementowner_Karali 7
end_if
if I_SettlementOwner Karali = macedon
set_counter settlementowner_Karali 8
end_if
if I_SettlementOwner Karali = gauls
set_counter settlementowner_Karali 9
end_if
if I_SettlementOwner Karali = germans
set_counter settlementowner_Karali 10
end_if
if I_SettlementOwner Karali = britons
set_counter settlementowner_Karali 11
end_if
if I_SettlementOwner Karali = spain
set_counter settlementowner_Karali 12
end_if
if I_SettlementOwner Karali = dacia
set_counter settlementowner_Karali 13
end_if
if I_SettlementOwner Karali = scythia
set_counter settlementowner_Karali 14
end_if
if I_SettlementOwner Karali = egypt
set_counter settlementowner_Karali 15
end_if
if I_SettlementOwner Karali = parthia
set_counter settlementowner_Karali 16
end_if
if I_SettlementOwner Karali = numidia
set_counter settlementowner_Karali 17
end_if
if I_SettlementOwner Karali = saba
set_counter settlementowner_Karali 18
end_if
if I_SettlementOwner Karali = armenia
set_counter settlementowner_Karali 19
end_if
if I_SettlementOwner Karali = pontus
set_counter settlementowner_Karali 20
end_if
if I_SettlementOwner Opiana = slave
set_counter settlementowner_Opiana 0
end_if
if I_SettlementOwner Opiana = seleucid
set_counter settlementowner_Opiana 1
end_if
if I_SettlementOwner Opiana = thrace
set_counter settlementowner_Opiana 2
end_if
if I_SettlementOwner Opiana = greek_cities
set_counter settlementowner_Opiana 3
end_if
if I_SettlementOwner Opiana = carthage
set_counter settlementowner_Opiana 4
end_if
if I_SettlementOwner Opiana = romans_julii
set_counter settlementowner_Opiana 5
end_if
if I_SettlementOwner Opiana = romans_brutii
set_counter settlementowner_Opiana 6
end_if
if I_SettlementOwner Opiana = romans_scipii
set_counter settlementowner_Opiana 7
end_if
if I_SettlementOwner Opiana = macedon
set_counter settlementowner_Opiana 8
end_if
if I_SettlementOwner Opiana = gauls
set_counter settlementowner_Opiana 9
end_if
if I_SettlementOwner Opiana = germans
set_counter settlementowner_Opiana 10
end_if
if I_SettlementOwner Opiana = britons
set_counter settlementowner_Opiana 11
end_if
if I_SettlementOwner Opiana = spain
set_counter settlementowner_Opiana 12
end_if
if I_SettlementOwner Opiana = dacia
set_counter settlementowner_Opiana 13
end_if
if I_SettlementOwner Opiana = scythia
set_counter settlementowner_Opiana 14
end_if
if I_SettlementOwner Opiana = egypt
set_counter settlementowner_Opiana 15
end_if
if I_SettlementOwner Opiana = parthia
set_counter settlementowner_Opiana 16
end_if
if I_SettlementOwner Opiana = numidia
set_counter settlementowner_Opiana 17
end_if
if I_SettlementOwner Opiana = saba
set_counter settlementowner_Opiana 18
end_if
if I_SettlementOwner Opiana = armenia
set_counter settlementowner_Opiana 19
end_if
if I_SettlementOwner Opiana = pontus
set_counter settlementowner_Opiana 20
end_if
if I_SettlementOwner Singidunum = slave
set_counter settlementowner_Singidunum 0
end_if
if I_SettlementOwner Singidunum = seleucid
set_counter settlementowner_Singidunum 1
end_if
if I_SettlementOwner Singidunum = thrace
set_counter settlementowner_Singidunum 2
end_if
if I_SettlementOwner Singidunum = greek_cities
set_counter settlementowner_Singidunum 3
end_if
if I_SettlementOwner Singidunum = carthage
set_counter settlementowner_Singidunum 4
end_if
if I_SettlementOwner Singidunum = romans_julii
set_counter settlementowner_Singidunum 5
end_if
if I_SettlementOwner Singidunum = romans_brutii
set_counter settlementowner_Singidunum 6
end_if
if I_SettlementOwner Singidunum = romans_scipii
set_counter settlementowner_Singidunum 7
end_if
if I_SettlementOwner Singidunum = macedon
set_counter settlementowner_Singidunum 8
end_if
if I_SettlementOwner Singidunum = gauls
set_counter settlementowner_Singidunum 9
end_if
if I_SettlementOwner Singidunum = germans
set_counter settlementowner_Singidunum 10
end_if
if I_SettlementOwner Singidunum = britons
set_counter settlementowner_Singidunum 11
end_if
if I_SettlementOwner Singidunum = spain
set_counter settlementowner_Singidunum 12
end_if
if I_SettlementOwner Singidunum = dacia
set_counter settlementowner_Singidunum 13
end_if
if I_SettlementOwner Singidunum = scythia
set_counter settlementowner_Singidunum 14
end_if
if I_SettlementOwner Singidunum = egypt
set_counter settlementowner_Singidunum 15
end_if
if I_SettlementOwner Singidunum = parthia
set_counter settlementowner_Singidunum 16
end_if
if I_SettlementOwner Singidunum = numidia
set_counter settlementowner_Singidunum 17
end_if
if I_SettlementOwner Singidunum = saba
set_counter settlementowner_Singidunum 18
end_if
if I_SettlementOwner Singidunum = armenia
set_counter settlementowner_Singidunum 19
end_if
if I_SettlementOwner Singidunum = pontus
set_counter settlementowner_Singidunum 20
end_if
if I_SettlementOwner Seliun_Pilis = slave
set_counter settlementowner_Seliun_Pilis 0
end_if
if I_SettlementOwner Seliun_Pilis = seleucid
set_counter settlementowner_Seliun_Pilis 1
end_if
if I_SettlementOwner Seliun_Pilis = thrace
set_counter settlementowner_Seliun_Pilis 2
end_if
if I_SettlementOwner Seliun_Pilis = greek_cities
set_counter settlementowner_Seliun_Pilis 3
end_if
if I_SettlementOwner Seliun_Pilis = carthage
set_counter settlementowner_Seliun_Pilis 4
end_if
if I_SettlementOwner Seliun_Pilis = romans_julii
set_counter settlementowner_Seliun_Pilis 5
end_if
if I_SettlementOwner Seliun_Pilis = romans_brutii
set_counter settlementowner_Seliun_Pilis 6
end_if
if I_SettlementOwner Seliun_Pilis = romans_scipii
set_counter settlementowner_Seliun_Pilis 7
end_if
if I_SettlementOwner Seliun_Pilis = macedon
set_counter settlementowner_Seliun_Pilis 8
end_if
if I_SettlementOwner Seliun_Pilis = gauls
set_counter settlementowner_Seliun_Pilis 9
end_if
if I_SettlementOwner Seliun_Pilis = germans
set_counter settlementowner_Seliun_Pilis 10
end_if
if I_SettlementOwner Seliun_Pilis = britons
set_counter settlementowner_Seliun_Pilis 11
end_if
if I_SettlementOwner Seliun_Pilis = spain
set_counter settlementowner_Seliun_Pilis 12
end_if
if I_SettlementOwner Seliun_Pilis = dacia
set_counter settlementowner_Seliun_Pilis 13
end_if
if I_SettlementOwner Seliun_Pilis = scythia
set_counter settlementowner_Seliun_Pilis 14
end_if
if I_SettlementOwner Seliun_Pilis = egypt
set_counter settlementowner_Seliun_Pilis 15
end_if
if I_SettlementOwner Seliun_Pilis = parthia
set_counter settlementowner_Seliun_Pilis 16
end_if
if I_SettlementOwner Seliun_Pilis = numidia
set_counter settlementowner_Seliun_Pilis 17
end_if
if I_SettlementOwner Seliun_Pilis = saba
set_counter settlementowner_Seliun_Pilis 18
end_if
if I_SettlementOwner Seliun_Pilis = armenia
set_counter settlementowner_Seliun_Pilis 19
end_if
if I_SettlementOwner Seliun_Pilis = pontus
set_counter settlementowner_Seliun_Pilis 20
end_if
if I_SettlementOwner Gintaras_Ostan = slave
set_counter settlementowner_Gintaras_Ostan 0
end_if
if I_SettlementOwner Gintaras_Ostan = seleucid
set_counter settlementowner_Gintaras_Ostan 1
end_if
if I_SettlementOwner Gintaras_Ostan = thrace
set_counter settlementowner_Gintaras_Ostan 2
end_if
if I_SettlementOwner Gintaras_Ostan = greek_cities
set_counter settlementowner_Gintaras_Ostan 3
end_if
if I_SettlementOwner Gintaras_Ostan = carthage
set_counter settlementowner_Gintaras_Ostan 4
end_if
if I_SettlementOwner Gintaras_Ostan = romans_julii
set_counter settlementowner_Gintaras_Ostan 5
end_if
if I_SettlementOwner Gintaras_Ostan = romans_brutii
set_counter settlementowner_Gintaras_Ostan 6
end_if
if I_SettlementOwner Gintaras_Ostan = romans_scipii
set_counter settlementowner_Gintaras_Ostan 7
end_if
if I_SettlementOwner Gintaras_Ostan = macedon
set_counter settlementowner_Gintaras_Ostan 8
end_if
if I_SettlementOwner Gintaras_Ostan = gauls
set_counter settlementowner_Gintaras_Ostan 9
end_if
if I_SettlementOwner Gintaras_Ostan = germans
set_counter settlementowner_Gintaras_Ostan 10
end_if
if I_SettlementOwner Gintaras_Ostan = britons
set_counter settlementowner_Gintaras_Ostan 11
end_if
if I_SettlementOwner Gintaras_Ostan = spain
set_counter settlementowner_Gintaras_Ostan 12
end_if
if I_SettlementOwner Gintaras_Ostan = dacia
set_counter settlementowner_Gintaras_Ostan 13
end_if
if I_SettlementOwner Gintaras_Ostan = scythia
set_counter settlementowner_Gintaras_Ostan 14
end_if
if I_SettlementOwner Gintaras_Ostan = egypt
set_counter settlementowner_Gintaras_Ostan 15
end_if
if I_SettlementOwner Gintaras_Ostan = parthia
set_counter settlementowner_Gintaras_Ostan 16
end_if
if I_SettlementOwner Gintaras_Ostan = numidia
set_counter settlementowner_Gintaras_Ostan 17
end_if
if I_SettlementOwner Gintaras_Ostan = saba
set_counter settlementowner_Gintaras_Ostan 18
end_if
if I_SettlementOwner Gintaras_Ostan = armenia
set_counter settlementowner_Gintaras_Ostan 19
end_if
if I_SettlementOwner Gintaras_Ostan = pontus
set_counter settlementowner_Gintaras_Ostan 20
end_if
if I_SettlementOwner Vesontio = slave
set_counter settlementowner_Vesontio 0
end_if
if I_SettlementOwner Vesontio = seleucid
set_counter settlementowner_Vesontio 1
end_if
if I_SettlementOwner Vesontio = thrace
set_counter settlementowner_Vesontio 2
end_if
if I_SettlementOwner Vesontio = greek_cities
set_counter settlementowner_Vesontio 3
end_if
if I_SettlementOwner Vesontio = carthage
set_counter settlementowner_Vesontio 4
end_if
if I_SettlementOwner Vesontio = romans_julii
set_counter settlementowner_Vesontio 5
end_if
if I_SettlementOwner Vesontio = romans_brutii
set_counter settlementowner_Vesontio 6
end_if
if I_SettlementOwner Vesontio = romans_scipii
set_counter settlementowner_Vesontio 7
end_if
if I_SettlementOwner Vesontio = macedon
set_counter settlementowner_Vesontio 8
end_if
if I_SettlementOwner Vesontio = gauls
set_counter settlementowner_Vesontio 9
end_if
if I_SettlementOwner Vesontio = germans
set_counter settlementowner_Vesontio 10
end_if
if I_SettlementOwner Vesontio = britons
set_counter settlementowner_Vesontio 11
end_if
if I_SettlementOwner Vesontio = spain
set_counter settlementowner_Vesontio 12
end_if
if I_SettlementOwner Vesontio = dacia
set_counter settlementowner_Vesontio 13
end_if
if I_SettlementOwner Vesontio = scythia
set_counter settlementowner_Vesontio 14
end_if
if I_SettlementOwner Vesontio = egypt
set_counter settlementowner_Vesontio 15
end_if
if I_SettlementOwner Vesontio = parthia
set_counter settlementowner_Vesontio 16
end_if
if I_SettlementOwner Vesontio = numidia
set_counter settlementowner_Vesontio 17
end_if
if I_SettlementOwner Vesontio = saba
set_counter settlementowner_Vesontio 18
end_if
if I_SettlementOwner Vesontio = armenia
set_counter settlementowner_Vesontio 19
end_if
if I_SettlementOwner Vesontio = pontus
set_counter settlementowner_Vesontio 20
end_if
if I_SettlementOwner Messana = slave
set_counter settlementowner_Messana 0
end_if
if I_SettlementOwner Messana = seleucid
set_counter settlementowner_Messana 1
end_if
if I_SettlementOwner Messana = thrace
set_counter settlementowner_Messana 2
end_if
if I_SettlementOwner Messana = greek_cities
set_counter settlementowner_Messana 3
end_if
if I_SettlementOwner Messana = carthage
set_counter settlementowner_Messana 4
end_if
if I_SettlementOwner Messana = romans_julii
set_counter settlementowner_Messana 5
end_if
if I_SettlementOwner Messana = romans_brutii
set_counter settlementowner_Messana 6
end_if
if I_SettlementOwner Messana = romans_scipii
set_counter settlementowner_Messana 7
end_if
if I_SettlementOwner Messana = macedon
set_counter settlementowner_Messana 8
end_if
if I_SettlementOwner Messana = gauls
set_counter settlementowner_Messana 9
end_if
if I_SettlementOwner Messana = germans
set_counter settlementowner_Messana 10
end_if
if I_SettlementOwner Messana = britons
set_counter settlementowner_Messana 11
end_if
if I_SettlementOwner Messana = spain
set_counter settlementowner_Messana 12
end_if
if I_SettlementOwner Messana = dacia
set_counter settlementowner_Messana 13
end_if
if I_SettlementOwner Messana = scythia
set_counter settlementowner_Messana 14
end_if
if I_SettlementOwner Messana = egypt
set_counter settlementowner_Messana 15
end_if
if I_SettlementOwner Messana = parthia
set_counter settlementowner_Messana 16
end_if
if I_SettlementOwner Messana = numidia
set_counter settlementowner_Messana 17
end_if
if I_SettlementOwner Messana = saba
set_counter settlementowner_Messana 18
end_if
if I_SettlementOwner Messana = armenia
set_counter settlementowner_Messana 19
end_if
if I_SettlementOwner Messana = pontus
set_counter settlementowner_Messana 20
end_if
if I_SettlementOwner Gawjam_Silengoz = slave
set_counter settlementowner_Gawjam_Silengoz 0
end_if
if I_SettlementOwner Gawjam_Silengoz = seleucid
set_counter settlementowner_Gawjam_Silengoz 1
end_if
if I_SettlementOwner Gawjam_Silengoz = thrace
set_counter settlementowner_Gawjam_Silengoz 2
end_if
if I_SettlementOwner Gawjam_Silengoz = greek_cities
set_counter settlementowner_Gawjam_Silengoz 3
end_if
if I_SettlementOwner Gawjam_Silengoz = carthage
set_counter settlementowner_Gawjam_Silengoz 4
end_if
if I_SettlementOwner Gawjam_Silengoz = romans_julii
set_counter settlementowner_Gawjam_Silengoz 5
end_if
if I_SettlementOwner Gawjam_Silengoz = romans_brutii
set_counter settlementowner_Gawjam_Silengoz 6
end_if
if I_SettlementOwner Gawjam_Silengoz = romans_scipii
set_counter settlementowner_Gawjam_Silengoz 7
end_if
if I_SettlementOwner Gawjam_Silengoz = macedon
set_counter settlementowner_Gawjam_Silengoz 8
end_if
if I_SettlementOwner Gawjam_Silengoz = gauls
set_counter settlementowner_Gawjam_Silengoz 9
end_if
if I_SettlementOwner Gawjam_Silengoz = germans
set_counter settlementowner_Gawjam_Silengoz 10
end_if
if I_SettlementOwner Gawjam_Silengoz = britons
set_counter settlementowner_Gawjam_Silengoz 11
end_if
if I_SettlementOwner Gawjam_Silengoz = spain
set_counter settlementowner_Gawjam_Silengoz 12
end_if
if I_SettlementOwner Gawjam_Silengoz = dacia
set_counter settlementowner_Gawjam_Silengoz 13
end_if
if I_SettlementOwner Gawjam_Silengoz = scythia
set_counter settlementowner_Gawjam_Silengoz 14
end_if
if I_SettlementOwner Gawjam_Silengoz = egypt
set_counter settlementowner_Gawjam_Silengoz 15
end_if
if I_SettlementOwner Gawjam_Silengoz = parthia
set_counter settlementowner_Gawjam_Silengoz 16
end_if
if I_SettlementOwner Gawjam_Silengoz = numidia
set_counter settlementowner_Gawjam_Silengoz 17
end_if
if I_SettlementOwner Gawjam_Silengoz = saba
set_counter settlementowner_Gawjam_Silengoz 18
end_if
if I_SettlementOwner Gawjam_Silengoz = armenia
set_counter settlementowner_Gawjam_Silengoz 19
end_if
if I_SettlementOwner Gawjam_Silengoz = pontus
set_counter settlementowner_Gawjam_Silengoz 20
end_if
if I_SettlementOwner Petra = slave
set_counter settlementowner_Petra 0
end_if
if I_SettlementOwner Petra = seleucid
set_counter settlementowner_Petra 1
end_if
if I_SettlementOwner Petra = thrace
set_counter settlementowner_Petra 2
end_if
if I_SettlementOwner Petra = greek_cities
set_counter settlementowner_Petra 3
end_if
if I_SettlementOwner Petra = carthage
set_counter settlementowner_Petra 4
end_if
if I_SettlementOwner Petra = romans_julii
set_counter settlementowner_Petra 5
end_if
if I_SettlementOwner Petra = romans_brutii
set_counter settlementowner_Petra 6
end_if
if I_SettlementOwner Petra = romans_scipii
set_counter settlementowner_Petra 7
end_if
if I_SettlementOwner Petra = macedon
set_counter settlementowner_Petra 8
end_if
if I_SettlementOwner Petra = gauls
set_counter settlementowner_Petra 9
end_if
if I_SettlementOwner Petra = germans
set_counter settlementowner_Petra 10
end_if
if I_SettlementOwner Petra = britons
set_counter settlementowner_Petra 11
end_if
if I_SettlementOwner Petra = spain
set_counter settlementowner_Petra 12
end_if
if I_SettlementOwner Petra = dacia
set_counter settlementowner_Petra 13
end_if
if I_SettlementOwner Petra = scythia
set_counter settlementowner_Petra 14
end_if
if I_SettlementOwner Petra = egypt
set_counter settlementowner_Petra 15
end_if
if I_SettlementOwner Petra = parthia
set_counter settlementowner_Petra 16
end_if
if I_SettlementOwner Petra = numidia
set_counter settlementowner_Petra 17
end_if
if I_SettlementOwner Petra = saba
set_counter settlementowner_Petra 18
end_if
if I_SettlementOwner Petra = armenia
set_counter settlementowner_Petra 19
end_if
if I_SettlementOwner Petra = pontus
set_counter settlementowner_Petra 20
end_if
if I_SettlementOwner Patala = slave
set_counter settlementowner_Patala 0
end_if
if I_SettlementOwner Patala = seleucid
set_counter settlementowner_Patala 1
end_if
if I_SettlementOwner Patala = thrace
set_counter settlementowner_Patala 2
end_if
if I_SettlementOwner Patala = greek_cities
set_counter settlementowner_Patala 3
end_if
if I_SettlementOwner Patala = carthage
set_counter settlementowner_Patala 4
end_if
if I_SettlementOwner Patala = romans_julii
set_counter settlementowner_Patala 5
end_if
if I_SettlementOwner Patala = romans_brutii
set_counter settlementowner_Patala 6
end_if
if I_SettlementOwner Patala = romans_scipii
set_counter settlementowner_Patala 7
end_if
if I_SettlementOwner Patala = macedon
set_counter settlementowner_Patala 8
end_if
if I_SettlementOwner Patala = gauls
set_counter settlementowner_Patala 9
end_if
if I_SettlementOwner Patala = germans
set_counter settlementowner_Patala 10
end_if
if I_SettlementOwner Patala = britons
set_counter settlementowner_Patala 11
end_if
if I_SettlementOwner Patala = spain
set_counter settlementowner_Patala 12
end_if
if I_SettlementOwner Patala = dacia
set_counter settlementowner_Patala 13
end_if
if I_SettlementOwner Patala = scythia
set_counter settlementowner_Patala 14
end_if
if I_SettlementOwner Patala = egypt
set_counter settlementowner_Patala 15
end_if
if I_SettlementOwner Patala = parthia
set_counter settlementowner_Patala 16
end_if
if I_SettlementOwner Patala = numidia
set_counter settlementowner_Patala 17
end_if
if I_SettlementOwner Patala = saba
set_counter settlementowner_Patala 18
end_if
if I_SettlementOwner Patala = armenia
set_counter settlementowner_Patala 19
end_if
if I_SettlementOwner Patala = pontus
set_counter settlementowner_Patala 20
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = slave
set_counter settlementowner_Gawjam_Skandzawarjoz 0
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
set_counter settlementowner_Gawjam_Skandzawarjoz 1
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = thrace
set_counter settlementowner_Gawjam_Skandzawarjoz 2
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
set_counter settlementowner_Gawjam_Skandzawarjoz 3
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = carthage
set_counter settlementowner_Gawjam_Skandzawarjoz 4
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
set_counter settlementowner_Gawjam_Skandzawarjoz 5
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
set_counter settlementowner_Gawjam_Skandzawarjoz 6
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
set_counter settlementowner_Gawjam_Skandzawarjoz 7
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = macedon
set_counter settlementowner_Gawjam_Skandzawarjoz 8
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = gauls
set_counter settlementowner_Gawjam_Skandzawarjoz 9
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = germans
set_counter settlementowner_Gawjam_Skandzawarjoz 10
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = britons
set_counter settlementowner_Gawjam_Skandzawarjoz 11
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = spain
set_counter settlementowner_Gawjam_Skandzawarjoz 12
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = dacia
set_counter settlementowner_Gawjam_Skandzawarjoz 13
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = scythia
set_counter settlementowner_Gawjam_Skandzawarjoz 14
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = egypt
set_counter settlementowner_Gawjam_Skandzawarjoz 15
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = parthia
set_counter settlementowner_Gawjam_Skandzawarjoz 16
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = numidia
set_counter settlementowner_Gawjam_Skandzawarjoz 17
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = saba
set_counter settlementowner_Gawjam_Skandzawarjoz 18
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = armenia
set_counter settlementowner_Gawjam_Skandzawarjoz 19
end_if
if I_SettlementOwner Gawjam_Skandzawarjoz = pontus
set_counter settlementowner_Gawjam_Skandzawarjoz 20
end_if
if I_SettlementOwner Olbia = slave
set_counter settlementowner_Olbia 0
end_if
if I_SettlementOwner Olbia = seleucid
set_counter settlementowner_Olbia 1
end_if
if I_SettlementOwner Olbia = thrace
set_counter settlementowner_Olbia 2
end_if
if I_SettlementOwner Olbia = greek_cities
set_counter settlementowner_Olbia 3
end_if
if I_SettlementOwner Olbia = carthage
set_counter settlementowner_Olbia 4
end_if
if I_SettlementOwner Olbia = romans_julii
set_counter settlementowner_Olbia 5
end_if
if I_SettlementOwner Olbia = romans_brutii
set_counter settlementowner_Olbia 6
end_if
if I_SettlementOwner Olbia = romans_scipii
set_counter settlementowner_Olbia 7
end_if
if I_SettlementOwner Olbia = macedon
set_counter settlementowner_Olbia 8
end_if
if I_SettlementOwner Olbia = gauls
set_counter settlementowner_Olbia 9
end_if
if I_SettlementOwner Olbia = germans
set_counter settlementowner_Olbia 10
end_if
if I_SettlementOwner Olbia = britons
set_counter settlementowner_Olbia 11
end_if
if I_SettlementOwner Olbia = spain
set_counter settlementowner_Olbia 12
end_if
if I_SettlementOwner Olbia = dacia
set_counter settlementowner_Olbia 13
end_if
if I_SettlementOwner Olbia = scythia
set_counter settlementowner_Olbia 14
end_if
if I_SettlementOwner Olbia = egypt
set_counter settlementowner_Olbia 15
end_if
if I_SettlementOwner Olbia = parthia
set_counter settlementowner_Olbia 16
end_if
if I_SettlementOwner Olbia = numidia
set_counter settlementowner_Olbia 17
end_if
if I_SettlementOwner Olbia = saba
set_counter settlementowner_Olbia 18
end_if
if I_SettlementOwner Olbia = armenia
set_counter settlementowner_Olbia 19
end_if
if I_SettlementOwner Olbia = pontus
set_counter settlementowner_Olbia 20
end_if
if I_SettlementOwner Marakanda = slave
set_counter settlementowner_Marakanda 0
end_if
if I_SettlementOwner Marakanda = seleucid
set_counter settlementowner_Marakanda 1
end_if
if I_SettlementOwner Marakanda = thrace
set_counter settlementowner_Marakanda 2
end_if
if I_SettlementOwner Marakanda = greek_cities
set_counter settlementowner_Marakanda 3
end_if
if I_SettlementOwner Marakanda = carthage
set_counter settlementowner_Marakanda 4
end_if
if I_SettlementOwner Marakanda = romans_julii
set_counter settlementowner_Marakanda 5
end_if
if I_SettlementOwner Marakanda = romans_brutii
set_counter settlementowner_Marakanda 6
end_if
if I_SettlementOwner Marakanda = romans_scipii
set_counter settlementowner_Marakanda 7
end_if
if I_SettlementOwner Marakanda = macedon
set_counter settlementowner_Marakanda 8
end_if
if I_SettlementOwner Marakanda = gauls
set_counter settlementowner_Marakanda 9
end_if
if I_SettlementOwner Marakanda = germans
set_counter settlementowner_Marakanda 10
end_if
if I_SettlementOwner Marakanda = britons
set_counter settlementowner_Marakanda 11
end_if
if I_SettlementOwner Marakanda = spain
set_counter settlementowner_Marakanda 12
end_if
if I_SettlementOwner Marakanda = dacia
set_counter settlementowner_Marakanda 13
end_if
if I_SettlementOwner Marakanda = scythia
set_counter settlementowner_Marakanda 14
end_if
if I_SettlementOwner Marakanda = egypt
set_counter settlementowner_Marakanda 15
end_if
if I_SettlementOwner Marakanda = parthia
set_counter settlementowner_Marakanda 16
end_if
if I_SettlementOwner Marakanda = numidia
set_counter settlementowner_Marakanda 17
end_if
if I_SettlementOwner Marakanda = saba
set_counter settlementowner_Marakanda 18
end_if
if I_SettlementOwner Marakanda = armenia
set_counter settlementowner_Marakanda 19
end_if
if I_SettlementOwner Marakanda = pontus
set_counter settlementowner_Marakanda 20
end_if
if I_SettlementOwner Karkathiokerta = slave
set_counter settlementowner_Karkathiokerta 0
end_if
if I_SettlementOwner Karkathiokerta = seleucid
set_counter settlementowner_Karkathiokerta 1
end_if
if I_SettlementOwner Karkathiokerta = thrace
set_counter settlementowner_Karkathiokerta 2
end_if
if I_SettlementOwner Karkathiokerta = greek_cities
set_counter settlementowner_Karkathiokerta 3
end_if
if I_SettlementOwner Karkathiokerta = carthage
set_counter settlementowner_Karkathiokerta 4
end_if
if I_SettlementOwner Karkathiokerta = romans_julii
set_counter settlementowner_Karkathiokerta 5
end_if
if I_SettlementOwner Karkathiokerta = romans_brutii
set_counter settlementowner_Karkathiokerta 6
end_if
if I_SettlementOwner Karkathiokerta = romans_scipii
set_counter settlementowner_Karkathiokerta 7
end_if
if I_SettlementOwner Karkathiokerta = macedon
set_counter settlementowner_Karkathiokerta 8
end_if
if I_SettlementOwner Karkathiokerta = gauls
set_counter settlementowner_Karkathiokerta 9
end_if
if I_SettlementOwner Karkathiokerta = germans
set_counter settlementowner_Karkathiokerta 10
end_if
if I_SettlementOwner Karkathiokerta = britons
set_counter settlementowner_Karkathiokerta 11
end_if
if I_SettlementOwner Karkathiokerta = spain
set_counter settlementowner_Karkathiokerta 12
end_if
if I_SettlementOwner Karkathiokerta = dacia
set_counter settlementowner_Karkathiokerta 13
end_if
if I_SettlementOwner Karkathiokerta = scythia
set_counter settlementowner_Karkathiokerta 14
end_if
if I_SettlementOwner Karkathiokerta = egypt
set_counter settlementowner_Karkathiokerta 15
end_if
if I_SettlementOwner Karkathiokerta = parthia
set_counter settlementowner_Karkathiokerta 16
end_if
if I_SettlementOwner Karkathiokerta = numidia
set_counter settlementowner_Karkathiokerta 17
end_if
if I_SettlementOwner Karkathiokerta = saba
set_counter settlementowner_Karkathiokerta 18
end_if
if I_SettlementOwner Karkathiokerta = armenia
set_counter settlementowner_Karkathiokerta 19
end_if
if I_SettlementOwner Karkathiokerta = pontus
set_counter settlementowner_Karkathiokerta 20
end_if
if I_SettlementOwner Swebotraustastamnoz = slave
set_counter settlementowner_Swebotraustastamnoz 0
end_if
if I_SettlementOwner Swebotraustastamnoz = seleucid
set_counter settlementowner_Swebotraustastamnoz 1
end_if
if I_SettlementOwner Swebotraustastamnoz = thrace
set_counter settlementowner_Swebotraustastamnoz 2
end_if
if I_SettlementOwner Swebotraustastamnoz = greek_cities
set_counter settlementowner_Swebotraustastamnoz 3
end_if
if I_SettlementOwner Swebotraustastamnoz = carthage
set_counter settlementowner_Swebotraustastamnoz 4
end_if
if I_SettlementOwner Swebotraustastamnoz = romans_julii
set_counter settlementowner_Swebotraustastamnoz 5
end_if
if I_SettlementOwner Swebotraustastamnoz = romans_brutii
set_counter settlementowner_Swebotraustastamnoz 6
end_if
if I_SettlementOwner Swebotraustastamnoz = romans_scipii
set_counter settlementowner_Swebotraustastamnoz 7
end_if
if I_SettlementOwner Swebotraustastamnoz = macedon
set_counter settlementowner_Swebotraustastamnoz 8
end_if
if I_SettlementOwner Swebotraustastamnoz = gauls
set_counter settlementowner_Swebotraustastamnoz 9
end_if
if I_SettlementOwner Swebotraustastamnoz = germans
set_counter settlementowner_Swebotraustastamnoz 10
end_if
if I_SettlementOwner Swebotraustastamnoz = britons
set_counter settlementowner_Swebotraustastamnoz 11
end_if
if I_SettlementOwner Swebotraustastamnoz = spain
set_counter settlementowner_Swebotraustastamnoz 12
end_if
if I_SettlementOwner Swebotraustastamnoz = dacia
set_counter settlementowner_Swebotraustastamnoz 13
end_if
if I_SettlementOwner Swebotraustastamnoz = scythia
set_counter settlementowner_Swebotraustastamnoz 14
end_if
if I_SettlementOwner Swebotraustastamnoz = egypt
set_counter settlementowner_Swebotraustastamnoz 15
end_if
if I_SettlementOwner Swebotraustastamnoz = parthia
set_counter settlementowner_Swebotraustastamnoz 16
end_if
if I_SettlementOwner Swebotraustastamnoz = numidia
set_counter settlementowner_Swebotraustastamnoz 17
end_if
if I_SettlementOwner Swebotraustastamnoz = saba
set_counter settlementowner_Swebotraustastamnoz 18
end_if
if I_SettlementOwner Swebotraustastamnoz = armenia
set_counter settlementowner_Swebotraustastamnoz 19
end_if
if I_SettlementOwner Swebotraustastamnoz = pontus
set_counter settlementowner_Swebotraustastamnoz 20
end_if
if I_SettlementOwner Antiocheia = slave
set_counter settlementowner_Antiocheia 0
end_if
if I_SettlementOwner Antiocheia = seleucid
set_counter settlementowner_Antiocheia 1
end_if
if I_SettlementOwner Antiocheia = thrace
set_counter settlementowner_Antiocheia 2
end_if
if I_SettlementOwner Antiocheia = greek_cities
set_counter settlementowner_Antiocheia 3
end_if
if I_SettlementOwner Antiocheia = carthage
set_counter settlementowner_Antiocheia 4
end_if
if I_SettlementOwner Antiocheia = romans_julii
set_counter settlementowner_Antiocheia 5
end_if
if I_SettlementOwner Antiocheia = romans_brutii
set_counter settlementowner_Antiocheia 6
end_if
if I_SettlementOwner Antiocheia = romans_scipii
set_counter settlementowner_Antiocheia 7
end_if
if I_SettlementOwner Antiocheia = macedon
set_counter settlementowner_Antiocheia 8
end_if
if I_SettlementOwner Antiocheia = gauls
set_counter settlementowner_Antiocheia 9
end_if
if I_SettlementOwner Antiocheia = germans
set_counter settlementowner_Antiocheia 10
end_if
if I_SettlementOwner Antiocheia = britons
set_counter settlementowner_Antiocheia 11
end_if
if I_SettlementOwner Antiocheia = spain
set_counter settlementowner_Antiocheia 12
end_if
if I_SettlementOwner Antiocheia = dacia
set_counter settlementowner_Antiocheia 13
end_if
if I_SettlementOwner Antiocheia = scythia
set_counter settlementowner_Antiocheia 14
end_if
if I_SettlementOwner Antiocheia = egypt
set_counter settlementowner_Antiocheia 15
end_if
if I_SettlementOwner Antiocheia = parthia
set_counter settlementowner_Antiocheia 16
end_if
if I_SettlementOwner Antiocheia = numidia
set_counter settlementowner_Antiocheia 17
end_if
if I_SettlementOwner Antiocheia = saba
set_counter settlementowner_Antiocheia 18
end_if
if I_SettlementOwner Antiocheia = armenia
set_counter settlementowner_Antiocheia 19
end_if
if I_SettlementOwner Antiocheia = pontus
set_counter settlementowner_Antiocheia 20
end_if
if I_SettlementOwner Damaskos = slave
set_counter settlementowner_Damaskos 0
end_if
if I_SettlementOwner Damaskos = seleucid
set_counter settlementowner_Damaskos 1
end_if
if I_SettlementOwner Damaskos = thrace
set_counter settlementowner_Damaskos 2
end_if
if I_SettlementOwner Damaskos = greek_cities
set_counter settlementowner_Damaskos 3
end_if
if I_SettlementOwner Damaskos = carthage
set_counter settlementowner_Damaskos 4
end_if
if I_SettlementOwner Damaskos = romans_julii
set_counter settlementowner_Damaskos 5
end_if
if I_SettlementOwner Damaskos = romans_brutii
set_counter settlementowner_Damaskos 6
end_if
if I_SettlementOwner Damaskos = romans_scipii
set_counter settlementowner_Damaskos 7
end_if
if I_SettlementOwner Damaskos = macedon
set_counter settlementowner_Damaskos 8
end_if
if I_SettlementOwner Damaskos = gauls
set_counter settlementowner_Damaskos 9
end_if
if I_SettlementOwner Damaskos = germans
set_counter settlementowner_Damaskos 10
end_if
if I_SettlementOwner Damaskos = britons
set_counter settlementowner_Damaskos 11
end_if
if I_SettlementOwner Damaskos = spain
set_counter settlementowner_Damaskos 12
end_if
if I_SettlementOwner Damaskos = dacia
set_counter settlementowner_Damaskos 13
end_if
if I_SettlementOwner Damaskos = scythia
set_counter settlementowner_Damaskos 14
end_if
if I_SettlementOwner Damaskos = egypt
set_counter settlementowner_Damaskos 15
end_if
if I_SettlementOwner Damaskos = parthia
set_counter settlementowner_Damaskos 16
end_if
if I_SettlementOwner Damaskos = numidia
set_counter settlementowner_Damaskos 17
end_if
if I_SettlementOwner Damaskos = saba
set_counter settlementowner_Damaskos 18
end_if
if I_SettlementOwner Damaskos = armenia
set_counter settlementowner_Damaskos 19
end_if
if I_SettlementOwner Damaskos = pontus
set_counter settlementowner_Damaskos 20
end_if
if I_SettlementOwner Palmyra = slave
set_counter settlementowner_Palmyra 0
end_if
if I_SettlementOwner Palmyra = seleucid
set_counter settlementowner_Palmyra 1
end_if
if I_SettlementOwner Palmyra = thrace
set_counter settlementowner_Palmyra 2
end_if
if I_SettlementOwner Palmyra = greek_cities
set_counter settlementowner_Palmyra 3
end_if
if I_SettlementOwner Palmyra = carthage
set_counter settlementowner_Palmyra 4
end_if
if I_SettlementOwner Palmyra = romans_julii
set_counter settlementowner_Palmyra 5
end_if
if I_SettlementOwner Palmyra = romans_brutii
set_counter settlementowner_Palmyra 6
end_if
if I_SettlementOwner Palmyra = romans_scipii
set_counter settlementowner_Palmyra 7
end_if
if I_SettlementOwner Palmyra = macedon
set_counter settlementowner_Palmyra 8
end_if
if I_SettlementOwner Palmyra = gauls
set_counter settlementowner_Palmyra 9
end_if
if I_SettlementOwner Palmyra = germans
set_counter settlementowner_Palmyra 10
end_if
if I_SettlementOwner Palmyra = britons
set_counter settlementowner_Palmyra 11
end_if
if I_SettlementOwner Palmyra = spain
set_counter settlementowner_Palmyra 12
end_if
if I_SettlementOwner Palmyra = dacia
set_counter settlementowner_Palmyra 13
end_if
if I_SettlementOwner Palmyra = scythia
set_counter settlementowner_Palmyra 14
end_if
if I_SettlementOwner Palmyra = egypt
set_counter settlementowner_Palmyra 15
end_if
if I_SettlementOwner Palmyra = parthia
set_counter settlementowner_Palmyra 16
end_if
if I_SettlementOwner Palmyra = numidia
set_counter settlementowner_Palmyra 17
end_if
if I_SettlementOwner Palmyra = saba
set_counter settlementowner_Palmyra 18
end_if
if I_SettlementOwner Palmyra = armenia
set_counter settlementowner_Palmyra 19
end_if
if I_SettlementOwner Palmyra = pontus
set_counter settlementowner_Palmyra 20
end_if
if I_SettlementOwner Chersonesos = slave
set_counter settlementowner_Chersonesos 0
end_if
if I_SettlementOwner Chersonesos = seleucid
set_counter settlementowner_Chersonesos 1
end_if
if I_SettlementOwner Chersonesos = thrace
set_counter settlementowner_Chersonesos 2
end_if
if I_SettlementOwner Chersonesos = greek_cities
set_counter settlementowner_Chersonesos 3
end_if
if I_SettlementOwner Chersonesos = carthage
set_counter settlementowner_Chersonesos 4
end_if
if I_SettlementOwner Chersonesos = romans_julii
set_counter settlementowner_Chersonesos 5
end_if
if I_SettlementOwner Chersonesos = romans_brutii
set_counter settlementowner_Chersonesos 6
end_if
if I_SettlementOwner Chersonesos = romans_scipii
set_counter settlementowner_Chersonesos 7
end_if
if I_SettlementOwner Chersonesos = macedon
set_counter settlementowner_Chersonesos 8
end_if
if I_SettlementOwner Chersonesos = gauls
set_counter settlementowner_Chersonesos 9
end_if
if I_SettlementOwner Chersonesos = germans
set_counter settlementowner_Chersonesos 10
end_if
if I_SettlementOwner Chersonesos = britons
set_counter settlementowner_Chersonesos 11
end_if
if I_SettlementOwner Chersonesos = spain
set_counter settlementowner_Chersonesos 12
end_if
if I_SettlementOwner Chersonesos = dacia
set_counter settlementowner_Chersonesos 13
end_if
if I_SettlementOwner Chersonesos = scythia
set_counter settlementowner_Chersonesos 14
end_if
if I_SettlementOwner Chersonesos = egypt
set_counter settlementowner_Chersonesos 15
end_if
if I_SettlementOwner Chersonesos = parthia
set_counter settlementowner_Chersonesos 16
end_if
if I_SettlementOwner Chersonesos = numidia
set_counter settlementowner_Chersonesos 17
end_if
if I_SettlementOwner Chersonesos = saba
set_counter settlementowner_Chersonesos 18
end_if
if I_SettlementOwner Chersonesos = armenia
set_counter settlementowner_Chersonesos 19
end_if
if I_SettlementOwner Chersonesos = pontus
set_counter settlementowner_Chersonesos 20
end_if
if I_SettlementOwner Diospolis_Megale = slave
set_counter settlementowner_Diospolis_Megale 0
end_if
if I_SettlementOwner Diospolis_Megale = seleucid
set_counter settlementowner_Diospolis_Megale 1
end_if
if I_SettlementOwner Diospolis_Megale = thrace
set_counter settlementowner_Diospolis_Megale 2
end_if
if I_SettlementOwner Diospolis_Megale = greek_cities
set_counter settlementowner_Diospolis_Megale 3
end_if
if I_SettlementOwner Diospolis_Megale = carthage
set_counter settlementowner_Diospolis_Megale 4
end_if
if I_SettlementOwner Diospolis_Megale = romans_julii
set_counter settlementowner_Diospolis_Megale 5
end_if
if I_SettlementOwner Diospolis_Megale = romans_brutii
set_counter settlementowner_Diospolis_Megale 6
end_if
if I_SettlementOwner Diospolis_Megale = romans_scipii
set_counter settlementowner_Diospolis_Megale 7
end_if
if I_SettlementOwner Diospolis_Megale = macedon
set_counter settlementowner_Diospolis_Megale 8
end_if
if I_SettlementOwner Diospolis_Megale = gauls
set_counter settlementowner_Diospolis_Megale 9
end_if
if I_SettlementOwner Diospolis_Megale = germans
set_counter settlementowner_Diospolis_Megale 10
end_if
if I_SettlementOwner Diospolis_Megale = britons
set_counter settlementowner_Diospolis_Megale 11
end_if
if I_SettlementOwner Diospolis_Megale = spain
set_counter settlementowner_Diospolis_Megale 12
end_if
if I_SettlementOwner Diospolis_Megale = dacia
set_counter settlementowner_Diospolis_Megale 13
end_if
if I_SettlementOwner Diospolis_Megale = scythia
set_counter settlementowner_Diospolis_Megale 14
end_if
if I_SettlementOwner Diospolis_Megale = egypt
set_counter settlementowner_Diospolis_Megale 15
end_if
if I_SettlementOwner Diospolis_Megale = parthia
set_counter settlementowner_Diospolis_Megale 16
end_if
if I_SettlementOwner Diospolis_Megale = numidia
set_counter settlementowner_Diospolis_Megale 17
end_if
if I_SettlementOwner Diospolis_Megale = saba
set_counter settlementowner_Diospolis_Megale 18
end_if
if I_SettlementOwner Diospolis_Megale = armenia
set_counter settlementowner_Diospolis_Megale 19
end_if
if I_SettlementOwner Diospolis_Megale = pontus
set_counter settlementowner_Diospolis_Megale 20
end_if
if I_SettlementOwner Demetrias = slave
set_counter settlementowner_Demetrias 0
end_if
if I_SettlementOwner Demetrias = seleucid
set_counter settlementowner_Demetrias 1
end_if
if I_SettlementOwner Demetrias = thrace
set_counter settlementowner_Demetrias 2
end_if
if I_SettlementOwner Demetrias = greek_cities
set_counter settlementowner_Demetrias 3
end_if
if I_SettlementOwner Demetrias = carthage
set_counter settlementowner_Demetrias 4
end_if
if I_SettlementOwner Demetrias = romans_julii
set_counter settlementowner_Demetrias 5
end_if
if I_SettlementOwner Demetrias = romans_brutii
set_counter settlementowner_Demetrias 6
end_if
if I_SettlementOwner Demetrias = romans_scipii
set_counter settlementowner_Demetrias 7
end_if
if I_SettlementOwner Demetrias = macedon
set_counter settlementowner_Demetrias 8
end_if
if I_SettlementOwner Demetrias = gauls
set_counter settlementowner_Demetrias 9
end_if
if I_SettlementOwner Demetrias = germans
set_counter settlementowner_Demetrias 10
end_if
if I_SettlementOwner Demetrias = britons
set_counter settlementowner_Demetrias 11
end_if
if I_SettlementOwner Demetrias = spain
set_counter settlementowner_Demetrias 12
end_if
if I_SettlementOwner Demetrias = dacia
set_counter settlementowner_Demetrias 13
end_if
if I_SettlementOwner Demetrias = scythia
set_counter settlementowner_Demetrias 14
end_if
if I_SettlementOwner Demetrias = egypt
set_counter settlementowner_Demetrias 15
end_if
if I_SettlementOwner Demetrias = parthia
set_counter settlementowner_Demetrias 16
end_if
if I_SettlementOwner Demetrias = numidia
set_counter settlementowner_Demetrias 17
end_if
if I_SettlementOwner Demetrias = saba
set_counter settlementowner_Demetrias 18
end_if
if I_SettlementOwner Demetrias = armenia
set_counter settlementowner_Demetrias 19
end_if
if I_SettlementOwner Demetrias = pontus
set_counter settlementowner_Demetrias 20
end_if
if I_SettlementOwner Naissos = slave
set_counter settlementowner_Naissos 0
end_if
if I_SettlementOwner Naissos = seleucid
set_counter settlementowner_Naissos 1
end_if
if I_SettlementOwner Naissos = thrace
set_counter settlementowner_Naissos 2
end_if
if I_SettlementOwner Naissos = greek_cities
set_counter settlementowner_Naissos 3
end_if
if I_SettlementOwner Naissos = carthage
set_counter settlementowner_Naissos 4
end_if
if I_SettlementOwner Naissos = romans_julii
set_counter settlementowner_Naissos 5
end_if
if I_SettlementOwner Naissos = romans_brutii
set_counter settlementowner_Naissos 6
end_if
if I_SettlementOwner Naissos = romans_scipii
set_counter settlementowner_Naissos 7
end_if
if I_SettlementOwner Naissos = macedon
set_counter settlementowner_Naissos 8
end_if
if I_SettlementOwner Naissos = gauls
set_counter settlementowner_Naissos 9
end_if
if I_SettlementOwner Naissos = germans
set_counter settlementowner_Naissos 10
end_if
if I_SettlementOwner Naissos = britons
set_counter settlementowner_Naissos 11
end_if
if I_SettlementOwner Naissos = spain
set_counter settlementowner_Naissos 12
end_if
if I_SettlementOwner Naissos = dacia
set_counter settlementowner_Naissos 13
end_if
if I_SettlementOwner Naissos = scythia
set_counter settlementowner_Naissos 14
end_if
if I_SettlementOwner Naissos = egypt
set_counter settlementowner_Naissos 15
end_if
if I_SettlementOwner Naissos = parthia
set_counter settlementowner_Naissos 16
end_if
if I_SettlementOwner Naissos = numidia
set_counter settlementowner_Naissos 17
end_if
if I_SettlementOwner Naissos = saba
set_counter settlementowner_Naissos 18
end_if
if I_SettlementOwner Naissos = armenia
set_counter settlementowner_Naissos 19
end_if
if I_SettlementOwner Naissos = pontus
set_counter settlementowner_Naissos 20
end_if
if I_SettlementOwner Ascaucalis = slave
set_counter settlementowner_Ascaucalis 0
end_if
if I_SettlementOwner Ascaucalis = seleucid
set_counter settlementowner_Ascaucalis 1
end_if
if I_SettlementOwner Ascaucalis = thrace
set_counter settlementowner_Ascaucalis 2
end_if
if I_SettlementOwner Ascaucalis = greek_cities
set_counter settlementowner_Ascaucalis 3
end_if
if I_SettlementOwner Ascaucalis = carthage
set_counter settlementowner_Ascaucalis 4
end_if
if I_SettlementOwner Ascaucalis = romans_julii
set_counter settlementowner_Ascaucalis 5
end_if
if I_SettlementOwner Ascaucalis = romans_brutii
set_counter settlementowner_Ascaucalis 6
end_if
if I_SettlementOwner Ascaucalis = romans_scipii
set_counter settlementowner_Ascaucalis 7
end_if
if I_SettlementOwner Ascaucalis = macedon
set_counter settlementowner_Ascaucalis 8
end_if
if I_SettlementOwner Ascaucalis = gauls
set_counter settlementowner_Ascaucalis 9
end_if
if I_SettlementOwner Ascaucalis = germans
set_counter settlementowner_Ascaucalis 10
end_if
if I_SettlementOwner Ascaucalis = britons
set_counter settlementowner_Ascaucalis 11
end_if
if I_SettlementOwner Ascaucalis = spain
set_counter settlementowner_Ascaucalis 12
end_if
if I_SettlementOwner Ascaucalis = dacia
set_counter settlementowner_Ascaucalis 13
end_if
if I_SettlementOwner Ascaucalis = scythia
set_counter settlementowner_Ascaucalis 14
end_if
if I_SettlementOwner Ascaucalis = egypt
set_counter settlementowner_Ascaucalis 15
end_if
if I_SettlementOwner Ascaucalis = parthia
set_counter settlementowner_Ascaucalis 16
end_if
if I_SettlementOwner Ascaucalis = numidia
set_counter settlementowner_Ascaucalis 17
end_if
if I_SettlementOwner Ascaucalis = saba
set_counter settlementowner_Ascaucalis 18
end_if
if I_SettlementOwner Ascaucalis = armenia
set_counter settlementowner_Ascaucalis 19
end_if
if I_SettlementOwner Ascaucalis = pontus
set_counter settlementowner_Ascaucalis 20
end_if
if I_SettlementOwner Pselkis = slave
set_counter settlementowner_Pselkis 0
end_if
if I_SettlementOwner Pselkis = seleucid
set_counter settlementowner_Pselkis 1
end_if
if I_SettlementOwner Pselkis = thrace
set_counter settlementowner_Pselkis 2
end_if
if I_SettlementOwner Pselkis = greek_cities
set_counter settlementowner_Pselkis 3
end_if
if I_SettlementOwner Pselkis = carthage
set_counter settlementowner_Pselkis 4
end_if
if I_SettlementOwner Pselkis = romans_julii
set_counter settlementowner_Pselkis 5
end_if
if I_SettlementOwner Pselkis = romans_brutii
set_counter settlementowner_Pselkis 6
end_if
if I_SettlementOwner Pselkis = romans_scipii
set_counter settlementowner_Pselkis 7
end_if
if I_SettlementOwner Pselkis = macedon
set_counter settlementowner_Pselkis 8
end_if
if I_SettlementOwner Pselkis = gauls
set_counter settlementowner_Pselkis 9
end_if
if I_SettlementOwner Pselkis = germans
set_counter settlementowner_Pselkis 10
end_if
if I_SettlementOwner Pselkis = britons
set_counter settlementowner_Pselkis 11
end_if
if I_SettlementOwner Pselkis = spain
set_counter settlementowner_Pselkis 12
end_if
if I_SettlementOwner Pselkis = dacia
set_counter settlementowner_Pselkis 13
end_if
if I_SettlementOwner Pselkis = scythia
set_counter settlementowner_Pselkis 14
end_if
if I_SettlementOwner Pselkis = egypt
set_counter settlementowner_Pselkis 15
end_if
if I_SettlementOwner Pselkis = parthia
set_counter settlementowner_Pselkis 16
end_if
if I_SettlementOwner Pselkis = numidia
set_counter settlementowner_Pselkis 17
end_if
if I_SettlementOwner Pselkis = saba
set_counter settlementowner_Pselkis 18
end_if
if I_SettlementOwner Pselkis = armenia
set_counter settlementowner_Pselkis 19
end_if
if I_SettlementOwner Pselkis = pontus
set_counter settlementowner_Pselkis 20
end_if
if I_SettlementOwner Syracuse = slave
set_counter settlementowner_Syracuse 0
end_if
if I_SettlementOwner Syracuse = seleucid
set_counter settlementowner_Syracuse 1
end_if
if I_SettlementOwner Syracuse = thrace
set_counter settlementowner_Syracuse 2
end_if
if I_SettlementOwner Syracuse = greek_cities
set_counter settlementowner_Syracuse 3
end_if
if I_SettlementOwner Syracuse = carthage
set_counter settlementowner_Syracuse 4
end_if
if I_SettlementOwner Syracuse = romans_julii
set_counter settlementowner_Syracuse 5
end_if
if I_SettlementOwner Syracuse = romans_brutii
set_counter settlementowner_Syracuse 6
end_if
if I_SettlementOwner Syracuse = romans_scipii
set_counter settlementowner_Syracuse 7
end_if
if I_SettlementOwner Syracuse = macedon
set_counter settlementowner_Syracuse 8
end_if
if I_SettlementOwner Syracuse = gauls
set_counter settlementowner_Syracuse 9
end_if
if I_SettlementOwner Syracuse = germans
set_counter settlementowner_Syracuse 10
end_if
if I_SettlementOwner Syracuse = britons
set_counter settlementowner_Syracuse 11
end_if
if I_SettlementOwner Syracuse = spain
set_counter settlementowner_Syracuse 12
end_if
if I_SettlementOwner Syracuse = dacia
set_counter settlementowner_Syracuse 13
end_if
if I_SettlementOwner Syracuse = scythia
set_counter settlementowner_Syracuse 14
end_if
if I_SettlementOwner Syracuse = egypt
set_counter settlementowner_Syracuse 15
end_if
if I_SettlementOwner Syracuse = parthia
set_counter settlementowner_Syracuse 16
end_if
if I_SettlementOwner Syracuse = numidia
set_counter settlementowner_Syracuse 17
end_if
if I_SettlementOwner Syracuse = saba
set_counter settlementowner_Syracuse 18
end_if
if I_SettlementOwner Syracuse = armenia
set_counter settlementowner_Syracuse 19
end_if
if I_SettlementOwner Syracuse = pontus
set_counter settlementowner_Syracuse 20
end_if
if I_SettlementOwner Lepki = slave
set_counter settlementowner_Lepki 0
end_if
if I_SettlementOwner Lepki = seleucid
set_counter settlementowner_Lepki 1
end_if
if I_SettlementOwner Lepki = thrace
set_counter settlementowner_Lepki 2
end_if
if I_SettlementOwner Lepki = greek_cities
set_counter settlementowner_Lepki 3
end_if
if I_SettlementOwner Lepki = carthage
set_counter settlementowner_Lepki 4
end_if
if I_SettlementOwner Lepki = romans_julii
set_counter settlementowner_Lepki 5
end_if
if I_SettlementOwner Lepki = romans_brutii
set_counter settlementowner_Lepki 6
end_if
if I_SettlementOwner Lepki = romans_scipii
set_counter settlementowner_Lepki 7
end_if
if I_SettlementOwner Lepki = macedon
set_counter settlementowner_Lepki 8
end_if
if I_SettlementOwner Lepki = gauls
set_counter settlementowner_Lepki 9
end_if
if I_SettlementOwner Lepki = germans
set_counter settlementowner_Lepki 10
end_if
if I_SettlementOwner Lepki = britons
set_counter settlementowner_Lepki 11
end_if
if I_SettlementOwner Lepki = spain
set_counter settlementowner_Lepki 12
end_if
if I_SettlementOwner Lepki = dacia
set_counter settlementowner_Lepki 13
end_if
if I_SettlementOwner Lepki = scythia
set_counter settlementowner_Lepki 14
end_if
if I_SettlementOwner Lepki = egypt
set_counter settlementowner_Lepki 15
end_if
if I_SettlementOwner Lepki = parthia
set_counter settlementowner_Lepki 16
end_if
if I_SettlementOwner Lepki = numidia
set_counter settlementowner_Lepki 17
end_if
if I_SettlementOwner Lepki = saba
set_counter settlementowner_Lepki 18
end_if
if I_SettlementOwner Lepki = armenia
set_counter settlementowner_Lepki 19
end_if
if I_SettlementOwner Lepki = pontus
set_counter settlementowner_Lepki 20
end_if
if I_SettlementOwner Gader = slave
set_counter settlementowner_Gader 0
end_if
if I_SettlementOwner Gader = seleucid
set_counter settlementowner_Gader 1
end_if
if I_SettlementOwner Gader = thrace
set_counter settlementowner_Gader 2
end_if
if I_SettlementOwner Gader = greek_cities
set_counter settlementowner_Gader 3
end_if
if I_SettlementOwner Gader = carthage
set_counter settlementowner_Gader 4
end_if
if I_SettlementOwner Gader = romans_julii
set_counter settlementowner_Gader 5
end_if
if I_SettlementOwner Gader = romans_brutii
set_counter settlementowner_Gader 6
end_if
if I_SettlementOwner Gader = romans_scipii
set_counter settlementowner_Gader 7
end_if
if I_SettlementOwner Gader = macedon
set_counter settlementowner_Gader 8
end_if
if I_SettlementOwner Gader = gauls
set_counter settlementowner_Gader 9
end_if
if I_SettlementOwner Gader = germans
set_counter settlementowner_Gader 10
end_if
if I_SettlementOwner Gader = britons
set_counter settlementowner_Gader 11
end_if
if I_SettlementOwner Gader = spain
set_counter settlementowner_Gader 12
end_if
if I_SettlementOwner Gader = dacia
set_counter settlementowner_Gader 13
end_if
if I_SettlementOwner Gader = scythia
set_counter settlementowner_Gader 14
end_if
if I_SettlementOwner Gader = egypt
set_counter settlementowner_Gader 15
end_if
if I_SettlementOwner Gader = parthia
set_counter settlementowner_Gader 16
end_if
if I_SettlementOwner Gader = numidia
set_counter settlementowner_Gader 17
end_if
if I_SettlementOwner Gader = saba
set_counter settlementowner_Gader 18
end_if
if I_SettlementOwner Gader = armenia
set_counter settlementowner_Gader 19
end_if
if I_SettlementOwner Gader = pontus
set_counter settlementowner_Gader 20
end_if
if I_SettlementOwner Sucum-Murgi = slave
set_counter settlementowner_Sucum-Murgi 0
end_if
if I_SettlementOwner Sucum-Murgi = seleucid
set_counter settlementowner_Sucum-Murgi 1
end_if
if I_SettlementOwner Sucum-Murgi = thrace
set_counter settlementowner_Sucum-Murgi 2
end_if
if I_SettlementOwner Sucum-Murgi = greek_cities
set_counter settlementowner_Sucum-Murgi 3
end_if
if I_SettlementOwner Sucum-Murgi = carthage
set_counter settlementowner_Sucum-Murgi 4
end_if
if I_SettlementOwner Sucum-Murgi = romans_julii
set_counter settlementowner_Sucum-Murgi 5
end_if
if I_SettlementOwner Sucum-Murgi = romans_brutii
set_counter settlementowner_Sucum-Murgi 6
end_if
if I_SettlementOwner Sucum-Murgi = romans_scipii
set_counter settlementowner_Sucum-Murgi 7
end_if
if I_SettlementOwner Sucum-Murgi = macedon
set_counter settlementowner_Sucum-Murgi 8
end_if
if I_SettlementOwner Sucum-Murgi = gauls
set_counter settlementowner_Sucum-Murgi 9
end_if
if I_SettlementOwner Sucum-Murgi = germans
set_counter settlementowner_Sucum-Murgi 10
end_if
if I_SettlementOwner Sucum-Murgi = britons
set_counter settlementowner_Sucum-Murgi 11
end_if
if I_SettlementOwner Sucum-Murgi = spain
set_counter settlementowner_Sucum-Murgi 12
end_if
if I_SettlementOwner Sucum-Murgi = dacia
set_counter settlementowner_Sucum-Murgi 13
end_if
if I_SettlementOwner Sucum-Murgi = scythia
set_counter settlementowner_Sucum-Murgi 14
end_if
if I_SettlementOwner Sucum-Murgi = egypt
set_counter settlementowner_Sucum-Murgi 15
end_if
if I_SettlementOwner Sucum-Murgi = parthia
set_counter settlementowner_Sucum-Murgi 16
end_if
if I_SettlementOwner Sucum-Murgi = numidia
set_counter settlementowner_Sucum-Murgi 17
end_if
if I_SettlementOwner Sucum-Murgi = saba
set_counter settlementowner_Sucum-Murgi 18
end_if
if I_SettlementOwner Sucum-Murgi = armenia
set_counter settlementowner_Sucum-Murgi 19
end_if
if I_SettlementOwner Sucum-Murgi = pontus
set_counter settlementowner_Sucum-Murgi 20
end_if
if I_SettlementOwner Ariminum = slave
set_counter settlementowner_Ariminum 0
end_if
if I_SettlementOwner Ariminum = seleucid
set_counter settlementowner_Ariminum 1
end_if
if I_SettlementOwner Ariminum = thrace
set_counter settlementowner_Ariminum 2
end_if
if I_SettlementOwner Ariminum = greek_cities
set_counter settlementowner_Ariminum 3
end_if
if I_SettlementOwner Ariminum = carthage
set_counter settlementowner_Ariminum 4
end_if
if I_SettlementOwner Ariminum = romans_julii
set_counter settlementowner_Ariminum 5
end_if
if I_SettlementOwner Ariminum = romans_brutii
set_counter settlementowner_Ariminum 6
end_if
if I_SettlementOwner Ariminum = romans_scipii
set_counter settlementowner_Ariminum 7
end_if
if I_SettlementOwner Ariminum = macedon
set_counter settlementowner_Ariminum 8
end_if
if I_SettlementOwner Ariminum = gauls
set_counter settlementowner_Ariminum 9
end_if
if I_SettlementOwner Ariminum = germans
set_counter settlementowner_Ariminum 10
end_if
if I_SettlementOwner Ariminum = britons
set_counter settlementowner_Ariminum 11
end_if
if I_SettlementOwner Ariminum = spain
set_counter settlementowner_Ariminum 12
end_if
if I_SettlementOwner Ariminum = dacia
set_counter settlementowner_Ariminum 13
end_if
if I_SettlementOwner Ariminum = scythia
set_counter settlementowner_Ariminum 14
end_if
if I_SettlementOwner Ariminum = egypt
set_counter settlementowner_Ariminum 15
end_if
if I_SettlementOwner Ariminum = parthia
set_counter settlementowner_Ariminum 16
end_if
if I_SettlementOwner Ariminum = numidia
set_counter settlementowner_Ariminum 17
end_if
if I_SettlementOwner Ariminum = saba
set_counter settlementowner_Ariminum 18
end_if
if I_SettlementOwner Ariminum = armenia
set_counter settlementowner_Ariminum 19
end_if
if I_SettlementOwner Ariminum = pontus
set_counter settlementowner_Ariminum 20
end_if
if I_SettlementOwner Patavium = slave
set_counter settlementowner_Patavium 0
end_if
if I_SettlementOwner Patavium = seleucid
set_counter settlementowner_Patavium 1
end_if
if I_SettlementOwner Patavium = thrace
set_counter settlementowner_Patavium 2
end_if
if I_SettlementOwner Patavium = greek_cities
set_counter settlementowner_Patavium 3
end_if
if I_SettlementOwner Patavium = carthage
set_counter settlementowner_Patavium 4
end_if
if I_SettlementOwner Patavium = romans_julii
set_counter settlementowner_Patavium 5
end_if
if I_SettlementOwner Patavium = romans_brutii
set_counter settlementowner_Patavium 6
end_if
if I_SettlementOwner Patavium = romans_scipii
set_counter settlementowner_Patavium 7
end_if
if I_SettlementOwner Patavium = macedon
set_counter settlementowner_Patavium 8
end_if
if I_SettlementOwner Patavium = gauls
set_counter settlementowner_Patavium 9
end_if
if I_SettlementOwner Patavium = germans
set_counter settlementowner_Patavium 10
end_if
if I_SettlementOwner Patavium = britons
set_counter settlementowner_Patavium 11
end_if
if I_SettlementOwner Patavium = spain
set_counter settlementowner_Patavium 12
end_if
if I_SettlementOwner Patavium = dacia
set_counter settlementowner_Patavium 13
end_if
if I_SettlementOwner Patavium = scythia
set_counter settlementowner_Patavium 14
end_if
if I_SettlementOwner Patavium = egypt
set_counter settlementowner_Patavium 15
end_if
if I_SettlementOwner Patavium = parthia
set_counter settlementowner_Patavium 16
end_if
if I_SettlementOwner Patavium = numidia
set_counter settlementowner_Patavium 17
end_if
if I_SettlementOwner Patavium = saba
set_counter settlementowner_Patavium 18
end_if
if I_SettlementOwner Patavium = armenia
set_counter settlementowner_Patavium 19
end_if
if I_SettlementOwner Patavium = pontus
set_counter settlementowner_Patavium 20
end_if
if I_SettlementOwner Vindelicoppidos = slave
set_counter settlementowner_Vindelicoppidos 0
end_if
if I_SettlementOwner Vindelicoppidos = seleucid
set_counter settlementowner_Vindelicoppidos 1
end_if
if I_SettlementOwner Vindelicoppidos = thrace
set_counter settlementowner_Vindelicoppidos 2
end_if
if I_SettlementOwner Vindelicoppidos = greek_cities
set_counter settlementowner_Vindelicoppidos 3
end_if
if I_SettlementOwner Vindelicoppidos = carthage
set_counter settlementowner_Vindelicoppidos 4
end_if
if I_SettlementOwner Vindelicoppidos = romans_julii
set_counter settlementowner_Vindelicoppidos 5
end_if
if I_SettlementOwner Vindelicoppidos = romans_brutii
set_counter settlementowner_Vindelicoppidos 6
end_if
if I_SettlementOwner Vindelicoppidos = romans_scipii
set_counter settlementowner_Vindelicoppidos 7
end_if
if I_SettlementOwner Vindelicoppidos = macedon
set_counter settlementowner_Vindelicoppidos 8
end_if
if I_SettlementOwner Vindelicoppidos = gauls
set_counter settlementowner_Vindelicoppidos 9
end_if
if I_SettlementOwner Vindelicoppidos = germans
set_counter settlementowner_Vindelicoppidos 10
end_if
if I_SettlementOwner Vindelicoppidos = britons
set_counter settlementowner_Vindelicoppidos 11
end_if
if I_SettlementOwner Vindelicoppidos = spain
set_counter settlementowner_Vindelicoppidos 12
end_if
if I_SettlementOwner Vindelicoppidos = dacia
set_counter settlementowner_Vindelicoppidos 13
end_if
if I_SettlementOwner Vindelicoppidos = scythia
set_counter settlementowner_Vindelicoppidos 14
end_if
if I_SettlementOwner Vindelicoppidos = egypt
set_counter settlementowner_Vindelicoppidos 15
end_if
if I_SettlementOwner Vindelicoppidos = parthia
set_counter settlementowner_Vindelicoppidos 16
end_if
if I_SettlementOwner Vindelicoppidos = numidia
set_counter settlementowner_Vindelicoppidos 17
end_if
if I_SettlementOwner Vindelicoppidos = saba
set_counter settlementowner_Vindelicoppidos 18
end_if
if I_SettlementOwner Vindelicoppidos = armenia
set_counter settlementowner_Vindelicoppidos 19
end_if
if I_SettlementOwner Vindelicoppidos = pontus
set_counter settlementowner_Vindelicoppidos 20
end_if
if I_SettlementOwner Tolosa = slave
set_counter settlementowner_Tolosa 0
end_if
if I_SettlementOwner Tolosa = seleucid
set_counter settlementowner_Tolosa 1
end_if
if I_SettlementOwner Tolosa = thrace
set_counter settlementowner_Tolosa 2
end_if
if I_SettlementOwner Tolosa = greek_cities
set_counter settlementowner_Tolosa 3
end_if
if I_SettlementOwner Tolosa = carthage
set_counter settlementowner_Tolosa 4
end_if
if I_SettlementOwner Tolosa = romans_julii
set_counter settlementowner_Tolosa 5
end_if
if I_SettlementOwner Tolosa = romans_brutii
set_counter settlementowner_Tolosa 6
end_if
if I_SettlementOwner Tolosa = romans_scipii
set_counter settlementowner_Tolosa 7
end_if
if I_SettlementOwner Tolosa = macedon
set_counter settlementowner_Tolosa 8
end_if
if I_SettlementOwner Tolosa = gauls
set_counter settlementowner_Tolosa 9
end_if
if I_SettlementOwner Tolosa = germans
set_counter settlementowner_Tolosa 10
end_if
if I_SettlementOwner Tolosa = britons
set_counter settlementowner_Tolosa 11
end_if
if I_SettlementOwner Tolosa = spain
set_counter settlementowner_Tolosa 12
end_if
if I_SettlementOwner Tolosa = dacia
set_counter settlementowner_Tolosa 13
end_if
if I_SettlementOwner Tolosa = scythia
set_counter settlementowner_Tolosa 14
end_if
if I_SettlementOwner Tolosa = egypt
set_counter settlementowner_Tolosa 15
end_if
if I_SettlementOwner Tolosa = parthia
set_counter settlementowner_Tolosa 16
end_if
if I_SettlementOwner Tolosa = numidia
set_counter settlementowner_Tolosa 17
end_if
if I_SettlementOwner Tolosa = saba
set_counter settlementowner_Tolosa 18
end_if
if I_SettlementOwner Tolosa = armenia
set_counter settlementowner_Tolosa 19
end_if
if I_SettlementOwner Tolosa = pontus
set_counter settlementowner_Tolosa 20
end_if
if I_SettlementOwner Chighu = slave
set_counter settlementowner_Chighu 0
end_if
if I_SettlementOwner Chighu = seleucid
set_counter settlementowner_Chighu 1
end_if
if I_SettlementOwner Chighu = thrace
set_counter settlementowner_Chighu 2
end_if
if I_SettlementOwner Chighu = greek_cities
set_counter settlementowner_Chighu 3
end_if
if I_SettlementOwner Chighu = carthage
set_counter settlementowner_Chighu 4
end_if
if I_SettlementOwner Chighu = romans_julii
set_counter settlementowner_Chighu 5
end_if
if I_SettlementOwner Chighu = romans_brutii
set_counter settlementowner_Chighu 6
end_if
if I_SettlementOwner Chighu = romans_scipii
set_counter settlementowner_Chighu 7
end_if
if I_SettlementOwner Chighu = macedon
set_counter settlementowner_Chighu 8
end_if
if I_SettlementOwner Chighu = gauls
set_counter settlementowner_Chighu 9
end_if
if I_SettlementOwner Chighu = germans
set_counter settlementowner_Chighu 10
end_if
if I_SettlementOwner Chighu = britons
set_counter settlementowner_Chighu 11
end_if
if I_SettlementOwner Chighu = spain
set_counter settlementowner_Chighu 12
end_if
if I_SettlementOwner Chighu = dacia
set_counter settlementowner_Chighu 13
end_if
if I_SettlementOwner Chighu = scythia
set_counter settlementowner_Chighu 14
end_if
if I_SettlementOwner Chighu = egypt
set_counter settlementowner_Chighu 15
end_if
if I_SettlementOwner Chighu = parthia
set_counter settlementowner_Chighu 16
end_if
if I_SettlementOwner Chighu = numidia
set_counter settlementowner_Chighu 17
end_if
if I_SettlementOwner Chighu = saba
set_counter settlementowner_Chighu 18
end_if
if I_SettlementOwner Chighu = armenia
set_counter settlementowner_Chighu 19
end_if
if I_SettlementOwner Chighu = pontus
set_counter settlementowner_Chighu 20
end_if
if I_SettlementOwner Sulek = slave
set_counter settlementowner_Sulek 0
end_if
if I_SettlementOwner Sulek = seleucid
set_counter settlementowner_Sulek 1
end_if
if I_SettlementOwner Sulek = thrace
set_counter settlementowner_Sulek 2
end_if
if I_SettlementOwner Sulek = greek_cities
set_counter settlementowner_Sulek 3
end_if
if I_SettlementOwner Sulek = carthage
set_counter settlementowner_Sulek 4
end_if
if I_SettlementOwner Sulek = romans_julii
set_counter settlementowner_Sulek 5
end_if
if I_SettlementOwner Sulek = romans_brutii
set_counter settlementowner_Sulek 6
end_if
if I_SettlementOwner Sulek = romans_scipii
set_counter settlementowner_Sulek 7
end_if
if I_SettlementOwner Sulek = macedon
set_counter settlementowner_Sulek 8
end_if
if I_SettlementOwner Sulek = gauls
set_counter settlementowner_Sulek 9
end_if
if I_SettlementOwner Sulek = germans
set_counter settlementowner_Sulek 10
end_if
if I_SettlementOwner Sulek = britons
set_counter settlementowner_Sulek 11
end_if
if I_SettlementOwner Sulek = spain
set_counter settlementowner_Sulek 12
end_if
if I_SettlementOwner Sulek = dacia
set_counter settlementowner_Sulek 13
end_if
if I_SettlementOwner Sulek = scythia
set_counter settlementowner_Sulek 14
end_if
if I_SettlementOwner Sulek = egypt
set_counter settlementowner_Sulek 15
end_if
if I_SettlementOwner Sulek = parthia
set_counter settlementowner_Sulek 16
end_if
if I_SettlementOwner Sulek = numidia
set_counter settlementowner_Sulek 17
end_if
if I_SettlementOwner Sulek = saba
set_counter settlementowner_Sulek 18
end_if
if I_SettlementOwner Sulek = armenia
set_counter settlementowner_Sulek 19
end_if
if I_SettlementOwner Sulek = pontus
set_counter settlementowner_Sulek 20
end_if
if I_SettlementOwner Kart_Hadast = slave
set_counter settlementowner_Kart_Hadast 0
end_if
if I_SettlementOwner Kart_Hadast = seleucid
set_counter settlementowner_Kart_Hadast 1
end_if
if I_SettlementOwner Kart_Hadast = thrace
set_counter settlementowner_Kart_Hadast 2
end_if
if I_SettlementOwner Kart_Hadast = greek_cities
set_counter settlementowner_Kart_Hadast 3
end_if
if I_SettlementOwner Kart_Hadast = carthage
set_counter settlementowner_Kart_Hadast 4
end_if
if I_SettlementOwner Kart_Hadast = romans_julii
set_counter settlementowner_Kart_Hadast 5
end_if
if I_SettlementOwner Kart_Hadast = romans_brutii
set_counter settlementowner_Kart_Hadast 6
end_if
if I_SettlementOwner Kart_Hadast = romans_scipii
set_counter settlementowner_Kart_Hadast 7
end_if
if I_SettlementOwner Kart_Hadast = macedon
set_counter settlementowner_Kart_Hadast 8
end_if
if I_SettlementOwner Kart_Hadast = gauls
set_counter settlementowner_Kart_Hadast 9
end_if
if I_SettlementOwner Kart_Hadast = germans
set_counter settlementowner_Kart_Hadast 10
end_if
if I_SettlementOwner Kart_Hadast = britons
set_counter settlementowner_Kart_Hadast 11
end_if
if I_SettlementOwner Kart_Hadast = spain
set_counter settlementowner_Kart_Hadast 12
end_if
if I_SettlementOwner Kart_Hadast = dacia
set_counter settlementowner_Kart_Hadast 13
end_if
if I_SettlementOwner Kart_Hadast = scythia
set_counter settlementowner_Kart_Hadast 14
end_if
if I_SettlementOwner Kart_Hadast = egypt
set_counter settlementowner_Kart_Hadast 15
end_if
if I_SettlementOwner Kart_Hadast = parthia
set_counter settlementowner_Kart_Hadast 16
end_if
if I_SettlementOwner Kart_Hadast = numidia
set_counter settlementowner_Kart_Hadast 17
end_if
if I_SettlementOwner Kart_Hadast = saba
set_counter settlementowner_Kart_Hadast 18
end_if
if I_SettlementOwner Kart_Hadast = armenia
set_counter settlementowner_Kart_Hadast 19
end_if
if I_SettlementOwner Kart_Hadast = pontus
set_counter settlementowner_Kart_Hadast 20
end_if
if I_SettlementOwner Ubar = slave
set_counter settlementowner_Ubar 0
end_if
if I_SettlementOwner Ubar = seleucid
set_counter settlementowner_Ubar 1
end_if
if I_SettlementOwner Ubar = thrace
set_counter settlementowner_Ubar 2
end_if
if I_SettlementOwner Ubar = greek_cities
set_counter settlementowner_Ubar 3
end_if
if I_SettlementOwner Ubar = carthage
set_counter settlementowner_Ubar 4
end_if
if I_SettlementOwner Ubar = romans_julii
set_counter settlementowner_Ubar 5
end_if
if I_SettlementOwner Ubar = romans_brutii
set_counter settlementowner_Ubar 6
end_if
if I_SettlementOwner Ubar = romans_scipii
set_counter settlementowner_Ubar 7
end_if
if I_SettlementOwner Ubar = macedon
set_counter settlementowner_Ubar 8
end_if
if I_SettlementOwner Ubar = gauls
set_counter settlementowner_Ubar 9
end_if
if I_SettlementOwner Ubar = germans
set_counter settlementowner_Ubar 10
end_if
if I_SettlementOwner Ubar = britons
set_counter settlementowner_Ubar 11
end_if
if I_SettlementOwner Ubar = spain
set_counter settlementowner_Ubar 12
end_if
if I_SettlementOwner Ubar = dacia
set_counter settlementowner_Ubar 13
end_if
if I_SettlementOwner Ubar = scythia
set_counter settlementowner_Ubar 14
end_if
if I_SettlementOwner Ubar = egypt
set_counter settlementowner_Ubar 15
end_if
if I_SettlementOwner Ubar = parthia
set_counter settlementowner_Ubar 16
end_if
if I_SettlementOwner Ubar = numidia
set_counter settlementowner_Ubar 17
end_if
if I_SettlementOwner Ubar = saba
set_counter settlementowner_Ubar 18
end_if
if I_SettlementOwner Ubar = armenia
set_counter settlementowner_Ubar 19
end_if
if I_SettlementOwner Ubar = pontus
set_counter settlementowner_Ubar 20
end_if
end_monitor
;
; Damage government buildings when settlements change hands and reset
; settlement ownership counters
;
monitor_conditions I_LocalFaction slave
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 0
and I_SettlementOwner Arbela = slave
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 0
end_if

if I_CompareCounter settlementowner_Phraaspa != 0
and I_SettlementOwner Phraaspa = slave
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 0
end_if

if I_CompareCounter settlementowner_Bononia != 0
and I_SettlementOwner Bononia = slave
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 0
end_if

if I_CompareCounter settlementowner_Kabalaka != 0
and I_SettlementOwner Kabalaka = slave
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 0
end_if

if I_CompareCounter settlementowner_Thermon != 0
and I_SettlementOwner Thermon = slave
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 0
end_if

if I_CompareCounter settlementowner_Arpi != 0
and I_SettlementOwner Arpi = slave
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 0
end_if

if I_CompareCounter settlementowner_Burdigala != 0
and I_SettlementOwner Burdigala = slave
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 0
end_if

if I_CompareCounter settlementowner_Babylon != 0
and I_SettlementOwner Babylon = slave
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 0
end_if

if I_CompareCounter settlementowner_Alexandropolis != 0
and I_SettlementOwner Alexandropolis = slave
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 0
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 0
and I_SettlementOwner Alexandreia_Ariana = slave
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 0
end_if

if I_CompareCounter settlementowner_Darioritum != 0
and I_SettlementOwner Darioritum = slave
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 0
end_if

if I_CompareCounter settlementowner_Gergovia != 0
and I_SettlementOwner Gergovia = slave
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 0
end_if

if I_CompareCounter settlementowner_Edessa != 0
and I_SettlementOwner Edessa = slave
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 0
end_if

if I_CompareCounter settlementowner_Asaak != 0
and I_SettlementOwner Asaak = slave
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 0
end_if

if I_CompareCounter settlementowner_Pallantia != 0
and I_SettlementOwner Pallantia = slave
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 0
end_if

if I_CompareCounter settlementowner_Athenai != 0
and I_SettlementOwner Athenai = slave
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 0
end_if

if I_CompareCounter settlementowner_Augila_settlement != 0
and I_SettlementOwner Augila_settlement = slave
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 0
end_if

if I_CompareCounter settlementowner_Seleukeia != 0
and I_SettlementOwner Seleukeia = slave
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 0
end_if

if I_CompareCounter settlementowner_Baktra != 0
and I_SettlementOwner Baktra = slave
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 0
end_if

if I_CompareCounter settlementowner_Bocchoris != 0
and I_SettlementOwner Bocchoris = slave
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 0
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 0
and I_SettlementOwner Gawjam_Bastarnoz = slave
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 0
end_if

if I_CompareCounter settlementowner_Mastia != 0
and I_SettlementOwner Mastia = slave
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 0
end_if

if I_CompareCounter settlementowner_Avaricum != 0
and I_SettlementOwner Avaricum = slave
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 0
end_if

if I_CompareCounter settlementowner_Bratosporios != 0
and I_SettlementOwner Bratosporios = slave
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 0
end_if

if I_CompareCounter settlementowner_Nikaia != 0
and I_SettlementOwner Nikaia = slave
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 0
end_if

if I_CompareCounter settlementowner_Pantikapaion != 0
and I_SettlementOwner Pantikapaion = slave
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 0
end_if

if I_CompareCounter settlementowner_Rhegion != 0
and I_SettlementOwner Rhegion = slave
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 0
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 0
and I_SettlementOwner Caern_Brigantae = slave
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 0
end_if

if I_CompareCounter settlementowner_Gelonus != 0
and I_SettlementOwner Gelonus = slave
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 0
end_if

if I_CompareCounter settlementowner_Adrumeto != 0
and I_SettlementOwner Adrumeto = slave
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 0
end_if

if I_CompareCounter settlementowner_Attuaca != 0
and I_SettlementOwner Attuaca = slave
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 0
end_if

if I_CompareCounter settlementowner_Capua != 0
and I_SettlementOwner Capua = slave
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 0
end_if

if I_CompareCounter settlementowner_Vellika != 0
and I_SettlementOwner Vellika = slave
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 0
end_if

if I_CompareCounter settlementowner_Baikor != 0
and I_SettlementOwner Baikor = slave
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 0
end_if

if I_CompareCounter settlementowner_Camulosadae != 0
and I_SettlementOwner Camulosadae = slave
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 0
end_if

if I_CompareCounter settlementowner_Numantia != 0
and I_SettlementOwner Numantia = slave
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 0
end_if

if I_CompareCounter settlementowner_Charax != 0
and I_SettlementOwner Charax = slave
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 0
end_if

if I_CompareCounter settlementowner_Byzantion != 0
and I_SettlementOwner Byzantion = slave
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 0
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 0
and I_SettlementOwner Ptolemais_Theron = slave
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 0
end_if

if I_CompareCounter settlementowner_Ratae != 0
and I_SettlementOwner Ratae = slave
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 0
end_if

if I_CompareCounter settlementowner_Ictis != 0
and I_SettlementOwner Ictis = slave
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 0
end_if

if I_CompareCounter settlementowner_Lucarottea != 0
and I_SettlementOwner Lucarottea = slave
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 0
end_if

if I_CompareCounter settlementowner_Emain_Macha != 0
and I_SettlementOwner Emain_Macha = slave
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 0
end_if

if I_CompareCounter settlementowner_Atiqa != 0
and I_SettlementOwner Atiqa = slave
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 0
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 0
and I_SettlementOwner Ynys_Mon = slave
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 0
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 0
and I_SettlementOwner Gava_Alanna = slave
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 0
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 0
and I_SettlementOwner Gava_Aursa = slave
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 0
end_if

if I_CompareCounter settlementowner_Nisa != 0
and I_SettlementOwner Nisa = slave
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 0
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 0
and I_SettlementOwner Gava_Haomavarga = slave
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 0
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 0
and I_SettlementOwner Gava_Mazsakata = slave
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 0
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 0
and I_SettlementOwner Gava_Roxsalanna = slave
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 0
end_if

if I_CompareCounter settlementowner_Uspe != 0
and I_SettlementOwner Uspe = slave
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 0
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 0
and I_SettlementOwner Gava_Thissakata = slave
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 0
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 0
and I_SettlementOwner Gava_Yazyga = slave
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 0
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 0
and I_SettlementOwner Gava_Yugra = slave
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 0
end_if

if I_CompareCounter settlementowner_Dalminion != 0
and I_SettlementOwner Dalminion = slave
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 0
end_if

if I_CompareCounter settlementowner_Serdike != 0
and I_SettlementOwner Serdike = slave
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 0
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 0
and I_SettlementOwner Alexandreia_Eschate = slave
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 0
end_if

if I_CompareCounter settlementowner_Alexandreia != 0
and I_SettlementOwner Alexandreia = slave
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 0
end_if

if I_CompareCounter settlementowner_Axum != 0
and I_SettlementOwner Axum = slave
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 0
end_if

if I_CompareCounter settlementowner_Prophthasia != 0
and I_SettlementOwner Prophthasia = slave
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 0
end_if

if I_CompareCounter settlementowner_Arse != 0
and I_SettlementOwner Arse = slave
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 0
end_if

if I_CompareCounter settlementowner_Kotais != 0
and I_SettlementOwner Kotais = slave
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 0
end_if

if I_CompareCounter settlementowner_Lilibeo != 0
and I_SettlementOwner Lilibeo = slave
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 0
end_if

if I_CompareCounter settlementowner_Susa != 0
and I_SettlementOwner Susa = slave
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 0
end_if

if I_CompareCounter settlementowner_Apollonia != 0
and I_SettlementOwner Apollonia = slave
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 0
end_if

if I_CompareCounter settlementowner_Ivernis != 0
and I_SettlementOwner Ivernis = slave
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 0
end_if

if I_CompareCounter settlementowner_Ak_Ink != 0
and I_SettlementOwner Ak_Ink = slave
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 0
end_if

if I_CompareCounter settlementowner_Arretium != 0
and I_SettlementOwner Arretium = slave
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 0
end_if

if I_CompareCounter settlementowner_Chalkis != 0
and I_SettlementOwner Chalkis = slave
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 0
end_if

if I_CompareCounter settlementowner_Gabai != 0
and I_SettlementOwner Gabai = slave
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 0
end_if

if I_CompareCounter settlementowner_Tuat != 0
and I_SettlementOwner Tuat = slave
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 0
end_if

if I_CompareCounter settlementowner_Tyde != 0
and I_SettlementOwner Tyde = slave
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 0
end_if

if I_CompareCounter settlementowner_Ankyra != 0
and I_SettlementOwner Ankyra = slave
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 0
end_if

if I_CompareCounter settlementowner_Taksashila != 0
and I_SettlementOwner Taksashila = slave
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 0
end_if

if I_CompareCounter settlementowner_Pura != 0
and I_SettlementOwner Pura = slave
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 0
end_if

if I_CompareCounter settlementowner_Gerrha != 0
and I_SettlementOwner Gerrha = slave
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 0
end_if

if I_CompareCounter settlementowner_Buridava != 0
and I_SettlementOwner Buridava = slave
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 0
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 0
and I_SettlementOwner Sarmiszegethusa = slave
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 0
end_if

if I_CompareCounter settlementowner_Massalia != 0
and I_SettlementOwner Massalia = slave
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 0
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 0
and I_SettlementOwner Gawjam_Habukoz = slave
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 0
end_if

if I_CompareCounter settlementowner_Sabata != 0
and I_SettlementOwner Sabata = slave
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 0
end_if

if I_CompareCounter settlementowner_Arctaunon != 0
and I_SettlementOwner Arctaunon = slave
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 0
end_if

if I_CompareCounter settlementowner_Armavir != 0
and I_SettlementOwner Armavir = slave
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 0
end_if

if I_CompareCounter settlementowner_Aventicos != 0
and I_SettlementOwner Aventicos = slave
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 0
end_if

if I_CompareCounter settlementowner_Memphis != 0
and I_SettlementOwner Memphis = slave
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 0
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 0
and I_SettlementOwner Gawjam_Heruskoz = slave
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 0
end_if

if I_CompareCounter settlementowner_Zadrakata != 0
and I_SettlementOwner Zadrakata = slave
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 0
end_if

if I_CompareCounter settlementowner_Epidamnos != 0
and I_SettlementOwner Epidamnos = slave
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 0
end_if

if I_CompareCounter settlementowner_Mediolanum != 0
and I_SettlementOwner Mediolanum = slave
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 0
end_if

if I_CompareCounter settlementowner_Hierosolyma != 0
and I_SettlementOwner Hierosolyma = slave
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 0
end_if

if I_CompareCounter settlementowner_Taras != 0
and I_SettlementOwner Taras = slave
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 0
end_if

if I_CompareCounter settlementowner_Chach != 0
and I_SettlementOwner Chach = slave
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 0
end_if

if I_CompareCounter settlementowner_Mazaka != 0
and I_SettlementOwner Mazaka = slave
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 0
end_if

if I_CompareCounter settlementowner_Amaseia != 0
and I_SettlementOwner Amaseia = slave
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 0
end_if

if I_CompareCounter settlementowner_Halikarnassos != 0
and I_SettlementOwner Halikarnassos = slave
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 0
end_if

if I_CompareCounter settlementowner_Karmana != 0
and I_SettlementOwner Karmana = slave
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 0
end_if

if I_CompareCounter settlementowner_Mtskheta != 0
and I_SettlementOwner Mtskheta = slave
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 0
end_if

if I_CompareCounter settlementowner_Apameia != 0
and I_SettlementOwner Apameia = slave
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 0
end_if

if I_CompareCounter settlementowner_Khiva != 0
and I_SettlementOwner Khiva = slave
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 0
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 0
and I_SettlementOwner Tarsos = slave
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 0
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 0
and I_SettlementOwner Gawjam_Kimbroz = slave
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 0
end_if

if I_CompareCounter settlementowner_Alalia != 0
and I_SettlementOwner Alalia = slave
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 0
end_if

if I_CompareCounter settlementowner_Kydonia != 0
and I_SettlementOwner Kydonia = slave
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 0
end_if

if I_CompareCounter settlementowner_Meroe != 0
and I_SettlementOwner Meroe = slave
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 0
end_if

if I_CompareCounter settlementowner_Salamis != 0
and I_SettlementOwner Salamis = slave
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 0
end_if

if I_CompareCounter settlementowner_Kyrene != 0
and I_SettlementOwner Kyrene = slave
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 0
end_if

if I_CompareCounter settlementowner_Emporion != 0
and I_SettlementOwner Emporion = slave
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 0
end_if

if I_CompareCounter settlementowner_Sparte != 0
and I_SettlementOwner Sparte = slave
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 0
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 0
and I_SettlementOwner Gawjam_Gotanoz = slave
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 0
end_if

if I_CompareCounter settlementowner_Rome != 0
and I_SettlementOwner Rome = slave
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 0
end_if

if I_CompareCounter settlementowner_Lemonum != 0
and I_SettlementOwner Lemonum = slave
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 0
end_if

if I_CompareCounter settlementowner_Mytilene != 0
and I_SettlementOwner Mytilene = slave
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 0
end_if

if I_CompareCounter settlementowner_Ammonion != 0
and I_SettlementOwner Ammonion = slave
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 0
end_if

if I_CompareCounter settlementowner_Segesta != 0
and I_SettlementOwner Segesta = slave
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 0
end_if

if I_CompareCounter settlementowner_Viennos != 0
and I_SettlementOwner Viennos = slave
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 0
end_if

if I_CompareCounter settlementowner_Carrodunum != 0
and I_SettlementOwner Carrodunum = slave
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 0
end_if

if I_CompareCounter settlementowner_Oxtraca != 0
and I_SettlementOwner Oxtraca = slave
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 0
end_if

if I_CompareCounter settlementowner_Sardis != 0
and I_SettlementOwner Sardis = slave
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 0
end_if

if I_CompareCounter settlementowner_Tanais != 0
and I_SettlementOwner Tanais = slave
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 0
end_if

if I_CompareCounter settlementowner_Carna != 0
and I_SettlementOwner Carna = slave
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 0
end_if

if I_CompareCounter settlementowner_Pella != 0
and I_SettlementOwner Pella = slave
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 0
end_if

if I_CompareCounter settlementowner_Homna != 0
and I_SettlementOwner Homna = slave
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 0
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 0
and I_SettlementOwner Antiocheia_Margiane = slave
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 0
end_if

if I_CompareCounter settlementowner_Paraitonion != 0
and I_SettlementOwner Paraitonion = slave
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 0
end_if

if I_CompareCounter settlementowner_Ippone != 0
and I_SettlementOwner Ippone = slave
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 0
end_if

if I_CompareCounter settlementowner_Sala != 0
and I_SettlementOwner Sala = slave
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 0
end_if

if I_CompareCounter settlementowner_Siga != 0
and I_SettlementOwner Siga = slave
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 0
end_if

if I_CompareCounter settlementowner_Lixus != 0
and I_SettlementOwner Lixus = slave
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 0
end_if

if I_CompareCounter settlementowner_Ekbatana != 0
and I_SettlementOwner Ekbatana = slave
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 0
end_if

if I_CompareCounter settlementowner_Kallatis != 0
and I_SettlementOwner Kallatis = slave
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 0
end_if

if I_CompareCounter settlementowner_Bibracte != 0
and I_SettlementOwner Bibracte = slave
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 0
end_if

if I_CompareCounter settlementowner_Cenabum != 0
and I_SettlementOwner Cenabum = slave
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 0
end_if

if I_CompareCounter settlementowner_Eburonum != 0
and I_SettlementOwner Eburonum = slave
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 0
end_if

if I_CompareCounter settlementowner_Pergamon != 0
and I_SettlementOwner Pergamon = slave
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 0
end_if

if I_CompareCounter settlementowner_Bostra != 0
and I_SettlementOwner Bostra = slave
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 0
end_if

if I_CompareCounter settlementowner_Bagacos != 0
and I_SettlementOwner Bagacos = slave
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 0
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 0
and I_SettlementOwner Gordu_Neuriji = slave
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 0
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 0
and I_SettlementOwner Iuvavoaeta = slave
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 0
end_if

if I_CompareCounter settlementowner_Kirtan != 0
and I_SettlementOwner Kirtan = slave
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 0
end_if

if I_CompareCounter settlementowner_Hibis != 0
and I_SettlementOwner Hibis = slave
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 0
end_if

if I_CompareCounter settlementowner_Tylis != 0
and I_SettlementOwner Tylis = slave
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 0
end_if

if I_CompareCounter settlementowner_Side != 0
and I_SettlementOwner Side = slave
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 0
end_if

if I_CompareCounter settlementowner_Vindobona != 0
and I_SettlementOwner Vindobona = slave
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 0
end_if

if I_CompareCounter settlementowner_Segestica != 0
and I_SettlementOwner Segestica = slave
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 0
end_if

if I_CompareCounter settlementowner_Sinope != 0
and I_SettlementOwner Sinope = slave
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 0
end_if

if I_CompareCounter settlementowner_Kophen != 0
and I_SettlementOwner Kophen = slave
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 0
end_if

if I_CompareCounter settlementowner_Hekatompylos != 0
and I_SettlementOwner Hekatompylos = slave
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 0
end_if

if I_CompareCounter settlementowner_Korinthos != 0
and I_SettlementOwner Korinthos = slave
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 0
end_if

if I_CompareCounter settlementowner_Persepolis != 0
and I_SettlementOwner Persepolis = slave
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 0
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 0
and I_SettlementOwner Garama = slave
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 0
end_if

if I_CompareCounter settlementowner_Sidon != 0
and I_SettlementOwner Sidon = slave
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 0
end_if

if I_CompareCounter settlementowner_Ipsos != 0
and I_SettlementOwner Ipsos = slave
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 0
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 0
and I_SettlementOwner Ani-Kamah = slave
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 0
end_if

if I_CompareCounter settlementowner_Trapezous != 0
and I_SettlementOwner Trapezous = slave
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 0
end_if

if I_CompareCounter settlementowner_Tamane != 0
and I_SettlementOwner Tamane = slave
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 0
end_if

if I_CompareCounter settlementowner_Veldideno != 0
and I_SettlementOwner Veldideno = slave
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 0
end_if

if I_CompareCounter settlementowner_Rhodos != 0
and I_SettlementOwner Rhodos = slave
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 0
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 0
and I_SettlementOwner Gawjam_Rugoz = slave
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 0
end_if

if I_CompareCounter settlementowner_Maryab != 0
and I_SettlementOwner Maryab = slave
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 0
end_if

if I_CompareCounter settlementowner_Terhazza != 0
and I_SettlementOwner Terhazza = slave
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 0
end_if

if I_CompareCounter settlementowner_Gava_Saka != 0
and I_SettlementOwner Gava_Saka = slave
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 0
end_if

if I_CompareCounter settlementowner_Asodat != 0
and I_SettlementOwner Asodat = slave
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 0
end_if

if I_CompareCounter settlementowner_Karali != 0
and I_SettlementOwner Karali = slave
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 0
end_if

if I_CompareCounter settlementowner_Opiana != 0
and I_SettlementOwner Opiana = slave
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 0
end_if

if I_CompareCounter settlementowner_Singidunum != 0
and I_SettlementOwner Singidunum = slave
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 0
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 0
and I_SettlementOwner Seliun_Pilis = slave
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 0
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 0
and I_SettlementOwner Gintaras_Ostan = slave
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 0
end_if

if I_CompareCounter settlementowner_Vesontio != 0
and I_SettlementOwner Vesontio = slave
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 0
end_if

if I_CompareCounter settlementowner_Messana != 0
and I_SettlementOwner Messana = slave
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 0
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 0
and I_SettlementOwner Gawjam_Silengoz = slave
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 0
end_if

if I_CompareCounter settlementowner_Petra != 0
and I_SettlementOwner Petra = slave
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 0
end_if

if I_CompareCounter settlementowner_Patala != 0
and I_SettlementOwner Patala = slave
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 0
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 0
and I_SettlementOwner Gawjam_Skandzawarjoz = slave
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 0
end_if

if I_CompareCounter settlementowner_Olbia != 0
and I_SettlementOwner Olbia = slave
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 0
end_if

if I_CompareCounter settlementowner_Marakanda != 0
and I_SettlementOwner Marakanda = slave
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 0
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 0
and I_SettlementOwner Karkathiokerta = slave
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 0
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 0
and I_SettlementOwner Swebotraustastamnoz = slave
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 0
end_if

if I_CompareCounter settlementowner_Antiocheia != 0
and I_SettlementOwner Antiocheia = slave
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 0
end_if

if I_CompareCounter settlementowner_Damaskos != 0
and I_SettlementOwner Damaskos = slave
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 0
end_if

if I_CompareCounter settlementowner_Palmyra != 0
and I_SettlementOwner Palmyra = slave
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 0
end_if

if I_CompareCounter settlementowner_Chersonesos != 0
and I_SettlementOwner Chersonesos = slave
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 0
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 0
and I_SettlementOwner Diospolis_Megale = slave
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 0
end_if

if I_CompareCounter settlementowner_Demetrias != 0
and I_SettlementOwner Demetrias = slave
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 0
end_if

if I_CompareCounter settlementowner_Naissos != 0
and I_SettlementOwner Naissos = slave
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 0
end_if

if I_CompareCounter settlementowner_Ascaucalis != 0
and I_SettlementOwner Ascaucalis = slave
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 0
end_if

if I_CompareCounter settlementowner_Pselkis != 0
and I_SettlementOwner Pselkis = slave
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 0
end_if

if I_CompareCounter settlementowner_Syracuse != 0
and I_SettlementOwner Syracuse = slave
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 0
end_if

if I_CompareCounter settlementowner_Lepki != 0
and I_SettlementOwner Lepki = slave
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 0
end_if

if I_CompareCounter settlementowner_Gader != 0
and I_SettlementOwner Gader = slave
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 0
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 0
and I_SettlementOwner Sucum-Murgi = slave
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 0
end_if

if I_CompareCounter settlementowner_Ariminum != 0
and I_SettlementOwner Ariminum = slave
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 0
end_if

if I_CompareCounter settlementowner_Patavium != 0
and I_SettlementOwner Patavium = slave
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 0
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 0
and I_SettlementOwner Vindelicoppidos = slave
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 0
end_if

if I_CompareCounter settlementowner_Tolosa != 0
and I_SettlementOwner Tolosa = slave
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 0
end_if

if I_CompareCounter settlementowner_Chighu != 0
and I_SettlementOwner Chighu = slave
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 0
end_if

if I_CompareCounter settlementowner_Sulek != 0
and I_SettlementOwner Sulek = slave
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 0
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 0
and I_SettlementOwner Kart_Hadast = slave
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 0
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 0
and I_SettlementOwner Ubar = slave
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 0
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction seleucid
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 1
and I_SettlementOwner Arbela = seleucid
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 1
end_if

if I_CompareCounter settlementowner_Phraaspa != 1
and I_SettlementOwner Phraaspa = seleucid
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 1
end_if

if I_CompareCounter settlementowner_Bononia != 1
and I_SettlementOwner Bononia = seleucid
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 1
end_if

if I_CompareCounter settlementowner_Kabalaka != 1
and I_SettlementOwner Kabalaka = seleucid
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 1
end_if

if I_CompareCounter settlementowner_Thermon != 1
and I_SettlementOwner Thermon = seleucid
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 1
end_if

if I_CompareCounter settlementowner_Arpi != 1
and I_SettlementOwner Arpi = seleucid
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 1
end_if

if I_CompareCounter settlementowner_Burdigala != 1
and I_SettlementOwner Burdigala = seleucid
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 1
end_if

if I_CompareCounter settlementowner_Babylon != 1
and I_SettlementOwner Babylon = seleucid
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 1
end_if

if I_CompareCounter settlementowner_Alexandropolis != 1
and I_SettlementOwner Alexandropolis = seleucid
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 1
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 1
and I_SettlementOwner Alexandreia_Ariana = seleucid
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 1
end_if

if I_CompareCounter settlementowner_Darioritum != 1
and I_SettlementOwner Darioritum = seleucid
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 1
end_if

if I_CompareCounter settlementowner_Gergovia != 1
and I_SettlementOwner Gergovia = seleucid
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 1
end_if

if I_CompareCounter settlementowner_Edessa != 1
and I_SettlementOwner Edessa = seleucid
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 1
end_if

if I_CompareCounter settlementowner_Asaak != 1
and I_SettlementOwner Asaak = seleucid
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 1
end_if

if I_CompareCounter settlementowner_Pallantia != 1
and I_SettlementOwner Pallantia = seleucid
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 1
end_if

if I_CompareCounter settlementowner_Athenai != 1
and I_SettlementOwner Athenai = seleucid
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 1
end_if

if I_CompareCounter settlementowner_Augila_settlement != 1
and I_SettlementOwner Augila_settlement = seleucid
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 1
end_if

if I_CompareCounter settlementowner_Seleukeia != 1
and I_SettlementOwner Seleukeia = seleucid
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 1
end_if

if I_CompareCounter settlementowner_Baktra != 1
and I_SettlementOwner Baktra = seleucid
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 1
end_if

if I_CompareCounter settlementowner_Bocchoris != 1
and I_SettlementOwner Bocchoris = seleucid
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 1
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 1
and I_SettlementOwner Gawjam_Bastarnoz = seleucid
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 1
end_if

if I_CompareCounter settlementowner_Mastia != 1
and I_SettlementOwner Mastia = seleucid
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 1
end_if

if I_CompareCounter settlementowner_Avaricum != 1
and I_SettlementOwner Avaricum = seleucid
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 1
end_if

if I_CompareCounter settlementowner_Bratosporios != 1
and I_SettlementOwner Bratosporios = seleucid
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 1
end_if

if I_CompareCounter settlementowner_Nikaia != 1
and I_SettlementOwner Nikaia = seleucid
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 1
end_if

if I_CompareCounter settlementowner_Pantikapaion != 1
and I_SettlementOwner Pantikapaion = seleucid
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 1
end_if

if I_CompareCounter settlementowner_Rhegion != 1
and I_SettlementOwner Rhegion = seleucid
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 1
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 1
and I_SettlementOwner Caern_Brigantae = seleucid
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 1
end_if

if I_CompareCounter settlementowner_Gelonus != 1
and I_SettlementOwner Gelonus = seleucid
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 1
end_if

if I_CompareCounter settlementowner_Adrumeto != 1
and I_SettlementOwner Adrumeto = seleucid
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 1
end_if

if I_CompareCounter settlementowner_Attuaca != 1
and I_SettlementOwner Attuaca = seleucid
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 1
end_if

if I_CompareCounter settlementowner_Capua != 1
and I_SettlementOwner Capua = seleucid
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 1
end_if

if I_CompareCounter settlementowner_Vellika != 1
and I_SettlementOwner Vellika = seleucid
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 1
end_if

if I_CompareCounter settlementowner_Baikor != 1
and I_SettlementOwner Baikor = seleucid
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 1
end_if

if I_CompareCounter settlementowner_Camulosadae != 1
and I_SettlementOwner Camulosadae = seleucid
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 1
end_if

if I_CompareCounter settlementowner_Numantia != 1
and I_SettlementOwner Numantia = seleucid
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 1
end_if

if I_CompareCounter settlementowner_Charax != 1
and I_SettlementOwner Charax = seleucid
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 1
end_if

if I_CompareCounter settlementowner_Byzantion != 1
and I_SettlementOwner Byzantion = seleucid
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 1
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 1
and I_SettlementOwner Ptolemais_Theron = seleucid
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 1
end_if

if I_CompareCounter settlementowner_Ratae != 1
and I_SettlementOwner Ratae = seleucid
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 1
end_if

if I_CompareCounter settlementowner_Ictis != 1
and I_SettlementOwner Ictis = seleucid
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 1
end_if

if I_CompareCounter settlementowner_Lucarottea != 1
and I_SettlementOwner Lucarottea = seleucid
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 1
end_if

if I_CompareCounter settlementowner_Emain_Macha != 1
and I_SettlementOwner Emain_Macha = seleucid
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 1
end_if

if I_CompareCounter settlementowner_Atiqa != 1
and I_SettlementOwner Atiqa = seleucid
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 1
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 1
and I_SettlementOwner Ynys_Mon = seleucid
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 1
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 1
and I_SettlementOwner Gava_Alanna = seleucid
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 1
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 1
and I_SettlementOwner Gava_Aursa = seleucid
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 1
end_if

if I_CompareCounter settlementowner_Nisa != 1
and I_SettlementOwner Nisa = seleucid
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 1
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 1
and I_SettlementOwner Gava_Haomavarga = seleucid
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 1
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 1
and I_SettlementOwner Gava_Mazsakata = seleucid
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 1
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 1
and I_SettlementOwner Gava_Roxsalanna = seleucid
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 1
end_if

if I_CompareCounter settlementowner_Uspe != 1
and I_SettlementOwner Uspe = seleucid
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 1
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 1
and I_SettlementOwner Gava_Thissakata = seleucid
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 1
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 1
and I_SettlementOwner Gava_Yazyga = seleucid
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 1
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 1
and I_SettlementOwner Gava_Yugra = seleucid
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 1
end_if

if I_CompareCounter settlementowner_Dalminion != 1
and I_SettlementOwner Dalminion = seleucid
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 1
end_if

if I_CompareCounter settlementowner_Serdike != 1
and I_SettlementOwner Serdike = seleucid
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 1
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 1
and I_SettlementOwner Alexandreia_Eschate = seleucid
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 1
end_if

if I_CompareCounter settlementowner_Alexandreia != 1
and I_SettlementOwner Alexandreia = seleucid
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 1
end_if

if I_CompareCounter settlementowner_Axum != 1
and I_SettlementOwner Axum = seleucid
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 1
end_if

if I_CompareCounter settlementowner_Prophthasia != 1
and I_SettlementOwner Prophthasia = seleucid
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 1
end_if

if I_CompareCounter settlementowner_Arse != 1
and I_SettlementOwner Arse = seleucid
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 1
end_if

if I_CompareCounter settlementowner_Kotais != 1
and I_SettlementOwner Kotais = seleucid
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 1
end_if

if I_CompareCounter settlementowner_Lilibeo != 1
and I_SettlementOwner Lilibeo = seleucid
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 1
end_if

if I_CompareCounter settlementowner_Susa != 1
and I_SettlementOwner Susa = seleucid
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 1
end_if

if I_CompareCounter settlementowner_Apollonia != 1
and I_SettlementOwner Apollonia = seleucid
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 1
end_if

if I_CompareCounter settlementowner_Ivernis != 1
and I_SettlementOwner Ivernis = seleucid
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 1
end_if

if I_CompareCounter settlementowner_Ak_Ink != 1
and I_SettlementOwner Ak_Ink = seleucid
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 1
end_if

if I_CompareCounter settlementowner_Arretium != 1
and I_SettlementOwner Arretium = seleucid
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 1
end_if

if I_CompareCounter settlementowner_Chalkis != 1
and I_SettlementOwner Chalkis = seleucid
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 1
end_if

if I_CompareCounter settlementowner_Gabai != 1
and I_SettlementOwner Gabai = seleucid
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 1
end_if

if I_CompareCounter settlementowner_Tuat != 1
and I_SettlementOwner Tuat = seleucid
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 1
end_if

if I_CompareCounter settlementowner_Tyde != 1
and I_SettlementOwner Tyde = seleucid
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 1
end_if

if I_CompareCounter settlementowner_Ankyra != 1
and I_SettlementOwner Ankyra = seleucid
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 1
end_if

if I_CompareCounter settlementowner_Taksashila != 1
and I_SettlementOwner Taksashila = seleucid
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 1
end_if

if I_CompareCounter settlementowner_Pura != 1
and I_SettlementOwner Pura = seleucid
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 1
end_if

if I_CompareCounter settlementowner_Gerrha != 1
and I_SettlementOwner Gerrha = seleucid
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 1
end_if

if I_CompareCounter settlementowner_Buridava != 1
and I_SettlementOwner Buridava = seleucid
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 1
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 1
and I_SettlementOwner Sarmiszegethusa = seleucid
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 1
end_if

if I_CompareCounter settlementowner_Massalia != 1
and I_SettlementOwner Massalia = seleucid
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 1
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 1
and I_SettlementOwner Gawjam_Habukoz = seleucid
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 1
end_if

if I_CompareCounter settlementowner_Sabata != 1
and I_SettlementOwner Sabata = seleucid
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 1
end_if

if I_CompareCounter settlementowner_Arctaunon != 1
and I_SettlementOwner Arctaunon = seleucid
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 1
end_if

if I_CompareCounter settlementowner_Armavir != 1
and I_SettlementOwner Armavir = seleucid
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 1
end_if

if I_CompareCounter settlementowner_Aventicos != 1
and I_SettlementOwner Aventicos = seleucid
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 1
end_if

if I_CompareCounter settlementowner_Memphis != 1
and I_SettlementOwner Memphis = seleucid
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 1
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 1
and I_SettlementOwner Gawjam_Heruskoz = seleucid
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 1
end_if

if I_CompareCounter settlementowner_Zadrakata != 1
and I_SettlementOwner Zadrakata = seleucid
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 1
end_if

if I_CompareCounter settlementowner_Epidamnos != 1
and I_SettlementOwner Epidamnos = seleucid
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 1
end_if

if I_CompareCounter settlementowner_Mediolanum != 1
and I_SettlementOwner Mediolanum = seleucid
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 1
end_if

if I_CompareCounter settlementowner_Hierosolyma != 1
and I_SettlementOwner Hierosolyma = seleucid
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 1
end_if

if I_CompareCounter settlementowner_Taras != 1
and I_SettlementOwner Taras = seleucid
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 1
end_if

if I_CompareCounter settlementowner_Chach != 1
and I_SettlementOwner Chach = seleucid
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 1
end_if

if I_CompareCounter settlementowner_Mazaka != 1
and I_SettlementOwner Mazaka = seleucid
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 1
end_if

if I_CompareCounter settlementowner_Amaseia != 1
and I_SettlementOwner Amaseia = seleucid
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 1
end_if

if I_CompareCounter settlementowner_Halikarnassos != 1
and I_SettlementOwner Halikarnassos = seleucid
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 1
end_if

if I_CompareCounter settlementowner_Karmana != 1
and I_SettlementOwner Karmana = seleucid
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 1
end_if

if I_CompareCounter settlementowner_Mtskheta != 1
and I_SettlementOwner Mtskheta = seleucid
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 1
end_if

if I_CompareCounter settlementowner_Apameia != 1
and I_SettlementOwner Apameia = seleucid
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 1
end_if

if I_CompareCounter settlementowner_Khiva != 1
and I_SettlementOwner Khiva = seleucid
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 1
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 1
and I_SettlementOwner Tarsos = seleucid
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 1
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 1
and I_SettlementOwner Gawjam_Kimbroz = seleucid
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 1
end_if

if I_CompareCounter settlementowner_Alalia != 1
and I_SettlementOwner Alalia = seleucid
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 1
end_if

if I_CompareCounter settlementowner_Kydonia != 1
and I_SettlementOwner Kydonia = seleucid
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 1
end_if

if I_CompareCounter settlementowner_Meroe != 1
and I_SettlementOwner Meroe = seleucid
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 1
end_if

if I_CompareCounter settlementowner_Salamis != 1
and I_SettlementOwner Salamis = seleucid
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 1
end_if

if I_CompareCounter settlementowner_Kyrene != 1
and I_SettlementOwner Kyrene = seleucid
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 1
end_if

if I_CompareCounter settlementowner_Emporion != 1
and I_SettlementOwner Emporion = seleucid
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 1
end_if

if I_CompareCounter settlementowner_Sparte != 1
and I_SettlementOwner Sparte = seleucid
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 1
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 1
and I_SettlementOwner Gawjam_Gotanoz = seleucid
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 1
end_if

if I_CompareCounter settlementowner_Rome != 1
and I_SettlementOwner Rome = seleucid
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 1
end_if

if I_CompareCounter settlementowner_Lemonum != 1
and I_SettlementOwner Lemonum = seleucid
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 1
end_if

if I_CompareCounter settlementowner_Mytilene != 1
and I_SettlementOwner Mytilene = seleucid
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 1
end_if

if I_CompareCounter settlementowner_Ammonion != 1
and I_SettlementOwner Ammonion = seleucid
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 1
end_if

if I_CompareCounter settlementowner_Segesta != 1
and I_SettlementOwner Segesta = seleucid
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 1
end_if

if I_CompareCounter settlementowner_Viennos != 1
and I_SettlementOwner Viennos = seleucid
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 1
end_if

if I_CompareCounter settlementowner_Carrodunum != 1
and I_SettlementOwner Carrodunum = seleucid
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 1
end_if

if I_CompareCounter settlementowner_Oxtraca != 1
and I_SettlementOwner Oxtraca = seleucid
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 1
end_if

if I_CompareCounter settlementowner_Sardis != 1
and I_SettlementOwner Sardis = seleucid
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 1
end_if

if I_CompareCounter settlementowner_Tanais != 1
and I_SettlementOwner Tanais = seleucid
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 1
end_if

if I_CompareCounter settlementowner_Carna != 1
and I_SettlementOwner Carna = seleucid
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 1
end_if

if I_CompareCounter settlementowner_Pella != 1
and I_SettlementOwner Pella = seleucid
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 1
end_if

if I_CompareCounter settlementowner_Homna != 1
and I_SettlementOwner Homna = seleucid
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 1
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 1
and I_SettlementOwner Antiocheia_Margiane = seleucid
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 1
end_if

if I_CompareCounter settlementowner_Paraitonion != 1
and I_SettlementOwner Paraitonion = seleucid
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 1
end_if

if I_CompareCounter settlementowner_Ippone != 1
and I_SettlementOwner Ippone = seleucid
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 1
end_if

if I_CompareCounter settlementowner_Sala != 1
and I_SettlementOwner Sala = seleucid
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 1
end_if

if I_CompareCounter settlementowner_Siga != 1
and I_SettlementOwner Siga = seleucid
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 1
end_if

if I_CompareCounter settlementowner_Lixus != 1
and I_SettlementOwner Lixus = seleucid
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 1
end_if

if I_CompareCounter settlementowner_Ekbatana != 1
and I_SettlementOwner Ekbatana = seleucid
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 1
end_if

if I_CompareCounter settlementowner_Kallatis != 1
and I_SettlementOwner Kallatis = seleucid
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 1
end_if

if I_CompareCounter settlementowner_Bibracte != 1
and I_SettlementOwner Bibracte = seleucid
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 1
end_if

if I_CompareCounter settlementowner_Cenabum != 1
and I_SettlementOwner Cenabum = seleucid
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 1
end_if

if I_CompareCounter settlementowner_Eburonum != 1
and I_SettlementOwner Eburonum = seleucid
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 1
end_if

if I_CompareCounter settlementowner_Pergamon != 1
and I_SettlementOwner Pergamon = seleucid
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 1
end_if

if I_CompareCounter settlementowner_Bostra != 1
and I_SettlementOwner Bostra = seleucid
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 1
end_if

if I_CompareCounter settlementowner_Bagacos != 1
and I_SettlementOwner Bagacos = seleucid
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 1
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 1
and I_SettlementOwner Gordu_Neuriji = seleucid
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 1
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 1
and I_SettlementOwner Iuvavoaeta = seleucid
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 1
end_if

if I_CompareCounter settlementowner_Kirtan != 1
and I_SettlementOwner Kirtan = seleucid
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 1
end_if

if I_CompareCounter settlementowner_Hibis != 1
and I_SettlementOwner Hibis = seleucid
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 1
end_if

if I_CompareCounter settlementowner_Tylis != 1
and I_SettlementOwner Tylis = seleucid
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 1
end_if

if I_CompareCounter settlementowner_Side != 1
and I_SettlementOwner Side = seleucid
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 1
end_if

if I_CompareCounter settlementowner_Vindobona != 1
and I_SettlementOwner Vindobona = seleucid
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 1
end_if

if I_CompareCounter settlementowner_Segestica != 1
and I_SettlementOwner Segestica = seleucid
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 1
end_if

if I_CompareCounter settlementowner_Sinope != 1
and I_SettlementOwner Sinope = seleucid
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 1
end_if

if I_CompareCounter settlementowner_Kophen != 1
and I_SettlementOwner Kophen = seleucid
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 1
end_if

if I_CompareCounter settlementowner_Hekatompylos != 1
and I_SettlementOwner Hekatompylos = seleucid
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 1
end_if

if I_CompareCounter settlementowner_Korinthos != 1
and I_SettlementOwner Korinthos = seleucid
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 1
end_if

if I_CompareCounter settlementowner_Persepolis != 1
and I_SettlementOwner Persepolis = seleucid
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 1
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 1
and I_SettlementOwner Garama = seleucid
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 1
end_if

if I_CompareCounter settlementowner_Sidon != 1
and I_SettlementOwner Sidon = seleucid
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 1
end_if

if I_CompareCounter settlementowner_Ipsos != 1
and I_SettlementOwner Ipsos = seleucid
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 1
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 1
and I_SettlementOwner Ani-Kamah = seleucid
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 1
end_if

if I_CompareCounter settlementowner_Trapezous != 1
and I_SettlementOwner Trapezous = seleucid
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 1
end_if

if I_CompareCounter settlementowner_Tamane != 1
and I_SettlementOwner Tamane = seleucid
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 1
end_if

if I_CompareCounter settlementowner_Veldideno != 1
and I_SettlementOwner Veldideno = seleucid
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 1
end_if

if I_CompareCounter settlementowner_Rhodos != 1
and I_SettlementOwner Rhodos = seleucid
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 1
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 1
and I_SettlementOwner Gawjam_Rugoz = seleucid
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 1
end_if

if I_CompareCounter settlementowner_Maryab != 1
and I_SettlementOwner Maryab = seleucid
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 1
end_if

if I_CompareCounter settlementowner_Terhazza != 1
and I_SettlementOwner Terhazza = seleucid
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 1
end_if

if I_CompareCounter settlementowner_Gava_Saka != 1
and I_SettlementOwner Gava_Saka = seleucid
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 1
end_if

if I_CompareCounter settlementowner_Asodat != 1
and I_SettlementOwner Asodat = seleucid
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 1
end_if

if I_CompareCounter settlementowner_Karali != 1
and I_SettlementOwner Karali = seleucid
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 1
end_if

if I_CompareCounter settlementowner_Opiana != 1
and I_SettlementOwner Opiana = seleucid
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 1
end_if

if I_CompareCounter settlementowner_Singidunum != 1
and I_SettlementOwner Singidunum = seleucid
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 1
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 1
and I_SettlementOwner Seliun_Pilis = seleucid
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 1
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 1
and I_SettlementOwner Gintaras_Ostan = seleucid
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 1
end_if

if I_CompareCounter settlementowner_Vesontio != 1
and I_SettlementOwner Vesontio = seleucid
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 1
end_if

if I_CompareCounter settlementowner_Messana != 1
and I_SettlementOwner Messana = seleucid
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 1
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 1
and I_SettlementOwner Gawjam_Silengoz = seleucid
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 1
end_if

if I_CompareCounter settlementowner_Petra != 1
and I_SettlementOwner Petra = seleucid
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 1
end_if

if I_CompareCounter settlementowner_Patala != 1
and I_SettlementOwner Patala = seleucid
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 1
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 1
and I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 1
end_if

if I_CompareCounter settlementowner_Olbia != 1
and I_SettlementOwner Olbia = seleucid
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 1
end_if

if I_CompareCounter settlementowner_Marakanda != 1
and I_SettlementOwner Marakanda = seleucid
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 1
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 1
and I_SettlementOwner Karkathiokerta = seleucid
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 1
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 1
and I_SettlementOwner Swebotraustastamnoz = seleucid
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 1
end_if

if I_CompareCounter settlementowner_Antiocheia != 1
and I_SettlementOwner Antiocheia = seleucid
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 1
end_if

if I_CompareCounter settlementowner_Damaskos != 1
and I_SettlementOwner Damaskos = seleucid
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 1
end_if

if I_CompareCounter settlementowner_Palmyra != 1
and I_SettlementOwner Palmyra = seleucid
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 1
end_if

if I_CompareCounter settlementowner_Chersonesos != 1
and I_SettlementOwner Chersonesos = seleucid
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 1
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 1
and I_SettlementOwner Diospolis_Megale = seleucid
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 1
end_if

if I_CompareCounter settlementowner_Demetrias != 1
and I_SettlementOwner Demetrias = seleucid
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 1
end_if

if I_CompareCounter settlementowner_Naissos != 1
and I_SettlementOwner Naissos = seleucid
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 1
end_if

if I_CompareCounter settlementowner_Ascaucalis != 1
and I_SettlementOwner Ascaucalis = seleucid
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 1
end_if

if I_CompareCounter settlementowner_Pselkis != 1
and I_SettlementOwner Pselkis = seleucid
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 1
end_if

if I_CompareCounter settlementowner_Syracuse != 1
and I_SettlementOwner Syracuse = seleucid
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 1
end_if

if I_CompareCounter settlementowner_Lepki != 1
and I_SettlementOwner Lepki = seleucid
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 1
end_if

if I_CompareCounter settlementowner_Gader != 1
and I_SettlementOwner Gader = seleucid
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 1
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 1
and I_SettlementOwner Sucum-Murgi = seleucid
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 1
end_if

if I_CompareCounter settlementowner_Ariminum != 1
and I_SettlementOwner Ariminum = seleucid
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 1
end_if

if I_CompareCounter settlementowner_Patavium != 1
and I_SettlementOwner Patavium = seleucid
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 1
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 1
and I_SettlementOwner Vindelicoppidos = seleucid
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 1
end_if

if I_CompareCounter settlementowner_Tolosa != 1
and I_SettlementOwner Tolosa = seleucid
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 1
end_if

if I_CompareCounter settlementowner_Chighu != 1
and I_SettlementOwner Chighu = seleucid
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 1
end_if

if I_CompareCounter settlementowner_Sulek != 1
and I_SettlementOwner Sulek = seleucid
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 1
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 1
and I_SettlementOwner Kart_Hadast = seleucid
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 1
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 1
and I_SettlementOwner Ubar = seleucid
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 1
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction thrace
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 2
and I_SettlementOwner Arbela = thrace
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 2
end_if

if I_CompareCounter settlementowner_Phraaspa != 2
and I_SettlementOwner Phraaspa = thrace
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 2
end_if

if I_CompareCounter settlementowner_Bononia != 2
and I_SettlementOwner Bononia = thrace
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 2
end_if

if I_CompareCounter settlementowner_Kabalaka != 2
and I_SettlementOwner Kabalaka = thrace
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 2
end_if

if I_CompareCounter settlementowner_Thermon != 2
and I_SettlementOwner Thermon = thrace
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 2
end_if

if I_CompareCounter settlementowner_Arpi != 2
and I_SettlementOwner Arpi = thrace
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 2
end_if

if I_CompareCounter settlementowner_Burdigala != 2
and I_SettlementOwner Burdigala = thrace
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 2
end_if

if I_CompareCounter settlementowner_Babylon != 2
and I_SettlementOwner Babylon = thrace
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 2
end_if

if I_CompareCounter settlementowner_Alexandropolis != 2
and I_SettlementOwner Alexandropolis = thrace
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 2
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 2
and I_SettlementOwner Alexandreia_Ariana = thrace
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 2
end_if

if I_CompareCounter settlementowner_Darioritum != 2
and I_SettlementOwner Darioritum = thrace
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 2
end_if

if I_CompareCounter settlementowner_Gergovia != 2
and I_SettlementOwner Gergovia = thrace
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 2
end_if

if I_CompareCounter settlementowner_Edessa != 2
and I_SettlementOwner Edessa = thrace
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 2
end_if

if I_CompareCounter settlementowner_Asaak != 2
and I_SettlementOwner Asaak = thrace
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 2
end_if

if I_CompareCounter settlementowner_Pallantia != 2
and I_SettlementOwner Pallantia = thrace
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 2
end_if

if I_CompareCounter settlementowner_Athenai != 2
and I_SettlementOwner Athenai = thrace
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 2
end_if

if I_CompareCounter settlementowner_Augila_settlement != 2
and I_SettlementOwner Augila_settlement = thrace
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 2
end_if

if I_CompareCounter settlementowner_Seleukeia != 2
and I_SettlementOwner Seleukeia = thrace
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 2
end_if

if I_CompareCounter settlementowner_Baktra != 2
and I_SettlementOwner Baktra = thrace
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 2
end_if

if I_CompareCounter settlementowner_Bocchoris != 2
and I_SettlementOwner Bocchoris = thrace
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 2
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 2
and I_SettlementOwner Gawjam_Bastarnoz = thrace
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 2
end_if

if I_CompareCounter settlementowner_Mastia != 2
and I_SettlementOwner Mastia = thrace
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 2
end_if

if I_CompareCounter settlementowner_Avaricum != 2
and I_SettlementOwner Avaricum = thrace
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 2
end_if

if I_CompareCounter settlementowner_Bratosporios != 2
and I_SettlementOwner Bratosporios = thrace
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 2
end_if

if I_CompareCounter settlementowner_Nikaia != 2
and I_SettlementOwner Nikaia = thrace
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 2
end_if

if I_CompareCounter settlementowner_Pantikapaion != 2
and I_SettlementOwner Pantikapaion = thrace
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 2
end_if

if I_CompareCounter settlementowner_Rhegion != 2
and I_SettlementOwner Rhegion = thrace
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 2
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 2
and I_SettlementOwner Caern_Brigantae = thrace
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 2
end_if

if I_CompareCounter settlementowner_Gelonus != 2
and I_SettlementOwner Gelonus = thrace
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 2
end_if

if I_CompareCounter settlementowner_Adrumeto != 2
and I_SettlementOwner Adrumeto = thrace
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 2
end_if

if I_CompareCounter settlementowner_Attuaca != 2
and I_SettlementOwner Attuaca = thrace
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 2
end_if

if I_CompareCounter settlementowner_Capua != 2
and I_SettlementOwner Capua = thrace
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 2
end_if

if I_CompareCounter settlementowner_Vellika != 2
and I_SettlementOwner Vellika = thrace
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 2
end_if

if I_CompareCounter settlementowner_Baikor != 2
and I_SettlementOwner Baikor = thrace
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 2
end_if

if I_CompareCounter settlementowner_Camulosadae != 2
and I_SettlementOwner Camulosadae = thrace
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 2
end_if

if I_CompareCounter settlementowner_Numantia != 2
and I_SettlementOwner Numantia = thrace
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 2
end_if

if I_CompareCounter settlementowner_Charax != 2
and I_SettlementOwner Charax = thrace
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 2
end_if

if I_CompareCounter settlementowner_Byzantion != 2
and I_SettlementOwner Byzantion = thrace
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 2
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 2
and I_SettlementOwner Ptolemais_Theron = thrace
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 2
end_if

if I_CompareCounter settlementowner_Ratae != 2
and I_SettlementOwner Ratae = thrace
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 2
end_if

if I_CompareCounter settlementowner_Ictis != 2
and I_SettlementOwner Ictis = thrace
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 2
end_if

if I_CompareCounter settlementowner_Lucarottea != 2
and I_SettlementOwner Lucarottea = thrace
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 2
end_if

if I_CompareCounter settlementowner_Emain_Macha != 2
and I_SettlementOwner Emain_Macha = thrace
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 2
end_if

if I_CompareCounter settlementowner_Atiqa != 2
and I_SettlementOwner Atiqa = thrace
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 2
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 2
and I_SettlementOwner Ynys_Mon = thrace
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 2
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 2
and I_SettlementOwner Gava_Alanna = thrace
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 2
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 2
and I_SettlementOwner Gava_Aursa = thrace
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 2
end_if

if I_CompareCounter settlementowner_Nisa != 2
and I_SettlementOwner Nisa = thrace
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 2
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 2
and I_SettlementOwner Gava_Haomavarga = thrace
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 2
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 2
and I_SettlementOwner Gava_Mazsakata = thrace
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 2
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 2
and I_SettlementOwner Gava_Roxsalanna = thrace
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 2
end_if

if I_CompareCounter settlementowner_Uspe != 2
and I_SettlementOwner Uspe = thrace
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 2
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 2
and I_SettlementOwner Gava_Thissakata = thrace
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 2
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 2
and I_SettlementOwner Gava_Yazyga = thrace
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 2
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 2
and I_SettlementOwner Gava_Yugra = thrace
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 2
end_if

if I_CompareCounter settlementowner_Dalminion != 2
and I_SettlementOwner Dalminion = thrace
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 2
end_if

if I_CompareCounter settlementowner_Serdike != 2
and I_SettlementOwner Serdike = thrace
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 2
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 2
and I_SettlementOwner Alexandreia_Eschate = thrace
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 2
end_if

if I_CompareCounter settlementowner_Alexandreia != 2
and I_SettlementOwner Alexandreia = thrace
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 2
end_if

if I_CompareCounter settlementowner_Axum != 2
and I_SettlementOwner Axum = thrace
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 2
end_if

if I_CompareCounter settlementowner_Prophthasia != 2
and I_SettlementOwner Prophthasia = thrace
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 2
end_if

if I_CompareCounter settlementowner_Arse != 2
and I_SettlementOwner Arse = thrace
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 2
end_if

if I_CompareCounter settlementowner_Kotais != 2
and I_SettlementOwner Kotais = thrace
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 2
end_if

if I_CompareCounter settlementowner_Lilibeo != 2
and I_SettlementOwner Lilibeo = thrace
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 2
end_if

if I_CompareCounter settlementowner_Susa != 2
and I_SettlementOwner Susa = thrace
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 2
end_if

if I_CompareCounter settlementowner_Apollonia != 2
and I_SettlementOwner Apollonia = thrace
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 2
end_if

if I_CompareCounter settlementowner_Ivernis != 2
and I_SettlementOwner Ivernis = thrace
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 2
end_if

if I_CompareCounter settlementowner_Ak_Ink != 2
and I_SettlementOwner Ak_Ink = thrace
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 2
end_if

if I_CompareCounter settlementowner_Arretium != 2
and I_SettlementOwner Arretium = thrace
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 2
end_if

if I_CompareCounter settlementowner_Chalkis != 2
and I_SettlementOwner Chalkis = thrace
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 2
end_if

if I_CompareCounter settlementowner_Gabai != 2
and I_SettlementOwner Gabai = thrace
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 2
end_if

if I_CompareCounter settlementowner_Tuat != 2
and I_SettlementOwner Tuat = thrace
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 2
end_if

if I_CompareCounter settlementowner_Tyde != 2
and I_SettlementOwner Tyde = thrace
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 2
end_if

if I_CompareCounter settlementowner_Ankyra != 2
and I_SettlementOwner Ankyra = thrace
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 2
end_if

if I_CompareCounter settlementowner_Taksashila != 2
and I_SettlementOwner Taksashila = thrace
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 2
end_if

if I_CompareCounter settlementowner_Pura != 2
and I_SettlementOwner Pura = thrace
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 2
end_if

if I_CompareCounter settlementowner_Gerrha != 2
and I_SettlementOwner Gerrha = thrace
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 2
end_if

if I_CompareCounter settlementowner_Buridava != 2
and I_SettlementOwner Buridava = thrace
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 2
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 2
and I_SettlementOwner Sarmiszegethusa = thrace
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 2
end_if

if I_CompareCounter settlementowner_Massalia != 2
and I_SettlementOwner Massalia = thrace
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 2
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 2
and I_SettlementOwner Gawjam_Habukoz = thrace
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 2
end_if

if I_CompareCounter settlementowner_Sabata != 2
and I_SettlementOwner Sabata = thrace
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 2
end_if

if I_CompareCounter settlementowner_Arctaunon != 2
and I_SettlementOwner Arctaunon = thrace
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 2
end_if

if I_CompareCounter settlementowner_Armavir != 2
and I_SettlementOwner Armavir = thrace
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 2
end_if

if I_CompareCounter settlementowner_Aventicos != 2
and I_SettlementOwner Aventicos = thrace
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 2
end_if

if I_CompareCounter settlementowner_Memphis != 2
and I_SettlementOwner Memphis = thrace
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 2
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 2
and I_SettlementOwner Gawjam_Heruskoz = thrace
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 2
end_if

if I_CompareCounter settlementowner_Zadrakata != 2
and I_SettlementOwner Zadrakata = thrace
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 2
end_if

if I_CompareCounter settlementowner_Epidamnos != 2
and I_SettlementOwner Epidamnos = thrace
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 2
end_if

if I_CompareCounter settlementowner_Mediolanum != 2
and I_SettlementOwner Mediolanum = thrace
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 2
end_if

if I_CompareCounter settlementowner_Hierosolyma != 2
and I_SettlementOwner Hierosolyma = thrace
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 2
end_if

if I_CompareCounter settlementowner_Taras != 2
and I_SettlementOwner Taras = thrace
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 2
end_if

if I_CompareCounter settlementowner_Chach != 2
and I_SettlementOwner Chach = thrace
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 2
end_if

if I_CompareCounter settlementowner_Mazaka != 2
and I_SettlementOwner Mazaka = thrace
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 2
end_if

if I_CompareCounter settlementowner_Amaseia != 2
and I_SettlementOwner Amaseia = thrace
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 2
end_if

if I_CompareCounter settlementowner_Halikarnassos != 2
and I_SettlementOwner Halikarnassos = thrace
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 2
end_if

if I_CompareCounter settlementowner_Karmana != 2
and I_SettlementOwner Karmana = thrace
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 2
end_if

if I_CompareCounter settlementowner_Mtskheta != 2
and I_SettlementOwner Mtskheta = thrace
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 2
end_if

if I_CompareCounter settlementowner_Apameia != 2
and I_SettlementOwner Apameia = thrace
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 2
end_if

if I_CompareCounter settlementowner_Khiva != 2
and I_SettlementOwner Khiva = thrace
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 2
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 2
and I_SettlementOwner Tarsos = thrace
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 2
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 2
and I_SettlementOwner Gawjam_Kimbroz = thrace
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 2
end_if

if I_CompareCounter settlementowner_Alalia != 2
and I_SettlementOwner Alalia = thrace
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 2
end_if

if I_CompareCounter settlementowner_Kydonia != 2
and I_SettlementOwner Kydonia = thrace
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 2
end_if

if I_CompareCounter settlementowner_Meroe != 2
and I_SettlementOwner Meroe = thrace
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 2
end_if

if I_CompareCounter settlementowner_Salamis != 2
and I_SettlementOwner Salamis = thrace
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 2
end_if

if I_CompareCounter settlementowner_Kyrene != 2
and I_SettlementOwner Kyrene = thrace
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 2
end_if

if I_CompareCounter settlementowner_Emporion != 2
and I_SettlementOwner Emporion = thrace
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 2
end_if

if I_CompareCounter settlementowner_Sparte != 2
and I_SettlementOwner Sparte = thrace
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 2
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 2
and I_SettlementOwner Gawjam_Gotanoz = thrace
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 2
end_if

if I_CompareCounter settlementowner_Rome != 2
and I_SettlementOwner Rome = thrace
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 2
end_if

if I_CompareCounter settlementowner_Lemonum != 2
and I_SettlementOwner Lemonum = thrace
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 2
end_if

if I_CompareCounter settlementowner_Mytilene != 2
and I_SettlementOwner Mytilene = thrace
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 2
end_if

if I_CompareCounter settlementowner_Ammonion != 2
and I_SettlementOwner Ammonion = thrace
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 2
end_if

if I_CompareCounter settlementowner_Segesta != 2
and I_SettlementOwner Segesta = thrace
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 2
end_if

if I_CompareCounter settlementowner_Viennos != 2
and I_SettlementOwner Viennos = thrace
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 2
end_if

if I_CompareCounter settlementowner_Carrodunum != 2
and I_SettlementOwner Carrodunum = thrace
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 2
end_if

if I_CompareCounter settlementowner_Oxtraca != 2
and I_SettlementOwner Oxtraca = thrace
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 2
end_if

if I_CompareCounter settlementowner_Sardis != 2
and I_SettlementOwner Sardis = thrace
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 2
end_if

if I_CompareCounter settlementowner_Tanais != 2
and I_SettlementOwner Tanais = thrace
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 2
end_if

if I_CompareCounter settlementowner_Carna != 2
and I_SettlementOwner Carna = thrace
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 2
end_if

if I_CompareCounter settlementowner_Pella != 2
and I_SettlementOwner Pella = thrace
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 2
end_if

if I_CompareCounter settlementowner_Homna != 2
and I_SettlementOwner Homna = thrace
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 2
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 2
and I_SettlementOwner Antiocheia_Margiane = thrace
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 2
end_if

if I_CompareCounter settlementowner_Paraitonion != 2
and I_SettlementOwner Paraitonion = thrace
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 2
end_if

if I_CompareCounter settlementowner_Ippone != 2
and I_SettlementOwner Ippone = thrace
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 2
end_if

if I_CompareCounter settlementowner_Sala != 2
and I_SettlementOwner Sala = thrace
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 2
end_if

if I_CompareCounter settlementowner_Siga != 2
and I_SettlementOwner Siga = thrace
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 2
end_if

if I_CompareCounter settlementowner_Lixus != 2
and I_SettlementOwner Lixus = thrace
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 2
end_if

if I_CompareCounter settlementowner_Ekbatana != 2
and I_SettlementOwner Ekbatana = thrace
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 2
end_if

if I_CompareCounter settlementowner_Kallatis != 2
and I_SettlementOwner Kallatis = thrace
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 2
end_if

if I_CompareCounter settlementowner_Bibracte != 2
and I_SettlementOwner Bibracte = thrace
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 2
end_if

if I_CompareCounter settlementowner_Cenabum != 2
and I_SettlementOwner Cenabum = thrace
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 2
end_if

if I_CompareCounter settlementowner_Eburonum != 2
and I_SettlementOwner Eburonum = thrace
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 2
end_if

if I_CompareCounter settlementowner_Pergamon != 2
and I_SettlementOwner Pergamon = thrace
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 2
end_if

if I_CompareCounter settlementowner_Bostra != 2
and I_SettlementOwner Bostra = thrace
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 2
end_if

if I_CompareCounter settlementowner_Bagacos != 2
and I_SettlementOwner Bagacos = thrace
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 2
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 2
and I_SettlementOwner Gordu_Neuriji = thrace
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 2
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 2
and I_SettlementOwner Iuvavoaeta = thrace
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 2
end_if

if I_CompareCounter settlementowner_Kirtan != 2
and I_SettlementOwner Kirtan = thrace
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 2
end_if

if I_CompareCounter settlementowner_Hibis != 2
and I_SettlementOwner Hibis = thrace
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 2
end_if

if I_CompareCounter settlementowner_Tylis != 2
and I_SettlementOwner Tylis = thrace
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 2
end_if

if I_CompareCounter settlementowner_Side != 2
and I_SettlementOwner Side = thrace
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 2
end_if

if I_CompareCounter settlementowner_Vindobona != 2
and I_SettlementOwner Vindobona = thrace
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 2
end_if

if I_CompareCounter settlementowner_Segestica != 2
and I_SettlementOwner Segestica = thrace
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 2
end_if

if I_CompareCounter settlementowner_Sinope != 2
and I_SettlementOwner Sinope = thrace
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 2
end_if

if I_CompareCounter settlementowner_Kophen != 2
and I_SettlementOwner Kophen = thrace
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 2
end_if

if I_CompareCounter settlementowner_Hekatompylos != 2
and I_SettlementOwner Hekatompylos = thrace
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 2
end_if

if I_CompareCounter settlementowner_Korinthos != 2
and I_SettlementOwner Korinthos = thrace
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 2
end_if

if I_CompareCounter settlementowner_Persepolis != 2
and I_SettlementOwner Persepolis = thrace
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 2
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 2
and I_SettlementOwner Garama = thrace
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 2
end_if

if I_CompareCounter settlementowner_Sidon != 2
and I_SettlementOwner Sidon = thrace
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 2
end_if

if I_CompareCounter settlementowner_Ipsos != 2
and I_SettlementOwner Ipsos = thrace
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 2
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 2
and I_SettlementOwner Ani-Kamah = thrace
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 2
end_if

if I_CompareCounter settlementowner_Trapezous != 2
and I_SettlementOwner Trapezous = thrace
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 2
end_if

if I_CompareCounter settlementowner_Tamane != 2
and I_SettlementOwner Tamane = thrace
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 2
end_if

if I_CompareCounter settlementowner_Veldideno != 2
and I_SettlementOwner Veldideno = thrace
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 2
end_if

if I_CompareCounter settlementowner_Rhodos != 2
and I_SettlementOwner Rhodos = thrace
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 2
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 2
and I_SettlementOwner Gawjam_Rugoz = thrace
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 2
end_if

if I_CompareCounter settlementowner_Maryab != 2
and I_SettlementOwner Maryab = thrace
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 2
end_if

if I_CompareCounter settlementowner_Terhazza != 2
and I_SettlementOwner Terhazza = thrace
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 2
end_if

if I_CompareCounter settlementowner_Gava_Saka != 2
and I_SettlementOwner Gava_Saka = thrace
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 2
end_if

if I_CompareCounter settlementowner_Asodat != 2
and I_SettlementOwner Asodat = thrace
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 2
end_if

if I_CompareCounter settlementowner_Karali != 2
and I_SettlementOwner Karali = thrace
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 2
end_if

if I_CompareCounter settlementowner_Opiana != 2
and I_SettlementOwner Opiana = thrace
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 2
end_if

if I_CompareCounter settlementowner_Singidunum != 2
and I_SettlementOwner Singidunum = thrace
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 2
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 2
and I_SettlementOwner Seliun_Pilis = thrace
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 2
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 2
and I_SettlementOwner Gintaras_Ostan = thrace
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 2
end_if

if I_CompareCounter settlementowner_Vesontio != 2
and I_SettlementOwner Vesontio = thrace
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 2
end_if

if I_CompareCounter settlementowner_Messana != 2
and I_SettlementOwner Messana = thrace
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 2
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 2
and I_SettlementOwner Gawjam_Silengoz = thrace
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 2
end_if

if I_CompareCounter settlementowner_Petra != 2
and I_SettlementOwner Petra = thrace
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 2
end_if

if I_CompareCounter settlementowner_Patala != 2
and I_SettlementOwner Patala = thrace
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 2
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 2
and I_SettlementOwner Gawjam_Skandzawarjoz = thrace
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 2
end_if

if I_CompareCounter settlementowner_Olbia != 2
and I_SettlementOwner Olbia = thrace
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 2
end_if

if I_CompareCounter settlementowner_Marakanda != 2
and I_SettlementOwner Marakanda = thrace
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 2
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 2
and I_SettlementOwner Karkathiokerta = thrace
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 2
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 2
and I_SettlementOwner Swebotraustastamnoz = thrace
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 2
end_if

if I_CompareCounter settlementowner_Antiocheia != 2
and I_SettlementOwner Antiocheia = thrace
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 2
end_if

if I_CompareCounter settlementowner_Damaskos != 2
and I_SettlementOwner Damaskos = thrace
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 2
end_if

if I_CompareCounter settlementowner_Palmyra != 2
and I_SettlementOwner Palmyra = thrace
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 2
end_if

if I_CompareCounter settlementowner_Chersonesos != 2
and I_SettlementOwner Chersonesos = thrace
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 2
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 2
and I_SettlementOwner Diospolis_Megale = thrace
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 2
end_if

if I_CompareCounter settlementowner_Demetrias != 2
and I_SettlementOwner Demetrias = thrace
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 2
end_if

if I_CompareCounter settlementowner_Naissos != 2
and I_SettlementOwner Naissos = thrace
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 2
end_if

if I_CompareCounter settlementowner_Ascaucalis != 2
and I_SettlementOwner Ascaucalis = thrace
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 2
end_if

if I_CompareCounter settlementowner_Pselkis != 2
and I_SettlementOwner Pselkis = thrace
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 2
end_if

if I_CompareCounter settlementowner_Syracuse != 2
and I_SettlementOwner Syracuse = thrace
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 2
end_if

if I_CompareCounter settlementowner_Lepki != 2
and I_SettlementOwner Lepki = thrace
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 2
end_if

if I_CompareCounter settlementowner_Gader != 2
and I_SettlementOwner Gader = thrace
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 2
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 2
and I_SettlementOwner Sucum-Murgi = thrace
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 2
end_if

if I_CompareCounter settlementowner_Ariminum != 2
and I_SettlementOwner Ariminum = thrace
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 2
end_if

if I_CompareCounter settlementowner_Patavium != 2
and I_SettlementOwner Patavium = thrace
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 2
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 2
and I_SettlementOwner Vindelicoppidos = thrace
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 2
end_if

if I_CompareCounter settlementowner_Tolosa != 2
and I_SettlementOwner Tolosa = thrace
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 2
end_if

if I_CompareCounter settlementowner_Chighu != 2
and I_SettlementOwner Chighu = thrace
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 2
end_if

if I_CompareCounter settlementowner_Sulek != 2
and I_SettlementOwner Sulek = thrace
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 2
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 2
and I_SettlementOwner Kart_Hadast = thrace
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 2
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 2
and I_SettlementOwner Ubar = thrace
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 2
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction greek_cities
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 3
and I_SettlementOwner Arbela = greek_cities
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 3
end_if

if I_CompareCounter settlementowner_Phraaspa != 3
and I_SettlementOwner Phraaspa = greek_cities
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 3
end_if

if I_CompareCounter settlementowner_Bononia != 3
and I_SettlementOwner Bononia = greek_cities
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 3
end_if

if I_CompareCounter settlementowner_Kabalaka != 3
and I_SettlementOwner Kabalaka = greek_cities
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 3
end_if

if I_CompareCounter settlementowner_Thermon != 3
and I_SettlementOwner Thermon = greek_cities
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 3
end_if

if I_CompareCounter settlementowner_Arpi != 3
and I_SettlementOwner Arpi = greek_cities
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 3
end_if

if I_CompareCounter settlementowner_Burdigala != 3
and I_SettlementOwner Burdigala = greek_cities
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 3
end_if

if I_CompareCounter settlementowner_Babylon != 3
and I_SettlementOwner Babylon = greek_cities
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 3
end_if

if I_CompareCounter settlementowner_Alexandropolis != 3
and I_SettlementOwner Alexandropolis = greek_cities
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 3
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 3
and I_SettlementOwner Alexandreia_Ariana = greek_cities
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 3
end_if

if I_CompareCounter settlementowner_Darioritum != 3
and I_SettlementOwner Darioritum = greek_cities
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 3
end_if

if I_CompareCounter settlementowner_Gergovia != 3
and I_SettlementOwner Gergovia = greek_cities
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 3
end_if

if I_CompareCounter settlementowner_Edessa != 3
and I_SettlementOwner Edessa = greek_cities
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 3
end_if

if I_CompareCounter settlementowner_Asaak != 3
and I_SettlementOwner Asaak = greek_cities
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 3
end_if

if I_CompareCounter settlementowner_Pallantia != 3
and I_SettlementOwner Pallantia = greek_cities
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 3
end_if

if I_CompareCounter settlementowner_Athenai != 3
and I_SettlementOwner Athenai = greek_cities
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 3
end_if

if I_CompareCounter settlementowner_Augila_settlement != 3
and I_SettlementOwner Augila_settlement = greek_cities
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 3
end_if

if I_CompareCounter settlementowner_Seleukeia != 3
and I_SettlementOwner Seleukeia = greek_cities
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 3
end_if

if I_CompareCounter settlementowner_Baktra != 3
and I_SettlementOwner Baktra = greek_cities
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 3
end_if

if I_CompareCounter settlementowner_Bocchoris != 3
and I_SettlementOwner Bocchoris = greek_cities
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 3
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 3
and I_SettlementOwner Gawjam_Bastarnoz = greek_cities
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 3
end_if

if I_CompareCounter settlementowner_Mastia != 3
and I_SettlementOwner Mastia = greek_cities
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 3
end_if

if I_CompareCounter settlementowner_Avaricum != 3
and I_SettlementOwner Avaricum = greek_cities
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 3
end_if

if I_CompareCounter settlementowner_Bratosporios != 3
and I_SettlementOwner Bratosporios = greek_cities
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 3
end_if

if I_CompareCounter settlementowner_Nikaia != 3
and I_SettlementOwner Nikaia = greek_cities
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 3
end_if

if I_CompareCounter settlementowner_Pantikapaion != 3
and I_SettlementOwner Pantikapaion = greek_cities
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 3
end_if

if I_CompareCounter settlementowner_Rhegion != 3
and I_SettlementOwner Rhegion = greek_cities
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 3
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 3
and I_SettlementOwner Caern_Brigantae = greek_cities
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 3
end_if

if I_CompareCounter settlementowner_Gelonus != 3
and I_SettlementOwner Gelonus = greek_cities
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 3
end_if

if I_CompareCounter settlementowner_Adrumeto != 3
and I_SettlementOwner Adrumeto = greek_cities
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 3
end_if

if I_CompareCounter settlementowner_Attuaca != 3
and I_SettlementOwner Attuaca = greek_cities
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 3
end_if

if I_CompareCounter settlementowner_Capua != 3
and I_SettlementOwner Capua = greek_cities
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 3
end_if

if I_CompareCounter settlementowner_Vellika != 3
and I_SettlementOwner Vellika = greek_cities
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 3
end_if

if I_CompareCounter settlementowner_Baikor != 3
and I_SettlementOwner Baikor = greek_cities
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 3
end_if

if I_CompareCounter settlementowner_Camulosadae != 3
and I_SettlementOwner Camulosadae = greek_cities
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 3
end_if

if I_CompareCounter settlementowner_Numantia != 3
and I_SettlementOwner Numantia = greek_cities
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 3
end_if

if I_CompareCounter settlementowner_Charax != 3
and I_SettlementOwner Charax = greek_cities
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 3
end_if

if I_CompareCounter settlementowner_Byzantion != 3
and I_SettlementOwner Byzantion = greek_cities
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 3
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 3
and I_SettlementOwner Ptolemais_Theron = greek_cities
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 3
end_if

if I_CompareCounter settlementowner_Ratae != 3
and I_SettlementOwner Ratae = greek_cities
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 3
end_if

if I_CompareCounter settlementowner_Ictis != 3
and I_SettlementOwner Ictis = greek_cities
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 3
end_if

if I_CompareCounter settlementowner_Lucarottea != 3
and I_SettlementOwner Lucarottea = greek_cities
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 3
end_if

if I_CompareCounter settlementowner_Emain_Macha != 3
and I_SettlementOwner Emain_Macha = greek_cities
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 3
end_if

if I_CompareCounter settlementowner_Atiqa != 3
and I_SettlementOwner Atiqa = greek_cities
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 3
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 3
and I_SettlementOwner Ynys_Mon = greek_cities
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 3
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 3
and I_SettlementOwner Gava_Alanna = greek_cities
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 3
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 3
and I_SettlementOwner Gava_Aursa = greek_cities
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 3
end_if

if I_CompareCounter settlementowner_Nisa != 3
and I_SettlementOwner Nisa = greek_cities
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 3
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 3
and I_SettlementOwner Gava_Haomavarga = greek_cities
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 3
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 3
and I_SettlementOwner Gava_Mazsakata = greek_cities
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 3
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 3
and I_SettlementOwner Gava_Roxsalanna = greek_cities
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 3
end_if

if I_CompareCounter settlementowner_Uspe != 3
and I_SettlementOwner Uspe = greek_cities
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 3
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 3
and I_SettlementOwner Gava_Thissakata = greek_cities
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 3
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 3
and I_SettlementOwner Gava_Yazyga = greek_cities
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 3
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 3
and I_SettlementOwner Gava_Yugra = greek_cities
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 3
end_if

if I_CompareCounter settlementowner_Dalminion != 3
and I_SettlementOwner Dalminion = greek_cities
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 3
end_if

if I_CompareCounter settlementowner_Serdike != 3
and I_SettlementOwner Serdike = greek_cities
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 3
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 3
and I_SettlementOwner Alexandreia_Eschate = greek_cities
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 3
end_if

if I_CompareCounter settlementowner_Alexandreia != 3
and I_SettlementOwner Alexandreia = greek_cities
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 3
end_if

if I_CompareCounter settlementowner_Axum != 3
and I_SettlementOwner Axum = greek_cities
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 3
end_if

if I_CompareCounter settlementowner_Prophthasia != 3
and I_SettlementOwner Prophthasia = greek_cities
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 3
end_if

if I_CompareCounter settlementowner_Arse != 3
and I_SettlementOwner Arse = greek_cities
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 3
end_if

if I_CompareCounter settlementowner_Kotais != 3
and I_SettlementOwner Kotais = greek_cities
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 3
end_if

if I_CompareCounter settlementowner_Lilibeo != 3
and I_SettlementOwner Lilibeo = greek_cities
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 3
end_if

if I_CompareCounter settlementowner_Susa != 3
and I_SettlementOwner Susa = greek_cities
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 3
end_if

if I_CompareCounter settlementowner_Apollonia != 3
and I_SettlementOwner Apollonia = greek_cities
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 3
end_if

if I_CompareCounter settlementowner_Ivernis != 3
and I_SettlementOwner Ivernis = greek_cities
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 3
end_if

if I_CompareCounter settlementowner_Ak_Ink != 3
and I_SettlementOwner Ak_Ink = greek_cities
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 3
end_if

if I_CompareCounter settlementowner_Arretium != 3
and I_SettlementOwner Arretium = greek_cities
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 3
end_if

if I_CompareCounter settlementowner_Chalkis != 3
and I_SettlementOwner Chalkis = greek_cities
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 3
end_if

if I_CompareCounter settlementowner_Gabai != 3
and I_SettlementOwner Gabai = greek_cities
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 3
end_if

if I_CompareCounter settlementowner_Tuat != 3
and I_SettlementOwner Tuat = greek_cities
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 3
end_if

if I_CompareCounter settlementowner_Tyde != 3
and I_SettlementOwner Tyde = greek_cities
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 3
end_if

if I_CompareCounter settlementowner_Ankyra != 3
and I_SettlementOwner Ankyra = greek_cities
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 3
end_if

if I_CompareCounter settlementowner_Taksashila != 3
and I_SettlementOwner Taksashila = greek_cities
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 3
end_if

if I_CompareCounter settlementowner_Pura != 3
and I_SettlementOwner Pura = greek_cities
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 3
end_if

if I_CompareCounter settlementowner_Gerrha != 3
and I_SettlementOwner Gerrha = greek_cities
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 3
end_if

if I_CompareCounter settlementowner_Buridava != 3
and I_SettlementOwner Buridava = greek_cities
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 3
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 3
and I_SettlementOwner Sarmiszegethusa = greek_cities
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 3
end_if

if I_CompareCounter settlementowner_Massalia != 3
and I_SettlementOwner Massalia = greek_cities
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 3
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 3
and I_SettlementOwner Gawjam_Habukoz = greek_cities
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 3
end_if

if I_CompareCounter settlementowner_Sabata != 3
and I_SettlementOwner Sabata = greek_cities
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 3
end_if

if I_CompareCounter settlementowner_Arctaunon != 3
and I_SettlementOwner Arctaunon = greek_cities
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 3
end_if

if I_CompareCounter settlementowner_Armavir != 3
and I_SettlementOwner Armavir = greek_cities
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 3
end_if

if I_CompareCounter settlementowner_Aventicos != 3
and I_SettlementOwner Aventicos = greek_cities
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 3
end_if

if I_CompareCounter settlementowner_Memphis != 3
and I_SettlementOwner Memphis = greek_cities
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 3
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 3
and I_SettlementOwner Gawjam_Heruskoz = greek_cities
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 3
end_if

if I_CompareCounter settlementowner_Zadrakata != 3
and I_SettlementOwner Zadrakata = greek_cities
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 3
end_if

if I_CompareCounter settlementowner_Epidamnos != 3
and I_SettlementOwner Epidamnos = greek_cities
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 3
end_if

if I_CompareCounter settlementowner_Mediolanum != 3
and I_SettlementOwner Mediolanum = greek_cities
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 3
end_if

if I_CompareCounter settlementowner_Hierosolyma != 3
and I_SettlementOwner Hierosolyma = greek_cities
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 3
end_if

if I_CompareCounter settlementowner_Taras != 3
and I_SettlementOwner Taras = greek_cities
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 3
end_if

if I_CompareCounter settlementowner_Chach != 3
and I_SettlementOwner Chach = greek_cities
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 3
end_if

if I_CompareCounter settlementowner_Mazaka != 3
and I_SettlementOwner Mazaka = greek_cities
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 3
end_if

if I_CompareCounter settlementowner_Amaseia != 3
and I_SettlementOwner Amaseia = greek_cities
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 3
end_if

if I_CompareCounter settlementowner_Halikarnassos != 3
and I_SettlementOwner Halikarnassos = greek_cities
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 3
end_if

if I_CompareCounter settlementowner_Karmana != 3
and I_SettlementOwner Karmana = greek_cities
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 3
end_if

if I_CompareCounter settlementowner_Mtskheta != 3
and I_SettlementOwner Mtskheta = greek_cities
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 3
end_if

if I_CompareCounter settlementowner_Apameia != 3
and I_SettlementOwner Apameia = greek_cities
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 3
end_if

if I_CompareCounter settlementowner_Khiva != 3
and I_SettlementOwner Khiva = greek_cities
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 3
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 3
and I_SettlementOwner Tarsos = greek_cities
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 3
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 3
and I_SettlementOwner Gawjam_Kimbroz = greek_cities
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 3
end_if

if I_CompareCounter settlementowner_Alalia != 3
and I_SettlementOwner Alalia = greek_cities
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 3
end_if

if I_CompareCounter settlementowner_Kydonia != 3
and I_SettlementOwner Kydonia = greek_cities
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 3
end_if

if I_CompareCounter settlementowner_Meroe != 3
and I_SettlementOwner Meroe = greek_cities
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 3
end_if

if I_CompareCounter settlementowner_Salamis != 3
and I_SettlementOwner Salamis = greek_cities
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 3
end_if

if I_CompareCounter settlementowner_Kyrene != 3
and I_SettlementOwner Kyrene = greek_cities
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 3
end_if

if I_CompareCounter settlementowner_Emporion != 3
and I_SettlementOwner Emporion = greek_cities
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 3
end_if

if I_CompareCounter settlementowner_Sparte != 3
and I_SettlementOwner Sparte = greek_cities
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 3
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 3
and I_SettlementOwner Gawjam_Gotanoz = greek_cities
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 3
end_if

if I_CompareCounter settlementowner_Rome != 3
and I_SettlementOwner Rome = greek_cities
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 3
end_if

if I_CompareCounter settlementowner_Lemonum != 3
and I_SettlementOwner Lemonum = greek_cities
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 3
end_if

if I_CompareCounter settlementowner_Mytilene != 3
and I_SettlementOwner Mytilene = greek_cities
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 3
end_if

if I_CompareCounter settlementowner_Ammonion != 3
and I_SettlementOwner Ammonion = greek_cities
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 3
end_if

if I_CompareCounter settlementowner_Segesta != 3
and I_SettlementOwner Segesta = greek_cities
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 3
end_if

if I_CompareCounter settlementowner_Viennos != 3
and I_SettlementOwner Viennos = greek_cities
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 3
end_if

if I_CompareCounter settlementowner_Carrodunum != 3
and I_SettlementOwner Carrodunum = greek_cities
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 3
end_if

if I_CompareCounter settlementowner_Oxtraca != 3
and I_SettlementOwner Oxtraca = greek_cities
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 3
end_if

if I_CompareCounter settlementowner_Sardis != 3
and I_SettlementOwner Sardis = greek_cities
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 3
end_if

if I_CompareCounter settlementowner_Tanais != 3
and I_SettlementOwner Tanais = greek_cities
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 3
end_if

if I_CompareCounter settlementowner_Carna != 3
and I_SettlementOwner Carna = greek_cities
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 3
end_if

if I_CompareCounter settlementowner_Pella != 3
and I_SettlementOwner Pella = greek_cities
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 3
end_if

if I_CompareCounter settlementowner_Homna != 3
and I_SettlementOwner Homna = greek_cities
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 3
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 3
and I_SettlementOwner Antiocheia_Margiane = greek_cities
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 3
end_if

if I_CompareCounter settlementowner_Paraitonion != 3
and I_SettlementOwner Paraitonion = greek_cities
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 3
end_if

if I_CompareCounter settlementowner_Ippone != 3
and I_SettlementOwner Ippone = greek_cities
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 3
end_if

if I_CompareCounter settlementowner_Sala != 3
and I_SettlementOwner Sala = greek_cities
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 3
end_if

if I_CompareCounter settlementowner_Siga != 3
and I_SettlementOwner Siga = greek_cities
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 3
end_if

if I_CompareCounter settlementowner_Lixus != 3
and I_SettlementOwner Lixus = greek_cities
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 3
end_if

if I_CompareCounter settlementowner_Ekbatana != 3
and I_SettlementOwner Ekbatana = greek_cities
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 3
end_if

if I_CompareCounter settlementowner_Kallatis != 3
and I_SettlementOwner Kallatis = greek_cities
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 3
end_if

if I_CompareCounter settlementowner_Bibracte != 3
and I_SettlementOwner Bibracte = greek_cities
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 3
end_if

if I_CompareCounter settlementowner_Cenabum != 3
and I_SettlementOwner Cenabum = greek_cities
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 3
end_if

if I_CompareCounter settlementowner_Eburonum != 3
and I_SettlementOwner Eburonum = greek_cities
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 3
end_if

if I_CompareCounter settlementowner_Pergamon != 3
and I_SettlementOwner Pergamon = greek_cities
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 3
end_if

if I_CompareCounter settlementowner_Bostra != 3
and I_SettlementOwner Bostra = greek_cities
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 3
end_if

if I_CompareCounter settlementowner_Bagacos != 3
and I_SettlementOwner Bagacos = greek_cities
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 3
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 3
and I_SettlementOwner Gordu_Neuriji = greek_cities
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 3
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 3
and I_SettlementOwner Iuvavoaeta = greek_cities
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 3
end_if

if I_CompareCounter settlementowner_Kirtan != 3
and I_SettlementOwner Kirtan = greek_cities
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 3
end_if

if I_CompareCounter settlementowner_Hibis != 3
and I_SettlementOwner Hibis = greek_cities
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 3
end_if

if I_CompareCounter settlementowner_Tylis != 3
and I_SettlementOwner Tylis = greek_cities
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 3
end_if

if I_CompareCounter settlementowner_Side != 3
and I_SettlementOwner Side = greek_cities
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 3
end_if

if I_CompareCounter settlementowner_Vindobona != 3
and I_SettlementOwner Vindobona = greek_cities
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 3
end_if

if I_CompareCounter settlementowner_Segestica != 3
and I_SettlementOwner Segestica = greek_cities
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 3
end_if

if I_CompareCounter settlementowner_Sinope != 3
and I_SettlementOwner Sinope = greek_cities
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 3
end_if

if I_CompareCounter settlementowner_Kophen != 3
and I_SettlementOwner Kophen = greek_cities
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 3
end_if

if I_CompareCounter settlementowner_Hekatompylos != 3
and I_SettlementOwner Hekatompylos = greek_cities
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 3
end_if

if I_CompareCounter settlementowner_Korinthos != 3
and I_SettlementOwner Korinthos = greek_cities
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 3
end_if

if I_CompareCounter settlementowner_Persepolis != 3
and I_SettlementOwner Persepolis = greek_cities
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 3
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 3
and I_SettlementOwner Garama = greek_cities
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 3
end_if

if I_CompareCounter settlementowner_Sidon != 3
and I_SettlementOwner Sidon = greek_cities
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 3
end_if

if I_CompareCounter settlementowner_Ipsos != 3
and I_SettlementOwner Ipsos = greek_cities
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 3
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 3
and I_SettlementOwner Ani-Kamah = greek_cities
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 3
end_if

if I_CompareCounter settlementowner_Trapezous != 3
and I_SettlementOwner Trapezous = greek_cities
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 3
end_if

if I_CompareCounter settlementowner_Tamane != 3
and I_SettlementOwner Tamane = greek_cities
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 3
end_if

if I_CompareCounter settlementowner_Veldideno != 3
and I_SettlementOwner Veldideno = greek_cities
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 3
end_if

if I_CompareCounter settlementowner_Rhodos != 3
and I_SettlementOwner Rhodos = greek_cities
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 3
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 3
and I_SettlementOwner Gawjam_Rugoz = greek_cities
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 3
end_if

if I_CompareCounter settlementowner_Maryab != 3
and I_SettlementOwner Maryab = greek_cities
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 3
end_if

if I_CompareCounter settlementowner_Terhazza != 3
and I_SettlementOwner Terhazza = greek_cities
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 3
end_if

if I_CompareCounter settlementowner_Gava_Saka != 3
and I_SettlementOwner Gava_Saka = greek_cities
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 3
end_if

if I_CompareCounter settlementowner_Asodat != 3
and I_SettlementOwner Asodat = greek_cities
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 3
end_if

if I_CompareCounter settlementowner_Karali != 3
and I_SettlementOwner Karali = greek_cities
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 3
end_if

if I_CompareCounter settlementowner_Opiana != 3
and I_SettlementOwner Opiana = greek_cities
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 3
end_if

if I_CompareCounter settlementowner_Singidunum != 3
and I_SettlementOwner Singidunum = greek_cities
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 3
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 3
and I_SettlementOwner Seliun_Pilis = greek_cities
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 3
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 3
and I_SettlementOwner Gintaras_Ostan = greek_cities
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 3
end_if

if I_CompareCounter settlementowner_Vesontio != 3
and I_SettlementOwner Vesontio = greek_cities
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 3
end_if

if I_CompareCounter settlementowner_Messana != 3
and I_SettlementOwner Messana = greek_cities
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 3
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 3
and I_SettlementOwner Gawjam_Silengoz = greek_cities
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 3
end_if

if I_CompareCounter settlementowner_Petra != 3
and I_SettlementOwner Petra = greek_cities
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 3
end_if

if I_CompareCounter settlementowner_Patala != 3
and I_SettlementOwner Patala = greek_cities
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 3
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 3
and I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 3
end_if

if I_CompareCounter settlementowner_Olbia != 3
and I_SettlementOwner Olbia = greek_cities
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 3
end_if

if I_CompareCounter settlementowner_Marakanda != 3
and I_SettlementOwner Marakanda = greek_cities
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 3
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 3
and I_SettlementOwner Karkathiokerta = greek_cities
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 3
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 3
and I_SettlementOwner Swebotraustastamnoz = greek_cities
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 3
end_if

if I_CompareCounter settlementowner_Antiocheia != 3
and I_SettlementOwner Antiocheia = greek_cities
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 3
end_if

if I_CompareCounter settlementowner_Damaskos != 3
and I_SettlementOwner Damaskos = greek_cities
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 3
end_if

if I_CompareCounter settlementowner_Palmyra != 3
and I_SettlementOwner Palmyra = greek_cities
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 3
end_if

if I_CompareCounter settlementowner_Chersonesos != 3
and I_SettlementOwner Chersonesos = greek_cities
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 3
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 3
and I_SettlementOwner Diospolis_Megale = greek_cities
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 3
end_if

if I_CompareCounter settlementowner_Demetrias != 3
and I_SettlementOwner Demetrias = greek_cities
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 3
end_if

if I_CompareCounter settlementowner_Naissos != 3
and I_SettlementOwner Naissos = greek_cities
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 3
end_if

if I_CompareCounter settlementowner_Ascaucalis != 3
and I_SettlementOwner Ascaucalis = greek_cities
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 3
end_if

if I_CompareCounter settlementowner_Pselkis != 3
and I_SettlementOwner Pselkis = greek_cities
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 3
end_if

if I_CompareCounter settlementowner_Syracuse != 3
and I_SettlementOwner Syracuse = greek_cities
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 3
end_if

if I_CompareCounter settlementowner_Lepki != 3
and I_SettlementOwner Lepki = greek_cities
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 3
end_if

if I_CompareCounter settlementowner_Gader != 3
and I_SettlementOwner Gader = greek_cities
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 3
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 3
and I_SettlementOwner Sucum-Murgi = greek_cities
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 3
end_if

if I_CompareCounter settlementowner_Ariminum != 3
and I_SettlementOwner Ariminum = greek_cities
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 3
end_if

if I_CompareCounter settlementowner_Patavium != 3
and I_SettlementOwner Patavium = greek_cities
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 3
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 3
and I_SettlementOwner Vindelicoppidos = greek_cities
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 3
end_if

if I_CompareCounter settlementowner_Tolosa != 3
and I_SettlementOwner Tolosa = greek_cities
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 3
end_if

if I_CompareCounter settlementowner_Chighu != 3
and I_SettlementOwner Chighu = greek_cities
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 3
end_if

if I_CompareCounter settlementowner_Sulek != 3
and I_SettlementOwner Sulek = greek_cities
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 3
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 3
and I_SettlementOwner Kart_Hadast = greek_cities
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 3
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 3
and I_SettlementOwner Ubar = greek_cities
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 3
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction carthage
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 4
and I_SettlementOwner Arbela = carthage
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 4
end_if

if I_CompareCounter settlementowner_Phraaspa != 4
and I_SettlementOwner Phraaspa = carthage
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 4
end_if

if I_CompareCounter settlementowner_Bononia != 4
and I_SettlementOwner Bononia = carthage
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 4
end_if

if I_CompareCounter settlementowner_Kabalaka != 4
and I_SettlementOwner Kabalaka = carthage
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 4
end_if

if I_CompareCounter settlementowner_Thermon != 4
and I_SettlementOwner Thermon = carthage
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 4
end_if

if I_CompareCounter settlementowner_Arpi != 4
and I_SettlementOwner Arpi = carthage
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 4
end_if

if I_CompareCounter settlementowner_Burdigala != 4
and I_SettlementOwner Burdigala = carthage
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 4
end_if

if I_CompareCounter settlementowner_Babylon != 4
and I_SettlementOwner Babylon = carthage
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 4
end_if

if I_CompareCounter settlementowner_Alexandropolis != 4
and I_SettlementOwner Alexandropolis = carthage
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 4
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 4
and I_SettlementOwner Alexandreia_Ariana = carthage
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 4
end_if

if I_CompareCounter settlementowner_Darioritum != 4
and I_SettlementOwner Darioritum = carthage
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 4
end_if

if I_CompareCounter settlementowner_Gergovia != 4
and I_SettlementOwner Gergovia = carthage
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 4
end_if

if I_CompareCounter settlementowner_Edessa != 4
and I_SettlementOwner Edessa = carthage
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 4
end_if

if I_CompareCounter settlementowner_Asaak != 4
and I_SettlementOwner Asaak = carthage
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 4
end_if

if I_CompareCounter settlementowner_Pallantia != 4
and I_SettlementOwner Pallantia = carthage
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 4
end_if

if I_CompareCounter settlementowner_Athenai != 4
and I_SettlementOwner Athenai = carthage
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 4
end_if

if I_CompareCounter settlementowner_Augila_settlement != 4
and I_SettlementOwner Augila_settlement = carthage
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 4
end_if

if I_CompareCounter settlementowner_Seleukeia != 4
and I_SettlementOwner Seleukeia = carthage
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 4
end_if

if I_CompareCounter settlementowner_Baktra != 4
and I_SettlementOwner Baktra = carthage
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 4
end_if

if I_CompareCounter settlementowner_Bocchoris != 4
and I_SettlementOwner Bocchoris = carthage
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 4
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 4
and I_SettlementOwner Gawjam_Bastarnoz = carthage
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 4
end_if

if I_CompareCounter settlementowner_Mastia != 4
and I_SettlementOwner Mastia = carthage
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 4
end_if

if I_CompareCounter settlementowner_Avaricum != 4
and I_SettlementOwner Avaricum = carthage
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 4
end_if

if I_CompareCounter settlementowner_Bratosporios != 4
and I_SettlementOwner Bratosporios = carthage
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 4
end_if

if I_CompareCounter settlementowner_Nikaia != 4
and I_SettlementOwner Nikaia = carthage
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 4
end_if

if I_CompareCounter settlementowner_Pantikapaion != 4
and I_SettlementOwner Pantikapaion = carthage
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 4
end_if

if I_CompareCounter settlementowner_Rhegion != 4
and I_SettlementOwner Rhegion = carthage
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 4
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 4
and I_SettlementOwner Caern_Brigantae = carthage
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 4
end_if

if I_CompareCounter settlementowner_Gelonus != 4
and I_SettlementOwner Gelonus = carthage
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 4
end_if

if I_CompareCounter settlementowner_Adrumeto != 4
and I_SettlementOwner Adrumeto = carthage
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 4
end_if

if I_CompareCounter settlementowner_Attuaca != 4
and I_SettlementOwner Attuaca = carthage
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 4
end_if

if I_CompareCounter settlementowner_Capua != 4
and I_SettlementOwner Capua = carthage
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 4
end_if

if I_CompareCounter settlementowner_Vellika != 4
and I_SettlementOwner Vellika = carthage
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 4
end_if

if I_CompareCounter settlementowner_Baikor != 4
and I_SettlementOwner Baikor = carthage
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 4
end_if

if I_CompareCounter settlementowner_Camulosadae != 4
and I_SettlementOwner Camulosadae = carthage
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 4
end_if

if I_CompareCounter settlementowner_Numantia != 4
and I_SettlementOwner Numantia = carthage
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 4
end_if

if I_CompareCounter settlementowner_Charax != 4
and I_SettlementOwner Charax = carthage
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 4
end_if

if I_CompareCounter settlementowner_Byzantion != 4
and I_SettlementOwner Byzantion = carthage
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 4
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 4
and I_SettlementOwner Ptolemais_Theron = carthage
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 4
end_if

if I_CompareCounter settlementowner_Ratae != 4
and I_SettlementOwner Ratae = carthage
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 4
end_if

if I_CompareCounter settlementowner_Ictis != 4
and I_SettlementOwner Ictis = carthage
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 4
end_if

if I_CompareCounter settlementowner_Lucarottea != 4
and I_SettlementOwner Lucarottea = carthage
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 4
end_if

if I_CompareCounter settlementowner_Emain_Macha != 4
and I_SettlementOwner Emain_Macha = carthage
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 4
end_if

if I_CompareCounter settlementowner_Atiqa != 4
and I_SettlementOwner Atiqa = carthage
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 4
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 4
and I_SettlementOwner Ynys_Mon = carthage
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 4
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 4
and I_SettlementOwner Gava_Alanna = carthage
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 4
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 4
and I_SettlementOwner Gava_Aursa = carthage
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 4
end_if

if I_CompareCounter settlementowner_Nisa != 4
and I_SettlementOwner Nisa = carthage
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 4
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 4
and I_SettlementOwner Gava_Haomavarga = carthage
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 4
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 4
and I_SettlementOwner Gava_Mazsakata = carthage
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 4
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 4
and I_SettlementOwner Gava_Roxsalanna = carthage
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 4
end_if

if I_CompareCounter settlementowner_Uspe != 4
and I_SettlementOwner Uspe = carthage
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 4
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 4
and I_SettlementOwner Gava_Thissakata = carthage
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 4
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 4
and I_SettlementOwner Gava_Yazyga = carthage
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 4
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 4
and I_SettlementOwner Gava_Yugra = carthage
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 4
end_if

if I_CompareCounter settlementowner_Dalminion != 4
and I_SettlementOwner Dalminion = carthage
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 4
end_if

if I_CompareCounter settlementowner_Serdike != 4
and I_SettlementOwner Serdike = carthage
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 4
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 4
and I_SettlementOwner Alexandreia_Eschate = carthage
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 4
end_if

if I_CompareCounter settlementowner_Alexandreia != 4
and I_SettlementOwner Alexandreia = carthage
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 4
end_if

if I_CompareCounter settlementowner_Axum != 4
and I_SettlementOwner Axum = carthage
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 4
end_if

if I_CompareCounter settlementowner_Prophthasia != 4
and I_SettlementOwner Prophthasia = carthage
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 4
end_if

if I_CompareCounter settlementowner_Arse != 4
and I_SettlementOwner Arse = carthage
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 4
end_if

if I_CompareCounter settlementowner_Kotais != 4
and I_SettlementOwner Kotais = carthage
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 4
end_if

if I_CompareCounter settlementowner_Lilibeo != 4
and I_SettlementOwner Lilibeo = carthage
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 4
end_if

if I_CompareCounter settlementowner_Susa != 4
and I_SettlementOwner Susa = carthage
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 4
end_if

if I_CompareCounter settlementowner_Apollonia != 4
and I_SettlementOwner Apollonia = carthage
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 4
end_if

if I_CompareCounter settlementowner_Ivernis != 4
and I_SettlementOwner Ivernis = carthage
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 4
end_if

if I_CompareCounter settlementowner_Ak_Ink != 4
and I_SettlementOwner Ak_Ink = carthage
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 4
end_if

if I_CompareCounter settlementowner_Arretium != 4
and I_SettlementOwner Arretium = carthage
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 4
end_if

if I_CompareCounter settlementowner_Chalkis != 4
and I_SettlementOwner Chalkis = carthage
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 4
end_if

if I_CompareCounter settlementowner_Gabai != 4
and I_SettlementOwner Gabai = carthage
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 4
end_if

if I_CompareCounter settlementowner_Tuat != 4
and I_SettlementOwner Tuat = carthage
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 4
end_if

if I_CompareCounter settlementowner_Tyde != 4
and I_SettlementOwner Tyde = carthage
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 4
end_if

if I_CompareCounter settlementowner_Ankyra != 4
and I_SettlementOwner Ankyra = carthage
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 4
end_if

if I_CompareCounter settlementowner_Taksashila != 4
and I_SettlementOwner Taksashila = carthage
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 4
end_if

if I_CompareCounter settlementowner_Pura != 4
and I_SettlementOwner Pura = carthage
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 4
end_if

if I_CompareCounter settlementowner_Gerrha != 4
and I_SettlementOwner Gerrha = carthage
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 4
end_if

if I_CompareCounter settlementowner_Buridava != 4
and I_SettlementOwner Buridava = carthage
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 4
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 4
and I_SettlementOwner Sarmiszegethusa = carthage
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 4
end_if

if I_CompareCounter settlementowner_Massalia != 4
and I_SettlementOwner Massalia = carthage
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 4
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 4
and I_SettlementOwner Gawjam_Habukoz = carthage
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 4
end_if

if I_CompareCounter settlementowner_Sabata != 4
and I_SettlementOwner Sabata = carthage
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 4
end_if

if I_CompareCounter settlementowner_Arctaunon != 4
and I_SettlementOwner Arctaunon = carthage
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 4
end_if

if I_CompareCounter settlementowner_Armavir != 4
and I_SettlementOwner Armavir = carthage
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 4
end_if

if I_CompareCounter settlementowner_Aventicos != 4
and I_SettlementOwner Aventicos = carthage
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 4
end_if

if I_CompareCounter settlementowner_Memphis != 4
and I_SettlementOwner Memphis = carthage
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 4
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 4
and I_SettlementOwner Gawjam_Heruskoz = carthage
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 4
end_if

if I_CompareCounter settlementowner_Zadrakata != 4
and I_SettlementOwner Zadrakata = carthage
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 4
end_if

if I_CompareCounter settlementowner_Epidamnos != 4
and I_SettlementOwner Epidamnos = carthage
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 4
end_if

if I_CompareCounter settlementowner_Mediolanum != 4
and I_SettlementOwner Mediolanum = carthage
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 4
end_if

if I_CompareCounter settlementowner_Hierosolyma != 4
and I_SettlementOwner Hierosolyma = carthage
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 4
end_if

if I_CompareCounter settlementowner_Taras != 4
and I_SettlementOwner Taras = carthage
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 4
end_if

if I_CompareCounter settlementowner_Chach != 4
and I_SettlementOwner Chach = carthage
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 4
end_if

if I_CompareCounter settlementowner_Mazaka != 4
and I_SettlementOwner Mazaka = carthage
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 4
end_if

if I_CompareCounter settlementowner_Amaseia != 4
and I_SettlementOwner Amaseia = carthage
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 4
end_if

if I_CompareCounter settlementowner_Halikarnassos != 4
and I_SettlementOwner Halikarnassos = carthage
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 4
end_if

if I_CompareCounter settlementowner_Karmana != 4
and I_SettlementOwner Karmana = carthage
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 4
end_if

if I_CompareCounter settlementowner_Mtskheta != 4
and I_SettlementOwner Mtskheta = carthage
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 4
end_if

if I_CompareCounter settlementowner_Apameia != 4
and I_SettlementOwner Apameia = carthage
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 4
end_if

if I_CompareCounter settlementowner_Khiva != 4
and I_SettlementOwner Khiva = carthage
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 4
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 4
and I_SettlementOwner Tarsos = carthage
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 4
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 4
and I_SettlementOwner Gawjam_Kimbroz = carthage
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 4
end_if

if I_CompareCounter settlementowner_Alalia != 4
and I_SettlementOwner Alalia = carthage
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 4
end_if

if I_CompareCounter settlementowner_Kydonia != 4
and I_SettlementOwner Kydonia = carthage
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 4
end_if

if I_CompareCounter settlementowner_Meroe != 4
and I_SettlementOwner Meroe = carthage
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 4
end_if

if I_CompareCounter settlementowner_Salamis != 4
and I_SettlementOwner Salamis = carthage
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 4
end_if

if I_CompareCounter settlementowner_Kyrene != 4
and I_SettlementOwner Kyrene = carthage
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 4
end_if

if I_CompareCounter settlementowner_Emporion != 4
and I_SettlementOwner Emporion = carthage
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 4
end_if

if I_CompareCounter settlementowner_Sparte != 4
and I_SettlementOwner Sparte = carthage
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 4
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 4
and I_SettlementOwner Gawjam_Gotanoz = carthage
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 4
end_if

if I_CompareCounter settlementowner_Rome != 4
and I_SettlementOwner Rome = carthage
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 4
end_if

if I_CompareCounter settlementowner_Lemonum != 4
and I_SettlementOwner Lemonum = carthage
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 4
end_if

if I_CompareCounter settlementowner_Mytilene != 4
and I_SettlementOwner Mytilene = carthage
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 4
end_if

if I_CompareCounter settlementowner_Ammonion != 4
and I_SettlementOwner Ammonion = carthage
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 4
end_if

if I_CompareCounter settlementowner_Segesta != 4
and I_SettlementOwner Segesta = carthage
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 4
end_if

if I_CompareCounter settlementowner_Viennos != 4
and I_SettlementOwner Viennos = carthage
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 4
end_if

if I_CompareCounter settlementowner_Carrodunum != 4
and I_SettlementOwner Carrodunum = carthage
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 4
end_if

if I_CompareCounter settlementowner_Oxtraca != 4
and I_SettlementOwner Oxtraca = carthage
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 4
end_if

if I_CompareCounter settlementowner_Sardis != 4
and I_SettlementOwner Sardis = carthage
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 4
end_if

if I_CompareCounter settlementowner_Tanais != 4
and I_SettlementOwner Tanais = carthage
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 4
end_if

if I_CompareCounter settlementowner_Carna != 4
and I_SettlementOwner Carna = carthage
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 4
end_if

if I_CompareCounter settlementowner_Pella != 4
and I_SettlementOwner Pella = carthage
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 4
end_if

if I_CompareCounter settlementowner_Homna != 4
and I_SettlementOwner Homna = carthage
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 4
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 4
and I_SettlementOwner Antiocheia_Margiane = carthage
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 4
end_if

if I_CompareCounter settlementowner_Paraitonion != 4
and I_SettlementOwner Paraitonion = carthage
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 4
end_if

if I_CompareCounter settlementowner_Ippone != 4
and I_SettlementOwner Ippone = carthage
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 4
end_if

if I_CompareCounter settlementowner_Sala != 4
and I_SettlementOwner Sala = carthage
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 4
end_if

if I_CompareCounter settlementowner_Siga != 4
and I_SettlementOwner Siga = carthage
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 4
end_if

if I_CompareCounter settlementowner_Lixus != 4
and I_SettlementOwner Lixus = carthage
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 4
end_if

if I_CompareCounter settlementowner_Ekbatana != 4
and I_SettlementOwner Ekbatana = carthage
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 4
end_if

if I_CompareCounter settlementowner_Kallatis != 4
and I_SettlementOwner Kallatis = carthage
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 4
end_if

if I_CompareCounter settlementowner_Bibracte != 4
and I_SettlementOwner Bibracte = carthage
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 4
end_if

if I_CompareCounter settlementowner_Cenabum != 4
and I_SettlementOwner Cenabum = carthage
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 4
end_if

if I_CompareCounter settlementowner_Eburonum != 4
and I_SettlementOwner Eburonum = carthage
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 4
end_if

if I_CompareCounter settlementowner_Pergamon != 4
and I_SettlementOwner Pergamon = carthage
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 4
end_if

if I_CompareCounter settlementowner_Bostra != 4
and I_SettlementOwner Bostra = carthage
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 4
end_if

if I_CompareCounter settlementowner_Bagacos != 4
and I_SettlementOwner Bagacos = carthage
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 4
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 4
and I_SettlementOwner Gordu_Neuriji = carthage
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 4
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 4
and I_SettlementOwner Iuvavoaeta = carthage
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 4
end_if

if I_CompareCounter settlementowner_Kirtan != 4
and I_SettlementOwner Kirtan = carthage
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 4
end_if

if I_CompareCounter settlementowner_Hibis != 4
and I_SettlementOwner Hibis = carthage
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 4
end_if

if I_CompareCounter settlementowner_Tylis != 4
and I_SettlementOwner Tylis = carthage
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 4
end_if

if I_CompareCounter settlementowner_Side != 4
and I_SettlementOwner Side = carthage
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 4
end_if

if I_CompareCounter settlementowner_Vindobona != 4
and I_SettlementOwner Vindobona = carthage
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 4
end_if

if I_CompareCounter settlementowner_Segestica != 4
and I_SettlementOwner Segestica = carthage
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 4
end_if

if I_CompareCounter settlementowner_Sinope != 4
and I_SettlementOwner Sinope = carthage
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 4
end_if

if I_CompareCounter settlementowner_Kophen != 4
and I_SettlementOwner Kophen = carthage
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 4
end_if

if I_CompareCounter settlementowner_Hekatompylos != 4
and I_SettlementOwner Hekatompylos = carthage
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 4
end_if

if I_CompareCounter settlementowner_Korinthos != 4
and I_SettlementOwner Korinthos = carthage
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 4
end_if

if I_CompareCounter settlementowner_Persepolis != 4
and I_SettlementOwner Persepolis = carthage
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 4
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 4
and I_SettlementOwner Garama = carthage
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 4
end_if

if I_CompareCounter settlementowner_Sidon != 4
and I_SettlementOwner Sidon = carthage
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 4
end_if

if I_CompareCounter settlementowner_Ipsos != 4
and I_SettlementOwner Ipsos = carthage
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 4
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 4
and I_SettlementOwner Ani-Kamah = carthage
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 4
end_if

if I_CompareCounter settlementowner_Trapezous != 4
and I_SettlementOwner Trapezous = carthage
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 4
end_if

if I_CompareCounter settlementowner_Tamane != 4
and I_SettlementOwner Tamane = carthage
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 4
end_if

if I_CompareCounter settlementowner_Veldideno != 4
and I_SettlementOwner Veldideno = carthage
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 4
end_if

if I_CompareCounter settlementowner_Rhodos != 4
and I_SettlementOwner Rhodos = carthage
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 4
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 4
and I_SettlementOwner Gawjam_Rugoz = carthage
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 4
end_if

if I_CompareCounter settlementowner_Maryab != 4
and I_SettlementOwner Maryab = carthage
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 4
end_if

if I_CompareCounter settlementowner_Terhazza != 4
and I_SettlementOwner Terhazza = carthage
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 4
end_if

if I_CompareCounter settlementowner_Gava_Saka != 4
and I_SettlementOwner Gava_Saka = carthage
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 4
end_if

if I_CompareCounter settlementowner_Asodat != 4
and I_SettlementOwner Asodat = carthage
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 4
end_if

if I_CompareCounter settlementowner_Karali != 4
and I_SettlementOwner Karali = carthage
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 4
end_if

if I_CompareCounter settlementowner_Opiana != 4
and I_SettlementOwner Opiana = carthage
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 4
end_if

if I_CompareCounter settlementowner_Singidunum != 4
and I_SettlementOwner Singidunum = carthage
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 4
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 4
and I_SettlementOwner Seliun_Pilis = carthage
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 4
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 4
and I_SettlementOwner Gintaras_Ostan = carthage
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 4
end_if

if I_CompareCounter settlementowner_Vesontio != 4
and I_SettlementOwner Vesontio = carthage
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 4
end_if

if I_CompareCounter settlementowner_Messana != 4
and I_SettlementOwner Messana = carthage
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 4
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 4
and I_SettlementOwner Gawjam_Silengoz = carthage
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 4
end_if

if I_CompareCounter settlementowner_Petra != 4
and I_SettlementOwner Petra = carthage
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 4
end_if

if I_CompareCounter settlementowner_Patala != 4
and I_SettlementOwner Patala = carthage
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 4
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 4
and I_SettlementOwner Gawjam_Skandzawarjoz = carthage
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 4
end_if

if I_CompareCounter settlementowner_Olbia != 4
and I_SettlementOwner Olbia = carthage
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 4
end_if

if I_CompareCounter settlementowner_Marakanda != 4
and I_SettlementOwner Marakanda = carthage
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 4
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 4
and I_SettlementOwner Karkathiokerta = carthage
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 4
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 4
and I_SettlementOwner Swebotraustastamnoz = carthage
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 4
end_if

if I_CompareCounter settlementowner_Antiocheia != 4
and I_SettlementOwner Antiocheia = carthage
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 4
end_if

if I_CompareCounter settlementowner_Damaskos != 4
and I_SettlementOwner Damaskos = carthage
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 4
end_if

if I_CompareCounter settlementowner_Palmyra != 4
and I_SettlementOwner Palmyra = carthage
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 4
end_if

if I_CompareCounter settlementowner_Chersonesos != 4
and I_SettlementOwner Chersonesos = carthage
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 4
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 4
and I_SettlementOwner Diospolis_Megale = carthage
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 4
end_if

if I_CompareCounter settlementowner_Demetrias != 4
and I_SettlementOwner Demetrias = carthage
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 4
end_if

if I_CompareCounter settlementowner_Naissos != 4
and I_SettlementOwner Naissos = carthage
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 4
end_if

if I_CompareCounter settlementowner_Ascaucalis != 4
and I_SettlementOwner Ascaucalis = carthage
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 4
end_if

if I_CompareCounter settlementowner_Pselkis != 4
and I_SettlementOwner Pselkis = carthage
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 4
end_if

if I_CompareCounter settlementowner_Syracuse != 4
and I_SettlementOwner Syracuse = carthage
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 4
end_if

if I_CompareCounter settlementowner_Lepki != 4
and I_SettlementOwner Lepki = carthage
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 4
end_if

if I_CompareCounter settlementowner_Gader != 4
and I_SettlementOwner Gader = carthage
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 4
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 4
and I_SettlementOwner Sucum-Murgi = carthage
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 4
end_if

if I_CompareCounter settlementowner_Ariminum != 4
and I_SettlementOwner Ariminum = carthage
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 4
end_if

if I_CompareCounter settlementowner_Patavium != 4
and I_SettlementOwner Patavium = carthage
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 4
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 4
and I_SettlementOwner Vindelicoppidos = carthage
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 4
end_if

if I_CompareCounter settlementowner_Tolosa != 4
and I_SettlementOwner Tolosa = carthage
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 4
end_if

if I_CompareCounter settlementowner_Chighu != 4
and I_SettlementOwner Chighu = carthage
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 4
end_if

if I_CompareCounter settlementowner_Sulek != 4
and I_SettlementOwner Sulek = carthage
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 4
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 4
and I_SettlementOwner Kart_Hadast = carthage
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 4
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 4
and I_SettlementOwner Ubar = carthage
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 4
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction romans_julii
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 5
and I_SettlementOwner Arbela = romans_julii
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 5
end_if

if I_CompareCounter settlementowner_Phraaspa != 5
and I_SettlementOwner Phraaspa = romans_julii
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 5
end_if

if I_CompareCounter settlementowner_Bononia != 5
and I_SettlementOwner Bononia = romans_julii
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 5
end_if

if I_CompareCounter settlementowner_Kabalaka != 5
and I_SettlementOwner Kabalaka = romans_julii
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 5
end_if

if I_CompareCounter settlementowner_Thermon != 5
and I_SettlementOwner Thermon = romans_julii
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 5
end_if

if I_CompareCounter settlementowner_Arpi != 5
and I_SettlementOwner Arpi = romans_julii
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 5
end_if

if I_CompareCounter settlementowner_Burdigala != 5
and I_SettlementOwner Burdigala = romans_julii
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 5
end_if

if I_CompareCounter settlementowner_Babylon != 5
and I_SettlementOwner Babylon = romans_julii
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 5
end_if

if I_CompareCounter settlementowner_Alexandropolis != 5
and I_SettlementOwner Alexandropolis = romans_julii
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 5
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 5
and I_SettlementOwner Alexandreia_Ariana = romans_julii
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 5
end_if

if I_CompareCounter settlementowner_Darioritum != 5
and I_SettlementOwner Darioritum = romans_julii
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 5
end_if

if I_CompareCounter settlementowner_Gergovia != 5
and I_SettlementOwner Gergovia = romans_julii
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 5
end_if

if I_CompareCounter settlementowner_Edessa != 5
and I_SettlementOwner Edessa = romans_julii
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 5
end_if

if I_CompareCounter settlementowner_Asaak != 5
and I_SettlementOwner Asaak = romans_julii
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 5
end_if

if I_CompareCounter settlementowner_Pallantia != 5
and I_SettlementOwner Pallantia = romans_julii
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 5
end_if

if I_CompareCounter settlementowner_Athenai != 5
and I_SettlementOwner Athenai = romans_julii
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 5
end_if

if I_CompareCounter settlementowner_Augila_settlement != 5
and I_SettlementOwner Augila_settlement = romans_julii
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 5
end_if

if I_CompareCounter settlementowner_Seleukeia != 5
and I_SettlementOwner Seleukeia = romans_julii
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 5
end_if

if I_CompareCounter settlementowner_Baktra != 5
and I_SettlementOwner Baktra = romans_julii
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 5
end_if

if I_CompareCounter settlementowner_Bocchoris != 5
and I_SettlementOwner Bocchoris = romans_julii
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 5
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 5
and I_SettlementOwner Gawjam_Bastarnoz = romans_julii
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 5
end_if

if I_CompareCounter settlementowner_Mastia != 5
and I_SettlementOwner Mastia = romans_julii
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 5
end_if

if I_CompareCounter settlementowner_Avaricum != 5
and I_SettlementOwner Avaricum = romans_julii
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 5
end_if

if I_CompareCounter settlementowner_Bratosporios != 5
and I_SettlementOwner Bratosporios = romans_julii
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 5
end_if

if I_CompareCounter settlementowner_Nikaia != 5
and I_SettlementOwner Nikaia = romans_julii
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 5
end_if

if I_CompareCounter settlementowner_Pantikapaion != 5
and I_SettlementOwner Pantikapaion = romans_julii
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 5
end_if

if I_CompareCounter settlementowner_Rhegion != 5
and I_SettlementOwner Rhegion = romans_julii
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 5
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 5
and I_SettlementOwner Caern_Brigantae = romans_julii
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 5
end_if

if I_CompareCounter settlementowner_Gelonus != 5
and I_SettlementOwner Gelonus = romans_julii
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 5
end_if

if I_CompareCounter settlementowner_Adrumeto != 5
and I_SettlementOwner Adrumeto = romans_julii
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 5
end_if

if I_CompareCounter settlementowner_Attuaca != 5
and I_SettlementOwner Attuaca = romans_julii
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 5
end_if

if I_CompareCounter settlementowner_Capua != 5
and I_SettlementOwner Capua = romans_julii
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 5
end_if

if I_CompareCounter settlementowner_Vellika != 5
and I_SettlementOwner Vellika = romans_julii
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 5
end_if

if I_CompareCounter settlementowner_Baikor != 5
and I_SettlementOwner Baikor = romans_julii
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 5
end_if

if I_CompareCounter settlementowner_Camulosadae != 5
and I_SettlementOwner Camulosadae = romans_julii
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 5
end_if

if I_CompareCounter settlementowner_Numantia != 5
and I_SettlementOwner Numantia = romans_julii
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 5
end_if

if I_CompareCounter settlementowner_Charax != 5
and I_SettlementOwner Charax = romans_julii
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 5
end_if

if I_CompareCounter settlementowner_Byzantion != 5
and I_SettlementOwner Byzantion = romans_julii
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 5
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 5
and I_SettlementOwner Ptolemais_Theron = romans_julii
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 5
end_if

if I_CompareCounter settlementowner_Ratae != 5
and I_SettlementOwner Ratae = romans_julii
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 5
end_if

if I_CompareCounter settlementowner_Ictis != 5
and I_SettlementOwner Ictis = romans_julii
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 5
end_if

if I_CompareCounter settlementowner_Lucarottea != 5
and I_SettlementOwner Lucarottea = romans_julii
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 5
end_if

if I_CompareCounter settlementowner_Emain_Macha != 5
and I_SettlementOwner Emain_Macha = romans_julii
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 5
end_if

if I_CompareCounter settlementowner_Atiqa != 5
and I_SettlementOwner Atiqa = romans_julii
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 5
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 5
and I_SettlementOwner Ynys_Mon = romans_julii
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 5
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 5
and I_SettlementOwner Gava_Alanna = romans_julii
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 5
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 5
and I_SettlementOwner Gava_Aursa = romans_julii
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 5
end_if

if I_CompareCounter settlementowner_Nisa != 5
and I_SettlementOwner Nisa = romans_julii
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 5
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 5
and I_SettlementOwner Gava_Haomavarga = romans_julii
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 5
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 5
and I_SettlementOwner Gava_Mazsakata = romans_julii
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 5
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 5
and I_SettlementOwner Gava_Roxsalanna = romans_julii
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 5
end_if

if I_CompareCounter settlementowner_Uspe != 5
and I_SettlementOwner Uspe = romans_julii
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 5
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 5
and I_SettlementOwner Gava_Thissakata = romans_julii
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 5
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 5
and I_SettlementOwner Gava_Yazyga = romans_julii
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 5
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 5
and I_SettlementOwner Gava_Yugra = romans_julii
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 5
end_if

if I_CompareCounter settlementowner_Dalminion != 5
and I_SettlementOwner Dalminion = romans_julii
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 5
end_if

if I_CompareCounter settlementowner_Serdike != 5
and I_SettlementOwner Serdike = romans_julii
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 5
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 5
and I_SettlementOwner Alexandreia_Eschate = romans_julii
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 5
end_if

if I_CompareCounter settlementowner_Alexandreia != 5
and I_SettlementOwner Alexandreia = romans_julii
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 5
end_if

if I_CompareCounter settlementowner_Axum != 5
and I_SettlementOwner Axum = romans_julii
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 5
end_if

if I_CompareCounter settlementowner_Prophthasia != 5
and I_SettlementOwner Prophthasia = romans_julii
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 5
end_if

if I_CompareCounter settlementowner_Arse != 5
and I_SettlementOwner Arse = romans_julii
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 5
end_if

if I_CompareCounter settlementowner_Kotais != 5
and I_SettlementOwner Kotais = romans_julii
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 5
end_if

if I_CompareCounter settlementowner_Lilibeo != 5
and I_SettlementOwner Lilibeo = romans_julii
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 5
end_if

if I_CompareCounter settlementowner_Susa != 5
and I_SettlementOwner Susa = romans_julii
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 5
end_if

if I_CompareCounter settlementowner_Apollonia != 5
and I_SettlementOwner Apollonia = romans_julii
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 5
end_if

if I_CompareCounter settlementowner_Ivernis != 5
and I_SettlementOwner Ivernis = romans_julii
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 5
end_if

if I_CompareCounter settlementowner_Ak_Ink != 5
and I_SettlementOwner Ak_Ink = romans_julii
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 5
end_if

if I_CompareCounter settlementowner_Arretium != 5
and I_SettlementOwner Arretium = romans_julii
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 5
end_if

if I_CompareCounter settlementowner_Chalkis != 5
and I_SettlementOwner Chalkis = romans_julii
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 5
end_if

if I_CompareCounter settlementowner_Gabai != 5
and I_SettlementOwner Gabai = romans_julii
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 5
end_if

if I_CompareCounter settlementowner_Tuat != 5
and I_SettlementOwner Tuat = romans_julii
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 5
end_if

if I_CompareCounter settlementowner_Tyde != 5
and I_SettlementOwner Tyde = romans_julii
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 5
end_if

if I_CompareCounter settlementowner_Ankyra != 5
and I_SettlementOwner Ankyra = romans_julii
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 5
end_if

if I_CompareCounter settlementowner_Taksashila != 5
and I_SettlementOwner Taksashila = romans_julii
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 5
end_if

if I_CompareCounter settlementowner_Pura != 5
and I_SettlementOwner Pura = romans_julii
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 5
end_if

if I_CompareCounter settlementowner_Gerrha != 5
and I_SettlementOwner Gerrha = romans_julii
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 5
end_if

if I_CompareCounter settlementowner_Buridava != 5
and I_SettlementOwner Buridava = romans_julii
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 5
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 5
and I_SettlementOwner Sarmiszegethusa = romans_julii
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 5
end_if

if I_CompareCounter settlementowner_Massalia != 5
and I_SettlementOwner Massalia = romans_julii
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 5
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 5
and I_SettlementOwner Gawjam_Habukoz = romans_julii
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 5
end_if

if I_CompareCounter settlementowner_Sabata != 5
and I_SettlementOwner Sabata = romans_julii
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 5
end_if

if I_CompareCounter settlementowner_Arctaunon != 5
and I_SettlementOwner Arctaunon = romans_julii
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 5
end_if

if I_CompareCounter settlementowner_Armavir != 5
and I_SettlementOwner Armavir = romans_julii
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 5
end_if

if I_CompareCounter settlementowner_Aventicos != 5
and I_SettlementOwner Aventicos = romans_julii
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 5
end_if

if I_CompareCounter settlementowner_Memphis != 5
and I_SettlementOwner Memphis = romans_julii
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 5
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 5
and I_SettlementOwner Gawjam_Heruskoz = romans_julii
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 5
end_if

if I_CompareCounter settlementowner_Zadrakata != 5
and I_SettlementOwner Zadrakata = romans_julii
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 5
end_if

if I_CompareCounter settlementowner_Epidamnos != 5
and I_SettlementOwner Epidamnos = romans_julii
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 5
end_if

if I_CompareCounter settlementowner_Mediolanum != 5
and I_SettlementOwner Mediolanum = romans_julii
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 5
end_if

if I_CompareCounter settlementowner_Hierosolyma != 5
and I_SettlementOwner Hierosolyma = romans_julii
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 5
end_if

if I_CompareCounter settlementowner_Taras != 5
and I_SettlementOwner Taras = romans_julii
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 5
end_if

if I_CompareCounter settlementowner_Chach != 5
and I_SettlementOwner Chach = romans_julii
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 5
end_if

if I_CompareCounter settlementowner_Mazaka != 5
and I_SettlementOwner Mazaka = romans_julii
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 5
end_if

if I_CompareCounter settlementowner_Amaseia != 5
and I_SettlementOwner Amaseia = romans_julii
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 5
end_if

if I_CompareCounter settlementowner_Halikarnassos != 5
and I_SettlementOwner Halikarnassos = romans_julii
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 5
end_if

if I_CompareCounter settlementowner_Karmana != 5
and I_SettlementOwner Karmana = romans_julii
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 5
end_if

if I_CompareCounter settlementowner_Mtskheta != 5
and I_SettlementOwner Mtskheta = romans_julii
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 5
end_if

if I_CompareCounter settlementowner_Apameia != 5
and I_SettlementOwner Apameia = romans_julii
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 5
end_if

if I_CompareCounter settlementowner_Khiva != 5
and I_SettlementOwner Khiva = romans_julii
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 5
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 5
and I_SettlementOwner Tarsos = romans_julii
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 5
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 5
and I_SettlementOwner Gawjam_Kimbroz = romans_julii
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 5
end_if

if I_CompareCounter settlementowner_Alalia != 5
and I_SettlementOwner Alalia = romans_julii
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 5
end_if

if I_CompareCounter settlementowner_Kydonia != 5
and I_SettlementOwner Kydonia = romans_julii
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 5
end_if

if I_CompareCounter settlementowner_Meroe != 5
and I_SettlementOwner Meroe = romans_julii
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 5
end_if

if I_CompareCounter settlementowner_Salamis != 5
and I_SettlementOwner Salamis = romans_julii
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 5
end_if

if I_CompareCounter settlementowner_Kyrene != 5
and I_SettlementOwner Kyrene = romans_julii
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 5
end_if

if I_CompareCounter settlementowner_Emporion != 5
and I_SettlementOwner Emporion = romans_julii
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 5
end_if

if I_CompareCounter settlementowner_Sparte != 5
and I_SettlementOwner Sparte = romans_julii
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 5
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 5
and I_SettlementOwner Gawjam_Gotanoz = romans_julii
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 5
end_if

if I_CompareCounter settlementowner_Rome != 5
and I_SettlementOwner Rome = romans_julii
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 5
end_if

if I_CompareCounter settlementowner_Lemonum != 5
and I_SettlementOwner Lemonum = romans_julii
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 5
end_if

if I_CompareCounter settlementowner_Mytilene != 5
and I_SettlementOwner Mytilene = romans_julii
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 5
end_if

if I_CompareCounter settlementowner_Ammonion != 5
and I_SettlementOwner Ammonion = romans_julii
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 5
end_if

if I_CompareCounter settlementowner_Segesta != 5
and I_SettlementOwner Segesta = romans_julii
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 5
end_if

if I_CompareCounter settlementowner_Viennos != 5
and I_SettlementOwner Viennos = romans_julii
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 5
end_if

if I_CompareCounter settlementowner_Carrodunum != 5
and I_SettlementOwner Carrodunum = romans_julii
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 5
end_if

if I_CompareCounter settlementowner_Oxtraca != 5
and I_SettlementOwner Oxtraca = romans_julii
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 5
end_if

if I_CompareCounter settlementowner_Sardis != 5
and I_SettlementOwner Sardis = romans_julii
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 5
end_if

if I_CompareCounter settlementowner_Tanais != 5
and I_SettlementOwner Tanais = romans_julii
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 5
end_if

if I_CompareCounter settlementowner_Carna != 5
and I_SettlementOwner Carna = romans_julii
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 5
end_if

if I_CompareCounter settlementowner_Pella != 5
and I_SettlementOwner Pella = romans_julii
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 5
end_if

if I_CompareCounter settlementowner_Homna != 5
and I_SettlementOwner Homna = romans_julii
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 5
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 5
and I_SettlementOwner Antiocheia_Margiane = romans_julii
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 5
end_if

if I_CompareCounter settlementowner_Paraitonion != 5
and I_SettlementOwner Paraitonion = romans_julii
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 5
end_if

if I_CompareCounter settlementowner_Ippone != 5
and I_SettlementOwner Ippone = romans_julii
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 5
end_if

if I_CompareCounter settlementowner_Sala != 5
and I_SettlementOwner Sala = romans_julii
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 5
end_if

if I_CompareCounter settlementowner_Siga != 5
and I_SettlementOwner Siga = romans_julii
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 5
end_if

if I_CompareCounter settlementowner_Lixus != 5
and I_SettlementOwner Lixus = romans_julii
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 5
end_if

if I_CompareCounter settlementowner_Ekbatana != 5
and I_SettlementOwner Ekbatana = romans_julii
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 5
end_if

if I_CompareCounter settlementowner_Kallatis != 5
and I_SettlementOwner Kallatis = romans_julii
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 5
end_if

if I_CompareCounter settlementowner_Bibracte != 5
and I_SettlementOwner Bibracte = romans_julii
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 5
end_if

if I_CompareCounter settlementowner_Cenabum != 5
and I_SettlementOwner Cenabum = romans_julii
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 5
end_if

if I_CompareCounter settlementowner_Eburonum != 5
and I_SettlementOwner Eburonum = romans_julii
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 5
end_if

if I_CompareCounter settlementowner_Pergamon != 5
and I_SettlementOwner Pergamon = romans_julii
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 5
end_if

if I_CompareCounter settlementowner_Bostra != 5
and I_SettlementOwner Bostra = romans_julii
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 5
end_if

if I_CompareCounter settlementowner_Bagacos != 5
and I_SettlementOwner Bagacos = romans_julii
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 5
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 5
and I_SettlementOwner Gordu_Neuriji = romans_julii
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 5
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 5
and I_SettlementOwner Iuvavoaeta = romans_julii
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 5
end_if

if I_CompareCounter settlementowner_Kirtan != 5
and I_SettlementOwner Kirtan = romans_julii
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 5
end_if

if I_CompareCounter settlementowner_Hibis != 5
and I_SettlementOwner Hibis = romans_julii
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 5
end_if

if I_CompareCounter settlementowner_Tylis != 5
and I_SettlementOwner Tylis = romans_julii
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 5
end_if

if I_CompareCounter settlementowner_Side != 5
and I_SettlementOwner Side = romans_julii
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 5
end_if

if I_CompareCounter settlementowner_Vindobona != 5
and I_SettlementOwner Vindobona = romans_julii
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 5
end_if

if I_CompareCounter settlementowner_Segestica != 5
and I_SettlementOwner Segestica = romans_julii
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 5
end_if

if I_CompareCounter settlementowner_Sinope != 5
and I_SettlementOwner Sinope = romans_julii
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 5
end_if

if I_CompareCounter settlementowner_Kophen != 5
and I_SettlementOwner Kophen = romans_julii
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 5
end_if

if I_CompareCounter settlementowner_Hekatompylos != 5
and I_SettlementOwner Hekatompylos = romans_julii
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 5
end_if

if I_CompareCounter settlementowner_Korinthos != 5
and I_SettlementOwner Korinthos = romans_julii
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 5
end_if

if I_CompareCounter settlementowner_Persepolis != 5
and I_SettlementOwner Persepolis = romans_julii
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 5
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 5
and I_SettlementOwner Garama = romans_julii
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 5
end_if

if I_CompareCounter settlementowner_Sidon != 5
and I_SettlementOwner Sidon = romans_julii
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 5
end_if

if I_CompareCounter settlementowner_Ipsos != 5
and I_SettlementOwner Ipsos = romans_julii
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 5
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 5
and I_SettlementOwner Ani-Kamah = romans_julii
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 5
end_if

if I_CompareCounter settlementowner_Trapezous != 5
and I_SettlementOwner Trapezous = romans_julii
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 5
end_if

if I_CompareCounter settlementowner_Tamane != 5
and I_SettlementOwner Tamane = romans_julii
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 5
end_if

if I_CompareCounter settlementowner_Veldideno != 5
and I_SettlementOwner Veldideno = romans_julii
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 5
end_if

if I_CompareCounter settlementowner_Rhodos != 5
and I_SettlementOwner Rhodos = romans_julii
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 5
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 5
and I_SettlementOwner Gawjam_Rugoz = romans_julii
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 5
end_if

if I_CompareCounter settlementowner_Maryab != 5
and I_SettlementOwner Maryab = romans_julii
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 5
end_if

if I_CompareCounter settlementowner_Terhazza != 5
and I_SettlementOwner Terhazza = romans_julii
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 5
end_if

if I_CompareCounter settlementowner_Gava_Saka != 5
and I_SettlementOwner Gava_Saka = romans_julii
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 5
end_if

if I_CompareCounter settlementowner_Asodat != 5
and I_SettlementOwner Asodat = romans_julii
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 5
end_if

if I_CompareCounter settlementowner_Karali != 5
and I_SettlementOwner Karali = romans_julii
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 5
end_if

if I_CompareCounter settlementowner_Opiana != 5
and I_SettlementOwner Opiana = romans_julii
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 5
end_if

if I_CompareCounter settlementowner_Singidunum != 5
and I_SettlementOwner Singidunum = romans_julii
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 5
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 5
and I_SettlementOwner Seliun_Pilis = romans_julii
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 5
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 5
and I_SettlementOwner Gintaras_Ostan = romans_julii
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 5
end_if

if I_CompareCounter settlementowner_Vesontio != 5
and I_SettlementOwner Vesontio = romans_julii
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 5
end_if

if I_CompareCounter settlementowner_Messana != 5
and I_SettlementOwner Messana = romans_julii
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 5
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 5
and I_SettlementOwner Gawjam_Silengoz = romans_julii
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 5
end_if

if I_CompareCounter settlementowner_Petra != 5
and I_SettlementOwner Petra = romans_julii
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 5
end_if

if I_CompareCounter settlementowner_Patala != 5
and I_SettlementOwner Patala = romans_julii
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 5
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 5
and I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 5
end_if

if I_CompareCounter settlementowner_Olbia != 5
and I_SettlementOwner Olbia = romans_julii
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 5
end_if

if I_CompareCounter settlementowner_Marakanda != 5
and I_SettlementOwner Marakanda = romans_julii
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 5
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 5
and I_SettlementOwner Karkathiokerta = romans_julii
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 5
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 5
and I_SettlementOwner Swebotraustastamnoz = romans_julii
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 5
end_if

if I_CompareCounter settlementowner_Antiocheia != 5
and I_SettlementOwner Antiocheia = romans_julii
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 5
end_if

if I_CompareCounter settlementowner_Damaskos != 5
and I_SettlementOwner Damaskos = romans_julii
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 5
end_if

if I_CompareCounter settlementowner_Palmyra != 5
and I_SettlementOwner Palmyra = romans_julii
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 5
end_if

if I_CompareCounter settlementowner_Chersonesos != 5
and I_SettlementOwner Chersonesos = romans_julii
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 5
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 5
and I_SettlementOwner Diospolis_Megale = romans_julii
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 5
end_if

if I_CompareCounter settlementowner_Demetrias != 5
and I_SettlementOwner Demetrias = romans_julii
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 5
end_if

if I_CompareCounter settlementowner_Naissos != 5
and I_SettlementOwner Naissos = romans_julii
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 5
end_if

if I_CompareCounter settlementowner_Ascaucalis != 5
and I_SettlementOwner Ascaucalis = romans_julii
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 5
end_if

if I_CompareCounter settlementowner_Pselkis != 5
and I_SettlementOwner Pselkis = romans_julii
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 5
end_if

if I_CompareCounter settlementowner_Syracuse != 5
and I_SettlementOwner Syracuse = romans_julii
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 5
end_if

if I_CompareCounter settlementowner_Lepki != 5
and I_SettlementOwner Lepki = romans_julii
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 5
end_if

if I_CompareCounter settlementowner_Gader != 5
and I_SettlementOwner Gader = romans_julii
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 5
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 5
and I_SettlementOwner Sucum-Murgi = romans_julii
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 5
end_if

if I_CompareCounter settlementowner_Ariminum != 5
and I_SettlementOwner Ariminum = romans_julii
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 5
end_if

if I_CompareCounter settlementowner_Patavium != 5
and I_SettlementOwner Patavium = romans_julii
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 5
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 5
and I_SettlementOwner Vindelicoppidos = romans_julii
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 5
end_if

if I_CompareCounter settlementowner_Tolosa != 5
and I_SettlementOwner Tolosa = romans_julii
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 5
end_if

if I_CompareCounter settlementowner_Chighu != 5
and I_SettlementOwner Chighu = romans_julii
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 5
end_if

if I_CompareCounter settlementowner_Sulek != 5
and I_SettlementOwner Sulek = romans_julii
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 5
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 5
and I_SettlementOwner Kart_Hadast = romans_julii
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 5
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 5
and I_SettlementOwner Ubar = romans_julii
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 5
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction romans_brutii
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 6
and I_SettlementOwner Arbela = romans_brutii
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 6
end_if

if I_CompareCounter settlementowner_Phraaspa != 6
and I_SettlementOwner Phraaspa = romans_brutii
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 6
end_if

if I_CompareCounter settlementowner_Bononia != 6
and I_SettlementOwner Bononia = romans_brutii
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 6
end_if

if I_CompareCounter settlementowner_Kabalaka != 6
and I_SettlementOwner Kabalaka = romans_brutii
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 6
end_if

if I_CompareCounter settlementowner_Thermon != 6
and I_SettlementOwner Thermon = romans_brutii
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 6
end_if

if I_CompareCounter settlementowner_Arpi != 6
and I_SettlementOwner Arpi = romans_brutii
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 6
end_if

if I_CompareCounter settlementowner_Burdigala != 6
and I_SettlementOwner Burdigala = romans_brutii
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 6
end_if

if I_CompareCounter settlementowner_Babylon != 6
and I_SettlementOwner Babylon = romans_brutii
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 6
end_if

if I_CompareCounter settlementowner_Alexandropolis != 6
and I_SettlementOwner Alexandropolis = romans_brutii
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 6
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 6
and I_SettlementOwner Alexandreia_Ariana = romans_brutii
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 6
end_if

if I_CompareCounter settlementowner_Darioritum != 6
and I_SettlementOwner Darioritum = romans_brutii
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 6
end_if

if I_CompareCounter settlementowner_Gergovia != 6
and I_SettlementOwner Gergovia = romans_brutii
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 6
end_if

if I_CompareCounter settlementowner_Edessa != 6
and I_SettlementOwner Edessa = romans_brutii
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 6
end_if

if I_CompareCounter settlementowner_Asaak != 6
and I_SettlementOwner Asaak = romans_brutii
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 6
end_if

if I_CompareCounter settlementowner_Pallantia != 6
and I_SettlementOwner Pallantia = romans_brutii
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 6
end_if

if I_CompareCounter settlementowner_Athenai != 6
and I_SettlementOwner Athenai = romans_brutii
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 6
end_if

if I_CompareCounter settlementowner_Augila_settlement != 6
and I_SettlementOwner Augila_settlement = romans_brutii
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 6
end_if

if I_CompareCounter settlementowner_Seleukeia != 6
and I_SettlementOwner Seleukeia = romans_brutii
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 6
end_if

if I_CompareCounter settlementowner_Baktra != 6
and I_SettlementOwner Baktra = romans_brutii
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 6
end_if

if I_CompareCounter settlementowner_Bocchoris != 6
and I_SettlementOwner Bocchoris = romans_brutii
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 6
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 6
and I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 6
end_if

if I_CompareCounter settlementowner_Mastia != 6
and I_SettlementOwner Mastia = romans_brutii
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 6
end_if

if I_CompareCounter settlementowner_Avaricum != 6
and I_SettlementOwner Avaricum = romans_brutii
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 6
end_if

if I_CompareCounter settlementowner_Bratosporios != 6
and I_SettlementOwner Bratosporios = romans_brutii
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 6
end_if

if I_CompareCounter settlementowner_Nikaia != 6
and I_SettlementOwner Nikaia = romans_brutii
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 6
end_if

if I_CompareCounter settlementowner_Pantikapaion != 6
and I_SettlementOwner Pantikapaion = romans_brutii
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 6
end_if

if I_CompareCounter settlementowner_Rhegion != 6
and I_SettlementOwner Rhegion = romans_brutii
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 6
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 6
and I_SettlementOwner Caern_Brigantae = romans_brutii
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 6
end_if

if I_CompareCounter settlementowner_Gelonus != 6
and I_SettlementOwner Gelonus = romans_brutii
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 6
end_if

if I_CompareCounter settlementowner_Adrumeto != 6
and I_SettlementOwner Adrumeto = romans_brutii
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 6
end_if

if I_CompareCounter settlementowner_Attuaca != 6
and I_SettlementOwner Attuaca = romans_brutii
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 6
end_if

if I_CompareCounter settlementowner_Capua != 6
and I_SettlementOwner Capua = romans_brutii
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 6
end_if

if I_CompareCounter settlementowner_Vellika != 6
and I_SettlementOwner Vellika = romans_brutii
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 6
end_if

if I_CompareCounter settlementowner_Baikor != 6
and I_SettlementOwner Baikor = romans_brutii
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 6
end_if

if I_CompareCounter settlementowner_Camulosadae != 6
and I_SettlementOwner Camulosadae = romans_brutii
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 6
end_if

if I_CompareCounter settlementowner_Numantia != 6
and I_SettlementOwner Numantia = romans_brutii
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 6
end_if

if I_CompareCounter settlementowner_Charax != 6
and I_SettlementOwner Charax = romans_brutii
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 6
end_if

if I_CompareCounter settlementowner_Byzantion != 6
and I_SettlementOwner Byzantion = romans_brutii
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 6
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 6
and I_SettlementOwner Ptolemais_Theron = romans_brutii
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 6
end_if

if I_CompareCounter settlementowner_Ratae != 6
and I_SettlementOwner Ratae = romans_brutii
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 6
end_if

if I_CompareCounter settlementowner_Ictis != 6
and I_SettlementOwner Ictis = romans_brutii
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 6
end_if

if I_CompareCounter settlementowner_Lucarottea != 6
and I_SettlementOwner Lucarottea = romans_brutii
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 6
end_if

if I_CompareCounter settlementowner_Emain_Macha != 6
and I_SettlementOwner Emain_Macha = romans_brutii
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 6
end_if

if I_CompareCounter settlementowner_Atiqa != 6
and I_SettlementOwner Atiqa = romans_brutii
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 6
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 6
and I_SettlementOwner Ynys_Mon = romans_brutii
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 6
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 6
and I_SettlementOwner Gava_Alanna = romans_brutii
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 6
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 6
and I_SettlementOwner Gava_Aursa = romans_brutii
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 6
end_if

if I_CompareCounter settlementowner_Nisa != 6
and I_SettlementOwner Nisa = romans_brutii
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 6
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 6
and I_SettlementOwner Gava_Haomavarga = romans_brutii
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 6
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 6
and I_SettlementOwner Gava_Mazsakata = romans_brutii
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 6
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 6
and I_SettlementOwner Gava_Roxsalanna = romans_brutii
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 6
end_if

if I_CompareCounter settlementowner_Uspe != 6
and I_SettlementOwner Uspe = romans_brutii
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 6
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 6
and I_SettlementOwner Gava_Thissakata = romans_brutii
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 6
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 6
and I_SettlementOwner Gava_Yazyga = romans_brutii
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 6
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 6
and I_SettlementOwner Gava_Yugra = romans_brutii
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 6
end_if

if I_CompareCounter settlementowner_Dalminion != 6
and I_SettlementOwner Dalminion = romans_brutii
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 6
end_if

if I_CompareCounter settlementowner_Serdike != 6
and I_SettlementOwner Serdike = romans_brutii
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 6
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 6
and I_SettlementOwner Alexandreia_Eschate = romans_brutii
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 6
end_if

if I_CompareCounter settlementowner_Alexandreia != 6
and I_SettlementOwner Alexandreia = romans_brutii
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 6
end_if

if I_CompareCounter settlementowner_Axum != 6
and I_SettlementOwner Axum = romans_brutii
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 6
end_if

if I_CompareCounter settlementowner_Prophthasia != 6
and I_SettlementOwner Prophthasia = romans_brutii
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 6
end_if

if I_CompareCounter settlementowner_Arse != 6
and I_SettlementOwner Arse = romans_brutii
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 6
end_if

if I_CompareCounter settlementowner_Kotais != 6
and I_SettlementOwner Kotais = romans_brutii
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 6
end_if

if I_CompareCounter settlementowner_Lilibeo != 6
and I_SettlementOwner Lilibeo = romans_brutii
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 6
end_if

if I_CompareCounter settlementowner_Susa != 6
and I_SettlementOwner Susa = romans_brutii
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 6
end_if

if I_CompareCounter settlementowner_Apollonia != 6
and I_SettlementOwner Apollonia = romans_brutii
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 6
end_if

if I_CompareCounter settlementowner_Ivernis != 6
and I_SettlementOwner Ivernis = romans_brutii
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 6
end_if

if I_CompareCounter settlementowner_Ak_Ink != 6
and I_SettlementOwner Ak_Ink = romans_brutii
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 6
end_if

if I_CompareCounter settlementowner_Arretium != 6
and I_SettlementOwner Arretium = romans_brutii
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 6
end_if

if I_CompareCounter settlementowner_Chalkis != 6
and I_SettlementOwner Chalkis = romans_brutii
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 6
end_if

if I_CompareCounter settlementowner_Gabai != 6
and I_SettlementOwner Gabai = romans_brutii
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 6
end_if

if I_CompareCounter settlementowner_Tuat != 6
and I_SettlementOwner Tuat = romans_brutii
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 6
end_if

if I_CompareCounter settlementowner_Tyde != 6
and I_SettlementOwner Tyde = romans_brutii
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 6
end_if

if I_CompareCounter settlementowner_Ankyra != 6
and I_SettlementOwner Ankyra = romans_brutii
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 6
end_if

if I_CompareCounter settlementowner_Taksashila != 6
and I_SettlementOwner Taksashila = romans_brutii
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 6
end_if

if I_CompareCounter settlementowner_Pura != 6
and I_SettlementOwner Pura = romans_brutii
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 6
end_if

if I_CompareCounter settlementowner_Gerrha != 6
and I_SettlementOwner Gerrha = romans_brutii
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 6
end_if

if I_CompareCounter settlementowner_Buridava != 6
and I_SettlementOwner Buridava = romans_brutii
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 6
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 6
and I_SettlementOwner Sarmiszegethusa = romans_brutii
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 6
end_if

if I_CompareCounter settlementowner_Massalia != 6
and I_SettlementOwner Massalia = romans_brutii
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 6
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 6
and I_SettlementOwner Gawjam_Habukoz = romans_brutii
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 6
end_if

if I_CompareCounter settlementowner_Sabata != 6
and I_SettlementOwner Sabata = romans_brutii
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 6
end_if

if I_CompareCounter settlementowner_Arctaunon != 6
and I_SettlementOwner Arctaunon = romans_brutii
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 6
end_if

if I_CompareCounter settlementowner_Armavir != 6
and I_SettlementOwner Armavir = romans_brutii
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 6
end_if

if I_CompareCounter settlementowner_Aventicos != 6
and I_SettlementOwner Aventicos = romans_brutii
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 6
end_if

if I_CompareCounter settlementowner_Memphis != 6
and I_SettlementOwner Memphis = romans_brutii
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 6
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 6
and I_SettlementOwner Gawjam_Heruskoz = romans_brutii
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 6
end_if

if I_CompareCounter settlementowner_Zadrakata != 6
and I_SettlementOwner Zadrakata = romans_brutii
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 6
end_if

if I_CompareCounter settlementowner_Epidamnos != 6
and I_SettlementOwner Epidamnos = romans_brutii
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 6
end_if

if I_CompareCounter settlementowner_Mediolanum != 6
and I_SettlementOwner Mediolanum = romans_brutii
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 6
end_if

if I_CompareCounter settlementowner_Hierosolyma != 6
and I_SettlementOwner Hierosolyma = romans_brutii
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 6
end_if

if I_CompareCounter settlementowner_Taras != 6
and I_SettlementOwner Taras = romans_brutii
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 6
end_if

if I_CompareCounter settlementowner_Chach != 6
and I_SettlementOwner Chach = romans_brutii
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 6
end_if

if I_CompareCounter settlementowner_Mazaka != 6
and I_SettlementOwner Mazaka = romans_brutii
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 6
end_if

if I_CompareCounter settlementowner_Amaseia != 6
and I_SettlementOwner Amaseia = romans_brutii
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 6
end_if

if I_CompareCounter settlementowner_Halikarnassos != 6
and I_SettlementOwner Halikarnassos = romans_brutii
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 6
end_if

if I_CompareCounter settlementowner_Karmana != 6
and I_SettlementOwner Karmana = romans_brutii
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 6
end_if

if I_CompareCounter settlementowner_Mtskheta != 6
and I_SettlementOwner Mtskheta = romans_brutii
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 6
end_if

if I_CompareCounter settlementowner_Apameia != 6
and I_SettlementOwner Apameia = romans_brutii
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 6
end_if

if I_CompareCounter settlementowner_Khiva != 6
and I_SettlementOwner Khiva = romans_brutii
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 6
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 6
and I_SettlementOwner Tarsos = romans_brutii
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 6
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 6
and I_SettlementOwner Gawjam_Kimbroz = romans_brutii
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 6
end_if

if I_CompareCounter settlementowner_Alalia != 6
and I_SettlementOwner Alalia = romans_brutii
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 6
end_if

if I_CompareCounter settlementowner_Kydonia != 6
and I_SettlementOwner Kydonia = romans_brutii
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 6
end_if

if I_CompareCounter settlementowner_Meroe != 6
and I_SettlementOwner Meroe = romans_brutii
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 6
end_if

if I_CompareCounter settlementowner_Salamis != 6
and I_SettlementOwner Salamis = romans_brutii
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 6
end_if

if I_CompareCounter settlementowner_Kyrene != 6
and I_SettlementOwner Kyrene = romans_brutii
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 6
end_if

if I_CompareCounter settlementowner_Emporion != 6
and I_SettlementOwner Emporion = romans_brutii
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 6
end_if

if I_CompareCounter settlementowner_Sparte != 6
and I_SettlementOwner Sparte = romans_brutii
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 6
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 6
and I_SettlementOwner Gawjam_Gotanoz = romans_brutii
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 6
end_if

if I_CompareCounter settlementowner_Rome != 6
and I_SettlementOwner Rome = romans_brutii
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 6
end_if

if I_CompareCounter settlementowner_Lemonum != 6
and I_SettlementOwner Lemonum = romans_brutii
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 6
end_if

if I_CompareCounter settlementowner_Mytilene != 6
and I_SettlementOwner Mytilene = romans_brutii
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 6
end_if

if I_CompareCounter settlementowner_Ammonion != 6
and I_SettlementOwner Ammonion = romans_brutii
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 6
end_if

if I_CompareCounter settlementowner_Segesta != 6
and I_SettlementOwner Segesta = romans_brutii
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 6
end_if

if I_CompareCounter settlementowner_Viennos != 6
and I_SettlementOwner Viennos = romans_brutii
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 6
end_if

if I_CompareCounter settlementowner_Carrodunum != 6
and I_SettlementOwner Carrodunum = romans_brutii
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 6
end_if

if I_CompareCounter settlementowner_Oxtraca != 6
and I_SettlementOwner Oxtraca = romans_brutii
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 6
end_if

if I_CompareCounter settlementowner_Sardis != 6
and I_SettlementOwner Sardis = romans_brutii
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 6
end_if

if I_CompareCounter settlementowner_Tanais != 6
and I_SettlementOwner Tanais = romans_brutii
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 6
end_if

if I_CompareCounter settlementowner_Carna != 6
and I_SettlementOwner Carna = romans_brutii
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 6
end_if

if I_CompareCounter settlementowner_Pella != 6
and I_SettlementOwner Pella = romans_brutii
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 6
end_if

if I_CompareCounter settlementowner_Homna != 6
and I_SettlementOwner Homna = romans_brutii
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 6
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 6
and I_SettlementOwner Antiocheia_Margiane = romans_brutii
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 6
end_if

if I_CompareCounter settlementowner_Paraitonion != 6
and I_SettlementOwner Paraitonion = romans_brutii
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 6
end_if

if I_CompareCounter settlementowner_Ippone != 6
and I_SettlementOwner Ippone = romans_brutii
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 6
end_if

if I_CompareCounter settlementowner_Sala != 6
and I_SettlementOwner Sala = romans_brutii
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 6
end_if

if I_CompareCounter settlementowner_Siga != 6
and I_SettlementOwner Siga = romans_brutii
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 6
end_if

if I_CompareCounter settlementowner_Lixus != 6
and I_SettlementOwner Lixus = romans_brutii
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 6
end_if

if I_CompareCounter settlementowner_Ekbatana != 6
and I_SettlementOwner Ekbatana = romans_brutii
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 6
end_if

if I_CompareCounter settlementowner_Kallatis != 6
and I_SettlementOwner Kallatis = romans_brutii
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 6
end_if

if I_CompareCounter settlementowner_Bibracte != 6
and I_SettlementOwner Bibracte = romans_brutii
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 6
end_if

if I_CompareCounter settlementowner_Cenabum != 6
and I_SettlementOwner Cenabum = romans_brutii
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 6
end_if

if I_CompareCounter settlementowner_Eburonum != 6
and I_SettlementOwner Eburonum = romans_brutii
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 6
end_if

if I_CompareCounter settlementowner_Pergamon != 6
and I_SettlementOwner Pergamon = romans_brutii
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 6
end_if

if I_CompareCounter settlementowner_Bostra != 6
and I_SettlementOwner Bostra = romans_brutii
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 6
end_if

if I_CompareCounter settlementowner_Bagacos != 6
and I_SettlementOwner Bagacos = romans_brutii
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 6
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 6
and I_SettlementOwner Gordu_Neuriji = romans_brutii
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 6
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 6
and I_SettlementOwner Iuvavoaeta = romans_brutii
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 6
end_if

if I_CompareCounter settlementowner_Kirtan != 6
and I_SettlementOwner Kirtan = romans_brutii
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 6
end_if

if I_CompareCounter settlementowner_Hibis != 6
and I_SettlementOwner Hibis = romans_brutii
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 6
end_if

if I_CompareCounter settlementowner_Tylis != 6
and I_SettlementOwner Tylis = romans_brutii
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 6
end_if

if I_CompareCounter settlementowner_Side != 6
and I_SettlementOwner Side = romans_brutii
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 6
end_if

if I_CompareCounter settlementowner_Vindobona != 6
and I_SettlementOwner Vindobona = romans_brutii
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 6
end_if

if I_CompareCounter settlementowner_Segestica != 6
and I_SettlementOwner Segestica = romans_brutii
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 6
end_if

if I_CompareCounter settlementowner_Sinope != 6
and I_SettlementOwner Sinope = romans_brutii
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 6
end_if

if I_CompareCounter settlementowner_Kophen != 6
and I_SettlementOwner Kophen = romans_brutii
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 6
end_if

if I_CompareCounter settlementowner_Hekatompylos != 6
and I_SettlementOwner Hekatompylos = romans_brutii
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 6
end_if

if I_CompareCounter settlementowner_Korinthos != 6
and I_SettlementOwner Korinthos = romans_brutii
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 6
end_if

if I_CompareCounter settlementowner_Persepolis != 6
and I_SettlementOwner Persepolis = romans_brutii
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 6
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 6
and I_SettlementOwner Garama = romans_brutii
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 6
end_if

if I_CompareCounter settlementowner_Sidon != 6
and I_SettlementOwner Sidon = romans_brutii
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 6
end_if

if I_CompareCounter settlementowner_Ipsos != 6
and I_SettlementOwner Ipsos = romans_brutii
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 6
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 6
and I_SettlementOwner Ani-Kamah = romans_brutii
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 6
end_if

if I_CompareCounter settlementowner_Trapezous != 6
and I_SettlementOwner Trapezous = romans_brutii
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 6
end_if

if I_CompareCounter settlementowner_Tamane != 6
and I_SettlementOwner Tamane = romans_brutii
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 6
end_if

if I_CompareCounter settlementowner_Veldideno != 6
and I_SettlementOwner Veldideno = romans_brutii
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 6
end_if

if I_CompareCounter settlementowner_Rhodos != 6
and I_SettlementOwner Rhodos = romans_brutii
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 6
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 6
and I_SettlementOwner Gawjam_Rugoz = romans_brutii
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 6
end_if

if I_CompareCounter settlementowner_Maryab != 6
and I_SettlementOwner Maryab = romans_brutii
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 6
end_if

if I_CompareCounter settlementowner_Terhazza != 6
and I_SettlementOwner Terhazza = romans_brutii
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 6
end_if

if I_CompareCounter settlementowner_Gava_Saka != 6
and I_SettlementOwner Gava_Saka = romans_brutii
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 6
end_if

if I_CompareCounter settlementowner_Asodat != 6
and I_SettlementOwner Asodat = romans_brutii
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 6
end_if

if I_CompareCounter settlementowner_Karali != 6
and I_SettlementOwner Karali = romans_brutii
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 6
end_if

if I_CompareCounter settlementowner_Opiana != 6
and I_SettlementOwner Opiana = romans_brutii
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 6
end_if

if I_CompareCounter settlementowner_Singidunum != 6
and I_SettlementOwner Singidunum = romans_brutii
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 6
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 6
and I_SettlementOwner Seliun_Pilis = romans_brutii
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 6
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 6
and I_SettlementOwner Gintaras_Ostan = romans_brutii
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 6
end_if

if I_CompareCounter settlementowner_Vesontio != 6
and I_SettlementOwner Vesontio = romans_brutii
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 6
end_if

if I_CompareCounter settlementowner_Messana != 6
and I_SettlementOwner Messana = romans_brutii
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 6
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 6
and I_SettlementOwner Gawjam_Silengoz = romans_brutii
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 6
end_if

if I_CompareCounter settlementowner_Petra != 6
and I_SettlementOwner Petra = romans_brutii
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 6
end_if

if I_CompareCounter settlementowner_Patala != 6
and I_SettlementOwner Patala = romans_brutii
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 6
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 6
and I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 6
end_if

if I_CompareCounter settlementowner_Olbia != 6
and I_SettlementOwner Olbia = romans_brutii
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 6
end_if

if I_CompareCounter settlementowner_Marakanda != 6
and I_SettlementOwner Marakanda = romans_brutii
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 6
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 6
and I_SettlementOwner Karkathiokerta = romans_brutii
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 6
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 6
and I_SettlementOwner Swebotraustastamnoz = romans_brutii
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 6
end_if

if I_CompareCounter settlementowner_Antiocheia != 6
and I_SettlementOwner Antiocheia = romans_brutii
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 6
end_if

if I_CompareCounter settlementowner_Damaskos != 6
and I_SettlementOwner Damaskos = romans_brutii
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 6
end_if

if I_CompareCounter settlementowner_Palmyra != 6
and I_SettlementOwner Palmyra = romans_brutii
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 6
end_if

if I_CompareCounter settlementowner_Chersonesos != 6
and I_SettlementOwner Chersonesos = romans_brutii
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 6
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 6
and I_SettlementOwner Diospolis_Megale = romans_brutii
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 6
end_if

if I_CompareCounter settlementowner_Demetrias != 6
and I_SettlementOwner Demetrias = romans_brutii
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 6
end_if

if I_CompareCounter settlementowner_Naissos != 6
and I_SettlementOwner Naissos = romans_brutii
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 6
end_if

if I_CompareCounter settlementowner_Ascaucalis != 6
and I_SettlementOwner Ascaucalis = romans_brutii
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 6
end_if

if I_CompareCounter settlementowner_Pselkis != 6
and I_SettlementOwner Pselkis = romans_brutii
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 6
end_if

if I_CompareCounter settlementowner_Syracuse != 6
and I_SettlementOwner Syracuse = romans_brutii
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 6
end_if

if I_CompareCounter settlementowner_Lepki != 6
and I_SettlementOwner Lepki = romans_brutii
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 6
end_if

if I_CompareCounter settlementowner_Gader != 6
and I_SettlementOwner Gader = romans_brutii
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 6
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 6
and I_SettlementOwner Sucum-Murgi = romans_brutii
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 6
end_if

if I_CompareCounter settlementowner_Ariminum != 6
and I_SettlementOwner Ariminum = romans_brutii
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 6
end_if

if I_CompareCounter settlementowner_Patavium != 6
and I_SettlementOwner Patavium = romans_brutii
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 6
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 6
and I_SettlementOwner Vindelicoppidos = romans_brutii
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 6
end_if

if I_CompareCounter settlementowner_Tolosa != 6
and I_SettlementOwner Tolosa = romans_brutii
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 6
end_if

if I_CompareCounter settlementowner_Chighu != 6
and I_SettlementOwner Chighu = romans_brutii
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 6
end_if

if I_CompareCounter settlementowner_Sulek != 6
and I_SettlementOwner Sulek = romans_brutii
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 6
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 6
and I_SettlementOwner Kart_Hadast = romans_brutii
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 6
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 6
and I_SettlementOwner Ubar = romans_brutii
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 6
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction romans_scipii
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 7
and I_SettlementOwner Arbela = romans_scipii
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 7
end_if

if I_CompareCounter settlementowner_Phraaspa != 7
and I_SettlementOwner Phraaspa = romans_scipii
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 7
end_if

if I_CompareCounter settlementowner_Bononia != 7
and I_SettlementOwner Bononia = romans_scipii
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 7
end_if

if I_CompareCounter settlementowner_Kabalaka != 7
and I_SettlementOwner Kabalaka = romans_scipii
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 7
end_if

if I_CompareCounter settlementowner_Thermon != 7
and I_SettlementOwner Thermon = romans_scipii
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 7
end_if

if I_CompareCounter settlementowner_Arpi != 7
and I_SettlementOwner Arpi = romans_scipii
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 7
end_if

if I_CompareCounter settlementowner_Burdigala != 7
and I_SettlementOwner Burdigala = romans_scipii
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 7
end_if

if I_CompareCounter settlementowner_Babylon != 7
and I_SettlementOwner Babylon = romans_scipii
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 7
end_if

if I_CompareCounter settlementowner_Alexandropolis != 7
and I_SettlementOwner Alexandropolis = romans_scipii
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 7
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 7
and I_SettlementOwner Alexandreia_Ariana = romans_scipii
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 7
end_if

if I_CompareCounter settlementowner_Darioritum != 7
and I_SettlementOwner Darioritum = romans_scipii
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 7
end_if

if I_CompareCounter settlementowner_Gergovia != 7
and I_SettlementOwner Gergovia = romans_scipii
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 7
end_if

if I_CompareCounter settlementowner_Edessa != 7
and I_SettlementOwner Edessa = romans_scipii
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 7
end_if

if I_CompareCounter settlementowner_Asaak != 7
and I_SettlementOwner Asaak = romans_scipii
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 7
end_if

if I_CompareCounter settlementowner_Pallantia != 7
and I_SettlementOwner Pallantia = romans_scipii
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 7
end_if

if I_CompareCounter settlementowner_Athenai != 7
and I_SettlementOwner Athenai = romans_scipii
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 7
end_if

if I_CompareCounter settlementowner_Augila_settlement != 7
and I_SettlementOwner Augila_settlement = romans_scipii
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 7
end_if

if I_CompareCounter settlementowner_Seleukeia != 7
and I_SettlementOwner Seleukeia = romans_scipii
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 7
end_if

if I_CompareCounter settlementowner_Baktra != 7
and I_SettlementOwner Baktra = romans_scipii
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 7
end_if

if I_CompareCounter settlementowner_Bocchoris != 7
and I_SettlementOwner Bocchoris = romans_scipii
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 7
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 7
and I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 7
end_if

if I_CompareCounter settlementowner_Mastia != 7
and I_SettlementOwner Mastia = romans_scipii
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 7
end_if

if I_CompareCounter settlementowner_Avaricum != 7
and I_SettlementOwner Avaricum = romans_scipii
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 7
end_if

if I_CompareCounter settlementowner_Bratosporios != 7
and I_SettlementOwner Bratosporios = romans_scipii
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 7
end_if

if I_CompareCounter settlementowner_Nikaia != 7
and I_SettlementOwner Nikaia = romans_scipii
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 7
end_if

if I_CompareCounter settlementowner_Pantikapaion != 7
and I_SettlementOwner Pantikapaion = romans_scipii
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 7
end_if

if I_CompareCounter settlementowner_Rhegion != 7
and I_SettlementOwner Rhegion = romans_scipii
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 7
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 7
and I_SettlementOwner Caern_Brigantae = romans_scipii
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 7
end_if

if I_CompareCounter settlementowner_Gelonus != 7
and I_SettlementOwner Gelonus = romans_scipii
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 7
end_if

if I_CompareCounter settlementowner_Adrumeto != 7
and I_SettlementOwner Adrumeto = romans_scipii
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 7
end_if

if I_CompareCounter settlementowner_Attuaca != 7
and I_SettlementOwner Attuaca = romans_scipii
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 7
end_if

if I_CompareCounter settlementowner_Capua != 7
and I_SettlementOwner Capua = romans_scipii
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 7
end_if

if I_CompareCounter settlementowner_Vellika != 7
and I_SettlementOwner Vellika = romans_scipii
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 7
end_if

if I_CompareCounter settlementowner_Baikor != 7
and I_SettlementOwner Baikor = romans_scipii
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 7
end_if

if I_CompareCounter settlementowner_Camulosadae != 7
and I_SettlementOwner Camulosadae = romans_scipii
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 7
end_if

if I_CompareCounter settlementowner_Numantia != 7
and I_SettlementOwner Numantia = romans_scipii
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 7
end_if

if I_CompareCounter settlementowner_Charax != 7
and I_SettlementOwner Charax = romans_scipii
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 7
end_if

if I_CompareCounter settlementowner_Byzantion != 7
and I_SettlementOwner Byzantion = romans_scipii
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 7
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 7
and I_SettlementOwner Ptolemais_Theron = romans_scipii
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 7
end_if

if I_CompareCounter settlementowner_Ratae != 7
and I_SettlementOwner Ratae = romans_scipii
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 7
end_if

if I_CompareCounter settlementowner_Ictis != 7
and I_SettlementOwner Ictis = romans_scipii
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 7
end_if

if I_CompareCounter settlementowner_Lucarottea != 7
and I_SettlementOwner Lucarottea = romans_scipii
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 7
end_if

if I_CompareCounter settlementowner_Emain_Macha != 7
and I_SettlementOwner Emain_Macha = romans_scipii
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 7
end_if

if I_CompareCounter settlementowner_Atiqa != 7
and I_SettlementOwner Atiqa = romans_scipii
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 7
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 7
and I_SettlementOwner Ynys_Mon = romans_scipii
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 7
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 7
and I_SettlementOwner Gava_Alanna = romans_scipii
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 7
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 7
and I_SettlementOwner Gava_Aursa = romans_scipii
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 7
end_if

if I_CompareCounter settlementowner_Nisa != 7
and I_SettlementOwner Nisa = romans_scipii
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 7
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 7
and I_SettlementOwner Gava_Haomavarga = romans_scipii
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 7
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 7
and I_SettlementOwner Gava_Mazsakata = romans_scipii
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 7
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 7
and I_SettlementOwner Gava_Roxsalanna = romans_scipii
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 7
end_if

if I_CompareCounter settlementowner_Uspe != 7
and I_SettlementOwner Uspe = romans_scipii
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 7
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 7
and I_SettlementOwner Gava_Thissakata = romans_scipii
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 7
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 7
and I_SettlementOwner Gava_Yazyga = romans_scipii
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 7
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 7
and I_SettlementOwner Gava_Yugra = romans_scipii
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 7
end_if

if I_CompareCounter settlementowner_Dalminion != 7
and I_SettlementOwner Dalminion = romans_scipii
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 7
end_if

if I_CompareCounter settlementowner_Serdike != 7
and I_SettlementOwner Serdike = romans_scipii
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 7
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 7
and I_SettlementOwner Alexandreia_Eschate = romans_scipii
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 7
end_if

if I_CompareCounter settlementowner_Alexandreia != 7
and I_SettlementOwner Alexandreia = romans_scipii
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 7
end_if

if I_CompareCounter settlementowner_Axum != 7
and I_SettlementOwner Axum = romans_scipii
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 7
end_if

if I_CompareCounter settlementowner_Prophthasia != 7
and I_SettlementOwner Prophthasia = romans_scipii
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 7
end_if

if I_CompareCounter settlementowner_Arse != 7
and I_SettlementOwner Arse = romans_scipii
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 7
end_if

if I_CompareCounter settlementowner_Kotais != 7
and I_SettlementOwner Kotais = romans_scipii
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 7
end_if

if I_CompareCounter settlementowner_Lilibeo != 7
and I_SettlementOwner Lilibeo = romans_scipii
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 7
end_if

if I_CompareCounter settlementowner_Susa != 7
and I_SettlementOwner Susa = romans_scipii
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 7
end_if

if I_CompareCounter settlementowner_Apollonia != 7
and I_SettlementOwner Apollonia = romans_scipii
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 7
end_if

if I_CompareCounter settlementowner_Ivernis != 7
and I_SettlementOwner Ivernis = romans_scipii
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 7
end_if

if I_CompareCounter settlementowner_Ak_Ink != 7
and I_SettlementOwner Ak_Ink = romans_scipii
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 7
end_if

if I_CompareCounter settlementowner_Arretium != 7
and I_SettlementOwner Arretium = romans_scipii
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 7
end_if

if I_CompareCounter settlementowner_Chalkis != 7
and I_SettlementOwner Chalkis = romans_scipii
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 7
end_if

if I_CompareCounter settlementowner_Gabai != 7
and I_SettlementOwner Gabai = romans_scipii
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 7
end_if

if I_CompareCounter settlementowner_Tuat != 7
and I_SettlementOwner Tuat = romans_scipii
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 7
end_if

if I_CompareCounter settlementowner_Tyde != 7
and I_SettlementOwner Tyde = romans_scipii
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 7
end_if

if I_CompareCounter settlementowner_Ankyra != 7
and I_SettlementOwner Ankyra = romans_scipii
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 7
end_if

if I_CompareCounter settlementowner_Taksashila != 7
and I_SettlementOwner Taksashila = romans_scipii
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 7
end_if

if I_CompareCounter settlementowner_Pura != 7
and I_SettlementOwner Pura = romans_scipii
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 7
end_if

if I_CompareCounter settlementowner_Gerrha != 7
and I_SettlementOwner Gerrha = romans_scipii
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 7
end_if

if I_CompareCounter settlementowner_Buridava != 7
and I_SettlementOwner Buridava = romans_scipii
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 7
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 7
and I_SettlementOwner Sarmiszegethusa = romans_scipii
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 7
end_if

if I_CompareCounter settlementowner_Massalia != 7
and I_SettlementOwner Massalia = romans_scipii
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 7
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 7
and I_SettlementOwner Gawjam_Habukoz = romans_scipii
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 7
end_if

if I_CompareCounter settlementowner_Sabata != 7
and I_SettlementOwner Sabata = romans_scipii
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 7
end_if

if I_CompareCounter settlementowner_Arctaunon != 7
and I_SettlementOwner Arctaunon = romans_scipii
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 7
end_if

if I_CompareCounter settlementowner_Armavir != 7
and I_SettlementOwner Armavir = romans_scipii
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 7
end_if

if I_CompareCounter settlementowner_Aventicos != 7
and I_SettlementOwner Aventicos = romans_scipii
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 7
end_if

if I_CompareCounter settlementowner_Memphis != 7
and I_SettlementOwner Memphis = romans_scipii
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 7
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 7
and I_SettlementOwner Gawjam_Heruskoz = romans_scipii
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 7
end_if

if I_CompareCounter settlementowner_Zadrakata != 7
and I_SettlementOwner Zadrakata = romans_scipii
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 7
end_if

if I_CompareCounter settlementowner_Epidamnos != 7
and I_SettlementOwner Epidamnos = romans_scipii
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 7
end_if

if I_CompareCounter settlementowner_Mediolanum != 7
and I_SettlementOwner Mediolanum = romans_scipii
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 7
end_if

if I_CompareCounter settlementowner_Hierosolyma != 7
and I_SettlementOwner Hierosolyma = romans_scipii
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 7
end_if

if I_CompareCounter settlementowner_Taras != 7
and I_SettlementOwner Taras = romans_scipii
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 7
end_if

if I_CompareCounter settlementowner_Chach != 7
and I_SettlementOwner Chach = romans_scipii
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 7
end_if

if I_CompareCounter settlementowner_Mazaka != 7
and I_SettlementOwner Mazaka = romans_scipii
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 7
end_if

if I_CompareCounter settlementowner_Amaseia != 7
and I_SettlementOwner Amaseia = romans_scipii
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 7
end_if

if I_CompareCounter settlementowner_Halikarnassos != 7
and I_SettlementOwner Halikarnassos = romans_scipii
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 7
end_if

if I_CompareCounter settlementowner_Karmana != 7
and I_SettlementOwner Karmana = romans_scipii
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 7
end_if

if I_CompareCounter settlementowner_Mtskheta != 7
and I_SettlementOwner Mtskheta = romans_scipii
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 7
end_if

if I_CompareCounter settlementowner_Apameia != 7
and I_SettlementOwner Apameia = romans_scipii
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 7
end_if

if I_CompareCounter settlementowner_Khiva != 7
and I_SettlementOwner Khiva = romans_scipii
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 7
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 7
and I_SettlementOwner Tarsos = romans_scipii
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 7
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 7
and I_SettlementOwner Gawjam_Kimbroz = romans_scipii
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 7
end_if

if I_CompareCounter settlementowner_Alalia != 7
and I_SettlementOwner Alalia = romans_scipii
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 7
end_if

if I_CompareCounter settlementowner_Kydonia != 7
and I_SettlementOwner Kydonia = romans_scipii
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 7
end_if

if I_CompareCounter settlementowner_Meroe != 7
and I_SettlementOwner Meroe = romans_scipii
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 7
end_if

if I_CompareCounter settlementowner_Salamis != 7
and I_SettlementOwner Salamis = romans_scipii
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 7
end_if

if I_CompareCounter settlementowner_Kyrene != 7
and I_SettlementOwner Kyrene = romans_scipii
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 7
end_if

if I_CompareCounter settlementowner_Emporion != 7
and I_SettlementOwner Emporion = romans_scipii
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 7
end_if

if I_CompareCounter settlementowner_Sparte != 7
and I_SettlementOwner Sparte = romans_scipii
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 7
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 7
and I_SettlementOwner Gawjam_Gotanoz = romans_scipii
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 7
end_if

if I_CompareCounter settlementowner_Rome != 7
and I_SettlementOwner Rome = romans_scipii
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 7
end_if

if I_CompareCounter settlementowner_Lemonum != 7
and I_SettlementOwner Lemonum = romans_scipii
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 7
end_if

if I_CompareCounter settlementowner_Mytilene != 7
and I_SettlementOwner Mytilene = romans_scipii
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 7
end_if

if I_CompareCounter settlementowner_Ammonion != 7
and I_SettlementOwner Ammonion = romans_scipii
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 7
end_if

if I_CompareCounter settlementowner_Segesta != 7
and I_SettlementOwner Segesta = romans_scipii
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 7
end_if

if I_CompareCounter settlementowner_Viennos != 7
and I_SettlementOwner Viennos = romans_scipii
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 7
end_if

if I_CompareCounter settlementowner_Carrodunum != 7
and I_SettlementOwner Carrodunum = romans_scipii
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 7
end_if

if I_CompareCounter settlementowner_Oxtraca != 7
and I_SettlementOwner Oxtraca = romans_scipii
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 7
end_if

if I_CompareCounter settlementowner_Sardis != 7
and I_SettlementOwner Sardis = romans_scipii
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 7
end_if

if I_CompareCounter settlementowner_Tanais != 7
and I_SettlementOwner Tanais = romans_scipii
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 7
end_if

if I_CompareCounter settlementowner_Carna != 7
and I_SettlementOwner Carna = romans_scipii
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 7
end_if

if I_CompareCounter settlementowner_Pella != 7
and I_SettlementOwner Pella = romans_scipii
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 7
end_if

if I_CompareCounter settlementowner_Homna != 7
and I_SettlementOwner Homna = romans_scipii
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 7
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 7
and I_SettlementOwner Antiocheia_Margiane = romans_scipii
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 7
end_if

if I_CompareCounter settlementowner_Paraitonion != 7
and I_SettlementOwner Paraitonion = romans_scipii
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 7
end_if

if I_CompareCounter settlementowner_Ippone != 7
and I_SettlementOwner Ippone = romans_scipii
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 7
end_if

if I_CompareCounter settlementowner_Sala != 7
and I_SettlementOwner Sala = romans_scipii
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 7
end_if

if I_CompareCounter settlementowner_Siga != 7
and I_SettlementOwner Siga = romans_scipii
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 7
end_if

if I_CompareCounter settlementowner_Lixus != 7
and I_SettlementOwner Lixus = romans_scipii
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 7
end_if

if I_CompareCounter settlementowner_Ekbatana != 7
and I_SettlementOwner Ekbatana = romans_scipii
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 7
end_if

if I_CompareCounter settlementowner_Kallatis != 7
and I_SettlementOwner Kallatis = romans_scipii
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 7
end_if

if I_CompareCounter settlementowner_Bibracte != 7
and I_SettlementOwner Bibracte = romans_scipii
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 7
end_if

if I_CompareCounter settlementowner_Cenabum != 7
and I_SettlementOwner Cenabum = romans_scipii
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 7
end_if

if I_CompareCounter settlementowner_Eburonum != 7
and I_SettlementOwner Eburonum = romans_scipii
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 7
end_if

if I_CompareCounter settlementowner_Pergamon != 7
and I_SettlementOwner Pergamon = romans_scipii
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 7
end_if

if I_CompareCounter settlementowner_Bostra != 7
and I_SettlementOwner Bostra = romans_scipii
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 7
end_if

if I_CompareCounter settlementowner_Bagacos != 7
and I_SettlementOwner Bagacos = romans_scipii
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 7
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 7
and I_SettlementOwner Gordu_Neuriji = romans_scipii
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 7
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 7
and I_SettlementOwner Iuvavoaeta = romans_scipii
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 7
end_if

if I_CompareCounter settlementowner_Kirtan != 7
and I_SettlementOwner Kirtan = romans_scipii
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 7
end_if

if I_CompareCounter settlementowner_Hibis != 7
and I_SettlementOwner Hibis = romans_scipii
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 7
end_if

if I_CompareCounter settlementowner_Tylis != 7
and I_SettlementOwner Tylis = romans_scipii
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 7
end_if

if I_CompareCounter settlementowner_Side != 7
and I_SettlementOwner Side = romans_scipii
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 7
end_if

if I_CompareCounter settlementowner_Vindobona != 7
and I_SettlementOwner Vindobona = romans_scipii
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 7
end_if

if I_CompareCounter settlementowner_Segestica != 7
and I_SettlementOwner Segestica = romans_scipii
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 7
end_if

if I_CompareCounter settlementowner_Sinope != 7
and I_SettlementOwner Sinope = romans_scipii
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 7
end_if

if I_CompareCounter settlementowner_Kophen != 7
and I_SettlementOwner Kophen = romans_scipii
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 7
end_if

if I_CompareCounter settlementowner_Hekatompylos != 7
and I_SettlementOwner Hekatompylos = romans_scipii
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 7
end_if

if I_CompareCounter settlementowner_Korinthos != 7
and I_SettlementOwner Korinthos = romans_scipii
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 7
end_if

if I_CompareCounter settlementowner_Persepolis != 7
and I_SettlementOwner Persepolis = romans_scipii
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 7
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 7
and I_SettlementOwner Garama = romans_scipii
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 7
end_if

if I_CompareCounter settlementowner_Sidon != 7
and I_SettlementOwner Sidon = romans_scipii
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 7
end_if

if I_CompareCounter settlementowner_Ipsos != 7
and I_SettlementOwner Ipsos = romans_scipii
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 7
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 7
and I_SettlementOwner Ani-Kamah = romans_scipii
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 7
end_if

if I_CompareCounter settlementowner_Trapezous != 7
and I_SettlementOwner Trapezous = romans_scipii
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 7
end_if

if I_CompareCounter settlementowner_Tamane != 7
and I_SettlementOwner Tamane = romans_scipii
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 7
end_if

if I_CompareCounter settlementowner_Veldideno != 7
and I_SettlementOwner Veldideno = romans_scipii
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 7
end_if

if I_CompareCounter settlementowner_Rhodos != 7
and I_SettlementOwner Rhodos = romans_scipii
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 7
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 7
and I_SettlementOwner Gawjam_Rugoz = romans_scipii
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 7
end_if

if I_CompareCounter settlementowner_Maryab != 7
and I_SettlementOwner Maryab = romans_scipii
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 7
end_if

if I_CompareCounter settlementowner_Terhazza != 7
and I_SettlementOwner Terhazza = romans_scipii
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 7
end_if

if I_CompareCounter settlementowner_Gava_Saka != 7
and I_SettlementOwner Gava_Saka = romans_scipii
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 7
end_if

if I_CompareCounter settlementowner_Asodat != 7
and I_SettlementOwner Asodat = romans_scipii
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 7
end_if

if I_CompareCounter settlementowner_Karali != 7
and I_SettlementOwner Karali = romans_scipii
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 7
end_if

if I_CompareCounter settlementowner_Opiana != 7
and I_SettlementOwner Opiana = romans_scipii
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 7
end_if

if I_CompareCounter settlementowner_Singidunum != 7
and I_SettlementOwner Singidunum = romans_scipii
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 7
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 7
and I_SettlementOwner Seliun_Pilis = romans_scipii
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 7
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 7
and I_SettlementOwner Gintaras_Ostan = romans_scipii
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 7
end_if

if I_CompareCounter settlementowner_Vesontio != 7
and I_SettlementOwner Vesontio = romans_scipii
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 7
end_if

if I_CompareCounter settlementowner_Messana != 7
and I_SettlementOwner Messana = romans_scipii
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 7
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 7
and I_SettlementOwner Gawjam_Silengoz = romans_scipii
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 7
end_if

if I_CompareCounter settlementowner_Petra != 7
and I_SettlementOwner Petra = romans_scipii
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 7
end_if

if I_CompareCounter settlementowner_Patala != 7
and I_SettlementOwner Patala = romans_scipii
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 7
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 7
and I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 7
end_if

if I_CompareCounter settlementowner_Olbia != 7
and I_SettlementOwner Olbia = romans_scipii
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 7
end_if

if I_CompareCounter settlementowner_Marakanda != 7
and I_SettlementOwner Marakanda = romans_scipii
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 7
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 7
and I_SettlementOwner Karkathiokerta = romans_scipii
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 7
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 7
and I_SettlementOwner Swebotraustastamnoz = romans_scipii
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 7
end_if

if I_CompareCounter settlementowner_Antiocheia != 7
and I_SettlementOwner Antiocheia = romans_scipii
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 7
end_if

if I_CompareCounter settlementowner_Damaskos != 7
and I_SettlementOwner Damaskos = romans_scipii
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 7
end_if

if I_CompareCounter settlementowner_Palmyra != 7
and I_SettlementOwner Palmyra = romans_scipii
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 7
end_if

if I_CompareCounter settlementowner_Chersonesos != 7
and I_SettlementOwner Chersonesos = romans_scipii
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 7
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 7
and I_SettlementOwner Diospolis_Megale = romans_scipii
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 7
end_if

if I_CompareCounter settlementowner_Demetrias != 7
and I_SettlementOwner Demetrias = romans_scipii
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 7
end_if

if I_CompareCounter settlementowner_Naissos != 7
and I_SettlementOwner Naissos = romans_scipii
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 7
end_if

if I_CompareCounter settlementowner_Ascaucalis != 7
and I_SettlementOwner Ascaucalis = romans_scipii
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 7
end_if

if I_CompareCounter settlementowner_Pselkis != 7
and I_SettlementOwner Pselkis = romans_scipii
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 7
end_if

if I_CompareCounter settlementowner_Syracuse != 7
and I_SettlementOwner Syracuse = romans_scipii
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 7
end_if

if I_CompareCounter settlementowner_Lepki != 7
and I_SettlementOwner Lepki = romans_scipii
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 7
end_if

if I_CompareCounter settlementowner_Gader != 7
and I_SettlementOwner Gader = romans_scipii
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 7
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 7
and I_SettlementOwner Sucum-Murgi = romans_scipii
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 7
end_if

if I_CompareCounter settlementowner_Ariminum != 7
and I_SettlementOwner Ariminum = romans_scipii
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 7
end_if

if I_CompareCounter settlementowner_Patavium != 7
and I_SettlementOwner Patavium = romans_scipii
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 7
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 7
and I_SettlementOwner Vindelicoppidos = romans_scipii
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 7
end_if

if I_CompareCounter settlementowner_Tolosa != 7
and I_SettlementOwner Tolosa = romans_scipii
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 7
end_if

if I_CompareCounter settlementowner_Chighu != 7
and I_SettlementOwner Chighu = romans_scipii
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 7
end_if

if I_CompareCounter settlementowner_Sulek != 7
and I_SettlementOwner Sulek = romans_scipii
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 7
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 7
and I_SettlementOwner Kart_Hadast = romans_scipii
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 7
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 7
and I_SettlementOwner Ubar = romans_scipii
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 7
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction macedon
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 8
and I_SettlementOwner Arbela = macedon
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 8
end_if

if I_CompareCounter settlementowner_Phraaspa != 8
and I_SettlementOwner Phraaspa = macedon
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 8
end_if

if I_CompareCounter settlementowner_Bononia != 8
and I_SettlementOwner Bononia = macedon
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 8
end_if

if I_CompareCounter settlementowner_Kabalaka != 8
and I_SettlementOwner Kabalaka = macedon
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 8
end_if

if I_CompareCounter settlementowner_Thermon != 8
and I_SettlementOwner Thermon = macedon
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 8
end_if

if I_CompareCounter settlementowner_Arpi != 8
and I_SettlementOwner Arpi = macedon
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 8
end_if

if I_CompareCounter settlementowner_Burdigala != 8
and I_SettlementOwner Burdigala = macedon
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 8
end_if

if I_CompareCounter settlementowner_Babylon != 8
and I_SettlementOwner Babylon = macedon
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 8
end_if

if I_CompareCounter settlementowner_Alexandropolis != 8
and I_SettlementOwner Alexandropolis = macedon
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 8
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 8
and I_SettlementOwner Alexandreia_Ariana = macedon
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 8
end_if

if I_CompareCounter settlementowner_Darioritum != 8
and I_SettlementOwner Darioritum = macedon
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 8
end_if

if I_CompareCounter settlementowner_Gergovia != 8
and I_SettlementOwner Gergovia = macedon
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 8
end_if

if I_CompareCounter settlementowner_Edessa != 8
and I_SettlementOwner Edessa = macedon
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 8
end_if

if I_CompareCounter settlementowner_Asaak != 8
and I_SettlementOwner Asaak = macedon
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 8
end_if

if I_CompareCounter settlementowner_Pallantia != 8
and I_SettlementOwner Pallantia = macedon
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 8
end_if

if I_CompareCounter settlementowner_Athenai != 8
and I_SettlementOwner Athenai = macedon
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 8
end_if

if I_CompareCounter settlementowner_Augila_settlement != 8
and I_SettlementOwner Augila_settlement = macedon
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 8
end_if

if I_CompareCounter settlementowner_Seleukeia != 8
and I_SettlementOwner Seleukeia = macedon
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 8
end_if

if I_CompareCounter settlementowner_Baktra != 8
and I_SettlementOwner Baktra = macedon
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 8
end_if

if I_CompareCounter settlementowner_Bocchoris != 8
and I_SettlementOwner Bocchoris = macedon
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 8
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 8
and I_SettlementOwner Gawjam_Bastarnoz = macedon
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 8
end_if

if I_CompareCounter settlementowner_Mastia != 8
and I_SettlementOwner Mastia = macedon
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 8
end_if

if I_CompareCounter settlementowner_Avaricum != 8
and I_SettlementOwner Avaricum = macedon
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 8
end_if

if I_CompareCounter settlementowner_Bratosporios != 8
and I_SettlementOwner Bratosporios = macedon
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 8
end_if

if I_CompareCounter settlementowner_Nikaia != 8
and I_SettlementOwner Nikaia = macedon
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 8
end_if

if I_CompareCounter settlementowner_Pantikapaion != 8
and I_SettlementOwner Pantikapaion = macedon
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 8
end_if

if I_CompareCounter settlementowner_Rhegion != 8
and I_SettlementOwner Rhegion = macedon
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 8
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 8
and I_SettlementOwner Caern_Brigantae = macedon
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 8
end_if

if I_CompareCounter settlementowner_Gelonus != 8
and I_SettlementOwner Gelonus = macedon
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 8
end_if

if I_CompareCounter settlementowner_Adrumeto != 8
and I_SettlementOwner Adrumeto = macedon
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 8
end_if

if I_CompareCounter settlementowner_Attuaca != 8
and I_SettlementOwner Attuaca = macedon
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 8
end_if

if I_CompareCounter settlementowner_Capua != 8
and I_SettlementOwner Capua = macedon
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 8
end_if

if I_CompareCounter settlementowner_Vellika != 8
and I_SettlementOwner Vellika = macedon
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 8
end_if

if I_CompareCounter settlementowner_Baikor != 8
and I_SettlementOwner Baikor = macedon
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 8
end_if

if I_CompareCounter settlementowner_Camulosadae != 8
and I_SettlementOwner Camulosadae = macedon
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 8
end_if

if I_CompareCounter settlementowner_Numantia != 8
and I_SettlementOwner Numantia = macedon
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 8
end_if

if I_CompareCounter settlementowner_Charax != 8
and I_SettlementOwner Charax = macedon
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 8
end_if

if I_CompareCounter settlementowner_Byzantion != 8
and I_SettlementOwner Byzantion = macedon
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 8
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 8
and I_SettlementOwner Ptolemais_Theron = macedon
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 8
end_if

if I_CompareCounter settlementowner_Ratae != 8
and I_SettlementOwner Ratae = macedon
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 8
end_if

if I_CompareCounter settlementowner_Ictis != 8
and I_SettlementOwner Ictis = macedon
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 8
end_if

if I_CompareCounter settlementowner_Lucarottea != 8
and I_SettlementOwner Lucarottea = macedon
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 8
end_if

if I_CompareCounter settlementowner_Emain_Macha != 8
and I_SettlementOwner Emain_Macha = macedon
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 8
end_if

if I_CompareCounter settlementowner_Atiqa != 8
and I_SettlementOwner Atiqa = macedon
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 8
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 8
and I_SettlementOwner Ynys_Mon = macedon
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 8
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 8
and I_SettlementOwner Gava_Alanna = macedon
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 8
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 8
and I_SettlementOwner Gava_Aursa = macedon
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 8
end_if

if I_CompareCounter settlementowner_Nisa != 8
and I_SettlementOwner Nisa = macedon
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 8
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 8
and I_SettlementOwner Gava_Haomavarga = macedon
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 8
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 8
and I_SettlementOwner Gava_Mazsakata = macedon
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 8
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 8
and I_SettlementOwner Gava_Roxsalanna = macedon
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 8
end_if

if I_CompareCounter settlementowner_Uspe != 8
and I_SettlementOwner Uspe = macedon
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 8
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 8
and I_SettlementOwner Gava_Thissakata = macedon
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 8
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 8
and I_SettlementOwner Gava_Yazyga = macedon
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 8
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 8
and I_SettlementOwner Gava_Yugra = macedon
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 8
end_if

if I_CompareCounter settlementowner_Dalminion != 8
and I_SettlementOwner Dalminion = macedon
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 8
end_if

if I_CompareCounter settlementowner_Serdike != 8
and I_SettlementOwner Serdike = macedon
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 8
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 8
and I_SettlementOwner Alexandreia_Eschate = macedon
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 8
end_if

if I_CompareCounter settlementowner_Alexandreia != 8
and I_SettlementOwner Alexandreia = macedon
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 8
end_if

if I_CompareCounter settlementowner_Axum != 8
and I_SettlementOwner Axum = macedon
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 8
end_if

if I_CompareCounter settlementowner_Prophthasia != 8
and I_SettlementOwner Prophthasia = macedon
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 8
end_if

if I_CompareCounter settlementowner_Arse != 8
and I_SettlementOwner Arse = macedon
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 8
end_if

if I_CompareCounter settlementowner_Kotais != 8
and I_SettlementOwner Kotais = macedon
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 8
end_if

if I_CompareCounter settlementowner_Lilibeo != 8
and I_SettlementOwner Lilibeo = macedon
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 8
end_if

if I_CompareCounter settlementowner_Susa != 8
and I_SettlementOwner Susa = macedon
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 8
end_if

if I_CompareCounter settlementowner_Apollonia != 8
and I_SettlementOwner Apollonia = macedon
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 8
end_if

if I_CompareCounter settlementowner_Ivernis != 8
and I_SettlementOwner Ivernis = macedon
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 8
end_if

if I_CompareCounter settlementowner_Ak_Ink != 8
and I_SettlementOwner Ak_Ink = macedon
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 8
end_if

if I_CompareCounter settlementowner_Arretium != 8
and I_SettlementOwner Arretium = macedon
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 8
end_if

if I_CompareCounter settlementowner_Chalkis != 8
and I_SettlementOwner Chalkis = macedon
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 8
end_if

if I_CompareCounter settlementowner_Gabai != 8
and I_SettlementOwner Gabai = macedon
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 8
end_if

if I_CompareCounter settlementowner_Tuat != 8
and I_SettlementOwner Tuat = macedon
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 8
end_if

if I_CompareCounter settlementowner_Tyde != 8
and I_SettlementOwner Tyde = macedon
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 8
end_if

if I_CompareCounter settlementowner_Ankyra != 8
and I_SettlementOwner Ankyra = macedon
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 8
end_if

if I_CompareCounter settlementowner_Taksashila != 8
and I_SettlementOwner Taksashila = macedon
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 8
end_if

if I_CompareCounter settlementowner_Pura != 8
and I_SettlementOwner Pura = macedon
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 8
end_if

if I_CompareCounter settlementowner_Gerrha != 8
and I_SettlementOwner Gerrha = macedon
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 8
end_if

if I_CompareCounter settlementowner_Buridava != 8
and I_SettlementOwner Buridava = macedon
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 8
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 8
and I_SettlementOwner Sarmiszegethusa = macedon
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 8
end_if

if I_CompareCounter settlementowner_Massalia != 8
and I_SettlementOwner Massalia = macedon
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 8
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 8
and I_SettlementOwner Gawjam_Habukoz = macedon
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 8
end_if

if I_CompareCounter settlementowner_Sabata != 8
and I_SettlementOwner Sabata = macedon
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 8
end_if

if I_CompareCounter settlementowner_Arctaunon != 8
and I_SettlementOwner Arctaunon = macedon
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 8
end_if

if I_CompareCounter settlementowner_Armavir != 8
and I_SettlementOwner Armavir = macedon
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 8
end_if

if I_CompareCounter settlementowner_Aventicos != 8
and I_SettlementOwner Aventicos = macedon
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 8
end_if

if I_CompareCounter settlementowner_Memphis != 8
and I_SettlementOwner Memphis = macedon
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 8
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 8
and I_SettlementOwner Gawjam_Heruskoz = macedon
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 8
end_if

if I_CompareCounter settlementowner_Zadrakata != 8
and I_SettlementOwner Zadrakata = macedon
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 8
end_if

if I_CompareCounter settlementowner_Epidamnos != 8
and I_SettlementOwner Epidamnos = macedon
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 8
end_if

if I_CompareCounter settlementowner_Mediolanum != 8
and I_SettlementOwner Mediolanum = macedon
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 8
end_if

if I_CompareCounter settlementowner_Hierosolyma != 8
and I_SettlementOwner Hierosolyma = macedon
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 8
end_if

if I_CompareCounter settlementowner_Taras != 8
and I_SettlementOwner Taras = macedon
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 8
end_if

if I_CompareCounter settlementowner_Chach != 8
and I_SettlementOwner Chach = macedon
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 8
end_if

if I_CompareCounter settlementowner_Mazaka != 8
and I_SettlementOwner Mazaka = macedon
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 8
end_if

if I_CompareCounter settlementowner_Amaseia != 8
and I_SettlementOwner Amaseia = macedon
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 8
end_if

if I_CompareCounter settlementowner_Halikarnassos != 8
and I_SettlementOwner Halikarnassos = macedon
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 8
end_if

if I_CompareCounter settlementowner_Karmana != 8
and I_SettlementOwner Karmana = macedon
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 8
end_if

if I_CompareCounter settlementowner_Mtskheta != 8
and I_SettlementOwner Mtskheta = macedon
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 8
end_if

if I_CompareCounter settlementowner_Apameia != 8
and I_SettlementOwner Apameia = macedon
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 8
end_if

if I_CompareCounter settlementowner_Khiva != 8
and I_SettlementOwner Khiva = macedon
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 8
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 8
and I_SettlementOwner Tarsos = macedon
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 8
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 8
and I_SettlementOwner Gawjam_Kimbroz = macedon
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 8
end_if

if I_CompareCounter settlementowner_Alalia != 8
and I_SettlementOwner Alalia = macedon
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 8
end_if

if I_CompareCounter settlementowner_Kydonia != 8
and I_SettlementOwner Kydonia = macedon
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 8
end_if

if I_CompareCounter settlementowner_Meroe != 8
and I_SettlementOwner Meroe = macedon
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 8
end_if

if I_CompareCounter settlementowner_Salamis != 8
and I_SettlementOwner Salamis = macedon
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 8
end_if

if I_CompareCounter settlementowner_Kyrene != 8
and I_SettlementOwner Kyrene = macedon
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 8
end_if

if I_CompareCounter settlementowner_Emporion != 8
and I_SettlementOwner Emporion = macedon
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 8
end_if

if I_CompareCounter settlementowner_Sparte != 8
and I_SettlementOwner Sparte = macedon
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 8
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 8
and I_SettlementOwner Gawjam_Gotanoz = macedon
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 8
end_if

if I_CompareCounter settlementowner_Rome != 8
and I_SettlementOwner Rome = macedon
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 8
end_if

if I_CompareCounter settlementowner_Lemonum != 8
and I_SettlementOwner Lemonum = macedon
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 8
end_if

if I_CompareCounter settlementowner_Mytilene != 8
and I_SettlementOwner Mytilene = macedon
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 8
end_if

if I_CompareCounter settlementowner_Ammonion != 8
and I_SettlementOwner Ammonion = macedon
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 8
end_if

if I_CompareCounter settlementowner_Segesta != 8
and I_SettlementOwner Segesta = macedon
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 8
end_if

if I_CompareCounter settlementowner_Viennos != 8
and I_SettlementOwner Viennos = macedon
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 8
end_if

if I_CompareCounter settlementowner_Carrodunum != 8
and I_SettlementOwner Carrodunum = macedon
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 8
end_if

if I_CompareCounter settlementowner_Oxtraca != 8
and I_SettlementOwner Oxtraca = macedon
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 8
end_if

if I_CompareCounter settlementowner_Sardis != 8
and I_SettlementOwner Sardis = macedon
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 8
end_if

if I_CompareCounter settlementowner_Tanais != 8
and I_SettlementOwner Tanais = macedon
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 8
end_if

if I_CompareCounter settlementowner_Carna != 8
and I_SettlementOwner Carna = macedon
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 8
end_if

if I_CompareCounter settlementowner_Pella != 8
and I_SettlementOwner Pella = macedon
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 8
end_if

if I_CompareCounter settlementowner_Homna != 8
and I_SettlementOwner Homna = macedon
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 8
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 8
and I_SettlementOwner Antiocheia_Margiane = macedon
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 8
end_if

if I_CompareCounter settlementowner_Paraitonion != 8
and I_SettlementOwner Paraitonion = macedon
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 8
end_if

if I_CompareCounter settlementowner_Ippone != 8
and I_SettlementOwner Ippone = macedon
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 8
end_if

if I_CompareCounter settlementowner_Sala != 8
and I_SettlementOwner Sala = macedon
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 8
end_if

if I_CompareCounter settlementowner_Siga != 8
and I_SettlementOwner Siga = macedon
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 8
end_if

if I_CompareCounter settlementowner_Lixus != 8
and I_SettlementOwner Lixus = macedon
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 8
end_if

if I_CompareCounter settlementowner_Ekbatana != 8
and I_SettlementOwner Ekbatana = macedon
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 8
end_if

if I_CompareCounter settlementowner_Kallatis != 8
and I_SettlementOwner Kallatis = macedon
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 8
end_if

if I_CompareCounter settlementowner_Bibracte != 8
and I_SettlementOwner Bibracte = macedon
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 8
end_if

if I_CompareCounter settlementowner_Cenabum != 8
and I_SettlementOwner Cenabum = macedon
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 8
end_if

if I_CompareCounter settlementowner_Eburonum != 8
and I_SettlementOwner Eburonum = macedon
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 8
end_if

if I_CompareCounter settlementowner_Pergamon != 8
and I_SettlementOwner Pergamon = macedon
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 8
end_if

if I_CompareCounter settlementowner_Bostra != 8
and I_SettlementOwner Bostra = macedon
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 8
end_if

if I_CompareCounter settlementowner_Bagacos != 8
and I_SettlementOwner Bagacos = macedon
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 8
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 8
and I_SettlementOwner Gordu_Neuriji = macedon
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 8
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 8
and I_SettlementOwner Iuvavoaeta = macedon
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 8
end_if

if I_CompareCounter settlementowner_Kirtan != 8
and I_SettlementOwner Kirtan = macedon
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 8
end_if

if I_CompareCounter settlementowner_Hibis != 8
and I_SettlementOwner Hibis = macedon
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 8
end_if

if I_CompareCounter settlementowner_Tylis != 8
and I_SettlementOwner Tylis = macedon
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 8
end_if

if I_CompareCounter settlementowner_Side != 8
and I_SettlementOwner Side = macedon
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 8
end_if

if I_CompareCounter settlementowner_Vindobona != 8
and I_SettlementOwner Vindobona = macedon
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 8
end_if

if I_CompareCounter settlementowner_Segestica != 8
and I_SettlementOwner Segestica = macedon
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 8
end_if

if I_CompareCounter settlementowner_Sinope != 8
and I_SettlementOwner Sinope = macedon
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 8
end_if

if I_CompareCounter settlementowner_Kophen != 8
and I_SettlementOwner Kophen = macedon
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 8
end_if

if I_CompareCounter settlementowner_Hekatompylos != 8
and I_SettlementOwner Hekatompylos = macedon
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 8
end_if

if I_CompareCounter settlementowner_Korinthos != 8
and I_SettlementOwner Korinthos = macedon
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 8
end_if

if I_CompareCounter settlementowner_Persepolis != 8
and I_SettlementOwner Persepolis = macedon
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 8
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 8
and I_SettlementOwner Garama = macedon
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 8
end_if

if I_CompareCounter settlementowner_Sidon != 8
and I_SettlementOwner Sidon = macedon
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 8
end_if

if I_CompareCounter settlementowner_Ipsos != 8
and I_SettlementOwner Ipsos = macedon
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 8
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 8
and I_SettlementOwner Ani-Kamah = macedon
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 8
end_if

if I_CompareCounter settlementowner_Trapezous != 8
and I_SettlementOwner Trapezous = macedon
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 8
end_if

if I_CompareCounter settlementowner_Tamane != 8
and I_SettlementOwner Tamane = macedon
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 8
end_if

if I_CompareCounter settlementowner_Veldideno != 8
and I_SettlementOwner Veldideno = macedon
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 8
end_if

if I_CompareCounter settlementowner_Rhodos != 8
and I_SettlementOwner Rhodos = macedon
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 8
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 8
and I_SettlementOwner Gawjam_Rugoz = macedon
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 8
end_if

if I_CompareCounter settlementowner_Maryab != 8
and I_SettlementOwner Maryab = macedon
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 8
end_if

if I_CompareCounter settlementowner_Terhazza != 8
and I_SettlementOwner Terhazza = macedon
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 8
end_if

if I_CompareCounter settlementowner_Gava_Saka != 8
and I_SettlementOwner Gava_Saka = macedon
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 8
end_if

if I_CompareCounter settlementowner_Asodat != 8
and I_SettlementOwner Asodat = macedon
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 8
end_if

if I_CompareCounter settlementowner_Karali != 8
and I_SettlementOwner Karali = macedon
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 8
end_if

if I_CompareCounter settlementowner_Opiana != 8
and I_SettlementOwner Opiana = macedon
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 8
end_if

if I_CompareCounter settlementowner_Singidunum != 8
and I_SettlementOwner Singidunum = macedon
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 8
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 8
and I_SettlementOwner Seliun_Pilis = macedon
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 8
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 8
and I_SettlementOwner Gintaras_Ostan = macedon
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 8
end_if

if I_CompareCounter settlementowner_Vesontio != 8
and I_SettlementOwner Vesontio = macedon
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 8
end_if

if I_CompareCounter settlementowner_Messana != 8
and I_SettlementOwner Messana = macedon
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 8
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 8
and I_SettlementOwner Gawjam_Silengoz = macedon
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 8
end_if

if I_CompareCounter settlementowner_Petra != 8
and I_SettlementOwner Petra = macedon
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 8
end_if

if I_CompareCounter settlementowner_Patala != 8
and I_SettlementOwner Patala = macedon
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 8
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 8
and I_SettlementOwner Gawjam_Skandzawarjoz = macedon
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 8
end_if

if I_CompareCounter settlementowner_Olbia != 8
and I_SettlementOwner Olbia = macedon
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 8
end_if

if I_CompareCounter settlementowner_Marakanda != 8
and I_SettlementOwner Marakanda = macedon
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 8
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 8
and I_SettlementOwner Karkathiokerta = macedon
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 8
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 8
and I_SettlementOwner Swebotraustastamnoz = macedon
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 8
end_if

if I_CompareCounter settlementowner_Antiocheia != 8
and I_SettlementOwner Antiocheia = macedon
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 8
end_if

if I_CompareCounter settlementowner_Damaskos != 8
and I_SettlementOwner Damaskos = macedon
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 8
end_if

if I_CompareCounter settlementowner_Palmyra != 8
and I_SettlementOwner Palmyra = macedon
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 8
end_if

if I_CompareCounter settlementowner_Chersonesos != 8
and I_SettlementOwner Chersonesos = macedon
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 8
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 8
and I_SettlementOwner Diospolis_Megale = macedon
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 8
end_if

if I_CompareCounter settlementowner_Demetrias != 8
and I_SettlementOwner Demetrias = macedon
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 8
end_if

if I_CompareCounter settlementowner_Naissos != 8
and I_SettlementOwner Naissos = macedon
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 8
end_if

if I_CompareCounter settlementowner_Ascaucalis != 8
and I_SettlementOwner Ascaucalis = macedon
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 8
end_if

if I_CompareCounter settlementowner_Pselkis != 8
and I_SettlementOwner Pselkis = macedon
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 8
end_if

if I_CompareCounter settlementowner_Syracuse != 8
and I_SettlementOwner Syracuse = macedon
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 8
end_if

if I_CompareCounter settlementowner_Lepki != 8
and I_SettlementOwner Lepki = macedon
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 8
end_if

if I_CompareCounter settlementowner_Gader != 8
and I_SettlementOwner Gader = macedon
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 8
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 8
and I_SettlementOwner Sucum-Murgi = macedon
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 8
end_if

if I_CompareCounter settlementowner_Ariminum != 8
and I_SettlementOwner Ariminum = macedon
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 8
end_if

if I_CompareCounter settlementowner_Patavium != 8
and I_SettlementOwner Patavium = macedon
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 8
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 8
and I_SettlementOwner Vindelicoppidos = macedon
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 8
end_if

if I_CompareCounter settlementowner_Tolosa != 8
and I_SettlementOwner Tolosa = macedon
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 8
end_if

if I_CompareCounter settlementowner_Chighu != 8
and I_SettlementOwner Chighu = macedon
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 8
end_if

if I_CompareCounter settlementowner_Sulek != 8
and I_SettlementOwner Sulek = macedon
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 8
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 8
and I_SettlementOwner Kart_Hadast = macedon
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 8
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 8
and I_SettlementOwner Ubar = macedon
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 8
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction gauls
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 9
and I_SettlementOwner Arbela = gauls
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 9
end_if

if I_CompareCounter settlementowner_Phraaspa != 9
and I_SettlementOwner Phraaspa = gauls
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 9
end_if

if I_CompareCounter settlementowner_Bononia != 9
and I_SettlementOwner Bononia = gauls
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 9
end_if

if I_CompareCounter settlementowner_Kabalaka != 9
and I_SettlementOwner Kabalaka = gauls
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 9
end_if

if I_CompareCounter settlementowner_Thermon != 9
and I_SettlementOwner Thermon = gauls
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 9
end_if

if I_CompareCounter settlementowner_Arpi != 9
and I_SettlementOwner Arpi = gauls
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 9
end_if

if I_CompareCounter settlementowner_Burdigala != 9
and I_SettlementOwner Burdigala = gauls
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 9
end_if

if I_CompareCounter settlementowner_Babylon != 9
and I_SettlementOwner Babylon = gauls
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 9
end_if

if I_CompareCounter settlementowner_Alexandropolis != 9
and I_SettlementOwner Alexandropolis = gauls
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 9
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 9
and I_SettlementOwner Alexandreia_Ariana = gauls
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 9
end_if

if I_CompareCounter settlementowner_Darioritum != 9
and I_SettlementOwner Darioritum = gauls
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 9
end_if

if I_CompareCounter settlementowner_Gergovia != 9
and I_SettlementOwner Gergovia = gauls
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 9
end_if

if I_CompareCounter settlementowner_Edessa != 9
and I_SettlementOwner Edessa = gauls
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 9
end_if

if I_CompareCounter settlementowner_Asaak != 9
and I_SettlementOwner Asaak = gauls
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 9
end_if

if I_CompareCounter settlementowner_Pallantia != 9
and I_SettlementOwner Pallantia = gauls
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 9
end_if

if I_CompareCounter settlementowner_Athenai != 9
and I_SettlementOwner Athenai = gauls
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 9
end_if

if I_CompareCounter settlementowner_Augila_settlement != 9
and I_SettlementOwner Augila_settlement = gauls
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 9
end_if

if I_CompareCounter settlementowner_Seleukeia != 9
and I_SettlementOwner Seleukeia = gauls
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 9
end_if

if I_CompareCounter settlementowner_Baktra != 9
and I_SettlementOwner Baktra = gauls
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 9
end_if

if I_CompareCounter settlementowner_Bocchoris != 9
and I_SettlementOwner Bocchoris = gauls
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 9
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 9
and I_SettlementOwner Gawjam_Bastarnoz = gauls
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 9
end_if

if I_CompareCounter settlementowner_Mastia != 9
and I_SettlementOwner Mastia = gauls
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 9
end_if

if I_CompareCounter settlementowner_Avaricum != 9
and I_SettlementOwner Avaricum = gauls
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 9
end_if

if I_CompareCounter settlementowner_Bratosporios != 9
and I_SettlementOwner Bratosporios = gauls
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 9
end_if

if I_CompareCounter settlementowner_Nikaia != 9
and I_SettlementOwner Nikaia = gauls
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 9
end_if

if I_CompareCounter settlementowner_Pantikapaion != 9
and I_SettlementOwner Pantikapaion = gauls
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 9
end_if

if I_CompareCounter settlementowner_Rhegion != 9
and I_SettlementOwner Rhegion = gauls
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 9
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 9
and I_SettlementOwner Caern_Brigantae = gauls
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 9
end_if

if I_CompareCounter settlementowner_Gelonus != 9
and I_SettlementOwner Gelonus = gauls
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 9
end_if

if I_CompareCounter settlementowner_Adrumeto != 9
and I_SettlementOwner Adrumeto = gauls
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 9
end_if

if I_CompareCounter settlementowner_Attuaca != 9
and I_SettlementOwner Attuaca = gauls
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 9
end_if

if I_CompareCounter settlementowner_Capua != 9
and I_SettlementOwner Capua = gauls
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 9
end_if

if I_CompareCounter settlementowner_Vellika != 9
and I_SettlementOwner Vellika = gauls
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 9
end_if

if I_CompareCounter settlementowner_Baikor != 9
and I_SettlementOwner Baikor = gauls
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 9
end_if

if I_CompareCounter settlementowner_Camulosadae != 9
and I_SettlementOwner Camulosadae = gauls
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 9
end_if

if I_CompareCounter settlementowner_Numantia != 9
and I_SettlementOwner Numantia = gauls
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 9
end_if

if I_CompareCounter settlementowner_Charax != 9
and I_SettlementOwner Charax = gauls
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 9
end_if

if I_CompareCounter settlementowner_Byzantion != 9
and I_SettlementOwner Byzantion = gauls
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 9
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 9
and I_SettlementOwner Ptolemais_Theron = gauls
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 9
end_if

if I_CompareCounter settlementowner_Ratae != 9
and I_SettlementOwner Ratae = gauls
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 9
end_if

if I_CompareCounter settlementowner_Ictis != 9
and I_SettlementOwner Ictis = gauls
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 9
end_if

if I_CompareCounter settlementowner_Lucarottea != 9
and I_SettlementOwner Lucarottea = gauls
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 9
end_if

if I_CompareCounter settlementowner_Emain_Macha != 9
and I_SettlementOwner Emain_Macha = gauls
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 9
end_if

if I_CompareCounter settlementowner_Atiqa != 9
and I_SettlementOwner Atiqa = gauls
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 9
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 9
and I_SettlementOwner Ynys_Mon = gauls
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 9
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 9
and I_SettlementOwner Gava_Alanna = gauls
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 9
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 9
and I_SettlementOwner Gava_Aursa = gauls
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 9
end_if

if I_CompareCounter settlementowner_Nisa != 9
and I_SettlementOwner Nisa = gauls
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 9
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 9
and I_SettlementOwner Gava_Haomavarga = gauls
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 9
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 9
and I_SettlementOwner Gava_Mazsakata = gauls
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 9
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 9
and I_SettlementOwner Gava_Roxsalanna = gauls
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 9
end_if

if I_CompareCounter settlementowner_Uspe != 9
and I_SettlementOwner Uspe = gauls
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 9
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 9
and I_SettlementOwner Gava_Thissakata = gauls
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 9
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 9
and I_SettlementOwner Gava_Yazyga = gauls
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 9
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 9
and I_SettlementOwner Gava_Yugra = gauls
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 9
end_if

if I_CompareCounter settlementowner_Dalminion != 9
and I_SettlementOwner Dalminion = gauls
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 9
end_if

if I_CompareCounter settlementowner_Serdike != 9
and I_SettlementOwner Serdike = gauls
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 9
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 9
and I_SettlementOwner Alexandreia_Eschate = gauls
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 9
end_if

if I_CompareCounter settlementowner_Alexandreia != 9
and I_SettlementOwner Alexandreia = gauls
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 9
end_if

if I_CompareCounter settlementowner_Axum != 9
and I_SettlementOwner Axum = gauls
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 9
end_if

if I_CompareCounter settlementowner_Prophthasia != 9
and I_SettlementOwner Prophthasia = gauls
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 9
end_if

if I_CompareCounter settlementowner_Arse != 9
and I_SettlementOwner Arse = gauls
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 9
end_if

if I_CompareCounter settlementowner_Kotais != 9
and I_SettlementOwner Kotais = gauls
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 9
end_if

if I_CompareCounter settlementowner_Lilibeo != 9
and I_SettlementOwner Lilibeo = gauls
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 9
end_if

if I_CompareCounter settlementowner_Susa != 9
and I_SettlementOwner Susa = gauls
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 9
end_if

if I_CompareCounter settlementowner_Apollonia != 9
and I_SettlementOwner Apollonia = gauls
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 9
end_if

if I_CompareCounter settlementowner_Ivernis != 9
and I_SettlementOwner Ivernis = gauls
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 9
end_if

if I_CompareCounter settlementowner_Ak_Ink != 9
and I_SettlementOwner Ak_Ink = gauls
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 9
end_if

if I_CompareCounter settlementowner_Arretium != 9
and I_SettlementOwner Arretium = gauls
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 9
end_if

if I_CompareCounter settlementowner_Chalkis != 9
and I_SettlementOwner Chalkis = gauls
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 9
end_if

if I_CompareCounter settlementowner_Gabai != 9
and I_SettlementOwner Gabai = gauls
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 9
end_if

if I_CompareCounter settlementowner_Tuat != 9
and I_SettlementOwner Tuat = gauls
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 9
end_if

if I_CompareCounter settlementowner_Tyde != 9
and I_SettlementOwner Tyde = gauls
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 9
end_if

if I_CompareCounter settlementowner_Ankyra != 9
and I_SettlementOwner Ankyra = gauls
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 9
end_if

if I_CompareCounter settlementowner_Taksashila != 9
and I_SettlementOwner Taksashila = gauls
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 9
end_if

if I_CompareCounter settlementowner_Pura != 9
and I_SettlementOwner Pura = gauls
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 9
end_if

if I_CompareCounter settlementowner_Gerrha != 9
and I_SettlementOwner Gerrha = gauls
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 9
end_if

if I_CompareCounter settlementowner_Buridava != 9
and I_SettlementOwner Buridava = gauls
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 9
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 9
and I_SettlementOwner Sarmiszegethusa = gauls
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 9
end_if

if I_CompareCounter settlementowner_Massalia != 9
and I_SettlementOwner Massalia = gauls
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 9
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 9
and I_SettlementOwner Gawjam_Habukoz = gauls
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 9
end_if

if I_CompareCounter settlementowner_Sabata != 9
and I_SettlementOwner Sabata = gauls
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 9
end_if

if I_CompareCounter settlementowner_Arctaunon != 9
and I_SettlementOwner Arctaunon = gauls
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 9
end_if

if I_CompareCounter settlementowner_Armavir != 9
and I_SettlementOwner Armavir = gauls
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 9
end_if

if I_CompareCounter settlementowner_Aventicos != 9
and I_SettlementOwner Aventicos = gauls
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 9
end_if

if I_CompareCounter settlementowner_Memphis != 9
and I_SettlementOwner Memphis = gauls
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 9
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 9
and I_SettlementOwner Gawjam_Heruskoz = gauls
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 9
end_if

if I_CompareCounter settlementowner_Zadrakata != 9
and I_SettlementOwner Zadrakata = gauls
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 9
end_if

if I_CompareCounter settlementowner_Epidamnos != 9
and I_SettlementOwner Epidamnos = gauls
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 9
end_if

if I_CompareCounter settlementowner_Mediolanum != 9
and I_SettlementOwner Mediolanum = gauls
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 9
end_if

if I_CompareCounter settlementowner_Hierosolyma != 9
and I_SettlementOwner Hierosolyma = gauls
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 9
end_if

if I_CompareCounter settlementowner_Taras != 9
and I_SettlementOwner Taras = gauls
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 9
end_if

if I_CompareCounter settlementowner_Chach != 9
and I_SettlementOwner Chach = gauls
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 9
end_if

if I_CompareCounter settlementowner_Mazaka != 9
and I_SettlementOwner Mazaka = gauls
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 9
end_if

if I_CompareCounter settlementowner_Amaseia != 9
and I_SettlementOwner Amaseia = gauls
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 9
end_if

if I_CompareCounter settlementowner_Halikarnassos != 9
and I_SettlementOwner Halikarnassos = gauls
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 9
end_if

if I_CompareCounter settlementowner_Karmana != 9
and I_SettlementOwner Karmana = gauls
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 9
end_if

if I_CompareCounter settlementowner_Mtskheta != 9
and I_SettlementOwner Mtskheta = gauls
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 9
end_if

if I_CompareCounter settlementowner_Apameia != 9
and I_SettlementOwner Apameia = gauls
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 9
end_if

if I_CompareCounter settlementowner_Khiva != 9
and I_SettlementOwner Khiva = gauls
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 9
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 9
and I_SettlementOwner Tarsos = gauls
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 9
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 9
and I_SettlementOwner Gawjam_Kimbroz = gauls
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 9
end_if

if I_CompareCounter settlementowner_Alalia != 9
and I_SettlementOwner Alalia = gauls
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 9
end_if

if I_CompareCounter settlementowner_Kydonia != 9
and I_SettlementOwner Kydonia = gauls
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 9
end_if

if I_CompareCounter settlementowner_Meroe != 9
and I_SettlementOwner Meroe = gauls
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 9
end_if

if I_CompareCounter settlementowner_Salamis != 9
and I_SettlementOwner Salamis = gauls
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 9
end_if

if I_CompareCounter settlementowner_Kyrene != 9
and I_SettlementOwner Kyrene = gauls
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 9
end_if

if I_CompareCounter settlementowner_Emporion != 9
and I_SettlementOwner Emporion = gauls
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 9
end_if

if I_CompareCounter settlementowner_Sparte != 9
and I_SettlementOwner Sparte = gauls
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 9
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 9
and I_SettlementOwner Gawjam_Gotanoz = gauls
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 9
end_if

if I_CompareCounter settlementowner_Rome != 9
and I_SettlementOwner Rome = gauls
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 9
end_if

if I_CompareCounter settlementowner_Lemonum != 9
and I_SettlementOwner Lemonum = gauls
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 9
end_if

if I_CompareCounter settlementowner_Mytilene != 9
and I_SettlementOwner Mytilene = gauls
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 9
end_if

if I_CompareCounter settlementowner_Ammonion != 9
and I_SettlementOwner Ammonion = gauls
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 9
end_if

if I_CompareCounter settlementowner_Segesta != 9
and I_SettlementOwner Segesta = gauls
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 9
end_if

if I_CompareCounter settlementowner_Viennos != 9
and I_SettlementOwner Viennos = gauls
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 9
end_if

if I_CompareCounter settlementowner_Carrodunum != 9
and I_SettlementOwner Carrodunum = gauls
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 9
end_if

if I_CompareCounter settlementowner_Oxtraca != 9
and I_SettlementOwner Oxtraca = gauls
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 9
end_if

if I_CompareCounter settlementowner_Sardis != 9
and I_SettlementOwner Sardis = gauls
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 9
end_if

if I_CompareCounter settlementowner_Tanais != 9
and I_SettlementOwner Tanais = gauls
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 9
end_if

if I_CompareCounter settlementowner_Carna != 9
and I_SettlementOwner Carna = gauls
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 9
end_if

if I_CompareCounter settlementowner_Pella != 9
and I_SettlementOwner Pella = gauls
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 9
end_if

if I_CompareCounter settlementowner_Homna != 9
and I_SettlementOwner Homna = gauls
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 9
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 9
and I_SettlementOwner Antiocheia_Margiane = gauls
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 9
end_if

if I_CompareCounter settlementowner_Paraitonion != 9
and I_SettlementOwner Paraitonion = gauls
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 9
end_if

if I_CompareCounter settlementowner_Ippone != 9
and I_SettlementOwner Ippone = gauls
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 9
end_if

if I_CompareCounter settlementowner_Sala != 9
and I_SettlementOwner Sala = gauls
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 9
end_if

if I_CompareCounter settlementowner_Siga != 9
and I_SettlementOwner Siga = gauls
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 9
end_if

if I_CompareCounter settlementowner_Lixus != 9
and I_SettlementOwner Lixus = gauls
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 9
end_if

if I_CompareCounter settlementowner_Ekbatana != 9
and I_SettlementOwner Ekbatana = gauls
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 9
end_if

if I_CompareCounter settlementowner_Kallatis != 9
and I_SettlementOwner Kallatis = gauls
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 9
end_if

if I_CompareCounter settlementowner_Bibracte != 9
and I_SettlementOwner Bibracte = gauls
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 9
end_if

if I_CompareCounter settlementowner_Cenabum != 9
and I_SettlementOwner Cenabum = gauls
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 9
end_if

if I_CompareCounter settlementowner_Eburonum != 9
and I_SettlementOwner Eburonum = gauls
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 9
end_if

if I_CompareCounter settlementowner_Pergamon != 9
and I_SettlementOwner Pergamon = gauls
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 9
end_if

if I_CompareCounter settlementowner_Bostra != 9
and I_SettlementOwner Bostra = gauls
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 9
end_if

if I_CompareCounter settlementowner_Bagacos != 9
and I_SettlementOwner Bagacos = gauls
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 9
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 9
and I_SettlementOwner Gordu_Neuriji = gauls
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 9
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 9
and I_SettlementOwner Iuvavoaeta = gauls
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 9
end_if

if I_CompareCounter settlementowner_Kirtan != 9
and I_SettlementOwner Kirtan = gauls
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 9
end_if

if I_CompareCounter settlementowner_Hibis != 9
and I_SettlementOwner Hibis = gauls
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 9
end_if

if I_CompareCounter settlementowner_Tylis != 9
and I_SettlementOwner Tylis = gauls
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 9
end_if

if I_CompareCounter settlementowner_Side != 9
and I_SettlementOwner Side = gauls
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 9
end_if

if I_CompareCounter settlementowner_Vindobona != 9
and I_SettlementOwner Vindobona = gauls
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 9
end_if

if I_CompareCounter settlementowner_Segestica != 9
and I_SettlementOwner Segestica = gauls
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 9
end_if

if I_CompareCounter settlementowner_Sinope != 9
and I_SettlementOwner Sinope = gauls
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 9
end_if

if I_CompareCounter settlementowner_Kophen != 9
and I_SettlementOwner Kophen = gauls
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 9
end_if

if I_CompareCounter settlementowner_Hekatompylos != 9
and I_SettlementOwner Hekatompylos = gauls
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 9
end_if

if I_CompareCounter settlementowner_Korinthos != 9
and I_SettlementOwner Korinthos = gauls
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 9
end_if

if I_CompareCounter settlementowner_Persepolis != 9
and I_SettlementOwner Persepolis = gauls
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 9
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 9
and I_SettlementOwner Garama = gauls
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 9
end_if

if I_CompareCounter settlementowner_Sidon != 9
and I_SettlementOwner Sidon = gauls
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 9
end_if

if I_CompareCounter settlementowner_Ipsos != 9
and I_SettlementOwner Ipsos = gauls
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 9
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 9
and I_SettlementOwner Ani-Kamah = gauls
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 9
end_if

if I_CompareCounter settlementowner_Trapezous != 9
and I_SettlementOwner Trapezous = gauls
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 9
end_if

if I_CompareCounter settlementowner_Tamane != 9
and I_SettlementOwner Tamane = gauls
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 9
end_if

if I_CompareCounter settlementowner_Veldideno != 9
and I_SettlementOwner Veldideno = gauls
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 9
end_if

if I_CompareCounter settlementowner_Rhodos != 9
and I_SettlementOwner Rhodos = gauls
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 9
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 9
and I_SettlementOwner Gawjam_Rugoz = gauls
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 9
end_if

if I_CompareCounter settlementowner_Maryab != 9
and I_SettlementOwner Maryab = gauls
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 9
end_if

if I_CompareCounter settlementowner_Terhazza != 9
and I_SettlementOwner Terhazza = gauls
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 9
end_if

if I_CompareCounter settlementowner_Gava_Saka != 9
and I_SettlementOwner Gava_Saka = gauls
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 9
end_if

if I_CompareCounter settlementowner_Asodat != 9
and I_SettlementOwner Asodat = gauls
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 9
end_if

if I_CompareCounter settlementowner_Karali != 9
and I_SettlementOwner Karali = gauls
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 9
end_if

if I_CompareCounter settlementowner_Opiana != 9
and I_SettlementOwner Opiana = gauls
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 9
end_if

if I_CompareCounter settlementowner_Singidunum != 9
and I_SettlementOwner Singidunum = gauls
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 9
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 9
and I_SettlementOwner Seliun_Pilis = gauls
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 9
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 9
and I_SettlementOwner Gintaras_Ostan = gauls
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 9
end_if

if I_CompareCounter settlementowner_Vesontio != 9
and I_SettlementOwner Vesontio = gauls
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 9
end_if

if I_CompareCounter settlementowner_Messana != 9
and I_SettlementOwner Messana = gauls
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 9
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 9
and I_SettlementOwner Gawjam_Silengoz = gauls
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 9
end_if

if I_CompareCounter settlementowner_Petra != 9
and I_SettlementOwner Petra = gauls
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 9
end_if

if I_CompareCounter settlementowner_Patala != 9
and I_SettlementOwner Patala = gauls
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 9
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 9
and I_SettlementOwner Gawjam_Skandzawarjoz = gauls
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 9
end_if

if I_CompareCounter settlementowner_Olbia != 9
and I_SettlementOwner Olbia = gauls
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 9
end_if

if I_CompareCounter settlementowner_Marakanda != 9
and I_SettlementOwner Marakanda = gauls
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 9
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 9
and I_SettlementOwner Karkathiokerta = gauls
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 9
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 9
and I_SettlementOwner Swebotraustastamnoz = gauls
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 9
end_if

if I_CompareCounter settlementowner_Antiocheia != 9
and I_SettlementOwner Antiocheia = gauls
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 9
end_if

if I_CompareCounter settlementowner_Damaskos != 9
and I_SettlementOwner Damaskos = gauls
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 9
end_if

if I_CompareCounter settlementowner_Palmyra != 9
and I_SettlementOwner Palmyra = gauls
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 9
end_if

if I_CompareCounter settlementowner_Chersonesos != 9
and I_SettlementOwner Chersonesos = gauls
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 9
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 9
and I_SettlementOwner Diospolis_Megale = gauls
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 9
end_if

if I_CompareCounter settlementowner_Demetrias != 9
and I_SettlementOwner Demetrias = gauls
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 9
end_if

if I_CompareCounter settlementowner_Naissos != 9
and I_SettlementOwner Naissos = gauls
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 9
end_if

if I_CompareCounter settlementowner_Ascaucalis != 9
and I_SettlementOwner Ascaucalis = gauls
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 9
end_if

if I_CompareCounter settlementowner_Pselkis != 9
and I_SettlementOwner Pselkis = gauls
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 9
end_if

if I_CompareCounter settlementowner_Syracuse != 9
and I_SettlementOwner Syracuse = gauls
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 9
end_if

if I_CompareCounter settlementowner_Lepki != 9
and I_SettlementOwner Lepki = gauls
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 9
end_if

if I_CompareCounter settlementowner_Gader != 9
and I_SettlementOwner Gader = gauls
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 9
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 9
and I_SettlementOwner Sucum-Murgi = gauls
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 9
end_if

if I_CompareCounter settlementowner_Ariminum != 9
and I_SettlementOwner Ariminum = gauls
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 9
end_if

if I_CompareCounter settlementowner_Patavium != 9
and I_SettlementOwner Patavium = gauls
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 9
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 9
and I_SettlementOwner Vindelicoppidos = gauls
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 9
end_if

if I_CompareCounter settlementowner_Tolosa != 9
and I_SettlementOwner Tolosa = gauls
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 9
end_if

if I_CompareCounter settlementowner_Chighu != 9
and I_SettlementOwner Chighu = gauls
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 9
end_if

if I_CompareCounter settlementowner_Sulek != 9
and I_SettlementOwner Sulek = gauls
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 9
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 9
and I_SettlementOwner Kart_Hadast = gauls
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 9
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 9
and I_SettlementOwner Ubar = gauls
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 9
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction germans
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 10
and I_SettlementOwner Arbela = germans
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 10
end_if

if I_CompareCounter settlementowner_Phraaspa != 10
and I_SettlementOwner Phraaspa = germans
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 10
end_if

if I_CompareCounter settlementowner_Bononia != 10
and I_SettlementOwner Bononia = germans
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 10
end_if

if I_CompareCounter settlementowner_Kabalaka != 10
and I_SettlementOwner Kabalaka = germans
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 10
end_if

if I_CompareCounter settlementowner_Thermon != 10
and I_SettlementOwner Thermon = germans
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 10
end_if

if I_CompareCounter settlementowner_Arpi != 10
and I_SettlementOwner Arpi = germans
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 10
end_if

if I_CompareCounter settlementowner_Burdigala != 10
and I_SettlementOwner Burdigala = germans
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 10
end_if

if I_CompareCounter settlementowner_Babylon != 10
and I_SettlementOwner Babylon = germans
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 10
end_if

if I_CompareCounter settlementowner_Alexandropolis != 10
and I_SettlementOwner Alexandropolis = germans
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 10
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 10
and I_SettlementOwner Alexandreia_Ariana = germans
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 10
end_if

if I_CompareCounter settlementowner_Darioritum != 10
and I_SettlementOwner Darioritum = germans
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 10
end_if

if I_CompareCounter settlementowner_Gergovia != 10
and I_SettlementOwner Gergovia = germans
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 10
end_if

if I_CompareCounter settlementowner_Edessa != 10
and I_SettlementOwner Edessa = germans
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 10
end_if

if I_CompareCounter settlementowner_Asaak != 10
and I_SettlementOwner Asaak = germans
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 10
end_if

if I_CompareCounter settlementowner_Pallantia != 10
and I_SettlementOwner Pallantia = germans
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 10
end_if

if I_CompareCounter settlementowner_Athenai != 10
and I_SettlementOwner Athenai = germans
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 10
end_if

if I_CompareCounter settlementowner_Augila_settlement != 10
and I_SettlementOwner Augila_settlement = germans
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 10
end_if

if I_CompareCounter settlementowner_Seleukeia != 10
and I_SettlementOwner Seleukeia = germans
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 10
end_if

if I_CompareCounter settlementowner_Baktra != 10
and I_SettlementOwner Baktra = germans
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 10
end_if

if I_CompareCounter settlementowner_Bocchoris != 10
and I_SettlementOwner Bocchoris = germans
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 10
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 10
and I_SettlementOwner Gawjam_Bastarnoz = germans
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 10
end_if

if I_CompareCounter settlementowner_Mastia != 10
and I_SettlementOwner Mastia = germans
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 10
end_if

if I_CompareCounter settlementowner_Avaricum != 10
and I_SettlementOwner Avaricum = germans
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 10
end_if

if I_CompareCounter settlementowner_Bratosporios != 10
and I_SettlementOwner Bratosporios = germans
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 10
end_if

if I_CompareCounter settlementowner_Nikaia != 10
and I_SettlementOwner Nikaia = germans
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 10
end_if

if I_CompareCounter settlementowner_Pantikapaion != 10
and I_SettlementOwner Pantikapaion = germans
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 10
end_if

if I_CompareCounter settlementowner_Rhegion != 10
and I_SettlementOwner Rhegion = germans
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 10
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 10
and I_SettlementOwner Caern_Brigantae = germans
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 10
end_if

if I_CompareCounter settlementowner_Gelonus != 10
and I_SettlementOwner Gelonus = germans
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 10
end_if

if I_CompareCounter settlementowner_Adrumeto != 10
and I_SettlementOwner Adrumeto = germans
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 10
end_if

if I_CompareCounter settlementowner_Attuaca != 10
and I_SettlementOwner Attuaca = germans
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 10
end_if

if I_CompareCounter settlementowner_Capua != 10
and I_SettlementOwner Capua = germans
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 10
end_if

if I_CompareCounter settlementowner_Vellika != 10
and I_SettlementOwner Vellika = germans
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 10
end_if

if I_CompareCounter settlementowner_Baikor != 10
and I_SettlementOwner Baikor = germans
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 10
end_if

if I_CompareCounter settlementowner_Camulosadae != 10
and I_SettlementOwner Camulosadae = germans
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 10
end_if

if I_CompareCounter settlementowner_Numantia != 10
and I_SettlementOwner Numantia = germans
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 10
end_if

if I_CompareCounter settlementowner_Charax != 10
and I_SettlementOwner Charax = germans
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 10
end_if

if I_CompareCounter settlementowner_Byzantion != 10
and I_SettlementOwner Byzantion = germans
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 10
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 10
and I_SettlementOwner Ptolemais_Theron = germans
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 10
end_if

if I_CompareCounter settlementowner_Ratae != 10
and I_SettlementOwner Ratae = germans
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 10
end_if

if I_CompareCounter settlementowner_Ictis != 10
and I_SettlementOwner Ictis = germans
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 10
end_if

if I_CompareCounter settlementowner_Lucarottea != 10
and I_SettlementOwner Lucarottea = germans
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 10
end_if

if I_CompareCounter settlementowner_Emain_Macha != 10
and I_SettlementOwner Emain_Macha = germans
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 10
end_if

if I_CompareCounter settlementowner_Atiqa != 10
and I_SettlementOwner Atiqa = germans
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 10
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 10
and I_SettlementOwner Ynys_Mon = germans
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 10
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 10
and I_SettlementOwner Gava_Alanna = germans
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 10
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 10
and I_SettlementOwner Gava_Aursa = germans
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 10
end_if

if I_CompareCounter settlementowner_Nisa != 10
and I_SettlementOwner Nisa = germans
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 10
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 10
and I_SettlementOwner Gava_Haomavarga = germans
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 10
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 10
and I_SettlementOwner Gava_Mazsakata = germans
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 10
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 10
and I_SettlementOwner Gava_Roxsalanna = germans
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 10
end_if

if I_CompareCounter settlementowner_Uspe != 10
and I_SettlementOwner Uspe = germans
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 10
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 10
and I_SettlementOwner Gava_Thissakata = germans
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 10
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 10
and I_SettlementOwner Gava_Yazyga = germans
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 10
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 10
and I_SettlementOwner Gava_Yugra = germans
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 10
end_if

if I_CompareCounter settlementowner_Dalminion != 10
and I_SettlementOwner Dalminion = germans
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 10
end_if

if I_CompareCounter settlementowner_Serdike != 10
and I_SettlementOwner Serdike = germans
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 10
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 10
and I_SettlementOwner Alexandreia_Eschate = germans
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 10
end_if

if I_CompareCounter settlementowner_Alexandreia != 10
and I_SettlementOwner Alexandreia = germans
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 10
end_if

if I_CompareCounter settlementowner_Axum != 10
and I_SettlementOwner Axum = germans
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 10
end_if

if I_CompareCounter settlementowner_Prophthasia != 10
and I_SettlementOwner Prophthasia = germans
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 10
end_if

if I_CompareCounter settlementowner_Arse != 10
and I_SettlementOwner Arse = germans
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 10
end_if

if I_CompareCounter settlementowner_Kotais != 10
and I_SettlementOwner Kotais = germans
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 10
end_if

if I_CompareCounter settlementowner_Lilibeo != 10
and I_SettlementOwner Lilibeo = germans
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 10
end_if

if I_CompareCounter settlementowner_Susa != 10
and I_SettlementOwner Susa = germans
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 10
end_if

if I_CompareCounter settlementowner_Apollonia != 10
and I_SettlementOwner Apollonia = germans
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 10
end_if

if I_CompareCounter settlementowner_Ivernis != 10
and I_SettlementOwner Ivernis = germans
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 10
end_if

if I_CompareCounter settlementowner_Ak_Ink != 10
and I_SettlementOwner Ak_Ink = germans
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 10
end_if

if I_CompareCounter settlementowner_Arretium != 10
and I_SettlementOwner Arretium = germans
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 10
end_if

if I_CompareCounter settlementowner_Chalkis != 10
and I_SettlementOwner Chalkis = germans
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 10
end_if

if I_CompareCounter settlementowner_Gabai != 10
and I_SettlementOwner Gabai = germans
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 10
end_if

if I_CompareCounter settlementowner_Tuat != 10
and I_SettlementOwner Tuat = germans
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 10
end_if

if I_CompareCounter settlementowner_Tyde != 10
and I_SettlementOwner Tyde = germans
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 10
end_if

if I_CompareCounter settlementowner_Ankyra != 10
and I_SettlementOwner Ankyra = germans
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 10
end_if

if I_CompareCounter settlementowner_Taksashila != 10
and I_SettlementOwner Taksashila = germans
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 10
end_if

if I_CompareCounter settlementowner_Pura != 10
and I_SettlementOwner Pura = germans
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 10
end_if

if I_CompareCounter settlementowner_Gerrha != 10
and I_SettlementOwner Gerrha = germans
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 10
end_if

if I_CompareCounter settlementowner_Buridava != 10
and I_SettlementOwner Buridava = germans
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 10
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 10
and I_SettlementOwner Sarmiszegethusa = germans
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 10
end_if

if I_CompareCounter settlementowner_Massalia != 10
and I_SettlementOwner Massalia = germans
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 10
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 10
and I_SettlementOwner Gawjam_Habukoz = germans
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 10
end_if

if I_CompareCounter settlementowner_Sabata != 10
and I_SettlementOwner Sabata = germans
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 10
end_if

if I_CompareCounter settlementowner_Arctaunon != 10
and I_SettlementOwner Arctaunon = germans
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 10
end_if

if I_CompareCounter settlementowner_Armavir != 10
and I_SettlementOwner Armavir = germans
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 10
end_if

if I_CompareCounter settlementowner_Aventicos != 10
and I_SettlementOwner Aventicos = germans
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 10
end_if

if I_CompareCounter settlementowner_Memphis != 10
and I_SettlementOwner Memphis = germans
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 10
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 10
and I_SettlementOwner Gawjam_Heruskoz = germans
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 10
end_if

if I_CompareCounter settlementowner_Zadrakata != 10
and I_SettlementOwner Zadrakata = germans
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 10
end_if

if I_CompareCounter settlementowner_Epidamnos != 10
and I_SettlementOwner Epidamnos = germans
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 10
end_if

if I_CompareCounter settlementowner_Mediolanum != 10
and I_SettlementOwner Mediolanum = germans
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 10
end_if

if I_CompareCounter settlementowner_Hierosolyma != 10
and I_SettlementOwner Hierosolyma = germans
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 10
end_if

if I_CompareCounter settlementowner_Taras != 10
and I_SettlementOwner Taras = germans
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 10
end_if

if I_CompareCounter settlementowner_Chach != 10
and I_SettlementOwner Chach = germans
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 10
end_if

if I_CompareCounter settlementowner_Mazaka != 10
and I_SettlementOwner Mazaka = germans
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 10
end_if

if I_CompareCounter settlementowner_Amaseia != 10
and I_SettlementOwner Amaseia = germans
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 10
end_if

if I_CompareCounter settlementowner_Halikarnassos != 10
and I_SettlementOwner Halikarnassos = germans
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 10
end_if

if I_CompareCounter settlementowner_Karmana != 10
and I_SettlementOwner Karmana = germans
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 10
end_if

if I_CompareCounter settlementowner_Mtskheta != 10
and I_SettlementOwner Mtskheta = germans
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 10
end_if

if I_CompareCounter settlementowner_Apameia != 10
and I_SettlementOwner Apameia = germans
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 10
end_if

if I_CompareCounter settlementowner_Khiva != 10
and I_SettlementOwner Khiva = germans
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 10
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 10
and I_SettlementOwner Tarsos = germans
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 10
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 10
and I_SettlementOwner Gawjam_Kimbroz = germans
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 10
end_if

if I_CompareCounter settlementowner_Alalia != 10
and I_SettlementOwner Alalia = germans
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 10
end_if

if I_CompareCounter settlementowner_Kydonia != 10
and I_SettlementOwner Kydonia = germans
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 10
end_if

if I_CompareCounter settlementowner_Meroe != 10
and I_SettlementOwner Meroe = germans
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 10
end_if

if I_CompareCounter settlementowner_Salamis != 10
and I_SettlementOwner Salamis = germans
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 10
end_if

if I_CompareCounter settlementowner_Kyrene != 10
and I_SettlementOwner Kyrene = germans
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 10
end_if

if I_CompareCounter settlementowner_Emporion != 10
and I_SettlementOwner Emporion = germans
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 10
end_if

if I_CompareCounter settlementowner_Sparte != 10
and I_SettlementOwner Sparte = germans
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 10
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 10
and I_SettlementOwner Gawjam_Gotanoz = germans
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 10
end_if

if I_CompareCounter settlementowner_Rome != 10
and I_SettlementOwner Rome = germans
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 10
end_if

if I_CompareCounter settlementowner_Lemonum != 10
and I_SettlementOwner Lemonum = germans
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 10
end_if

if I_CompareCounter settlementowner_Mytilene != 10
and I_SettlementOwner Mytilene = germans
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 10
end_if

if I_CompareCounter settlementowner_Ammonion != 10
and I_SettlementOwner Ammonion = germans
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 10
end_if

if I_CompareCounter settlementowner_Segesta != 10
and I_SettlementOwner Segesta = germans
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 10
end_if

if I_CompareCounter settlementowner_Viennos != 10
and I_SettlementOwner Viennos = germans
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 10
end_if

if I_CompareCounter settlementowner_Carrodunum != 10
and I_SettlementOwner Carrodunum = germans
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 10
end_if

if I_CompareCounter settlementowner_Oxtraca != 10
and I_SettlementOwner Oxtraca = germans
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 10
end_if

if I_CompareCounter settlementowner_Sardis != 10
and I_SettlementOwner Sardis = germans
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 10
end_if

if I_CompareCounter settlementowner_Tanais != 10
and I_SettlementOwner Tanais = germans
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 10
end_if

if I_CompareCounter settlementowner_Carna != 10
and I_SettlementOwner Carna = germans
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 10
end_if

if I_CompareCounter settlementowner_Pella != 10
and I_SettlementOwner Pella = germans
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 10
end_if

if I_CompareCounter settlementowner_Homna != 10
and I_SettlementOwner Homna = germans
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 10
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 10
and I_SettlementOwner Antiocheia_Margiane = germans
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 10
end_if

if I_CompareCounter settlementowner_Paraitonion != 10
and I_SettlementOwner Paraitonion = germans
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 10
end_if

if I_CompareCounter settlementowner_Ippone != 10
and I_SettlementOwner Ippone = germans
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 10
end_if

if I_CompareCounter settlementowner_Sala != 10
and I_SettlementOwner Sala = germans
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 10
end_if

if I_CompareCounter settlementowner_Siga != 10
and I_SettlementOwner Siga = germans
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 10
end_if

if I_CompareCounter settlementowner_Lixus != 10
and I_SettlementOwner Lixus = germans
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 10
end_if

if I_CompareCounter settlementowner_Ekbatana != 10
and I_SettlementOwner Ekbatana = germans
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 10
end_if

if I_CompareCounter settlementowner_Kallatis != 10
and I_SettlementOwner Kallatis = germans
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 10
end_if

if I_CompareCounter settlementowner_Bibracte != 10
and I_SettlementOwner Bibracte = germans
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 10
end_if

if I_CompareCounter settlementowner_Cenabum != 10
and I_SettlementOwner Cenabum = germans
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 10
end_if

if I_CompareCounter settlementowner_Eburonum != 10
and I_SettlementOwner Eburonum = germans
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 10
end_if

if I_CompareCounter settlementowner_Pergamon != 10
and I_SettlementOwner Pergamon = germans
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 10
end_if

if I_CompareCounter settlementowner_Bostra != 10
and I_SettlementOwner Bostra = germans
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 10
end_if

if I_CompareCounter settlementowner_Bagacos != 10
and I_SettlementOwner Bagacos = germans
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 10
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 10
and I_SettlementOwner Gordu_Neuriji = germans
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 10
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 10
and I_SettlementOwner Iuvavoaeta = germans
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 10
end_if

if I_CompareCounter settlementowner_Kirtan != 10
and I_SettlementOwner Kirtan = germans
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 10
end_if

if I_CompareCounter settlementowner_Hibis != 10
and I_SettlementOwner Hibis = germans
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 10
end_if

if I_CompareCounter settlementowner_Tylis != 10
and I_SettlementOwner Tylis = germans
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 10
end_if

if I_CompareCounter settlementowner_Side != 10
and I_SettlementOwner Side = germans
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 10
end_if

if I_CompareCounter settlementowner_Vindobona != 10
and I_SettlementOwner Vindobona = germans
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 10
end_if

if I_CompareCounter settlementowner_Segestica != 10
and I_SettlementOwner Segestica = germans
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 10
end_if

if I_CompareCounter settlementowner_Sinope != 10
and I_SettlementOwner Sinope = germans
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 10
end_if

if I_CompareCounter settlementowner_Kophen != 10
and I_SettlementOwner Kophen = germans
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 10
end_if

if I_CompareCounter settlementowner_Hekatompylos != 10
and I_SettlementOwner Hekatompylos = germans
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 10
end_if

if I_CompareCounter settlementowner_Korinthos != 10
and I_SettlementOwner Korinthos = germans
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 10
end_if

if I_CompareCounter settlementowner_Persepolis != 10
and I_SettlementOwner Persepolis = germans
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 10
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 10
and I_SettlementOwner Garama = germans
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 10
end_if

if I_CompareCounter settlementowner_Sidon != 10
and I_SettlementOwner Sidon = germans
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 10
end_if

if I_CompareCounter settlementowner_Ipsos != 10
and I_SettlementOwner Ipsos = germans
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 10
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 10
and I_SettlementOwner Ani-Kamah = germans
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 10
end_if

if I_CompareCounter settlementowner_Trapezous != 10
and I_SettlementOwner Trapezous = germans
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 10
end_if

if I_CompareCounter settlementowner_Tamane != 10
and I_SettlementOwner Tamane = germans
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 10
end_if

if I_CompareCounter settlementowner_Veldideno != 10
and I_SettlementOwner Veldideno = germans
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 10
end_if

if I_CompareCounter settlementowner_Rhodos != 10
and I_SettlementOwner Rhodos = germans
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 10
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 10
and I_SettlementOwner Gawjam_Rugoz = germans
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 10
end_if

if I_CompareCounter settlementowner_Maryab != 10
and I_SettlementOwner Maryab = germans
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 10
end_if

if I_CompareCounter settlementowner_Terhazza != 10
and I_SettlementOwner Terhazza = germans
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 10
end_if

if I_CompareCounter settlementowner_Gava_Saka != 10
and I_SettlementOwner Gava_Saka = germans
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 10
end_if

if I_CompareCounter settlementowner_Asodat != 10
and I_SettlementOwner Asodat = germans
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 10
end_if

if I_CompareCounter settlementowner_Karali != 10
and I_SettlementOwner Karali = germans
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 10
end_if

if I_CompareCounter settlementowner_Opiana != 10
and I_SettlementOwner Opiana = germans
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 10
end_if

if I_CompareCounter settlementowner_Singidunum != 10
and I_SettlementOwner Singidunum = germans
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 10
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 10
and I_SettlementOwner Seliun_Pilis = germans
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 10
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 10
and I_SettlementOwner Gintaras_Ostan = germans
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 10
end_if

if I_CompareCounter settlementowner_Vesontio != 10
and I_SettlementOwner Vesontio = germans
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 10
end_if

if I_CompareCounter settlementowner_Messana != 10
and I_SettlementOwner Messana = germans
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 10
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 10
and I_SettlementOwner Gawjam_Silengoz = germans
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 10
end_if

if I_CompareCounter settlementowner_Petra != 10
and I_SettlementOwner Petra = germans
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 10
end_if

if I_CompareCounter settlementowner_Patala != 10
and I_SettlementOwner Patala = germans
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 10
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 10
and I_SettlementOwner Gawjam_Skandzawarjoz = germans
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 10
end_if

if I_CompareCounter settlementowner_Olbia != 10
and I_SettlementOwner Olbia = germans
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 10
end_if

if I_CompareCounter settlementowner_Marakanda != 10
and I_SettlementOwner Marakanda = germans
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 10
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 10
and I_SettlementOwner Karkathiokerta = germans
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 10
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 10
and I_SettlementOwner Swebotraustastamnoz = germans
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 10
end_if

if I_CompareCounter settlementowner_Antiocheia != 10
and I_SettlementOwner Antiocheia = germans
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 10
end_if

if I_CompareCounter settlementowner_Damaskos != 10
and I_SettlementOwner Damaskos = germans
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 10
end_if

if I_CompareCounter settlementowner_Palmyra != 10
and I_SettlementOwner Palmyra = germans
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 10
end_if

if I_CompareCounter settlementowner_Chersonesos != 10
and I_SettlementOwner Chersonesos = germans
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 10
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 10
and I_SettlementOwner Diospolis_Megale = germans
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 10
end_if

if I_CompareCounter settlementowner_Demetrias != 10
and I_SettlementOwner Demetrias = germans
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 10
end_if

if I_CompareCounter settlementowner_Naissos != 10
and I_SettlementOwner Naissos = germans
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 10
end_if

if I_CompareCounter settlementowner_Ascaucalis != 10
and I_SettlementOwner Ascaucalis = germans
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 10
end_if

if I_CompareCounter settlementowner_Pselkis != 10
and I_SettlementOwner Pselkis = germans
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 10
end_if

if I_CompareCounter settlementowner_Syracuse != 10
and I_SettlementOwner Syracuse = germans
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 10
end_if

if I_CompareCounter settlementowner_Lepki != 10
and I_SettlementOwner Lepki = germans
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 10
end_if

if I_CompareCounter settlementowner_Gader != 10
and I_SettlementOwner Gader = germans
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 10
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 10
and I_SettlementOwner Sucum-Murgi = germans
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 10
end_if

if I_CompareCounter settlementowner_Ariminum != 10
and I_SettlementOwner Ariminum = germans
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 10
end_if

if I_CompareCounter settlementowner_Patavium != 10
and I_SettlementOwner Patavium = germans
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 10
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 10
and I_SettlementOwner Vindelicoppidos = germans
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 10
end_if

if I_CompareCounter settlementowner_Tolosa != 10
and I_SettlementOwner Tolosa = germans
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 10
end_if

if I_CompareCounter settlementowner_Chighu != 10
and I_SettlementOwner Chighu = germans
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 10
end_if

if I_CompareCounter settlementowner_Sulek != 10
and I_SettlementOwner Sulek = germans
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 10
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 10
and I_SettlementOwner Kart_Hadast = germans
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 10
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 10
and I_SettlementOwner Ubar = germans
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 10
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction britons
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 11
and I_SettlementOwner Arbela = britons
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 11
end_if

if I_CompareCounter settlementowner_Phraaspa != 11
and I_SettlementOwner Phraaspa = britons
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 11
end_if

if I_CompareCounter settlementowner_Bononia != 11
and I_SettlementOwner Bononia = britons
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 11
end_if

if I_CompareCounter settlementowner_Kabalaka != 11
and I_SettlementOwner Kabalaka = britons
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 11
end_if

if I_CompareCounter settlementowner_Thermon != 11
and I_SettlementOwner Thermon = britons
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 11
end_if

if I_CompareCounter settlementowner_Arpi != 11
and I_SettlementOwner Arpi = britons
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 11
end_if

if I_CompareCounter settlementowner_Burdigala != 11
and I_SettlementOwner Burdigala = britons
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 11
end_if

if I_CompareCounter settlementowner_Babylon != 11
and I_SettlementOwner Babylon = britons
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 11
end_if

if I_CompareCounter settlementowner_Alexandropolis != 11
and I_SettlementOwner Alexandropolis = britons
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 11
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 11
and I_SettlementOwner Alexandreia_Ariana = britons
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 11
end_if

if I_CompareCounter settlementowner_Darioritum != 11
and I_SettlementOwner Darioritum = britons
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 11
end_if

if I_CompareCounter settlementowner_Gergovia != 11
and I_SettlementOwner Gergovia = britons
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 11
end_if

if I_CompareCounter settlementowner_Edessa != 11
and I_SettlementOwner Edessa = britons
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 11
end_if

if I_CompareCounter settlementowner_Asaak != 11
and I_SettlementOwner Asaak = britons
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 11
end_if

if I_CompareCounter settlementowner_Pallantia != 11
and I_SettlementOwner Pallantia = britons
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 11
end_if

if I_CompareCounter settlementowner_Athenai != 11
and I_SettlementOwner Athenai = britons
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 11
end_if

if I_CompareCounter settlementowner_Augila_settlement != 11
and I_SettlementOwner Augila_settlement = britons
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 11
end_if

if I_CompareCounter settlementowner_Seleukeia != 11
and I_SettlementOwner Seleukeia = britons
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 11
end_if

if I_CompareCounter settlementowner_Baktra != 11
and I_SettlementOwner Baktra = britons
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 11
end_if

if I_CompareCounter settlementowner_Bocchoris != 11
and I_SettlementOwner Bocchoris = britons
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 11
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 11
and I_SettlementOwner Gawjam_Bastarnoz = britons
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 11
end_if

if I_CompareCounter settlementowner_Mastia != 11
and I_SettlementOwner Mastia = britons
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 11
end_if

if I_CompareCounter settlementowner_Avaricum != 11
and I_SettlementOwner Avaricum = britons
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 11
end_if

if I_CompareCounter settlementowner_Bratosporios != 11
and I_SettlementOwner Bratosporios = britons
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 11
end_if

if I_CompareCounter settlementowner_Nikaia != 11
and I_SettlementOwner Nikaia = britons
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 11
end_if

if I_CompareCounter settlementowner_Pantikapaion != 11
and I_SettlementOwner Pantikapaion = britons
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 11
end_if

if I_CompareCounter settlementowner_Rhegion != 11
and I_SettlementOwner Rhegion = britons
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 11
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 11
and I_SettlementOwner Caern_Brigantae = britons
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 11
end_if

if I_CompareCounter settlementowner_Gelonus != 11
and I_SettlementOwner Gelonus = britons
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 11
end_if

if I_CompareCounter settlementowner_Adrumeto != 11
and I_SettlementOwner Adrumeto = britons
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 11
end_if

if I_CompareCounter settlementowner_Attuaca != 11
and I_SettlementOwner Attuaca = britons
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 11
end_if

if I_CompareCounter settlementowner_Capua != 11
and I_SettlementOwner Capua = britons
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 11
end_if

if I_CompareCounter settlementowner_Vellika != 11
and I_SettlementOwner Vellika = britons
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 11
end_if

if I_CompareCounter settlementowner_Baikor != 11
and I_SettlementOwner Baikor = britons
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 11
end_if

if I_CompareCounter settlementowner_Camulosadae != 11
and I_SettlementOwner Camulosadae = britons
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 11
end_if

if I_CompareCounter settlementowner_Numantia != 11
and I_SettlementOwner Numantia = britons
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 11
end_if

if I_CompareCounter settlementowner_Charax != 11
and I_SettlementOwner Charax = britons
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 11
end_if

if I_CompareCounter settlementowner_Byzantion != 11
and I_SettlementOwner Byzantion = britons
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 11
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 11
and I_SettlementOwner Ptolemais_Theron = britons
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 11
end_if

if I_CompareCounter settlementowner_Ratae != 11
and I_SettlementOwner Ratae = britons
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 11
end_if

if I_CompareCounter settlementowner_Ictis != 11
and I_SettlementOwner Ictis = britons
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 11
end_if

if I_CompareCounter settlementowner_Lucarottea != 11
and I_SettlementOwner Lucarottea = britons
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 11
end_if

if I_CompareCounter settlementowner_Emain_Macha != 11
and I_SettlementOwner Emain_Macha = britons
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 11
end_if

if I_CompareCounter settlementowner_Atiqa != 11
and I_SettlementOwner Atiqa = britons
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 11
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 11
and I_SettlementOwner Ynys_Mon = britons
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 11
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 11
and I_SettlementOwner Gava_Alanna = britons
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 11
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 11
and I_SettlementOwner Gava_Aursa = britons
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 11
end_if

if I_CompareCounter settlementowner_Nisa != 11
and I_SettlementOwner Nisa = britons
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 11
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 11
and I_SettlementOwner Gava_Haomavarga = britons
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 11
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 11
and I_SettlementOwner Gava_Mazsakata = britons
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 11
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 11
and I_SettlementOwner Gava_Roxsalanna = britons
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 11
end_if

if I_CompareCounter settlementowner_Uspe != 11
and I_SettlementOwner Uspe = britons
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 11
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 11
and I_SettlementOwner Gava_Thissakata = britons
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 11
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 11
and I_SettlementOwner Gava_Yazyga = britons
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 11
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 11
and I_SettlementOwner Gava_Yugra = britons
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 11
end_if

if I_CompareCounter settlementowner_Dalminion != 11
and I_SettlementOwner Dalminion = britons
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 11
end_if

if I_CompareCounter settlementowner_Serdike != 11
and I_SettlementOwner Serdike = britons
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 11
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 11
and I_SettlementOwner Alexandreia_Eschate = britons
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 11
end_if

if I_CompareCounter settlementowner_Alexandreia != 11
and I_SettlementOwner Alexandreia = britons
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 11
end_if

if I_CompareCounter settlementowner_Axum != 11
and I_SettlementOwner Axum = britons
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 11
end_if

if I_CompareCounter settlementowner_Prophthasia != 11
and I_SettlementOwner Prophthasia = britons
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 11
end_if

if I_CompareCounter settlementowner_Arse != 11
and I_SettlementOwner Arse = britons
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 11
end_if

if I_CompareCounter settlementowner_Kotais != 11
and I_SettlementOwner Kotais = britons
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 11
end_if

if I_CompareCounter settlementowner_Lilibeo != 11
and I_SettlementOwner Lilibeo = britons
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 11
end_if

if I_CompareCounter settlementowner_Susa != 11
and I_SettlementOwner Susa = britons
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 11
end_if

if I_CompareCounter settlementowner_Apollonia != 11
and I_SettlementOwner Apollonia = britons
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 11
end_if

if I_CompareCounter settlementowner_Ivernis != 11
and I_SettlementOwner Ivernis = britons
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 11
end_if

if I_CompareCounter settlementowner_Ak_Ink != 11
and I_SettlementOwner Ak_Ink = britons
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 11
end_if

if I_CompareCounter settlementowner_Arretium != 11
and I_SettlementOwner Arretium = britons
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 11
end_if

if I_CompareCounter settlementowner_Chalkis != 11
and I_SettlementOwner Chalkis = britons
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 11
end_if

if I_CompareCounter settlementowner_Gabai != 11
and I_SettlementOwner Gabai = britons
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 11
end_if

if I_CompareCounter settlementowner_Tuat != 11
and I_SettlementOwner Tuat = britons
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 11
end_if

if I_CompareCounter settlementowner_Tyde != 11
and I_SettlementOwner Tyde = britons
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 11
end_if

if I_CompareCounter settlementowner_Ankyra != 11
and I_SettlementOwner Ankyra = britons
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 11
end_if

if I_CompareCounter settlementowner_Taksashila != 11
and I_SettlementOwner Taksashila = britons
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 11
end_if

if I_CompareCounter settlementowner_Pura != 11
and I_SettlementOwner Pura = britons
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 11
end_if

if I_CompareCounter settlementowner_Gerrha != 11
and I_SettlementOwner Gerrha = britons
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 11
end_if

if I_CompareCounter settlementowner_Buridava != 11
and I_SettlementOwner Buridava = britons
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 11
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 11
and I_SettlementOwner Sarmiszegethusa = britons
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 11
end_if

if I_CompareCounter settlementowner_Massalia != 11
and I_SettlementOwner Massalia = britons
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 11
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 11
and I_SettlementOwner Gawjam_Habukoz = britons
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 11
end_if

if I_CompareCounter settlementowner_Sabata != 11
and I_SettlementOwner Sabata = britons
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 11
end_if

if I_CompareCounter settlementowner_Arctaunon != 11
and I_SettlementOwner Arctaunon = britons
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 11
end_if

if I_CompareCounter settlementowner_Armavir != 11
and I_SettlementOwner Armavir = britons
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 11
end_if

if I_CompareCounter settlementowner_Aventicos != 11
and I_SettlementOwner Aventicos = britons
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 11
end_if

if I_CompareCounter settlementowner_Memphis != 11
and I_SettlementOwner Memphis = britons
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 11
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 11
and I_SettlementOwner Gawjam_Heruskoz = britons
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 11
end_if

if I_CompareCounter settlementowner_Zadrakata != 11
and I_SettlementOwner Zadrakata = britons
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 11
end_if

if I_CompareCounter settlementowner_Epidamnos != 11
and I_SettlementOwner Epidamnos = britons
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 11
end_if

if I_CompareCounter settlementowner_Mediolanum != 11
and I_SettlementOwner Mediolanum = britons
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 11
end_if

if I_CompareCounter settlementowner_Hierosolyma != 11
and I_SettlementOwner Hierosolyma = britons
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 11
end_if

if I_CompareCounter settlementowner_Taras != 11
and I_SettlementOwner Taras = britons
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 11
end_if

if I_CompareCounter settlementowner_Chach != 11
and I_SettlementOwner Chach = britons
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 11
end_if

if I_CompareCounter settlementowner_Mazaka != 11
and I_SettlementOwner Mazaka = britons
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 11
end_if

if I_CompareCounter settlementowner_Amaseia != 11
and I_SettlementOwner Amaseia = britons
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 11
end_if

if I_CompareCounter settlementowner_Halikarnassos != 11
and I_SettlementOwner Halikarnassos = britons
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 11
end_if

if I_CompareCounter settlementowner_Karmana != 11
and I_SettlementOwner Karmana = britons
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 11
end_if

if I_CompareCounter settlementowner_Mtskheta != 11
and I_SettlementOwner Mtskheta = britons
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 11
end_if

if I_CompareCounter settlementowner_Apameia != 11
and I_SettlementOwner Apameia = britons
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 11
end_if

if I_CompareCounter settlementowner_Khiva != 11
and I_SettlementOwner Khiva = britons
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 11
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 11
and I_SettlementOwner Tarsos = britons
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 11
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 11
and I_SettlementOwner Gawjam_Kimbroz = britons
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 11
end_if

if I_CompareCounter settlementowner_Alalia != 11
and I_SettlementOwner Alalia = britons
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 11
end_if

if I_CompareCounter settlementowner_Kydonia != 11
and I_SettlementOwner Kydonia = britons
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 11
end_if

if I_CompareCounter settlementowner_Meroe != 11
and I_SettlementOwner Meroe = britons
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 11
end_if

if I_CompareCounter settlementowner_Salamis != 11
and I_SettlementOwner Salamis = britons
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 11
end_if

if I_CompareCounter settlementowner_Kyrene != 11
and I_SettlementOwner Kyrene = britons
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 11
end_if

if I_CompareCounter settlementowner_Emporion != 11
and I_SettlementOwner Emporion = britons
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 11
end_if

if I_CompareCounter settlementowner_Sparte != 11
and I_SettlementOwner Sparte = britons
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 11
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 11
and I_SettlementOwner Gawjam_Gotanoz = britons
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 11
end_if

if I_CompareCounter settlementowner_Rome != 11
and I_SettlementOwner Rome = britons
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 11
end_if

if I_CompareCounter settlementowner_Lemonum != 11
and I_SettlementOwner Lemonum = britons
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 11
end_if

if I_CompareCounter settlementowner_Mytilene != 11
and I_SettlementOwner Mytilene = britons
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 11
end_if

if I_CompareCounter settlementowner_Ammonion != 11
and I_SettlementOwner Ammonion = britons
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 11
end_if

if I_CompareCounter settlementowner_Segesta != 11
and I_SettlementOwner Segesta = britons
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 11
end_if

if I_CompareCounter settlementowner_Viennos != 11
and I_SettlementOwner Viennos = britons
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 11
end_if

if I_CompareCounter settlementowner_Carrodunum != 11
and I_SettlementOwner Carrodunum = britons
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 11
end_if

if I_CompareCounter settlementowner_Oxtraca != 11
and I_SettlementOwner Oxtraca = britons
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 11
end_if

if I_CompareCounter settlementowner_Sardis != 11
and I_SettlementOwner Sardis = britons
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 11
end_if

if I_CompareCounter settlementowner_Tanais != 11
and I_SettlementOwner Tanais = britons
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 11
end_if

if I_CompareCounter settlementowner_Carna != 11
and I_SettlementOwner Carna = britons
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 11
end_if

if I_CompareCounter settlementowner_Pella != 11
and I_SettlementOwner Pella = britons
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 11
end_if

if I_CompareCounter settlementowner_Homna != 11
and I_SettlementOwner Homna = britons
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 11
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 11
and I_SettlementOwner Antiocheia_Margiane = britons
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 11
end_if

if I_CompareCounter settlementowner_Paraitonion != 11
and I_SettlementOwner Paraitonion = britons
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 11
end_if

if I_CompareCounter settlementowner_Ippone != 11
and I_SettlementOwner Ippone = britons
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 11
end_if

if I_CompareCounter settlementowner_Sala != 11
and I_SettlementOwner Sala = britons
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 11
end_if

if I_CompareCounter settlementowner_Siga != 11
and I_SettlementOwner Siga = britons
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 11
end_if

if I_CompareCounter settlementowner_Lixus != 11
and I_SettlementOwner Lixus = britons
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 11
end_if

if I_CompareCounter settlementowner_Ekbatana != 11
and I_SettlementOwner Ekbatana = britons
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 11
end_if

if I_CompareCounter settlementowner_Kallatis != 11
and I_SettlementOwner Kallatis = britons
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 11
end_if

if I_CompareCounter settlementowner_Bibracte != 11
and I_SettlementOwner Bibracte = britons
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 11
end_if

if I_CompareCounter settlementowner_Cenabum != 11
and I_SettlementOwner Cenabum = britons
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 11
end_if

if I_CompareCounter settlementowner_Eburonum != 11
and I_SettlementOwner Eburonum = britons
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 11
end_if

if I_CompareCounter settlementowner_Pergamon != 11
and I_SettlementOwner Pergamon = britons
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 11
end_if

if I_CompareCounter settlementowner_Bostra != 11
and I_SettlementOwner Bostra = britons
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 11
end_if

if I_CompareCounter settlementowner_Bagacos != 11
and I_SettlementOwner Bagacos = britons
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 11
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 11
and I_SettlementOwner Gordu_Neuriji = britons
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 11
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 11
and I_SettlementOwner Iuvavoaeta = britons
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 11
end_if

if I_CompareCounter settlementowner_Kirtan != 11
and I_SettlementOwner Kirtan = britons
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 11
end_if

if I_CompareCounter settlementowner_Hibis != 11
and I_SettlementOwner Hibis = britons
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 11
end_if

if I_CompareCounter settlementowner_Tylis != 11
and I_SettlementOwner Tylis = britons
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 11
end_if

if I_CompareCounter settlementowner_Side != 11
and I_SettlementOwner Side = britons
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 11
end_if

if I_CompareCounter settlementowner_Vindobona != 11
and I_SettlementOwner Vindobona = britons
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 11
end_if

if I_CompareCounter settlementowner_Segestica != 11
and I_SettlementOwner Segestica = britons
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 11
end_if

if I_CompareCounter settlementowner_Sinope != 11
and I_SettlementOwner Sinope = britons
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 11
end_if

if I_CompareCounter settlementowner_Kophen != 11
and I_SettlementOwner Kophen = britons
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 11
end_if

if I_CompareCounter settlementowner_Hekatompylos != 11
and I_SettlementOwner Hekatompylos = britons
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 11
end_if

if I_CompareCounter settlementowner_Korinthos != 11
and I_SettlementOwner Korinthos = britons
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 11
end_if

if I_CompareCounter settlementowner_Persepolis != 11
and I_SettlementOwner Persepolis = britons
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 11
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 11
and I_SettlementOwner Garama = britons
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 11
end_if

if I_CompareCounter settlementowner_Sidon != 11
and I_SettlementOwner Sidon = britons
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 11
end_if

if I_CompareCounter settlementowner_Ipsos != 11
and I_SettlementOwner Ipsos = britons
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 11
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 11
and I_SettlementOwner Ani-Kamah = britons
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 11
end_if

if I_CompareCounter settlementowner_Trapezous != 11
and I_SettlementOwner Trapezous = britons
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 11
end_if

if I_CompareCounter settlementowner_Tamane != 11
and I_SettlementOwner Tamane = britons
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 11
end_if

if I_CompareCounter settlementowner_Veldideno != 11
and I_SettlementOwner Veldideno = britons
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 11
end_if

if I_CompareCounter settlementowner_Rhodos != 11
and I_SettlementOwner Rhodos = britons
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 11
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 11
and I_SettlementOwner Gawjam_Rugoz = britons
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 11
end_if

if I_CompareCounter settlementowner_Maryab != 11
and I_SettlementOwner Maryab = britons
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 11
end_if

if I_CompareCounter settlementowner_Terhazza != 11
and I_SettlementOwner Terhazza = britons
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 11
end_if

if I_CompareCounter settlementowner_Gava_Saka != 11
and I_SettlementOwner Gava_Saka = britons
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 11
end_if

if I_CompareCounter settlementowner_Asodat != 11
and I_SettlementOwner Asodat = britons
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 11
end_if

if I_CompareCounter settlementowner_Karali != 11
and I_SettlementOwner Karali = britons
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 11
end_if

if I_CompareCounter settlementowner_Opiana != 11
and I_SettlementOwner Opiana = britons
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 11
end_if

if I_CompareCounter settlementowner_Singidunum != 11
and I_SettlementOwner Singidunum = britons
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 11
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 11
and I_SettlementOwner Seliun_Pilis = britons
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 11
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 11
and I_SettlementOwner Gintaras_Ostan = britons
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 11
end_if

if I_CompareCounter settlementowner_Vesontio != 11
and I_SettlementOwner Vesontio = britons
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 11
end_if

if I_CompareCounter settlementowner_Messana != 11
and I_SettlementOwner Messana = britons
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 11
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 11
and I_SettlementOwner Gawjam_Silengoz = britons
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 11
end_if

if I_CompareCounter settlementowner_Petra != 11
and I_SettlementOwner Petra = britons
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 11
end_if

if I_CompareCounter settlementowner_Patala != 11
and I_SettlementOwner Patala = britons
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 11
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 11
and I_SettlementOwner Gawjam_Skandzawarjoz = britons
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 11
end_if

if I_CompareCounter settlementowner_Olbia != 11
and I_SettlementOwner Olbia = britons
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 11
end_if

if I_CompareCounter settlementowner_Marakanda != 11
and I_SettlementOwner Marakanda = britons
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 11
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 11
and I_SettlementOwner Karkathiokerta = britons
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 11
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 11
and I_SettlementOwner Swebotraustastamnoz = britons
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 11
end_if

if I_CompareCounter settlementowner_Antiocheia != 11
and I_SettlementOwner Antiocheia = britons
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 11
end_if

if I_CompareCounter settlementowner_Damaskos != 11
and I_SettlementOwner Damaskos = britons
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 11
end_if

if I_CompareCounter settlementowner_Palmyra != 11
and I_SettlementOwner Palmyra = britons
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 11
end_if

if I_CompareCounter settlementowner_Chersonesos != 11
and I_SettlementOwner Chersonesos = britons
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 11
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 11
and I_SettlementOwner Diospolis_Megale = britons
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 11
end_if

if I_CompareCounter settlementowner_Demetrias != 11
and I_SettlementOwner Demetrias = britons
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 11
end_if

if I_CompareCounter settlementowner_Naissos != 11
and I_SettlementOwner Naissos = britons
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 11
end_if

if I_CompareCounter settlementowner_Ascaucalis != 11
and I_SettlementOwner Ascaucalis = britons
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 11
end_if

if I_CompareCounter settlementowner_Pselkis != 11
and I_SettlementOwner Pselkis = britons
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 11
end_if

if I_CompareCounter settlementowner_Syracuse != 11
and I_SettlementOwner Syracuse = britons
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 11
end_if

if I_CompareCounter settlementowner_Lepki != 11
and I_SettlementOwner Lepki = britons
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 11
end_if

if I_CompareCounter settlementowner_Gader != 11
and I_SettlementOwner Gader = britons
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 11
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 11
and I_SettlementOwner Sucum-Murgi = britons
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 11
end_if

if I_CompareCounter settlementowner_Ariminum != 11
and I_SettlementOwner Ariminum = britons
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 11
end_if

if I_CompareCounter settlementowner_Patavium != 11
and I_SettlementOwner Patavium = britons
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 11
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 11
and I_SettlementOwner Vindelicoppidos = britons
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 11
end_if

if I_CompareCounter settlementowner_Tolosa != 11
and I_SettlementOwner Tolosa = britons
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 11
end_if

if I_CompareCounter settlementowner_Chighu != 11
and I_SettlementOwner Chighu = britons
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 11
end_if

if I_CompareCounter settlementowner_Sulek != 11
and I_SettlementOwner Sulek = britons
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 11
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 11
and I_SettlementOwner Kart_Hadast = britons
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 11
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 11
and I_SettlementOwner Ubar = britons
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 11
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction spain
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 12
and I_SettlementOwner Arbela = spain
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 12
end_if

if I_CompareCounter settlementowner_Phraaspa != 12
and I_SettlementOwner Phraaspa = spain
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 12
end_if

if I_CompareCounter settlementowner_Bononia != 12
and I_SettlementOwner Bononia = spain
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 12
end_if

if I_CompareCounter settlementowner_Kabalaka != 12
and I_SettlementOwner Kabalaka = spain
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 12
end_if

if I_CompareCounter settlementowner_Thermon != 12
and I_SettlementOwner Thermon = spain
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 12
end_if

if I_CompareCounter settlementowner_Arpi != 12
and I_SettlementOwner Arpi = spain
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 12
end_if

if I_CompareCounter settlementowner_Burdigala != 12
and I_SettlementOwner Burdigala = spain
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 12
end_if

if I_CompareCounter settlementowner_Babylon != 12
and I_SettlementOwner Babylon = spain
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 12
end_if

if I_CompareCounter settlementowner_Alexandropolis != 12
and I_SettlementOwner Alexandropolis = spain
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 12
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 12
and I_SettlementOwner Alexandreia_Ariana = spain
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 12
end_if

if I_CompareCounter settlementowner_Darioritum != 12
and I_SettlementOwner Darioritum = spain
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 12
end_if

if I_CompareCounter settlementowner_Gergovia != 12
and I_SettlementOwner Gergovia = spain
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 12
end_if

if I_CompareCounter settlementowner_Edessa != 12
and I_SettlementOwner Edessa = spain
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 12
end_if

if I_CompareCounter settlementowner_Asaak != 12
and I_SettlementOwner Asaak = spain
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 12
end_if

if I_CompareCounter settlementowner_Pallantia != 12
and I_SettlementOwner Pallantia = spain
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 12
end_if

if I_CompareCounter settlementowner_Athenai != 12
and I_SettlementOwner Athenai = spain
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 12
end_if

if I_CompareCounter settlementowner_Augila_settlement != 12
and I_SettlementOwner Augila_settlement = spain
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 12
end_if

if I_CompareCounter settlementowner_Seleukeia != 12
and I_SettlementOwner Seleukeia = spain
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 12
end_if

if I_CompareCounter settlementowner_Baktra != 12
and I_SettlementOwner Baktra = spain
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 12
end_if

if I_CompareCounter settlementowner_Bocchoris != 12
and I_SettlementOwner Bocchoris = spain
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 12
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 12
and I_SettlementOwner Gawjam_Bastarnoz = spain
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 12
end_if

if I_CompareCounter settlementowner_Mastia != 12
and I_SettlementOwner Mastia = spain
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 12
end_if

if I_CompareCounter settlementowner_Avaricum != 12
and I_SettlementOwner Avaricum = spain
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 12
end_if

if I_CompareCounter settlementowner_Bratosporios != 12
and I_SettlementOwner Bratosporios = spain
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 12
end_if

if I_CompareCounter settlementowner_Nikaia != 12
and I_SettlementOwner Nikaia = spain
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 12
end_if

if I_CompareCounter settlementowner_Pantikapaion != 12
and I_SettlementOwner Pantikapaion = spain
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 12
end_if

if I_CompareCounter settlementowner_Rhegion != 12
and I_SettlementOwner Rhegion = spain
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 12
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 12
and I_SettlementOwner Caern_Brigantae = spain
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 12
end_if

if I_CompareCounter settlementowner_Gelonus != 12
and I_SettlementOwner Gelonus = spain
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 12
end_if

if I_CompareCounter settlementowner_Adrumeto != 12
and I_SettlementOwner Adrumeto = spain
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 12
end_if

if I_CompareCounter settlementowner_Attuaca != 12
and I_SettlementOwner Attuaca = spain
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 12
end_if

if I_CompareCounter settlementowner_Capua != 12
and I_SettlementOwner Capua = spain
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 12
end_if

if I_CompareCounter settlementowner_Vellika != 12
and I_SettlementOwner Vellika = spain
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 12
end_if

if I_CompareCounter settlementowner_Baikor != 12
and I_SettlementOwner Baikor = spain
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 12
end_if

if I_CompareCounter settlementowner_Camulosadae != 12
and I_SettlementOwner Camulosadae = spain
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 12
end_if

if I_CompareCounter settlementowner_Numantia != 12
and I_SettlementOwner Numantia = spain
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 12
end_if

if I_CompareCounter settlementowner_Charax != 12
and I_SettlementOwner Charax = spain
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 12
end_if

if I_CompareCounter settlementowner_Byzantion != 12
and I_SettlementOwner Byzantion = spain
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 12
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 12
and I_SettlementOwner Ptolemais_Theron = spain
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 12
end_if

if I_CompareCounter settlementowner_Ratae != 12
and I_SettlementOwner Ratae = spain
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 12
end_if

if I_CompareCounter settlementowner_Ictis != 12
and I_SettlementOwner Ictis = spain
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 12
end_if

if I_CompareCounter settlementowner_Lucarottea != 12
and I_SettlementOwner Lucarottea = spain
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 12
end_if

if I_CompareCounter settlementowner_Emain_Macha != 12
and I_SettlementOwner Emain_Macha = spain
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 12
end_if

if I_CompareCounter settlementowner_Atiqa != 12
and I_SettlementOwner Atiqa = spain
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 12
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 12
and I_SettlementOwner Ynys_Mon = spain
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 12
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 12
and I_SettlementOwner Gava_Alanna = spain
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 12
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 12
and I_SettlementOwner Gava_Aursa = spain
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 12
end_if

if I_CompareCounter settlementowner_Nisa != 12
and I_SettlementOwner Nisa = spain
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 12
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 12
and I_SettlementOwner Gava_Haomavarga = spain
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 12
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 12
and I_SettlementOwner Gava_Mazsakata = spain
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 12
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 12
and I_SettlementOwner Gava_Roxsalanna = spain
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 12
end_if

if I_CompareCounter settlementowner_Uspe != 12
and I_SettlementOwner Uspe = spain
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 12
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 12
and I_SettlementOwner Gava_Thissakata = spain
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 12
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 12
and I_SettlementOwner Gava_Yazyga = spain
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 12
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 12
and I_SettlementOwner Gava_Yugra = spain
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 12
end_if

if I_CompareCounter settlementowner_Dalminion != 12
and I_SettlementOwner Dalminion = spain
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 12
end_if

if I_CompareCounter settlementowner_Serdike != 12
and I_SettlementOwner Serdike = spain
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 12
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 12
and I_SettlementOwner Alexandreia_Eschate = spain
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 12
end_if

if I_CompareCounter settlementowner_Alexandreia != 12
and I_SettlementOwner Alexandreia = spain
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 12
end_if

if I_CompareCounter settlementowner_Axum != 12
and I_SettlementOwner Axum = spain
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 12
end_if

if I_CompareCounter settlementowner_Prophthasia != 12
and I_SettlementOwner Prophthasia = spain
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 12
end_if

if I_CompareCounter settlementowner_Arse != 12
and I_SettlementOwner Arse = spain
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 12
end_if

if I_CompareCounter settlementowner_Kotais != 12
and I_SettlementOwner Kotais = spain
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 12
end_if

if I_CompareCounter settlementowner_Lilibeo != 12
and I_SettlementOwner Lilibeo = spain
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 12
end_if

if I_CompareCounter settlementowner_Susa != 12
and I_SettlementOwner Susa = spain
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 12
end_if

if I_CompareCounter settlementowner_Apollonia != 12
and I_SettlementOwner Apollonia = spain
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 12
end_if

if I_CompareCounter settlementowner_Ivernis != 12
and I_SettlementOwner Ivernis = spain
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 12
end_if

if I_CompareCounter settlementowner_Ak_Ink != 12
and I_SettlementOwner Ak_Ink = spain
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 12
end_if

if I_CompareCounter settlementowner_Arretium != 12
and I_SettlementOwner Arretium = spain
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 12
end_if

if I_CompareCounter settlementowner_Chalkis != 12
and I_SettlementOwner Chalkis = spain
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 12
end_if

if I_CompareCounter settlementowner_Gabai != 12
and I_SettlementOwner Gabai = spain
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 12
end_if

if I_CompareCounter settlementowner_Tuat != 12
and I_SettlementOwner Tuat = spain
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 12
end_if

if I_CompareCounter settlementowner_Tyde != 12
and I_SettlementOwner Tyde = spain
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 12
end_if

if I_CompareCounter settlementowner_Ankyra != 12
and I_SettlementOwner Ankyra = spain
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 12
end_if

if I_CompareCounter settlementowner_Taksashila != 12
and I_SettlementOwner Taksashila = spain
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 12
end_if

if I_CompareCounter settlementowner_Pura != 12
and I_SettlementOwner Pura = spain
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 12
end_if

if I_CompareCounter settlementowner_Gerrha != 12
and I_SettlementOwner Gerrha = spain
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 12
end_if

if I_CompareCounter settlementowner_Buridava != 12
and I_SettlementOwner Buridava = spain
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 12
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 12
and I_SettlementOwner Sarmiszegethusa = spain
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 12
end_if

if I_CompareCounter settlementowner_Massalia != 12
and I_SettlementOwner Massalia = spain
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 12
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 12
and I_SettlementOwner Gawjam_Habukoz = spain
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 12
end_if

if I_CompareCounter settlementowner_Sabata != 12
and I_SettlementOwner Sabata = spain
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 12
end_if

if I_CompareCounter settlementowner_Arctaunon != 12
and I_SettlementOwner Arctaunon = spain
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 12
end_if

if I_CompareCounter settlementowner_Armavir != 12
and I_SettlementOwner Armavir = spain
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 12
end_if

if I_CompareCounter settlementowner_Aventicos != 12
and I_SettlementOwner Aventicos = spain
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 12
end_if

if I_CompareCounter settlementowner_Memphis != 12
and I_SettlementOwner Memphis = spain
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 12
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 12
and I_SettlementOwner Gawjam_Heruskoz = spain
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 12
end_if

if I_CompareCounter settlementowner_Zadrakata != 12
and I_SettlementOwner Zadrakata = spain
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 12
end_if

if I_CompareCounter settlementowner_Epidamnos != 12
and I_SettlementOwner Epidamnos = spain
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 12
end_if

if I_CompareCounter settlementowner_Mediolanum != 12
and I_SettlementOwner Mediolanum = spain
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 12
end_if

if I_CompareCounter settlementowner_Hierosolyma != 12
and I_SettlementOwner Hierosolyma = spain
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 12
end_if

if I_CompareCounter settlementowner_Taras != 12
and I_SettlementOwner Taras = spain
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 12
end_if

if I_CompareCounter settlementowner_Chach != 12
and I_SettlementOwner Chach = spain
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 12
end_if

if I_CompareCounter settlementowner_Mazaka != 12
and I_SettlementOwner Mazaka = spain
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 12
end_if

if I_CompareCounter settlementowner_Amaseia != 12
and I_SettlementOwner Amaseia = spain
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 12
end_if

if I_CompareCounter settlementowner_Halikarnassos != 12
and I_SettlementOwner Halikarnassos = spain
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 12
end_if

if I_CompareCounter settlementowner_Karmana != 12
and I_SettlementOwner Karmana = spain
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 12
end_if

if I_CompareCounter settlementowner_Mtskheta != 12
and I_SettlementOwner Mtskheta = spain
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 12
end_if

if I_CompareCounter settlementowner_Apameia != 12
and I_SettlementOwner Apameia = spain
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 12
end_if

if I_CompareCounter settlementowner_Khiva != 12
and I_SettlementOwner Khiva = spain
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 12
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 12
and I_SettlementOwner Tarsos = spain
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 12
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 12
and I_SettlementOwner Gawjam_Kimbroz = spain
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 12
end_if

if I_CompareCounter settlementowner_Alalia != 12
and I_SettlementOwner Alalia = spain
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 12
end_if

if I_CompareCounter settlementowner_Kydonia != 12
and I_SettlementOwner Kydonia = spain
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 12
end_if

if I_CompareCounter settlementowner_Meroe != 12
and I_SettlementOwner Meroe = spain
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 12
end_if

if I_CompareCounter settlementowner_Salamis != 12
and I_SettlementOwner Salamis = spain
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 12
end_if

if I_CompareCounter settlementowner_Kyrene != 12
and I_SettlementOwner Kyrene = spain
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 12
end_if

if I_CompareCounter settlementowner_Emporion != 12
and I_SettlementOwner Emporion = spain
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 12
end_if

if I_CompareCounter settlementowner_Sparte != 12
and I_SettlementOwner Sparte = spain
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 12
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 12
and I_SettlementOwner Gawjam_Gotanoz = spain
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 12
end_if

if I_CompareCounter settlementowner_Rome != 12
and I_SettlementOwner Rome = spain
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 12
end_if

if I_CompareCounter settlementowner_Lemonum != 12
and I_SettlementOwner Lemonum = spain
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 12
end_if

if I_CompareCounter settlementowner_Mytilene != 12
and I_SettlementOwner Mytilene = spain
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 12
end_if

if I_CompareCounter settlementowner_Ammonion != 12
and I_SettlementOwner Ammonion = spain
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 12
end_if

if I_CompareCounter settlementowner_Segesta != 12
and I_SettlementOwner Segesta = spain
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 12
end_if

if I_CompareCounter settlementowner_Viennos != 12
and I_SettlementOwner Viennos = spain
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 12
end_if

if I_CompareCounter settlementowner_Carrodunum != 12
and I_SettlementOwner Carrodunum = spain
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 12
end_if

if I_CompareCounter settlementowner_Oxtraca != 12
and I_SettlementOwner Oxtraca = spain
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 12
end_if

if I_CompareCounter settlementowner_Sardis != 12
and I_SettlementOwner Sardis = spain
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 12
end_if

if I_CompareCounter settlementowner_Tanais != 12
and I_SettlementOwner Tanais = spain
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 12
end_if

if I_CompareCounter settlementowner_Carna != 12
and I_SettlementOwner Carna = spain
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 12
end_if

if I_CompareCounter settlementowner_Pella != 12
and I_SettlementOwner Pella = spain
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 12
end_if

if I_CompareCounter settlementowner_Homna != 12
and I_SettlementOwner Homna = spain
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 12
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 12
and I_SettlementOwner Antiocheia_Margiane = spain
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 12
end_if

if I_CompareCounter settlementowner_Paraitonion != 12
and I_SettlementOwner Paraitonion = spain
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 12
end_if

if I_CompareCounter settlementowner_Ippone != 12
and I_SettlementOwner Ippone = spain
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 12
end_if

if I_CompareCounter settlementowner_Sala != 12
and I_SettlementOwner Sala = spain
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 12
end_if

if I_CompareCounter settlementowner_Siga != 12
and I_SettlementOwner Siga = spain
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 12
end_if

if I_CompareCounter settlementowner_Lixus != 12
and I_SettlementOwner Lixus = spain
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 12
end_if

if I_CompareCounter settlementowner_Ekbatana != 12
and I_SettlementOwner Ekbatana = spain
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 12
end_if

if I_CompareCounter settlementowner_Kallatis != 12
and I_SettlementOwner Kallatis = spain
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 12
end_if

if I_CompareCounter settlementowner_Bibracte != 12
and I_SettlementOwner Bibracte = spain
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 12
end_if

if I_CompareCounter settlementowner_Cenabum != 12
and I_SettlementOwner Cenabum = spain
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 12
end_if

if I_CompareCounter settlementowner_Eburonum != 12
and I_SettlementOwner Eburonum = spain
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 12
end_if

if I_CompareCounter settlementowner_Pergamon != 12
and I_SettlementOwner Pergamon = spain
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 12
end_if

if I_CompareCounter settlementowner_Bostra != 12
and I_SettlementOwner Bostra = spain
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 12
end_if

if I_CompareCounter settlementowner_Bagacos != 12
and I_SettlementOwner Bagacos = spain
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 12
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 12
and I_SettlementOwner Gordu_Neuriji = spain
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 12
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 12
and I_SettlementOwner Iuvavoaeta = spain
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 12
end_if

if I_CompareCounter settlementowner_Kirtan != 12
and I_SettlementOwner Kirtan = spain
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 12
end_if

if I_CompareCounter settlementowner_Hibis != 12
and I_SettlementOwner Hibis = spain
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 12
end_if

if I_CompareCounter settlementowner_Tylis != 12
and I_SettlementOwner Tylis = spain
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 12
end_if

if I_CompareCounter settlementowner_Side != 12
and I_SettlementOwner Side = spain
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 12
end_if

if I_CompareCounter settlementowner_Vindobona != 12
and I_SettlementOwner Vindobona = spain
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 12
end_if

if I_CompareCounter settlementowner_Segestica != 12
and I_SettlementOwner Segestica = spain
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 12
end_if

if I_CompareCounter settlementowner_Sinope != 12
and I_SettlementOwner Sinope = spain
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 12
end_if

if I_CompareCounter settlementowner_Kophen != 12
and I_SettlementOwner Kophen = spain
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 12
end_if

if I_CompareCounter settlementowner_Hekatompylos != 12
and I_SettlementOwner Hekatompylos = spain
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 12
end_if

if I_CompareCounter settlementowner_Korinthos != 12
and I_SettlementOwner Korinthos = spain
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 12
end_if

if I_CompareCounter settlementowner_Persepolis != 12
and I_SettlementOwner Persepolis = spain
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 12
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 12
and I_SettlementOwner Garama = spain
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 12
end_if

if I_CompareCounter settlementowner_Sidon != 12
and I_SettlementOwner Sidon = spain
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 12
end_if

if I_CompareCounter settlementowner_Ipsos != 12
and I_SettlementOwner Ipsos = spain
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 12
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 12
and I_SettlementOwner Ani-Kamah = spain
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 12
end_if

if I_CompareCounter settlementowner_Trapezous != 12
and I_SettlementOwner Trapezous = spain
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 12
end_if

if I_CompareCounter settlementowner_Tamane != 12
and I_SettlementOwner Tamane = spain
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 12
end_if

if I_CompareCounter settlementowner_Veldideno != 12
and I_SettlementOwner Veldideno = spain
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 12
end_if

if I_CompareCounter settlementowner_Rhodos != 12
and I_SettlementOwner Rhodos = spain
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 12
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 12
and I_SettlementOwner Gawjam_Rugoz = spain
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 12
end_if

if I_CompareCounter settlementowner_Maryab != 12
and I_SettlementOwner Maryab = spain
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 12
end_if

if I_CompareCounter settlementowner_Terhazza != 12
and I_SettlementOwner Terhazza = spain
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 12
end_if

if I_CompareCounter settlementowner_Gava_Saka != 12
and I_SettlementOwner Gava_Saka = spain
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 12
end_if

if I_CompareCounter settlementowner_Asodat != 12
and I_SettlementOwner Asodat = spain
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 12
end_if

if I_CompareCounter settlementowner_Karali != 12
and I_SettlementOwner Karali = spain
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 12
end_if

if I_CompareCounter settlementowner_Opiana != 12
and I_SettlementOwner Opiana = spain
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 12
end_if

if I_CompareCounter settlementowner_Singidunum != 12
and I_SettlementOwner Singidunum = spain
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 12
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 12
and I_SettlementOwner Seliun_Pilis = spain
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 12
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 12
and I_SettlementOwner Gintaras_Ostan = spain
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 12
end_if

if I_CompareCounter settlementowner_Vesontio != 12
and I_SettlementOwner Vesontio = spain
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 12
end_if

if I_CompareCounter settlementowner_Messana != 12
and I_SettlementOwner Messana = spain
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 12
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 12
and I_SettlementOwner Gawjam_Silengoz = spain
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 12
end_if

if I_CompareCounter settlementowner_Petra != 12
and I_SettlementOwner Petra = spain
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 12
end_if

if I_CompareCounter settlementowner_Patala != 12
and I_SettlementOwner Patala = spain
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 12
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 12
and I_SettlementOwner Gawjam_Skandzawarjoz = spain
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 12
end_if

if I_CompareCounter settlementowner_Olbia != 12
and I_SettlementOwner Olbia = spain
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 12
end_if

if I_CompareCounter settlementowner_Marakanda != 12
and I_SettlementOwner Marakanda = spain
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 12
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 12
and I_SettlementOwner Karkathiokerta = spain
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 12
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 12
and I_SettlementOwner Swebotraustastamnoz = spain
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 12
end_if

if I_CompareCounter settlementowner_Antiocheia != 12
and I_SettlementOwner Antiocheia = spain
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 12
end_if

if I_CompareCounter settlementowner_Damaskos != 12
and I_SettlementOwner Damaskos = spain
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 12
end_if

if I_CompareCounter settlementowner_Palmyra != 12
and I_SettlementOwner Palmyra = spain
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 12
end_if

if I_CompareCounter settlementowner_Chersonesos != 12
and I_SettlementOwner Chersonesos = spain
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 12
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 12
and I_SettlementOwner Diospolis_Megale = spain
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 12
end_if

if I_CompareCounter settlementowner_Demetrias != 12
and I_SettlementOwner Demetrias = spain
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 12
end_if

if I_CompareCounter settlementowner_Naissos != 12
and I_SettlementOwner Naissos = spain
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 12
end_if

if I_CompareCounter settlementowner_Ascaucalis != 12
and I_SettlementOwner Ascaucalis = spain
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 12
end_if

if I_CompareCounter settlementowner_Pselkis != 12
and I_SettlementOwner Pselkis = spain
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 12
end_if

if I_CompareCounter settlementowner_Syracuse != 12
and I_SettlementOwner Syracuse = spain
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 12
end_if

if I_CompareCounter settlementowner_Lepki != 12
and I_SettlementOwner Lepki = spain
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 12
end_if

if I_CompareCounter settlementowner_Gader != 12
and I_SettlementOwner Gader = spain
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 12
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 12
and I_SettlementOwner Sucum-Murgi = spain
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 12
end_if

if I_CompareCounter settlementowner_Ariminum != 12
and I_SettlementOwner Ariminum = spain
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 12
end_if

if I_CompareCounter settlementowner_Patavium != 12
and I_SettlementOwner Patavium = spain
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 12
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 12
and I_SettlementOwner Vindelicoppidos = spain
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 12
end_if

if I_CompareCounter settlementowner_Tolosa != 12
and I_SettlementOwner Tolosa = spain
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 12
end_if

if I_CompareCounter settlementowner_Chighu != 12
and I_SettlementOwner Chighu = spain
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 12
end_if

if I_CompareCounter settlementowner_Sulek != 12
and I_SettlementOwner Sulek = spain
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 12
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 12
and I_SettlementOwner Kart_Hadast = spain
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 12
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 12
and I_SettlementOwner Ubar = spain
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 12
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction dacia
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 13
and I_SettlementOwner Arbela = dacia
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 13
end_if

if I_CompareCounter settlementowner_Phraaspa != 13
and I_SettlementOwner Phraaspa = dacia
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 13
end_if

if I_CompareCounter settlementowner_Bononia != 13
and I_SettlementOwner Bononia = dacia
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 13
end_if

if I_CompareCounter settlementowner_Kabalaka != 13
and I_SettlementOwner Kabalaka = dacia
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 13
end_if

if I_CompareCounter settlementowner_Thermon != 13
and I_SettlementOwner Thermon = dacia
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 13
end_if

if I_CompareCounter settlementowner_Arpi != 13
and I_SettlementOwner Arpi = dacia
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 13
end_if

if I_CompareCounter settlementowner_Burdigala != 13
and I_SettlementOwner Burdigala = dacia
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 13
end_if

if I_CompareCounter settlementowner_Babylon != 13
and I_SettlementOwner Babylon = dacia
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 13
end_if

if I_CompareCounter settlementowner_Alexandropolis != 13
and I_SettlementOwner Alexandropolis = dacia
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 13
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 13
and I_SettlementOwner Alexandreia_Ariana = dacia
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 13
end_if

if I_CompareCounter settlementowner_Darioritum != 13
and I_SettlementOwner Darioritum = dacia
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 13
end_if

if I_CompareCounter settlementowner_Gergovia != 13
and I_SettlementOwner Gergovia = dacia
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 13
end_if

if I_CompareCounter settlementowner_Edessa != 13
and I_SettlementOwner Edessa = dacia
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 13
end_if

if I_CompareCounter settlementowner_Asaak != 13
and I_SettlementOwner Asaak = dacia
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 13
end_if

if I_CompareCounter settlementowner_Pallantia != 13
and I_SettlementOwner Pallantia = dacia
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 13
end_if

if I_CompareCounter settlementowner_Athenai != 13
and I_SettlementOwner Athenai = dacia
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 13
end_if

if I_CompareCounter settlementowner_Augila_settlement != 13
and I_SettlementOwner Augila_settlement = dacia
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 13
end_if

if I_CompareCounter settlementowner_Seleukeia != 13
and I_SettlementOwner Seleukeia = dacia
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 13
end_if

if I_CompareCounter settlementowner_Baktra != 13
and I_SettlementOwner Baktra = dacia
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 13
end_if

if I_CompareCounter settlementowner_Bocchoris != 13
and I_SettlementOwner Bocchoris = dacia
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 13
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 13
and I_SettlementOwner Gawjam_Bastarnoz = dacia
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 13
end_if

if I_CompareCounter settlementowner_Mastia != 13
and I_SettlementOwner Mastia = dacia
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 13
end_if

if I_CompareCounter settlementowner_Avaricum != 13
and I_SettlementOwner Avaricum = dacia
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 13
end_if

if I_CompareCounter settlementowner_Bratosporios != 13
and I_SettlementOwner Bratosporios = dacia
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 13
end_if

if I_CompareCounter settlementowner_Nikaia != 13
and I_SettlementOwner Nikaia = dacia
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 13
end_if

if I_CompareCounter settlementowner_Pantikapaion != 13
and I_SettlementOwner Pantikapaion = dacia
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 13
end_if

if I_CompareCounter settlementowner_Rhegion != 13
and I_SettlementOwner Rhegion = dacia
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 13
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 13
and I_SettlementOwner Caern_Brigantae = dacia
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 13
end_if

if I_CompareCounter settlementowner_Gelonus != 13
and I_SettlementOwner Gelonus = dacia
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 13
end_if

if I_CompareCounter settlementowner_Adrumeto != 13
and I_SettlementOwner Adrumeto = dacia
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 13
end_if

if I_CompareCounter settlementowner_Attuaca != 13
and I_SettlementOwner Attuaca = dacia
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 13
end_if

if I_CompareCounter settlementowner_Capua != 13
and I_SettlementOwner Capua = dacia
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 13
end_if

if I_CompareCounter settlementowner_Vellika != 13
and I_SettlementOwner Vellika = dacia
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 13
end_if

if I_CompareCounter settlementowner_Baikor != 13
and I_SettlementOwner Baikor = dacia
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 13
end_if

if I_CompareCounter settlementowner_Camulosadae != 13
and I_SettlementOwner Camulosadae = dacia
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 13
end_if

if I_CompareCounter settlementowner_Numantia != 13
and I_SettlementOwner Numantia = dacia
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 13
end_if

if I_CompareCounter settlementowner_Charax != 13
and I_SettlementOwner Charax = dacia
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 13
end_if

if I_CompareCounter settlementowner_Byzantion != 13
and I_SettlementOwner Byzantion = dacia
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 13
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 13
and I_SettlementOwner Ptolemais_Theron = dacia
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 13
end_if

if I_CompareCounter settlementowner_Ratae != 13
and I_SettlementOwner Ratae = dacia
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 13
end_if

if I_CompareCounter settlementowner_Ictis != 13
and I_SettlementOwner Ictis = dacia
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 13
end_if

if I_CompareCounter settlementowner_Lucarottea != 13
and I_SettlementOwner Lucarottea = dacia
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 13
end_if

if I_CompareCounter settlementowner_Emain_Macha != 13
and I_SettlementOwner Emain_Macha = dacia
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 13
end_if

if I_CompareCounter settlementowner_Atiqa != 13
and I_SettlementOwner Atiqa = dacia
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 13
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 13
and I_SettlementOwner Ynys_Mon = dacia
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 13
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 13
and I_SettlementOwner Gava_Alanna = dacia
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 13
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 13
and I_SettlementOwner Gava_Aursa = dacia
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 13
end_if

if I_CompareCounter settlementowner_Nisa != 13
and I_SettlementOwner Nisa = dacia
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 13
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 13
and I_SettlementOwner Gava_Haomavarga = dacia
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 13
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 13
and I_SettlementOwner Gava_Mazsakata = dacia
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 13
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 13
and I_SettlementOwner Gava_Roxsalanna = dacia
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 13
end_if

if I_CompareCounter settlementowner_Uspe != 13
and I_SettlementOwner Uspe = dacia
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 13
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 13
and I_SettlementOwner Gava_Thissakata = dacia
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 13
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 13
and I_SettlementOwner Gava_Yazyga = dacia
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 13
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 13
and I_SettlementOwner Gava_Yugra = dacia
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 13
end_if

if I_CompareCounter settlementowner_Dalminion != 13
and I_SettlementOwner Dalminion = dacia
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 13
end_if

if I_CompareCounter settlementowner_Serdike != 13
and I_SettlementOwner Serdike = dacia
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 13
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 13
and I_SettlementOwner Alexandreia_Eschate = dacia
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 13
end_if

if I_CompareCounter settlementowner_Alexandreia != 13
and I_SettlementOwner Alexandreia = dacia
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 13
end_if

if I_CompareCounter settlementowner_Axum != 13
and I_SettlementOwner Axum = dacia
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 13
end_if

if I_CompareCounter settlementowner_Prophthasia != 13
and I_SettlementOwner Prophthasia = dacia
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 13
end_if

if I_CompareCounter settlementowner_Arse != 13
and I_SettlementOwner Arse = dacia
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 13
end_if

if I_CompareCounter settlementowner_Kotais != 13
and I_SettlementOwner Kotais = dacia
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 13
end_if

if I_CompareCounter settlementowner_Lilibeo != 13
and I_SettlementOwner Lilibeo = dacia
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 13
end_if

if I_CompareCounter settlementowner_Susa != 13
and I_SettlementOwner Susa = dacia
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 13
end_if

if I_CompareCounter settlementowner_Apollonia != 13
and I_SettlementOwner Apollonia = dacia
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 13
end_if

if I_CompareCounter settlementowner_Ivernis != 13
and I_SettlementOwner Ivernis = dacia
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 13
end_if

if I_CompareCounter settlementowner_Ak_Ink != 13
and I_SettlementOwner Ak_Ink = dacia
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 13
end_if

if I_CompareCounter settlementowner_Arretium != 13
and I_SettlementOwner Arretium = dacia
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 13
end_if

if I_CompareCounter settlementowner_Chalkis != 13
and I_SettlementOwner Chalkis = dacia
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 13
end_if

if I_CompareCounter settlementowner_Gabai != 13
and I_SettlementOwner Gabai = dacia
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 13
end_if

if I_CompareCounter settlementowner_Tuat != 13
and I_SettlementOwner Tuat = dacia
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 13
end_if

if I_CompareCounter settlementowner_Tyde != 13
and I_SettlementOwner Tyde = dacia
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 13
end_if

if I_CompareCounter settlementowner_Ankyra != 13
and I_SettlementOwner Ankyra = dacia
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 13
end_if

if I_CompareCounter settlementowner_Taksashila != 13
and I_SettlementOwner Taksashila = dacia
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 13
end_if

if I_CompareCounter settlementowner_Pura != 13
and I_SettlementOwner Pura = dacia
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 13
end_if

if I_CompareCounter settlementowner_Gerrha != 13
and I_SettlementOwner Gerrha = dacia
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 13
end_if

if I_CompareCounter settlementowner_Buridava != 13
and I_SettlementOwner Buridava = dacia
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 13
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 13
and I_SettlementOwner Sarmiszegethusa = dacia
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 13
end_if

if I_CompareCounter settlementowner_Massalia != 13
and I_SettlementOwner Massalia = dacia
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 13
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 13
and I_SettlementOwner Gawjam_Habukoz = dacia
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 13
end_if

if I_CompareCounter settlementowner_Sabata != 13
and I_SettlementOwner Sabata = dacia
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 13
end_if

if I_CompareCounter settlementowner_Arctaunon != 13
and I_SettlementOwner Arctaunon = dacia
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 13
end_if

if I_CompareCounter settlementowner_Armavir != 13
and I_SettlementOwner Armavir = dacia
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 13
end_if

if I_CompareCounter settlementowner_Aventicos != 13
and I_SettlementOwner Aventicos = dacia
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 13
end_if

if I_CompareCounter settlementowner_Memphis != 13
and I_SettlementOwner Memphis = dacia
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 13
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 13
and I_SettlementOwner Gawjam_Heruskoz = dacia
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 13
end_if

if I_CompareCounter settlementowner_Zadrakata != 13
and I_SettlementOwner Zadrakata = dacia
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 13
end_if

if I_CompareCounter settlementowner_Epidamnos != 13
and I_SettlementOwner Epidamnos = dacia
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 13
end_if

if I_CompareCounter settlementowner_Mediolanum != 13
and I_SettlementOwner Mediolanum = dacia
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 13
end_if

if I_CompareCounter settlementowner_Hierosolyma != 13
and I_SettlementOwner Hierosolyma = dacia
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 13
end_if

if I_CompareCounter settlementowner_Taras != 13
and I_SettlementOwner Taras = dacia
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 13
end_if

if I_CompareCounter settlementowner_Chach != 13
and I_SettlementOwner Chach = dacia
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 13
end_if

if I_CompareCounter settlementowner_Mazaka != 13
and I_SettlementOwner Mazaka = dacia
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 13
end_if

if I_CompareCounter settlementowner_Amaseia != 13
and I_SettlementOwner Amaseia = dacia
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 13
end_if

if I_CompareCounter settlementowner_Halikarnassos != 13
and I_SettlementOwner Halikarnassos = dacia
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 13
end_if

if I_CompareCounter settlementowner_Karmana != 13
and I_SettlementOwner Karmana = dacia
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 13
end_if

if I_CompareCounter settlementowner_Mtskheta != 13
and I_SettlementOwner Mtskheta = dacia
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 13
end_if

if I_CompareCounter settlementowner_Apameia != 13
and I_SettlementOwner Apameia = dacia
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 13
end_if

if I_CompareCounter settlementowner_Khiva != 13
and I_SettlementOwner Khiva = dacia
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 13
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 13
and I_SettlementOwner Tarsos = dacia
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 13
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 13
and I_SettlementOwner Gawjam_Kimbroz = dacia
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 13
end_if

if I_CompareCounter settlementowner_Alalia != 13
and I_SettlementOwner Alalia = dacia
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 13
end_if

if I_CompareCounter settlementowner_Kydonia != 13
and I_SettlementOwner Kydonia = dacia
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 13
end_if

if I_CompareCounter settlementowner_Meroe != 13
and I_SettlementOwner Meroe = dacia
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 13
end_if

if I_CompareCounter settlementowner_Salamis != 13
and I_SettlementOwner Salamis = dacia
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 13
end_if

if I_CompareCounter settlementowner_Kyrene != 13
and I_SettlementOwner Kyrene = dacia
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 13
end_if

if I_CompareCounter settlementowner_Emporion != 13
and I_SettlementOwner Emporion = dacia
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 13
end_if

if I_CompareCounter settlementowner_Sparte != 13
and I_SettlementOwner Sparte = dacia
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 13
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 13
and I_SettlementOwner Gawjam_Gotanoz = dacia
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 13
end_if

if I_CompareCounter settlementowner_Rome != 13
and I_SettlementOwner Rome = dacia
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 13
end_if

if I_CompareCounter settlementowner_Lemonum != 13
and I_SettlementOwner Lemonum = dacia
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 13
end_if

if I_CompareCounter settlementowner_Mytilene != 13
and I_SettlementOwner Mytilene = dacia
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 13
end_if

if I_CompareCounter settlementowner_Ammonion != 13
and I_SettlementOwner Ammonion = dacia
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 13
end_if

if I_CompareCounter settlementowner_Segesta != 13
and I_SettlementOwner Segesta = dacia
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 13
end_if

if I_CompareCounter settlementowner_Viennos != 13
and I_SettlementOwner Viennos = dacia
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 13
end_if

if I_CompareCounter settlementowner_Carrodunum != 13
and I_SettlementOwner Carrodunum = dacia
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 13
end_if

if I_CompareCounter settlementowner_Oxtraca != 13
and I_SettlementOwner Oxtraca = dacia
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 13
end_if

if I_CompareCounter settlementowner_Sardis != 13
and I_SettlementOwner Sardis = dacia
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 13
end_if

if I_CompareCounter settlementowner_Tanais != 13
and I_SettlementOwner Tanais = dacia
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 13
end_if

if I_CompareCounter settlementowner_Carna != 13
and I_SettlementOwner Carna = dacia
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 13
end_if

if I_CompareCounter settlementowner_Pella != 13
and I_SettlementOwner Pella = dacia
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 13
end_if

if I_CompareCounter settlementowner_Homna != 13
and I_SettlementOwner Homna = dacia
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 13
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 13
and I_SettlementOwner Antiocheia_Margiane = dacia
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 13
end_if

if I_CompareCounter settlementowner_Paraitonion != 13
and I_SettlementOwner Paraitonion = dacia
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 13
end_if

if I_CompareCounter settlementowner_Ippone != 13
and I_SettlementOwner Ippone = dacia
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 13
end_if

if I_CompareCounter settlementowner_Sala != 13
and I_SettlementOwner Sala = dacia
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 13
end_if

if I_CompareCounter settlementowner_Siga != 13
and I_SettlementOwner Siga = dacia
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 13
end_if

if I_CompareCounter settlementowner_Lixus != 13
and I_SettlementOwner Lixus = dacia
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 13
end_if

if I_CompareCounter settlementowner_Ekbatana != 13
and I_SettlementOwner Ekbatana = dacia
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 13
end_if

if I_CompareCounter settlementowner_Kallatis != 13
and I_SettlementOwner Kallatis = dacia
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 13
end_if

if I_CompareCounter settlementowner_Bibracte != 13
and I_SettlementOwner Bibracte = dacia
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 13
end_if

if I_CompareCounter settlementowner_Cenabum != 13
and I_SettlementOwner Cenabum = dacia
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 13
end_if

if I_CompareCounter settlementowner_Eburonum != 13
and I_SettlementOwner Eburonum = dacia
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 13
end_if

if I_CompareCounter settlementowner_Pergamon != 13
and I_SettlementOwner Pergamon = dacia
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 13
end_if

if I_CompareCounter settlementowner_Bostra != 13
and I_SettlementOwner Bostra = dacia
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 13
end_if

if I_CompareCounter settlementowner_Bagacos != 13
and I_SettlementOwner Bagacos = dacia
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 13
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 13
and I_SettlementOwner Gordu_Neuriji = dacia
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 13
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 13
and I_SettlementOwner Iuvavoaeta = dacia
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 13
end_if

if I_CompareCounter settlementowner_Kirtan != 13
and I_SettlementOwner Kirtan = dacia
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 13
end_if

if I_CompareCounter settlementowner_Hibis != 13
and I_SettlementOwner Hibis = dacia
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 13
end_if

if I_CompareCounter settlementowner_Tylis != 13
and I_SettlementOwner Tylis = dacia
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 13
end_if

if I_CompareCounter settlementowner_Side != 13
and I_SettlementOwner Side = dacia
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 13
end_if

if I_CompareCounter settlementowner_Vindobona != 13
and I_SettlementOwner Vindobona = dacia
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 13
end_if

if I_CompareCounter settlementowner_Segestica != 13
and I_SettlementOwner Segestica = dacia
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 13
end_if

if I_CompareCounter settlementowner_Sinope != 13
and I_SettlementOwner Sinope = dacia
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 13
end_if

if I_CompareCounter settlementowner_Kophen != 13
and I_SettlementOwner Kophen = dacia
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 13
end_if

if I_CompareCounter settlementowner_Hekatompylos != 13
and I_SettlementOwner Hekatompylos = dacia
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 13
end_if

if I_CompareCounter settlementowner_Korinthos != 13
and I_SettlementOwner Korinthos = dacia
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 13
end_if

if I_CompareCounter settlementowner_Persepolis != 13
and I_SettlementOwner Persepolis = dacia
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 13
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 13
and I_SettlementOwner Garama = dacia
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 13
end_if

if I_CompareCounter settlementowner_Sidon != 13
and I_SettlementOwner Sidon = dacia
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 13
end_if

if I_CompareCounter settlementowner_Ipsos != 13
and I_SettlementOwner Ipsos = dacia
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 13
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 13
and I_SettlementOwner Ani-Kamah = dacia
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 13
end_if

if I_CompareCounter settlementowner_Trapezous != 13
and I_SettlementOwner Trapezous = dacia
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 13
end_if

if I_CompareCounter settlementowner_Tamane != 13
and I_SettlementOwner Tamane = dacia
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 13
end_if

if I_CompareCounter settlementowner_Veldideno != 13
and I_SettlementOwner Veldideno = dacia
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 13
end_if

if I_CompareCounter settlementowner_Rhodos != 13
and I_SettlementOwner Rhodos = dacia
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 13
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 13
and I_SettlementOwner Gawjam_Rugoz = dacia
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 13
end_if

if I_CompareCounter settlementowner_Maryab != 13
and I_SettlementOwner Maryab = dacia
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 13
end_if

if I_CompareCounter settlementowner_Terhazza != 13
and I_SettlementOwner Terhazza = dacia
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 13
end_if

if I_CompareCounter settlementowner_Gava_Saka != 13
and I_SettlementOwner Gava_Saka = dacia
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 13
end_if

if I_CompareCounter settlementowner_Asodat != 13
and I_SettlementOwner Asodat = dacia
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 13
end_if

if I_CompareCounter settlementowner_Karali != 13
and I_SettlementOwner Karali = dacia
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 13
end_if

if I_CompareCounter settlementowner_Opiana != 13
and I_SettlementOwner Opiana = dacia
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 13
end_if

if I_CompareCounter settlementowner_Singidunum != 13
and I_SettlementOwner Singidunum = dacia
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 13
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 13
and I_SettlementOwner Seliun_Pilis = dacia
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 13
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 13
and I_SettlementOwner Gintaras_Ostan = dacia
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 13
end_if

if I_CompareCounter settlementowner_Vesontio != 13
and I_SettlementOwner Vesontio = dacia
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 13
end_if

if I_CompareCounter settlementowner_Messana != 13
and I_SettlementOwner Messana = dacia
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 13
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 13
and I_SettlementOwner Gawjam_Silengoz = dacia
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 13
end_if

if I_CompareCounter settlementowner_Petra != 13
and I_SettlementOwner Petra = dacia
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 13
end_if

if I_CompareCounter settlementowner_Patala != 13
and I_SettlementOwner Patala = dacia
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 13
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 13
and I_SettlementOwner Gawjam_Skandzawarjoz = dacia
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 13
end_if

if I_CompareCounter settlementowner_Olbia != 13
and I_SettlementOwner Olbia = dacia
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 13
end_if

if I_CompareCounter settlementowner_Marakanda != 13
and I_SettlementOwner Marakanda = dacia
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 13
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 13
and I_SettlementOwner Karkathiokerta = dacia
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 13
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 13
and I_SettlementOwner Swebotraustastamnoz = dacia
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 13
end_if

if I_CompareCounter settlementowner_Antiocheia != 13
and I_SettlementOwner Antiocheia = dacia
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 13
end_if

if I_CompareCounter settlementowner_Damaskos != 13
and I_SettlementOwner Damaskos = dacia
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 13
end_if

if I_CompareCounter settlementowner_Palmyra != 13
and I_SettlementOwner Palmyra = dacia
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 13
end_if

if I_CompareCounter settlementowner_Chersonesos != 13
and I_SettlementOwner Chersonesos = dacia
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 13
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 13
and I_SettlementOwner Diospolis_Megale = dacia
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 13
end_if

if I_CompareCounter settlementowner_Demetrias != 13
and I_SettlementOwner Demetrias = dacia
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 13
end_if

if I_CompareCounter settlementowner_Naissos != 13
and I_SettlementOwner Naissos = dacia
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 13
end_if

if I_CompareCounter settlementowner_Ascaucalis != 13
and I_SettlementOwner Ascaucalis = dacia
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 13
end_if

if I_CompareCounter settlementowner_Pselkis != 13
and I_SettlementOwner Pselkis = dacia
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 13
end_if

if I_CompareCounter settlementowner_Syracuse != 13
and I_SettlementOwner Syracuse = dacia
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 13
end_if

if I_CompareCounter settlementowner_Lepki != 13
and I_SettlementOwner Lepki = dacia
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 13
end_if

if I_CompareCounter settlementowner_Gader != 13
and I_SettlementOwner Gader = dacia
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 13
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 13
and I_SettlementOwner Sucum-Murgi = dacia
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 13
end_if

if I_CompareCounter settlementowner_Ariminum != 13
and I_SettlementOwner Ariminum = dacia
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 13
end_if

if I_CompareCounter settlementowner_Patavium != 13
and I_SettlementOwner Patavium = dacia
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 13
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 13
and I_SettlementOwner Vindelicoppidos = dacia
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 13
end_if

if I_CompareCounter settlementowner_Tolosa != 13
and I_SettlementOwner Tolosa = dacia
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 13
end_if

if I_CompareCounter settlementowner_Chighu != 13
and I_SettlementOwner Chighu = dacia
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 13
end_if

if I_CompareCounter settlementowner_Sulek != 13
and I_SettlementOwner Sulek = dacia
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 13
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 13
and I_SettlementOwner Kart_Hadast = dacia
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 13
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 13
and I_SettlementOwner Ubar = dacia
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 13
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction scythia
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 14
and I_SettlementOwner Arbela = scythia
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 14
end_if

if I_CompareCounter settlementowner_Phraaspa != 14
and I_SettlementOwner Phraaspa = scythia
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 14
end_if

if I_CompareCounter settlementowner_Bononia != 14
and I_SettlementOwner Bononia = scythia
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 14
end_if

if I_CompareCounter settlementowner_Kabalaka != 14
and I_SettlementOwner Kabalaka = scythia
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 14
end_if

if I_CompareCounter settlementowner_Thermon != 14
and I_SettlementOwner Thermon = scythia
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 14
end_if

if I_CompareCounter settlementowner_Arpi != 14
and I_SettlementOwner Arpi = scythia
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 14
end_if

if I_CompareCounter settlementowner_Burdigala != 14
and I_SettlementOwner Burdigala = scythia
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 14
end_if

if I_CompareCounter settlementowner_Babylon != 14
and I_SettlementOwner Babylon = scythia
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 14
end_if

if I_CompareCounter settlementowner_Alexandropolis != 14
and I_SettlementOwner Alexandropolis = scythia
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 14
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 14
and I_SettlementOwner Alexandreia_Ariana = scythia
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 14
end_if

if I_CompareCounter settlementowner_Darioritum != 14
and I_SettlementOwner Darioritum = scythia
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 14
end_if

if I_CompareCounter settlementowner_Gergovia != 14
and I_SettlementOwner Gergovia = scythia
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 14
end_if

if I_CompareCounter settlementowner_Edessa != 14
and I_SettlementOwner Edessa = scythia
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 14
end_if

if I_CompareCounter settlementowner_Asaak != 14
and I_SettlementOwner Asaak = scythia
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 14
end_if

if I_CompareCounter settlementowner_Pallantia != 14
and I_SettlementOwner Pallantia = scythia
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 14
end_if

if I_CompareCounter settlementowner_Athenai != 14
and I_SettlementOwner Athenai = scythia
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 14
end_if

if I_CompareCounter settlementowner_Augila_settlement != 14
and I_SettlementOwner Augila_settlement = scythia
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 14
end_if

if I_CompareCounter settlementowner_Seleukeia != 14
and I_SettlementOwner Seleukeia = scythia
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 14
end_if

if I_CompareCounter settlementowner_Baktra != 14
and I_SettlementOwner Baktra = scythia
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 14
end_if

if I_CompareCounter settlementowner_Bocchoris != 14
and I_SettlementOwner Bocchoris = scythia
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 14
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 14
and I_SettlementOwner Gawjam_Bastarnoz = scythia
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 14
end_if

if I_CompareCounter settlementowner_Mastia != 14
and I_SettlementOwner Mastia = scythia
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 14
end_if

if I_CompareCounter settlementowner_Avaricum != 14
and I_SettlementOwner Avaricum = scythia
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 14
end_if

if I_CompareCounter settlementowner_Bratosporios != 14
and I_SettlementOwner Bratosporios = scythia
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 14
end_if

if I_CompareCounter settlementowner_Nikaia != 14
and I_SettlementOwner Nikaia = scythia
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 14
end_if

if I_CompareCounter settlementowner_Pantikapaion != 14
and I_SettlementOwner Pantikapaion = scythia
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 14
end_if

if I_CompareCounter settlementowner_Rhegion != 14
and I_SettlementOwner Rhegion = scythia
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 14
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 14
and I_SettlementOwner Caern_Brigantae = scythia
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 14
end_if

if I_CompareCounter settlementowner_Gelonus != 14
and I_SettlementOwner Gelonus = scythia
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 14
end_if

if I_CompareCounter settlementowner_Adrumeto != 14
and I_SettlementOwner Adrumeto = scythia
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 14
end_if

if I_CompareCounter settlementowner_Attuaca != 14
and I_SettlementOwner Attuaca = scythia
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 14
end_if

if I_CompareCounter settlementowner_Capua != 14
and I_SettlementOwner Capua = scythia
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 14
end_if

if I_CompareCounter settlementowner_Vellika != 14
and I_SettlementOwner Vellika = scythia
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 14
end_if

if I_CompareCounter settlementowner_Baikor != 14
and I_SettlementOwner Baikor = scythia
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 14
end_if

if I_CompareCounter settlementowner_Camulosadae != 14
and I_SettlementOwner Camulosadae = scythia
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 14
end_if

if I_CompareCounter settlementowner_Numantia != 14
and I_SettlementOwner Numantia = scythia
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 14
end_if

if I_CompareCounter settlementowner_Charax != 14
and I_SettlementOwner Charax = scythia
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 14
end_if

if I_CompareCounter settlementowner_Byzantion != 14
and I_SettlementOwner Byzantion = scythia
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 14
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 14
and I_SettlementOwner Ptolemais_Theron = scythia
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 14
end_if

if I_CompareCounter settlementowner_Ratae != 14
and I_SettlementOwner Ratae = scythia
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 14
end_if

if I_CompareCounter settlementowner_Ictis != 14
and I_SettlementOwner Ictis = scythia
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 14
end_if

if I_CompareCounter settlementowner_Lucarottea != 14
and I_SettlementOwner Lucarottea = scythia
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 14
end_if

if I_CompareCounter settlementowner_Emain_Macha != 14
and I_SettlementOwner Emain_Macha = scythia
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 14
end_if

if I_CompareCounter settlementowner_Atiqa != 14
and I_SettlementOwner Atiqa = scythia
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 14
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 14
and I_SettlementOwner Ynys_Mon = scythia
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 14
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 14
and I_SettlementOwner Gava_Alanna = scythia
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 14
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 14
and I_SettlementOwner Gava_Aursa = scythia
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 14
end_if

if I_CompareCounter settlementowner_Nisa != 14
and I_SettlementOwner Nisa = scythia
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 14
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 14
and I_SettlementOwner Gava_Haomavarga = scythia
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 14
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 14
and I_SettlementOwner Gava_Mazsakata = scythia
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 14
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 14
and I_SettlementOwner Gava_Roxsalanna = scythia
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 14
end_if

if I_CompareCounter settlementowner_Uspe != 14
and I_SettlementOwner Uspe = scythia
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 14
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 14
and I_SettlementOwner Gava_Thissakata = scythia
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 14
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 14
and I_SettlementOwner Gava_Yazyga = scythia
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 14
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 14
and I_SettlementOwner Gava_Yugra = scythia
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 14
end_if

if I_CompareCounter settlementowner_Dalminion != 14
and I_SettlementOwner Dalminion = scythia
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 14
end_if

if I_CompareCounter settlementowner_Serdike != 14
and I_SettlementOwner Serdike = scythia
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 14
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 14
and I_SettlementOwner Alexandreia_Eschate = scythia
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 14
end_if

if I_CompareCounter settlementowner_Alexandreia != 14
and I_SettlementOwner Alexandreia = scythia
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 14
end_if

if I_CompareCounter settlementowner_Axum != 14
and I_SettlementOwner Axum = scythia
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 14
end_if

if I_CompareCounter settlementowner_Prophthasia != 14
and I_SettlementOwner Prophthasia = scythia
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 14
end_if

if I_CompareCounter settlementowner_Arse != 14
and I_SettlementOwner Arse = scythia
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 14
end_if

if I_CompareCounter settlementowner_Kotais != 14
and I_SettlementOwner Kotais = scythia
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 14
end_if

if I_CompareCounter settlementowner_Lilibeo != 14
and I_SettlementOwner Lilibeo = scythia
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 14
end_if

if I_CompareCounter settlementowner_Susa != 14
and I_SettlementOwner Susa = scythia
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 14
end_if

if I_CompareCounter settlementowner_Apollonia != 14
and I_SettlementOwner Apollonia = scythia
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 14
end_if

if I_CompareCounter settlementowner_Ivernis != 14
and I_SettlementOwner Ivernis = scythia
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 14
end_if

if I_CompareCounter settlementowner_Ak_Ink != 14
and I_SettlementOwner Ak_Ink = scythia
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 14
end_if

if I_CompareCounter settlementowner_Arretium != 14
and I_SettlementOwner Arretium = scythia
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 14
end_if

if I_CompareCounter settlementowner_Chalkis != 14
and I_SettlementOwner Chalkis = scythia
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 14
end_if

if I_CompareCounter settlementowner_Gabai != 14
and I_SettlementOwner Gabai = scythia
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 14
end_if

if I_CompareCounter settlementowner_Tuat != 14
and I_SettlementOwner Tuat = scythia
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 14
end_if

if I_CompareCounter settlementowner_Tyde != 14
and I_SettlementOwner Tyde = scythia
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 14
end_if

if I_CompareCounter settlementowner_Ankyra != 14
and I_SettlementOwner Ankyra = scythia
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 14
end_if

if I_CompareCounter settlementowner_Taksashila != 14
and I_SettlementOwner Taksashila = scythia
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 14
end_if

if I_CompareCounter settlementowner_Pura != 14
and I_SettlementOwner Pura = scythia
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 14
end_if

if I_CompareCounter settlementowner_Gerrha != 14
and I_SettlementOwner Gerrha = scythia
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 14
end_if

if I_CompareCounter settlementowner_Buridava != 14
and I_SettlementOwner Buridava = scythia
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 14
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 14
and I_SettlementOwner Sarmiszegethusa = scythia
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 14
end_if

if I_CompareCounter settlementowner_Massalia != 14
and I_SettlementOwner Massalia = scythia
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 14
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 14
and I_SettlementOwner Gawjam_Habukoz = scythia
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 14
end_if

if I_CompareCounter settlementowner_Sabata != 14
and I_SettlementOwner Sabata = scythia
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 14
end_if

if I_CompareCounter settlementowner_Arctaunon != 14
and I_SettlementOwner Arctaunon = scythia
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 14
end_if

if I_CompareCounter settlementowner_Armavir != 14
and I_SettlementOwner Armavir = scythia
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 14
end_if

if I_CompareCounter settlementowner_Aventicos != 14
and I_SettlementOwner Aventicos = scythia
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 14
end_if

if I_CompareCounter settlementowner_Memphis != 14
and I_SettlementOwner Memphis = scythia
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 14
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 14
and I_SettlementOwner Gawjam_Heruskoz = scythia
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 14
end_if

if I_CompareCounter settlementowner_Zadrakata != 14
and I_SettlementOwner Zadrakata = scythia
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 14
end_if

if I_CompareCounter settlementowner_Epidamnos != 14
and I_SettlementOwner Epidamnos = scythia
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 14
end_if

if I_CompareCounter settlementowner_Mediolanum != 14
and I_SettlementOwner Mediolanum = scythia
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 14
end_if

if I_CompareCounter settlementowner_Hierosolyma != 14
and I_SettlementOwner Hierosolyma = scythia
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 14
end_if

if I_CompareCounter settlementowner_Taras != 14
and I_SettlementOwner Taras = scythia
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 14
end_if

if I_CompareCounter settlementowner_Chach != 14
and I_SettlementOwner Chach = scythia
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 14
end_if

if I_CompareCounter settlementowner_Mazaka != 14
and I_SettlementOwner Mazaka = scythia
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 14
end_if

if I_CompareCounter settlementowner_Amaseia != 14
and I_SettlementOwner Amaseia = scythia
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 14
end_if

if I_CompareCounter settlementowner_Halikarnassos != 14
and I_SettlementOwner Halikarnassos = scythia
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 14
end_if

if I_CompareCounter settlementowner_Karmana != 14
and I_SettlementOwner Karmana = scythia
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 14
end_if

if I_CompareCounter settlementowner_Mtskheta != 14
and I_SettlementOwner Mtskheta = scythia
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 14
end_if

if I_CompareCounter settlementowner_Apameia != 14
and I_SettlementOwner Apameia = scythia
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 14
end_if

if I_CompareCounter settlementowner_Khiva != 14
and I_SettlementOwner Khiva = scythia
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 14
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 14
and I_SettlementOwner Tarsos = scythia
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 14
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 14
and I_SettlementOwner Gawjam_Kimbroz = scythia
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 14
end_if

if I_CompareCounter settlementowner_Alalia != 14
and I_SettlementOwner Alalia = scythia
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 14
end_if

if I_CompareCounter settlementowner_Kydonia != 14
and I_SettlementOwner Kydonia = scythia
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 14
end_if

if I_CompareCounter settlementowner_Meroe != 14
and I_SettlementOwner Meroe = scythia
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 14
end_if

if I_CompareCounter settlementowner_Salamis != 14
and I_SettlementOwner Salamis = scythia
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 14
end_if

if I_CompareCounter settlementowner_Kyrene != 14
and I_SettlementOwner Kyrene = scythia
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 14
end_if

if I_CompareCounter settlementowner_Emporion != 14
and I_SettlementOwner Emporion = scythia
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 14
end_if

if I_CompareCounter settlementowner_Sparte != 14
and I_SettlementOwner Sparte = scythia
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 14
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 14
and I_SettlementOwner Gawjam_Gotanoz = scythia
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 14
end_if

if I_CompareCounter settlementowner_Rome != 14
and I_SettlementOwner Rome = scythia
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 14
end_if

if I_CompareCounter settlementowner_Lemonum != 14
and I_SettlementOwner Lemonum = scythia
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 14
end_if

if I_CompareCounter settlementowner_Mytilene != 14
and I_SettlementOwner Mytilene = scythia
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 14
end_if

if I_CompareCounter settlementowner_Ammonion != 14
and I_SettlementOwner Ammonion = scythia
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 14
end_if

if I_CompareCounter settlementowner_Segesta != 14
and I_SettlementOwner Segesta = scythia
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 14
end_if

if I_CompareCounter settlementowner_Viennos != 14
and I_SettlementOwner Viennos = scythia
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 14
end_if

if I_CompareCounter settlementowner_Carrodunum != 14
and I_SettlementOwner Carrodunum = scythia
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 14
end_if

if I_CompareCounter settlementowner_Oxtraca != 14
and I_SettlementOwner Oxtraca = scythia
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 14
end_if

if I_CompareCounter settlementowner_Sardis != 14
and I_SettlementOwner Sardis = scythia
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 14
end_if

if I_CompareCounter settlementowner_Tanais != 14
and I_SettlementOwner Tanais = scythia
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 14
end_if

if I_CompareCounter settlementowner_Carna != 14
and I_SettlementOwner Carna = scythia
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 14
end_if

if I_CompareCounter settlementowner_Pella != 14
and I_SettlementOwner Pella = scythia
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 14
end_if

if I_CompareCounter settlementowner_Homna != 14
and I_SettlementOwner Homna = scythia
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 14
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 14
and I_SettlementOwner Antiocheia_Margiane = scythia
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 14
end_if

if I_CompareCounter settlementowner_Paraitonion != 14
and I_SettlementOwner Paraitonion = scythia
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 14
end_if

if I_CompareCounter settlementowner_Ippone != 14
and I_SettlementOwner Ippone = scythia
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 14
end_if

if I_CompareCounter settlementowner_Sala != 14
and I_SettlementOwner Sala = scythia
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 14
end_if

if I_CompareCounter settlementowner_Siga != 14
and I_SettlementOwner Siga = scythia
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 14
end_if

if I_CompareCounter settlementowner_Lixus != 14
and I_SettlementOwner Lixus = scythia
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 14
end_if

if I_CompareCounter settlementowner_Ekbatana != 14
and I_SettlementOwner Ekbatana = scythia
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 14
end_if

if I_CompareCounter settlementowner_Kallatis != 14
and I_SettlementOwner Kallatis = scythia
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 14
end_if

if I_CompareCounter settlementowner_Bibracte != 14
and I_SettlementOwner Bibracte = scythia
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 14
end_if

if I_CompareCounter settlementowner_Cenabum != 14
and I_SettlementOwner Cenabum = scythia
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 14
end_if

if I_CompareCounter settlementowner_Eburonum != 14
and I_SettlementOwner Eburonum = scythia
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 14
end_if

if I_CompareCounter settlementowner_Pergamon != 14
and I_SettlementOwner Pergamon = scythia
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 14
end_if

if I_CompareCounter settlementowner_Bostra != 14
and I_SettlementOwner Bostra = scythia
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 14
end_if

if I_CompareCounter settlementowner_Bagacos != 14
and I_SettlementOwner Bagacos = scythia
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 14
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 14
and I_SettlementOwner Gordu_Neuriji = scythia
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 14
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 14
and I_SettlementOwner Iuvavoaeta = scythia
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 14
end_if

if I_CompareCounter settlementowner_Kirtan != 14
and I_SettlementOwner Kirtan = scythia
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 14
end_if

if I_CompareCounter settlementowner_Hibis != 14
and I_SettlementOwner Hibis = scythia
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 14
end_if

if I_CompareCounter settlementowner_Tylis != 14
and I_SettlementOwner Tylis = scythia
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 14
end_if

if I_CompareCounter settlementowner_Side != 14
and I_SettlementOwner Side = scythia
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 14
end_if

if I_CompareCounter settlementowner_Vindobona != 14
and I_SettlementOwner Vindobona = scythia
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 14
end_if

if I_CompareCounter settlementowner_Segestica != 14
and I_SettlementOwner Segestica = scythia
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 14
end_if

if I_CompareCounter settlementowner_Sinope != 14
and I_SettlementOwner Sinope = scythia
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 14
end_if

if I_CompareCounter settlementowner_Kophen != 14
and I_SettlementOwner Kophen = scythia
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 14
end_if

if I_CompareCounter settlementowner_Hekatompylos != 14
and I_SettlementOwner Hekatompylos = scythia
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 14
end_if

if I_CompareCounter settlementowner_Korinthos != 14
and I_SettlementOwner Korinthos = scythia
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 14
end_if

if I_CompareCounter settlementowner_Persepolis != 14
and I_SettlementOwner Persepolis = scythia
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 14
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 14
and I_SettlementOwner Garama = scythia
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 14
end_if

if I_CompareCounter settlementowner_Sidon != 14
and I_SettlementOwner Sidon = scythia
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 14
end_if

if I_CompareCounter settlementowner_Ipsos != 14
and I_SettlementOwner Ipsos = scythia
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 14
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 14
and I_SettlementOwner Ani-Kamah = scythia
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 14
end_if

if I_CompareCounter settlementowner_Trapezous != 14
and I_SettlementOwner Trapezous = scythia
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 14
end_if

if I_CompareCounter settlementowner_Tamane != 14
and I_SettlementOwner Tamane = scythia
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 14
end_if

if I_CompareCounter settlementowner_Veldideno != 14
and I_SettlementOwner Veldideno = scythia
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 14
end_if

if I_CompareCounter settlementowner_Rhodos != 14
and I_SettlementOwner Rhodos = scythia
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 14
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 14
and I_SettlementOwner Gawjam_Rugoz = scythia
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 14
end_if

if I_CompareCounter settlementowner_Maryab != 14
and I_SettlementOwner Maryab = scythia
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 14
end_if

if I_CompareCounter settlementowner_Terhazza != 14
and I_SettlementOwner Terhazza = scythia
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 14
end_if

if I_CompareCounter settlementowner_Gava_Saka != 14
and I_SettlementOwner Gava_Saka = scythia
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 14
end_if

if I_CompareCounter settlementowner_Asodat != 14
and I_SettlementOwner Asodat = scythia
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 14
end_if

if I_CompareCounter settlementowner_Karali != 14
and I_SettlementOwner Karali = scythia
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 14
end_if

if I_CompareCounter settlementowner_Opiana != 14
and I_SettlementOwner Opiana = scythia
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 14
end_if

if I_CompareCounter settlementowner_Singidunum != 14
and I_SettlementOwner Singidunum = scythia
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 14
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 14
and I_SettlementOwner Seliun_Pilis = scythia
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 14
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 14
and I_SettlementOwner Gintaras_Ostan = scythia
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 14
end_if

if I_CompareCounter settlementowner_Vesontio != 14
and I_SettlementOwner Vesontio = scythia
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 14
end_if

if I_CompareCounter settlementowner_Messana != 14
and I_SettlementOwner Messana = scythia
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 14
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 14
and I_SettlementOwner Gawjam_Silengoz = scythia
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 14
end_if

if I_CompareCounter settlementowner_Petra != 14
and I_SettlementOwner Petra = scythia
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 14
end_if

if I_CompareCounter settlementowner_Patala != 14
and I_SettlementOwner Patala = scythia
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 14
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 14
and I_SettlementOwner Gawjam_Skandzawarjoz = scythia
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 14
end_if

if I_CompareCounter settlementowner_Olbia != 14
and I_SettlementOwner Olbia = scythia
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 14
end_if

if I_CompareCounter settlementowner_Marakanda != 14
and I_SettlementOwner Marakanda = scythia
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 14
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 14
and I_SettlementOwner Karkathiokerta = scythia
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 14
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 14
and I_SettlementOwner Swebotraustastamnoz = scythia
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 14
end_if

if I_CompareCounter settlementowner_Antiocheia != 14
and I_SettlementOwner Antiocheia = scythia
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 14
end_if

if I_CompareCounter settlementowner_Damaskos != 14
and I_SettlementOwner Damaskos = scythia
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 14
end_if

if I_CompareCounter settlementowner_Palmyra != 14
and I_SettlementOwner Palmyra = scythia
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 14
end_if

if I_CompareCounter settlementowner_Chersonesos != 14
and I_SettlementOwner Chersonesos = scythia
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 14
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 14
and I_SettlementOwner Diospolis_Megale = scythia
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 14
end_if

if I_CompareCounter settlementowner_Demetrias != 14
and I_SettlementOwner Demetrias = scythia
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 14
end_if

if I_CompareCounter settlementowner_Naissos != 14
and I_SettlementOwner Naissos = scythia
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 14
end_if

if I_CompareCounter settlementowner_Ascaucalis != 14
and I_SettlementOwner Ascaucalis = scythia
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 14
end_if

if I_CompareCounter settlementowner_Pselkis != 14
and I_SettlementOwner Pselkis = scythia
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 14
end_if

if I_CompareCounter settlementowner_Syracuse != 14
and I_SettlementOwner Syracuse = scythia
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 14
end_if

if I_CompareCounter settlementowner_Lepki != 14
and I_SettlementOwner Lepki = scythia
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 14
end_if

if I_CompareCounter settlementowner_Gader != 14
and I_SettlementOwner Gader = scythia
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 14
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 14
and I_SettlementOwner Sucum-Murgi = scythia
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 14
end_if

if I_CompareCounter settlementowner_Ariminum != 14
and I_SettlementOwner Ariminum = scythia
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 14
end_if

if I_CompareCounter settlementowner_Patavium != 14
and I_SettlementOwner Patavium = scythia
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 14
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 14
and I_SettlementOwner Vindelicoppidos = scythia
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 14
end_if

if I_CompareCounter settlementowner_Tolosa != 14
and I_SettlementOwner Tolosa = scythia
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 14
end_if

if I_CompareCounter settlementowner_Chighu != 14
and I_SettlementOwner Chighu = scythia
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 14
end_if

if I_CompareCounter settlementowner_Sulek != 14
and I_SettlementOwner Sulek = scythia
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 14
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 14
and I_SettlementOwner Kart_Hadast = scythia
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 14
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 14
and I_SettlementOwner Ubar = scythia
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 14
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction egypt
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 15
and I_SettlementOwner Arbela = egypt
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 15
end_if

if I_CompareCounter settlementowner_Phraaspa != 15
and I_SettlementOwner Phraaspa = egypt
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 15
end_if

if I_CompareCounter settlementowner_Bononia != 15
and I_SettlementOwner Bononia = egypt
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 15
end_if

if I_CompareCounter settlementowner_Kabalaka != 15
and I_SettlementOwner Kabalaka = egypt
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 15
end_if

if I_CompareCounter settlementowner_Thermon != 15
and I_SettlementOwner Thermon = egypt
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 15
end_if

if I_CompareCounter settlementowner_Arpi != 15
and I_SettlementOwner Arpi = egypt
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 15
end_if

if I_CompareCounter settlementowner_Burdigala != 15
and I_SettlementOwner Burdigala = egypt
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 15
end_if

if I_CompareCounter settlementowner_Babylon != 15
and I_SettlementOwner Babylon = egypt
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 15
end_if

if I_CompareCounter settlementowner_Alexandropolis != 15
and I_SettlementOwner Alexandropolis = egypt
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 15
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 15
and I_SettlementOwner Alexandreia_Ariana = egypt
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 15
end_if

if I_CompareCounter settlementowner_Darioritum != 15
and I_SettlementOwner Darioritum = egypt
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 15
end_if

if I_CompareCounter settlementowner_Gergovia != 15
and I_SettlementOwner Gergovia = egypt
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 15
end_if

if I_CompareCounter settlementowner_Edessa != 15
and I_SettlementOwner Edessa = egypt
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 15
end_if

if I_CompareCounter settlementowner_Asaak != 15
and I_SettlementOwner Asaak = egypt
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 15
end_if

if I_CompareCounter settlementowner_Pallantia != 15
and I_SettlementOwner Pallantia = egypt
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 15
end_if

if I_CompareCounter settlementowner_Athenai != 15
and I_SettlementOwner Athenai = egypt
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 15
end_if

if I_CompareCounter settlementowner_Augila_settlement != 15
and I_SettlementOwner Augila_settlement = egypt
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 15
end_if

if I_CompareCounter settlementowner_Seleukeia != 15
and I_SettlementOwner Seleukeia = egypt
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 15
end_if

if I_CompareCounter settlementowner_Baktra != 15
and I_SettlementOwner Baktra = egypt
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 15
end_if

if I_CompareCounter settlementowner_Bocchoris != 15
and I_SettlementOwner Bocchoris = egypt
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 15
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 15
and I_SettlementOwner Gawjam_Bastarnoz = egypt
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 15
end_if

if I_CompareCounter settlementowner_Mastia != 15
and I_SettlementOwner Mastia = egypt
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 15
end_if

if I_CompareCounter settlementowner_Avaricum != 15
and I_SettlementOwner Avaricum = egypt
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 15
end_if

if I_CompareCounter settlementowner_Bratosporios != 15
and I_SettlementOwner Bratosporios = egypt
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 15
end_if

if I_CompareCounter settlementowner_Nikaia != 15
and I_SettlementOwner Nikaia = egypt
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 15
end_if

if I_CompareCounter settlementowner_Pantikapaion != 15
and I_SettlementOwner Pantikapaion = egypt
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 15
end_if

if I_CompareCounter settlementowner_Rhegion != 15
and I_SettlementOwner Rhegion = egypt
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 15
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 15
and I_SettlementOwner Caern_Brigantae = egypt
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 15
end_if

if I_CompareCounter settlementowner_Gelonus != 15
and I_SettlementOwner Gelonus = egypt
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 15
end_if

if I_CompareCounter settlementowner_Adrumeto != 15
and I_SettlementOwner Adrumeto = egypt
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 15
end_if

if I_CompareCounter settlementowner_Attuaca != 15
and I_SettlementOwner Attuaca = egypt
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 15
end_if

if I_CompareCounter settlementowner_Capua != 15
and I_SettlementOwner Capua = egypt
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 15
end_if

if I_CompareCounter settlementowner_Vellika != 15
and I_SettlementOwner Vellika = egypt
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 15
end_if

if I_CompareCounter settlementowner_Baikor != 15
and I_SettlementOwner Baikor = egypt
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 15
end_if

if I_CompareCounter settlementowner_Camulosadae != 15
and I_SettlementOwner Camulosadae = egypt
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 15
end_if

if I_CompareCounter settlementowner_Numantia != 15
and I_SettlementOwner Numantia = egypt
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 15
end_if

if I_CompareCounter settlementowner_Charax != 15
and I_SettlementOwner Charax = egypt
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 15
end_if

if I_CompareCounter settlementowner_Byzantion != 15
and I_SettlementOwner Byzantion = egypt
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 15
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 15
and I_SettlementOwner Ptolemais_Theron = egypt
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 15
end_if

if I_CompareCounter settlementowner_Ratae != 15
and I_SettlementOwner Ratae = egypt
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 15
end_if

if I_CompareCounter settlementowner_Ictis != 15
and I_SettlementOwner Ictis = egypt
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 15
end_if

if I_CompareCounter settlementowner_Lucarottea != 15
and I_SettlementOwner Lucarottea = egypt
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 15
end_if

if I_CompareCounter settlementowner_Emain_Macha != 15
and I_SettlementOwner Emain_Macha = egypt
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 15
end_if

if I_CompareCounter settlementowner_Atiqa != 15
and I_SettlementOwner Atiqa = egypt
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 15
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 15
and I_SettlementOwner Ynys_Mon = egypt
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 15
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 15
and I_SettlementOwner Gava_Alanna = egypt
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 15
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 15
and I_SettlementOwner Gava_Aursa = egypt
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 15
end_if

if I_CompareCounter settlementowner_Nisa != 15
and I_SettlementOwner Nisa = egypt
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 15
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 15
and I_SettlementOwner Gava_Haomavarga = egypt
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 15
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 15
and I_SettlementOwner Gava_Mazsakata = egypt
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 15
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 15
and I_SettlementOwner Gava_Roxsalanna = egypt
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 15
end_if

if I_CompareCounter settlementowner_Uspe != 15
and I_SettlementOwner Uspe = egypt
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 15
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 15
and I_SettlementOwner Gava_Thissakata = egypt
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 15
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 15
and I_SettlementOwner Gava_Yazyga = egypt
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 15
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 15
and I_SettlementOwner Gava_Yugra = egypt
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 15
end_if

if I_CompareCounter settlementowner_Dalminion != 15
and I_SettlementOwner Dalminion = egypt
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 15
end_if

if I_CompareCounter settlementowner_Serdike != 15
and I_SettlementOwner Serdike = egypt
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 15
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 15
and I_SettlementOwner Alexandreia_Eschate = egypt
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 15
end_if

if I_CompareCounter settlementowner_Alexandreia != 15
and I_SettlementOwner Alexandreia = egypt
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 15
end_if

if I_CompareCounter settlementowner_Axum != 15
and I_SettlementOwner Axum = egypt
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 15
end_if

if I_CompareCounter settlementowner_Prophthasia != 15
and I_SettlementOwner Prophthasia = egypt
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 15
end_if

if I_CompareCounter settlementowner_Arse != 15
and I_SettlementOwner Arse = egypt
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 15
end_if

if I_CompareCounter settlementowner_Kotais != 15
and I_SettlementOwner Kotais = egypt
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 15
end_if

if I_CompareCounter settlementowner_Lilibeo != 15
and I_SettlementOwner Lilibeo = egypt
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 15
end_if

if I_CompareCounter settlementowner_Susa != 15
and I_SettlementOwner Susa = egypt
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 15
end_if

if I_CompareCounter settlementowner_Apollonia != 15
and I_SettlementOwner Apollonia = egypt
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 15
end_if

if I_CompareCounter settlementowner_Ivernis != 15
and I_SettlementOwner Ivernis = egypt
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 15
end_if

if I_CompareCounter settlementowner_Ak_Ink != 15
and I_SettlementOwner Ak_Ink = egypt
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 15
end_if

if I_CompareCounter settlementowner_Arretium != 15
and I_SettlementOwner Arretium = egypt
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 15
end_if

if I_CompareCounter settlementowner_Chalkis != 15
and I_SettlementOwner Chalkis = egypt
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 15
end_if

if I_CompareCounter settlementowner_Gabai != 15
and I_SettlementOwner Gabai = egypt
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 15
end_if

if I_CompareCounter settlementowner_Tuat != 15
and I_SettlementOwner Tuat = egypt
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 15
end_if

if I_CompareCounter settlementowner_Tyde != 15
and I_SettlementOwner Tyde = egypt
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 15
end_if

if I_CompareCounter settlementowner_Ankyra != 15
and I_SettlementOwner Ankyra = egypt
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 15
end_if

if I_CompareCounter settlementowner_Taksashila != 15
and I_SettlementOwner Taksashila = egypt
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 15
end_if

if I_CompareCounter settlementowner_Pura != 15
and I_SettlementOwner Pura = egypt
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 15
end_if

if I_CompareCounter settlementowner_Gerrha != 15
and I_SettlementOwner Gerrha = egypt
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 15
end_if

if I_CompareCounter settlementowner_Buridava != 15
and I_SettlementOwner Buridava = egypt
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 15
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 15
and I_SettlementOwner Sarmiszegethusa = egypt
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 15
end_if

if I_CompareCounter settlementowner_Massalia != 15
and I_SettlementOwner Massalia = egypt
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 15
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 15
and I_SettlementOwner Gawjam_Habukoz = egypt
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 15
end_if

if I_CompareCounter settlementowner_Sabata != 15
and I_SettlementOwner Sabata = egypt
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 15
end_if

if I_CompareCounter settlementowner_Arctaunon != 15
and I_SettlementOwner Arctaunon = egypt
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 15
end_if

if I_CompareCounter settlementowner_Armavir != 15
and I_SettlementOwner Armavir = egypt
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 15
end_if

if I_CompareCounter settlementowner_Aventicos != 15
and I_SettlementOwner Aventicos = egypt
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 15
end_if

if I_CompareCounter settlementowner_Memphis != 15
and I_SettlementOwner Memphis = egypt
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 15
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 15
and I_SettlementOwner Gawjam_Heruskoz = egypt
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 15
end_if

if I_CompareCounter settlementowner_Zadrakata != 15
and I_SettlementOwner Zadrakata = egypt
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 15
end_if

if I_CompareCounter settlementowner_Epidamnos != 15
and I_SettlementOwner Epidamnos = egypt
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 15
end_if

if I_CompareCounter settlementowner_Mediolanum != 15
and I_SettlementOwner Mediolanum = egypt
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 15
end_if

if I_CompareCounter settlementowner_Hierosolyma != 15
and I_SettlementOwner Hierosolyma = egypt
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 15
end_if

if I_CompareCounter settlementowner_Taras != 15
and I_SettlementOwner Taras = egypt
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 15
end_if

if I_CompareCounter settlementowner_Chach != 15
and I_SettlementOwner Chach = egypt
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 15
end_if

if I_CompareCounter settlementowner_Mazaka != 15
and I_SettlementOwner Mazaka = egypt
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 15
end_if

if I_CompareCounter settlementowner_Amaseia != 15
and I_SettlementOwner Amaseia = egypt
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 15
end_if

if I_CompareCounter settlementowner_Halikarnassos != 15
and I_SettlementOwner Halikarnassos = egypt
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 15
end_if

if I_CompareCounter settlementowner_Karmana != 15
and I_SettlementOwner Karmana = egypt
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 15
end_if

if I_CompareCounter settlementowner_Mtskheta != 15
and I_SettlementOwner Mtskheta = egypt
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 15
end_if

if I_CompareCounter settlementowner_Apameia != 15
and I_SettlementOwner Apameia = egypt
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 15
end_if

if I_CompareCounter settlementowner_Khiva != 15
and I_SettlementOwner Khiva = egypt
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 15
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 15
and I_SettlementOwner Tarsos = egypt
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 15
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 15
and I_SettlementOwner Gawjam_Kimbroz = egypt
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 15
end_if

if I_CompareCounter settlementowner_Alalia != 15
and I_SettlementOwner Alalia = egypt
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 15
end_if

if I_CompareCounter settlementowner_Kydonia != 15
and I_SettlementOwner Kydonia = egypt
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 15
end_if

if I_CompareCounter settlementowner_Meroe != 15
and I_SettlementOwner Meroe = egypt
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 15
end_if

if I_CompareCounter settlementowner_Salamis != 15
and I_SettlementOwner Salamis = egypt
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 15
end_if

if I_CompareCounter settlementowner_Kyrene != 15
and I_SettlementOwner Kyrene = egypt
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 15
end_if

if I_CompareCounter settlementowner_Emporion != 15
and I_SettlementOwner Emporion = egypt
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 15
end_if

if I_CompareCounter settlementowner_Sparte != 15
and I_SettlementOwner Sparte = egypt
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 15
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 15
and I_SettlementOwner Gawjam_Gotanoz = egypt
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 15
end_if

if I_CompareCounter settlementowner_Rome != 15
and I_SettlementOwner Rome = egypt
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 15
end_if

if I_CompareCounter settlementowner_Lemonum != 15
and I_SettlementOwner Lemonum = egypt
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 15
end_if

if I_CompareCounter settlementowner_Mytilene != 15
and I_SettlementOwner Mytilene = egypt
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 15
end_if

if I_CompareCounter settlementowner_Ammonion != 15
and I_SettlementOwner Ammonion = egypt
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 15
end_if

if I_CompareCounter settlementowner_Segesta != 15
and I_SettlementOwner Segesta = egypt
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 15
end_if

if I_CompareCounter settlementowner_Viennos != 15
and I_SettlementOwner Viennos = egypt
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 15
end_if

if I_CompareCounter settlementowner_Carrodunum != 15
and I_SettlementOwner Carrodunum = egypt
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 15
end_if

if I_CompareCounter settlementowner_Oxtraca != 15
and I_SettlementOwner Oxtraca = egypt
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 15
end_if

if I_CompareCounter settlementowner_Sardis != 15
and I_SettlementOwner Sardis = egypt
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 15
end_if

if I_CompareCounter settlementowner_Tanais != 15
and I_SettlementOwner Tanais = egypt
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 15
end_if

if I_CompareCounter settlementowner_Carna != 15
and I_SettlementOwner Carna = egypt
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 15
end_if

if I_CompareCounter settlementowner_Pella != 15
and I_SettlementOwner Pella = egypt
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 15
end_if

if I_CompareCounter settlementowner_Homna != 15
and I_SettlementOwner Homna = egypt
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 15
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 15
and I_SettlementOwner Antiocheia_Margiane = egypt
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 15
end_if

if I_CompareCounter settlementowner_Paraitonion != 15
and I_SettlementOwner Paraitonion = egypt
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 15
end_if

if I_CompareCounter settlementowner_Ippone != 15
and I_SettlementOwner Ippone = egypt
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 15
end_if

if I_CompareCounter settlementowner_Sala != 15
and I_SettlementOwner Sala = egypt
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 15
end_if

if I_CompareCounter settlementowner_Siga != 15
and I_SettlementOwner Siga = egypt
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 15
end_if

if I_CompareCounter settlementowner_Lixus != 15
and I_SettlementOwner Lixus = egypt
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 15
end_if

if I_CompareCounter settlementowner_Ekbatana != 15
and I_SettlementOwner Ekbatana = egypt
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 15
end_if

if I_CompareCounter settlementowner_Kallatis != 15
and I_SettlementOwner Kallatis = egypt
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 15
end_if

if I_CompareCounter settlementowner_Bibracte != 15
and I_SettlementOwner Bibracte = egypt
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 15
end_if

if I_CompareCounter settlementowner_Cenabum != 15
and I_SettlementOwner Cenabum = egypt
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 15
end_if

if I_CompareCounter settlementowner_Eburonum != 15
and I_SettlementOwner Eburonum = egypt
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 15
end_if

if I_CompareCounter settlementowner_Pergamon != 15
and I_SettlementOwner Pergamon = egypt
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 15
end_if

if I_CompareCounter settlementowner_Bostra != 15
and I_SettlementOwner Bostra = egypt
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 15
end_if

if I_CompareCounter settlementowner_Bagacos != 15
and I_SettlementOwner Bagacos = egypt
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 15
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 15
and I_SettlementOwner Gordu_Neuriji = egypt
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 15
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 15
and I_SettlementOwner Iuvavoaeta = egypt
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 15
end_if

if I_CompareCounter settlementowner_Kirtan != 15
and I_SettlementOwner Kirtan = egypt
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 15
end_if

if I_CompareCounter settlementowner_Hibis != 15
and I_SettlementOwner Hibis = egypt
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 15
end_if

if I_CompareCounter settlementowner_Tylis != 15
and I_SettlementOwner Tylis = egypt
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 15
end_if

if I_CompareCounter settlementowner_Side != 15
and I_SettlementOwner Side = egypt
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 15
end_if

if I_CompareCounter settlementowner_Vindobona != 15
and I_SettlementOwner Vindobona = egypt
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 15
end_if

if I_CompareCounter settlementowner_Segestica != 15
and I_SettlementOwner Segestica = egypt
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 15
end_if

if I_CompareCounter settlementowner_Sinope != 15
and I_SettlementOwner Sinope = egypt
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 15
end_if

if I_CompareCounter settlementowner_Kophen != 15
and I_SettlementOwner Kophen = egypt
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 15
end_if

if I_CompareCounter settlementowner_Hekatompylos != 15
and I_SettlementOwner Hekatompylos = egypt
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 15
end_if

if I_CompareCounter settlementowner_Korinthos != 15
and I_SettlementOwner Korinthos = egypt
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 15
end_if

if I_CompareCounter settlementowner_Persepolis != 15
and I_SettlementOwner Persepolis = egypt
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 15
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 15
and I_SettlementOwner Garama = egypt
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 15
end_if

if I_CompareCounter settlementowner_Sidon != 15
and I_SettlementOwner Sidon = egypt
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 15
end_if

if I_CompareCounter settlementowner_Ipsos != 15
and I_SettlementOwner Ipsos = egypt
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 15
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 15
and I_SettlementOwner Ani-Kamah = egypt
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 15
end_if

if I_CompareCounter settlementowner_Trapezous != 15
and I_SettlementOwner Trapezous = egypt
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 15
end_if

if I_CompareCounter settlementowner_Tamane != 15
and I_SettlementOwner Tamane = egypt
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 15
end_if

if I_CompareCounter settlementowner_Veldideno != 15
and I_SettlementOwner Veldideno = egypt
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 15
end_if

if I_CompareCounter settlementowner_Rhodos != 15
and I_SettlementOwner Rhodos = egypt
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 15
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 15
and I_SettlementOwner Gawjam_Rugoz = egypt
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 15
end_if

if I_CompareCounter settlementowner_Maryab != 15
and I_SettlementOwner Maryab = egypt
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 15
end_if

if I_CompareCounter settlementowner_Terhazza != 15
and I_SettlementOwner Terhazza = egypt
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 15
end_if

if I_CompareCounter settlementowner_Gava_Saka != 15
and I_SettlementOwner Gava_Saka = egypt
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 15
end_if

if I_CompareCounter settlementowner_Asodat != 15
and I_SettlementOwner Asodat = egypt
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 15
end_if

if I_CompareCounter settlementowner_Karali != 15
and I_SettlementOwner Karali = egypt
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 15
end_if

if I_CompareCounter settlementowner_Opiana != 15
and I_SettlementOwner Opiana = egypt
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 15
end_if

if I_CompareCounter settlementowner_Singidunum != 15
and I_SettlementOwner Singidunum = egypt
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 15
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 15
and I_SettlementOwner Seliun_Pilis = egypt
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 15
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 15
and I_SettlementOwner Gintaras_Ostan = egypt
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 15
end_if

if I_CompareCounter settlementowner_Vesontio != 15
and I_SettlementOwner Vesontio = egypt
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 15
end_if

if I_CompareCounter settlementowner_Messana != 15
and I_SettlementOwner Messana = egypt
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 15
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 15
and I_SettlementOwner Gawjam_Silengoz = egypt
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 15
end_if

if I_CompareCounter settlementowner_Petra != 15
and I_SettlementOwner Petra = egypt
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 15
end_if

if I_CompareCounter settlementowner_Patala != 15
and I_SettlementOwner Patala = egypt
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 15
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 15
and I_SettlementOwner Gawjam_Skandzawarjoz = egypt
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 15
end_if

if I_CompareCounter settlementowner_Olbia != 15
and I_SettlementOwner Olbia = egypt
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 15
end_if

if I_CompareCounter settlementowner_Marakanda != 15
and I_SettlementOwner Marakanda = egypt
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 15
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 15
and I_SettlementOwner Karkathiokerta = egypt
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 15
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 15
and I_SettlementOwner Swebotraustastamnoz = egypt
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 15
end_if

if I_CompareCounter settlementowner_Antiocheia != 15
and I_SettlementOwner Antiocheia = egypt
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 15
end_if

if I_CompareCounter settlementowner_Damaskos != 15
and I_SettlementOwner Damaskos = egypt
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 15
end_if

if I_CompareCounter settlementowner_Palmyra != 15
and I_SettlementOwner Palmyra = egypt
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 15
end_if

if I_CompareCounter settlementowner_Chersonesos != 15
and I_SettlementOwner Chersonesos = egypt
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 15
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 15
and I_SettlementOwner Diospolis_Megale = egypt
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 15
end_if

if I_CompareCounter settlementowner_Demetrias != 15
and I_SettlementOwner Demetrias = egypt
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 15
end_if

if I_CompareCounter settlementowner_Naissos != 15
and I_SettlementOwner Naissos = egypt
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 15
end_if

if I_CompareCounter settlementowner_Ascaucalis != 15
and I_SettlementOwner Ascaucalis = egypt
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 15
end_if

if I_CompareCounter settlementowner_Pselkis != 15
and I_SettlementOwner Pselkis = egypt
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 15
end_if

if I_CompareCounter settlementowner_Syracuse != 15
and I_SettlementOwner Syracuse = egypt
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 15
end_if

if I_CompareCounter settlementowner_Lepki != 15
and I_SettlementOwner Lepki = egypt
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 15
end_if

if I_CompareCounter settlementowner_Gader != 15
and I_SettlementOwner Gader = egypt
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 15
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 15
and I_SettlementOwner Sucum-Murgi = egypt
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 15
end_if

if I_CompareCounter settlementowner_Ariminum != 15
and I_SettlementOwner Ariminum = egypt
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 15
end_if

if I_CompareCounter settlementowner_Patavium != 15
and I_SettlementOwner Patavium = egypt
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 15
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 15
and I_SettlementOwner Vindelicoppidos = egypt
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 15
end_if

if I_CompareCounter settlementowner_Tolosa != 15
and I_SettlementOwner Tolosa = egypt
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 15
end_if

if I_CompareCounter settlementowner_Chighu != 15
and I_SettlementOwner Chighu = egypt
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 15
end_if

if I_CompareCounter settlementowner_Sulek != 15
and I_SettlementOwner Sulek = egypt
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 15
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 15
and I_SettlementOwner Kart_Hadast = egypt
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 15
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 15
and I_SettlementOwner Ubar = egypt
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 15
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction parthia
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 16
and I_SettlementOwner Arbela = parthia
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 16
end_if

if I_CompareCounter settlementowner_Phraaspa != 16
and I_SettlementOwner Phraaspa = parthia
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 16
end_if

if I_CompareCounter settlementowner_Bononia != 16
and I_SettlementOwner Bononia = parthia
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 16
end_if

if I_CompareCounter settlementowner_Kabalaka != 16
and I_SettlementOwner Kabalaka = parthia
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 16
end_if

if I_CompareCounter settlementowner_Thermon != 16
and I_SettlementOwner Thermon = parthia
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 16
end_if

if I_CompareCounter settlementowner_Arpi != 16
and I_SettlementOwner Arpi = parthia
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 16
end_if

if I_CompareCounter settlementowner_Burdigala != 16
and I_SettlementOwner Burdigala = parthia
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 16
end_if

if I_CompareCounter settlementowner_Babylon != 16
and I_SettlementOwner Babylon = parthia
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 16
end_if

if I_CompareCounter settlementowner_Alexandropolis != 16
and I_SettlementOwner Alexandropolis = parthia
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 16
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 16
and I_SettlementOwner Alexandreia_Ariana = parthia
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 16
end_if

if I_CompareCounter settlementowner_Darioritum != 16
and I_SettlementOwner Darioritum = parthia
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 16
end_if

if I_CompareCounter settlementowner_Gergovia != 16
and I_SettlementOwner Gergovia = parthia
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 16
end_if

if I_CompareCounter settlementowner_Edessa != 16
and I_SettlementOwner Edessa = parthia
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 16
end_if

if I_CompareCounter settlementowner_Asaak != 16
and I_SettlementOwner Asaak = parthia
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 16
end_if

if I_CompareCounter settlementowner_Pallantia != 16
and I_SettlementOwner Pallantia = parthia
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 16
end_if

if I_CompareCounter settlementowner_Athenai != 16
and I_SettlementOwner Athenai = parthia
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 16
end_if

if I_CompareCounter settlementowner_Augila_settlement != 16
and I_SettlementOwner Augila_settlement = parthia
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 16
end_if

if I_CompareCounter settlementowner_Seleukeia != 16
and I_SettlementOwner Seleukeia = parthia
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 16
end_if

if I_CompareCounter settlementowner_Baktra != 16
and I_SettlementOwner Baktra = parthia
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 16
end_if

if I_CompareCounter settlementowner_Bocchoris != 16
and I_SettlementOwner Bocchoris = parthia
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 16
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 16
and I_SettlementOwner Gawjam_Bastarnoz = parthia
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 16
end_if

if I_CompareCounter settlementowner_Mastia != 16
and I_SettlementOwner Mastia = parthia
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 16
end_if

if I_CompareCounter settlementowner_Avaricum != 16
and I_SettlementOwner Avaricum = parthia
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 16
end_if

if I_CompareCounter settlementowner_Bratosporios != 16
and I_SettlementOwner Bratosporios = parthia
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 16
end_if

if I_CompareCounter settlementowner_Nikaia != 16
and I_SettlementOwner Nikaia = parthia
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 16
end_if

if I_CompareCounter settlementowner_Pantikapaion != 16
and I_SettlementOwner Pantikapaion = parthia
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 16
end_if

if I_CompareCounter settlementowner_Rhegion != 16
and I_SettlementOwner Rhegion = parthia
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 16
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 16
and I_SettlementOwner Caern_Brigantae = parthia
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 16
end_if

if I_CompareCounter settlementowner_Gelonus != 16
and I_SettlementOwner Gelonus = parthia
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 16
end_if

if I_CompareCounter settlementowner_Adrumeto != 16
and I_SettlementOwner Adrumeto = parthia
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 16
end_if

if I_CompareCounter settlementowner_Attuaca != 16
and I_SettlementOwner Attuaca = parthia
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 16
end_if

if I_CompareCounter settlementowner_Capua != 16
and I_SettlementOwner Capua = parthia
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 16
end_if

if I_CompareCounter settlementowner_Vellika != 16
and I_SettlementOwner Vellika = parthia
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 16
end_if

if I_CompareCounter settlementowner_Baikor != 16
and I_SettlementOwner Baikor = parthia
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 16
end_if

if I_CompareCounter settlementowner_Camulosadae != 16
and I_SettlementOwner Camulosadae = parthia
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 16
end_if

if I_CompareCounter settlementowner_Numantia != 16
and I_SettlementOwner Numantia = parthia
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 16
end_if

if I_CompareCounter settlementowner_Charax != 16
and I_SettlementOwner Charax = parthia
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 16
end_if

if I_CompareCounter settlementowner_Byzantion != 16
and I_SettlementOwner Byzantion = parthia
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 16
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 16
and I_SettlementOwner Ptolemais_Theron = parthia
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 16
end_if

if I_CompareCounter settlementowner_Ratae != 16
and I_SettlementOwner Ratae = parthia
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 16
end_if

if I_CompareCounter settlementowner_Ictis != 16
and I_SettlementOwner Ictis = parthia
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 16
end_if

if I_CompareCounter settlementowner_Lucarottea != 16
and I_SettlementOwner Lucarottea = parthia
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 16
end_if

if I_CompareCounter settlementowner_Emain_Macha != 16
and I_SettlementOwner Emain_Macha = parthia
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 16
end_if

if I_CompareCounter settlementowner_Atiqa != 16
and I_SettlementOwner Atiqa = parthia
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 16
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 16
and I_SettlementOwner Ynys_Mon = parthia
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 16
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 16
and I_SettlementOwner Gava_Alanna = parthia
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 16
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 16
and I_SettlementOwner Gava_Aursa = parthia
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 16
end_if

if I_CompareCounter settlementowner_Nisa != 16
and I_SettlementOwner Nisa = parthia
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 16
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 16
and I_SettlementOwner Gava_Haomavarga = parthia
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 16
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 16
and I_SettlementOwner Gava_Mazsakata = parthia
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 16
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 16
and I_SettlementOwner Gava_Roxsalanna = parthia
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 16
end_if

if I_CompareCounter settlementowner_Uspe != 16
and I_SettlementOwner Uspe = parthia
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 16
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 16
and I_SettlementOwner Gava_Thissakata = parthia
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 16
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 16
and I_SettlementOwner Gava_Yazyga = parthia
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 16
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 16
and I_SettlementOwner Gava_Yugra = parthia
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 16
end_if

if I_CompareCounter settlementowner_Dalminion != 16
and I_SettlementOwner Dalminion = parthia
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 16
end_if

if I_CompareCounter settlementowner_Serdike != 16
and I_SettlementOwner Serdike = parthia
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 16
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 16
and I_SettlementOwner Alexandreia_Eschate = parthia
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 16
end_if

if I_CompareCounter settlementowner_Alexandreia != 16
and I_SettlementOwner Alexandreia = parthia
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 16
end_if

if I_CompareCounter settlementowner_Axum != 16
and I_SettlementOwner Axum = parthia
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 16
end_if

if I_CompareCounter settlementowner_Prophthasia != 16
and I_SettlementOwner Prophthasia = parthia
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 16
end_if

if I_CompareCounter settlementowner_Arse != 16
and I_SettlementOwner Arse = parthia
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 16
end_if

if I_CompareCounter settlementowner_Kotais != 16
and I_SettlementOwner Kotais = parthia
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 16
end_if

if I_CompareCounter settlementowner_Lilibeo != 16
and I_SettlementOwner Lilibeo = parthia
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 16
end_if

if I_CompareCounter settlementowner_Susa != 16
and I_SettlementOwner Susa = parthia
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 16
end_if

if I_CompareCounter settlementowner_Apollonia != 16
and I_SettlementOwner Apollonia = parthia
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 16
end_if

if I_CompareCounter settlementowner_Ivernis != 16
and I_SettlementOwner Ivernis = parthia
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 16
end_if

if I_CompareCounter settlementowner_Ak_Ink != 16
and I_SettlementOwner Ak_Ink = parthia
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 16
end_if

if I_CompareCounter settlementowner_Arretium != 16
and I_SettlementOwner Arretium = parthia
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 16
end_if

if I_CompareCounter settlementowner_Chalkis != 16
and I_SettlementOwner Chalkis = parthia
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 16
end_if

if I_CompareCounter settlementowner_Gabai != 16
and I_SettlementOwner Gabai = parthia
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 16
end_if

if I_CompareCounter settlementowner_Tuat != 16
and I_SettlementOwner Tuat = parthia
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 16
end_if

if I_CompareCounter settlementowner_Tyde != 16
and I_SettlementOwner Tyde = parthia
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 16
end_if

if I_CompareCounter settlementowner_Ankyra != 16
and I_SettlementOwner Ankyra = parthia
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 16
end_if

if I_CompareCounter settlementowner_Taksashila != 16
and I_SettlementOwner Taksashila = parthia
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 16
end_if

if I_CompareCounter settlementowner_Pura != 16
and I_SettlementOwner Pura = parthia
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 16
end_if

if I_CompareCounter settlementowner_Gerrha != 16
and I_SettlementOwner Gerrha = parthia
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 16
end_if

if I_CompareCounter settlementowner_Buridava != 16
and I_SettlementOwner Buridava = parthia
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 16
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 16
and I_SettlementOwner Sarmiszegethusa = parthia
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 16
end_if

if I_CompareCounter settlementowner_Massalia != 16
and I_SettlementOwner Massalia = parthia
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 16
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 16
and I_SettlementOwner Gawjam_Habukoz = parthia
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 16
end_if

if I_CompareCounter settlementowner_Sabata != 16
and I_SettlementOwner Sabata = parthia
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 16
end_if

if I_CompareCounter settlementowner_Arctaunon != 16
and I_SettlementOwner Arctaunon = parthia
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 16
end_if

if I_CompareCounter settlementowner_Armavir != 16
and I_SettlementOwner Armavir = parthia
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 16
end_if

if I_CompareCounter settlementowner_Aventicos != 16
and I_SettlementOwner Aventicos = parthia
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 16
end_if

if I_CompareCounter settlementowner_Memphis != 16
and I_SettlementOwner Memphis = parthia
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 16
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 16
and I_SettlementOwner Gawjam_Heruskoz = parthia
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 16
end_if

if I_CompareCounter settlementowner_Zadrakata != 16
and I_SettlementOwner Zadrakata = parthia
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 16
end_if

if I_CompareCounter settlementowner_Epidamnos != 16
and I_SettlementOwner Epidamnos = parthia
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 16
end_if

if I_CompareCounter settlementowner_Mediolanum != 16
and I_SettlementOwner Mediolanum = parthia
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 16
end_if

if I_CompareCounter settlementowner_Hierosolyma != 16
and I_SettlementOwner Hierosolyma = parthia
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 16
end_if

if I_CompareCounter settlementowner_Taras != 16
and I_SettlementOwner Taras = parthia
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 16
end_if

if I_CompareCounter settlementowner_Chach != 16
and I_SettlementOwner Chach = parthia
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 16
end_if

if I_CompareCounter settlementowner_Mazaka != 16
and I_SettlementOwner Mazaka = parthia
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 16
end_if

if I_CompareCounter settlementowner_Amaseia != 16
and I_SettlementOwner Amaseia = parthia
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 16
end_if

if I_CompareCounter settlementowner_Halikarnassos != 16
and I_SettlementOwner Halikarnassos = parthia
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 16
end_if

if I_CompareCounter settlementowner_Karmana != 16
and I_SettlementOwner Karmana = parthia
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 16
end_if

if I_CompareCounter settlementowner_Mtskheta != 16
and I_SettlementOwner Mtskheta = parthia
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 16
end_if

if I_CompareCounter settlementowner_Apameia != 16
and I_SettlementOwner Apameia = parthia
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 16
end_if

if I_CompareCounter settlementowner_Khiva != 16
and I_SettlementOwner Khiva = parthia
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 16
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 16
and I_SettlementOwner Tarsos = parthia
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 16
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 16
and I_SettlementOwner Gawjam_Kimbroz = parthia
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 16
end_if

if I_CompareCounter settlementowner_Alalia != 16
and I_SettlementOwner Alalia = parthia
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 16
end_if

if I_CompareCounter settlementowner_Kydonia != 16
and I_SettlementOwner Kydonia = parthia
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 16
end_if

if I_CompareCounter settlementowner_Meroe != 16
and I_SettlementOwner Meroe = parthia
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 16
end_if

if I_CompareCounter settlementowner_Salamis != 16
and I_SettlementOwner Salamis = parthia
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 16
end_if

if I_CompareCounter settlementowner_Kyrene != 16
and I_SettlementOwner Kyrene = parthia
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 16
end_if

if I_CompareCounter settlementowner_Emporion != 16
and I_SettlementOwner Emporion = parthia
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 16
end_if

if I_CompareCounter settlementowner_Sparte != 16
and I_SettlementOwner Sparte = parthia
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 16
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 16
and I_SettlementOwner Gawjam_Gotanoz = parthia
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 16
end_if

if I_CompareCounter settlementowner_Rome != 16
and I_SettlementOwner Rome = parthia
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 16
end_if

if I_CompareCounter settlementowner_Lemonum != 16
and I_SettlementOwner Lemonum = parthia
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 16
end_if

if I_CompareCounter settlementowner_Mytilene != 16
and I_SettlementOwner Mytilene = parthia
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 16
end_if

if I_CompareCounter settlementowner_Ammonion != 16
and I_SettlementOwner Ammonion = parthia
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 16
end_if

if I_CompareCounter settlementowner_Segesta != 16
and I_SettlementOwner Segesta = parthia
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 16
end_if

if I_CompareCounter settlementowner_Viennos != 16
and I_SettlementOwner Viennos = parthia
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 16
end_if

if I_CompareCounter settlementowner_Carrodunum != 16
and I_SettlementOwner Carrodunum = parthia
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 16
end_if

if I_CompareCounter settlementowner_Oxtraca != 16
and I_SettlementOwner Oxtraca = parthia
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 16
end_if

if I_CompareCounter settlementowner_Sardis != 16
and I_SettlementOwner Sardis = parthia
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 16
end_if

if I_CompareCounter settlementowner_Tanais != 16
and I_SettlementOwner Tanais = parthia
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 16
end_if

if I_CompareCounter settlementowner_Carna != 16
and I_SettlementOwner Carna = parthia
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 16
end_if

if I_CompareCounter settlementowner_Pella != 16
and I_SettlementOwner Pella = parthia
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 16
end_if

if I_CompareCounter settlementowner_Homna != 16
and I_SettlementOwner Homna = parthia
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 16
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 16
and I_SettlementOwner Antiocheia_Margiane = parthia
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 16
end_if

if I_CompareCounter settlementowner_Paraitonion != 16
and I_SettlementOwner Paraitonion = parthia
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 16
end_if

if I_CompareCounter settlementowner_Ippone != 16
and I_SettlementOwner Ippone = parthia
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 16
end_if

if I_CompareCounter settlementowner_Sala != 16
and I_SettlementOwner Sala = parthia
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 16
end_if

if I_CompareCounter settlementowner_Siga != 16
and I_SettlementOwner Siga = parthia
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 16
end_if

if I_CompareCounter settlementowner_Lixus != 16
and I_SettlementOwner Lixus = parthia
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 16
end_if

if I_CompareCounter settlementowner_Ekbatana != 16
and I_SettlementOwner Ekbatana = parthia
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 16
end_if

if I_CompareCounter settlementowner_Kallatis != 16
and I_SettlementOwner Kallatis = parthia
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 16
end_if

if I_CompareCounter settlementowner_Bibracte != 16
and I_SettlementOwner Bibracte = parthia
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 16
end_if

if I_CompareCounter settlementowner_Cenabum != 16
and I_SettlementOwner Cenabum = parthia
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 16
end_if

if I_CompareCounter settlementowner_Eburonum != 16
and I_SettlementOwner Eburonum = parthia
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 16
end_if

if I_CompareCounter settlementowner_Pergamon != 16
and I_SettlementOwner Pergamon = parthia
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 16
end_if

if I_CompareCounter settlementowner_Bostra != 16
and I_SettlementOwner Bostra = parthia
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 16
end_if

if I_CompareCounter settlementowner_Bagacos != 16
and I_SettlementOwner Bagacos = parthia
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 16
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 16
and I_SettlementOwner Gordu_Neuriji = parthia
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 16
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 16
and I_SettlementOwner Iuvavoaeta = parthia
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 16
end_if

if I_CompareCounter settlementowner_Kirtan != 16
and I_SettlementOwner Kirtan = parthia
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 16
end_if

if I_CompareCounter settlementowner_Hibis != 16
and I_SettlementOwner Hibis = parthia
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 16
end_if

if I_CompareCounter settlementowner_Tylis != 16
and I_SettlementOwner Tylis = parthia
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 16
end_if

if I_CompareCounter settlementowner_Side != 16
and I_SettlementOwner Side = parthia
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 16
end_if

if I_CompareCounter settlementowner_Vindobona != 16
and I_SettlementOwner Vindobona = parthia
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 16
end_if

if I_CompareCounter settlementowner_Segestica != 16
and I_SettlementOwner Segestica = parthia
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 16
end_if

if I_CompareCounter settlementowner_Sinope != 16
and I_SettlementOwner Sinope = parthia
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 16
end_if

if I_CompareCounter settlementowner_Kophen != 16
and I_SettlementOwner Kophen = parthia
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 16
end_if

if I_CompareCounter settlementowner_Hekatompylos != 16
and I_SettlementOwner Hekatompylos = parthia
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 16
end_if

if I_CompareCounter settlementowner_Korinthos != 16
and I_SettlementOwner Korinthos = parthia
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 16
end_if

if I_CompareCounter settlementowner_Persepolis != 16
and I_SettlementOwner Persepolis = parthia
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 16
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 16
and I_SettlementOwner Garama = parthia
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 16
end_if

if I_CompareCounter settlementowner_Sidon != 16
and I_SettlementOwner Sidon = parthia
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 16
end_if

if I_CompareCounter settlementowner_Ipsos != 16
and I_SettlementOwner Ipsos = parthia
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 16
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 16
and I_SettlementOwner Ani-Kamah = parthia
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 16
end_if

if I_CompareCounter settlementowner_Trapezous != 16
and I_SettlementOwner Trapezous = parthia
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 16
end_if

if I_CompareCounter settlementowner_Tamane != 16
and I_SettlementOwner Tamane = parthia
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 16
end_if

if I_CompareCounter settlementowner_Veldideno != 16
and I_SettlementOwner Veldideno = parthia
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 16
end_if

if I_CompareCounter settlementowner_Rhodos != 16
and I_SettlementOwner Rhodos = parthia
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 16
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 16
and I_SettlementOwner Gawjam_Rugoz = parthia
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 16
end_if

if I_CompareCounter settlementowner_Maryab != 16
and I_SettlementOwner Maryab = parthia
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 16
end_if

if I_CompareCounter settlementowner_Terhazza != 16
and I_SettlementOwner Terhazza = parthia
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 16
end_if

if I_CompareCounter settlementowner_Gava_Saka != 16
and I_SettlementOwner Gava_Saka = parthia
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 16
end_if

if I_CompareCounter settlementowner_Asodat != 16
and I_SettlementOwner Asodat = parthia
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 16
end_if

if I_CompareCounter settlementowner_Karali != 16
and I_SettlementOwner Karali = parthia
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 16
end_if

if I_CompareCounter settlementowner_Opiana != 16
and I_SettlementOwner Opiana = parthia
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 16
end_if

if I_CompareCounter settlementowner_Singidunum != 16
and I_SettlementOwner Singidunum = parthia
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 16
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 16
and I_SettlementOwner Seliun_Pilis = parthia
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 16
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 16
and I_SettlementOwner Gintaras_Ostan = parthia
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 16
end_if

if I_CompareCounter settlementowner_Vesontio != 16
and I_SettlementOwner Vesontio = parthia
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 16
end_if

if I_CompareCounter settlementowner_Messana != 16
and I_SettlementOwner Messana = parthia
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 16
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 16
and I_SettlementOwner Gawjam_Silengoz = parthia
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 16
end_if

if I_CompareCounter settlementowner_Petra != 16
and I_SettlementOwner Petra = parthia
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 16
end_if

if I_CompareCounter settlementowner_Patala != 16
and I_SettlementOwner Patala = parthia
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 16
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 16
and I_SettlementOwner Gawjam_Skandzawarjoz = parthia
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 16
end_if

if I_CompareCounter settlementowner_Olbia != 16
and I_SettlementOwner Olbia = parthia
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 16
end_if

if I_CompareCounter settlementowner_Marakanda != 16
and I_SettlementOwner Marakanda = parthia
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 16
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 16
and I_SettlementOwner Karkathiokerta = parthia
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 16
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 16
and I_SettlementOwner Swebotraustastamnoz = parthia
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 16
end_if

if I_CompareCounter settlementowner_Antiocheia != 16
and I_SettlementOwner Antiocheia = parthia
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 16
end_if

if I_CompareCounter settlementowner_Damaskos != 16
and I_SettlementOwner Damaskos = parthia
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 16
end_if

if I_CompareCounter settlementowner_Palmyra != 16
and I_SettlementOwner Palmyra = parthia
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 16
end_if

if I_CompareCounter settlementowner_Chersonesos != 16
and I_SettlementOwner Chersonesos = parthia
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 16
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 16
and I_SettlementOwner Diospolis_Megale = parthia
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 16
end_if

if I_CompareCounter settlementowner_Demetrias != 16
and I_SettlementOwner Demetrias = parthia
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 16
end_if

if I_CompareCounter settlementowner_Naissos != 16
and I_SettlementOwner Naissos = parthia
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 16
end_if

if I_CompareCounter settlementowner_Ascaucalis != 16
and I_SettlementOwner Ascaucalis = parthia
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 16
end_if

if I_CompareCounter settlementowner_Pselkis != 16
and I_SettlementOwner Pselkis = parthia
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 16
end_if

if I_CompareCounter settlementowner_Syracuse != 16
and I_SettlementOwner Syracuse = parthia
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 16
end_if

if I_CompareCounter settlementowner_Lepki != 16
and I_SettlementOwner Lepki = parthia
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 16
end_if

if I_CompareCounter settlementowner_Gader != 16
and I_SettlementOwner Gader = parthia
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 16
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 16
and I_SettlementOwner Sucum-Murgi = parthia
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 16
end_if

if I_CompareCounter settlementowner_Ariminum != 16
and I_SettlementOwner Ariminum = parthia
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 16
end_if

if I_CompareCounter settlementowner_Patavium != 16
and I_SettlementOwner Patavium = parthia
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 16
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 16
and I_SettlementOwner Vindelicoppidos = parthia
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 16
end_if

if I_CompareCounter settlementowner_Tolosa != 16
and I_SettlementOwner Tolosa = parthia
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 16
end_if

if I_CompareCounter settlementowner_Chighu != 16
and I_SettlementOwner Chighu = parthia
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 16
end_if

if I_CompareCounter settlementowner_Sulek != 16
and I_SettlementOwner Sulek = parthia
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 16
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 16
and I_SettlementOwner Kart_Hadast = parthia
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 16
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 16
and I_SettlementOwner Ubar = parthia
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 16
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction numidia
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 17
and I_SettlementOwner Arbela = numidia
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 17
end_if

if I_CompareCounter settlementowner_Phraaspa != 17
and I_SettlementOwner Phraaspa = numidia
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 17
end_if

if I_CompareCounter settlementowner_Bononia != 17
and I_SettlementOwner Bononia = numidia
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 17
end_if

if I_CompareCounter settlementowner_Kabalaka != 17
and I_SettlementOwner Kabalaka = numidia
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 17
end_if

if I_CompareCounter settlementowner_Thermon != 17
and I_SettlementOwner Thermon = numidia
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 17
end_if

if I_CompareCounter settlementowner_Arpi != 17
and I_SettlementOwner Arpi = numidia
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 17
end_if

if I_CompareCounter settlementowner_Burdigala != 17
and I_SettlementOwner Burdigala = numidia
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 17
end_if

if I_CompareCounter settlementowner_Babylon != 17
and I_SettlementOwner Babylon = numidia
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 17
end_if

if I_CompareCounter settlementowner_Alexandropolis != 17
and I_SettlementOwner Alexandropolis = numidia
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 17
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 17
and I_SettlementOwner Alexandreia_Ariana = numidia
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 17
end_if

if I_CompareCounter settlementowner_Darioritum != 17
and I_SettlementOwner Darioritum = numidia
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 17
end_if

if I_CompareCounter settlementowner_Gergovia != 17
and I_SettlementOwner Gergovia = numidia
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 17
end_if

if I_CompareCounter settlementowner_Edessa != 17
and I_SettlementOwner Edessa = numidia
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 17
end_if

if I_CompareCounter settlementowner_Asaak != 17
and I_SettlementOwner Asaak = numidia
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 17
end_if

if I_CompareCounter settlementowner_Pallantia != 17
and I_SettlementOwner Pallantia = numidia
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 17
end_if

if I_CompareCounter settlementowner_Athenai != 17
and I_SettlementOwner Athenai = numidia
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 17
end_if

if I_CompareCounter settlementowner_Augila_settlement != 17
and I_SettlementOwner Augila_settlement = numidia
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 17
end_if

if I_CompareCounter settlementowner_Seleukeia != 17
and I_SettlementOwner Seleukeia = numidia
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 17
end_if

if I_CompareCounter settlementowner_Baktra != 17
and I_SettlementOwner Baktra = numidia
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 17
end_if

if I_CompareCounter settlementowner_Bocchoris != 17
and I_SettlementOwner Bocchoris = numidia
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 17
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 17
and I_SettlementOwner Gawjam_Bastarnoz = numidia
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 17
end_if

if I_CompareCounter settlementowner_Mastia != 17
and I_SettlementOwner Mastia = numidia
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 17
end_if

if I_CompareCounter settlementowner_Avaricum != 17
and I_SettlementOwner Avaricum = numidia
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 17
end_if

if I_CompareCounter settlementowner_Bratosporios != 17
and I_SettlementOwner Bratosporios = numidia
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 17
end_if

if I_CompareCounter settlementowner_Nikaia != 17
and I_SettlementOwner Nikaia = numidia
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 17
end_if

if I_CompareCounter settlementowner_Pantikapaion != 17
and I_SettlementOwner Pantikapaion = numidia
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 17
end_if

if I_CompareCounter settlementowner_Rhegion != 17
and I_SettlementOwner Rhegion = numidia
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 17
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 17
and I_SettlementOwner Caern_Brigantae = numidia
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 17
end_if

if I_CompareCounter settlementowner_Gelonus != 17
and I_SettlementOwner Gelonus = numidia
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 17
end_if

if I_CompareCounter settlementowner_Adrumeto != 17
and I_SettlementOwner Adrumeto = numidia
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 17
end_if

if I_CompareCounter settlementowner_Attuaca != 17
and I_SettlementOwner Attuaca = numidia
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 17
end_if

if I_CompareCounter settlementowner_Capua != 17
and I_SettlementOwner Capua = numidia
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 17
end_if

if I_CompareCounter settlementowner_Vellika != 17
and I_SettlementOwner Vellika = numidia
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 17
end_if

if I_CompareCounter settlementowner_Baikor != 17
and I_SettlementOwner Baikor = numidia
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 17
end_if

if I_CompareCounter settlementowner_Camulosadae != 17
and I_SettlementOwner Camulosadae = numidia
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 17
end_if

if I_CompareCounter settlementowner_Numantia != 17
and I_SettlementOwner Numantia = numidia
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 17
end_if

if I_CompareCounter settlementowner_Charax != 17
and I_SettlementOwner Charax = numidia
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 17
end_if

if I_CompareCounter settlementowner_Byzantion != 17
and I_SettlementOwner Byzantion = numidia
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 17
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 17
and I_SettlementOwner Ptolemais_Theron = numidia
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 17
end_if

if I_CompareCounter settlementowner_Ratae != 17
and I_SettlementOwner Ratae = numidia
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 17
end_if

if I_CompareCounter settlementowner_Ictis != 17
and I_SettlementOwner Ictis = numidia
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 17
end_if

if I_CompareCounter settlementowner_Lucarottea != 17
and I_SettlementOwner Lucarottea = numidia
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 17
end_if

if I_CompareCounter settlementowner_Emain_Macha != 17
and I_SettlementOwner Emain_Macha = numidia
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 17
end_if

if I_CompareCounter settlementowner_Atiqa != 17
and I_SettlementOwner Atiqa = numidia
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 17
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 17
and I_SettlementOwner Ynys_Mon = numidia
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 17
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 17
and I_SettlementOwner Gava_Alanna = numidia
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 17
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 17
and I_SettlementOwner Gava_Aursa = numidia
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 17
end_if

if I_CompareCounter settlementowner_Nisa != 17
and I_SettlementOwner Nisa = numidia
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 17
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 17
and I_SettlementOwner Gava_Haomavarga = numidia
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 17
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 17
and I_SettlementOwner Gava_Mazsakata = numidia
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 17
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 17
and I_SettlementOwner Gava_Roxsalanna = numidia
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 17
end_if

if I_CompareCounter settlementowner_Uspe != 17
and I_SettlementOwner Uspe = numidia
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 17
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 17
and I_SettlementOwner Gava_Thissakata = numidia
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 17
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 17
and I_SettlementOwner Gava_Yazyga = numidia
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 17
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 17
and I_SettlementOwner Gava_Yugra = numidia
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 17
end_if

if I_CompareCounter settlementowner_Dalminion != 17
and I_SettlementOwner Dalminion = numidia
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 17
end_if

if I_CompareCounter settlementowner_Serdike != 17
and I_SettlementOwner Serdike = numidia
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 17
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 17
and I_SettlementOwner Alexandreia_Eschate = numidia
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 17
end_if

if I_CompareCounter settlementowner_Alexandreia != 17
and I_SettlementOwner Alexandreia = numidia
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 17
end_if

if I_CompareCounter settlementowner_Axum != 17
and I_SettlementOwner Axum = numidia
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 17
end_if

if I_CompareCounter settlementowner_Prophthasia != 17
and I_SettlementOwner Prophthasia = numidia
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 17
end_if

if I_CompareCounter settlementowner_Arse != 17
and I_SettlementOwner Arse = numidia
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 17
end_if

if I_CompareCounter settlementowner_Kotais != 17
and I_SettlementOwner Kotais = numidia
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 17
end_if

if I_CompareCounter settlementowner_Lilibeo != 17
and I_SettlementOwner Lilibeo = numidia
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 17
end_if

if I_CompareCounter settlementowner_Susa != 17
and I_SettlementOwner Susa = numidia
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 17
end_if

if I_CompareCounter settlementowner_Apollonia != 17
and I_SettlementOwner Apollonia = numidia
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 17
end_if

if I_CompareCounter settlementowner_Ivernis != 17
and I_SettlementOwner Ivernis = numidia
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 17
end_if

if I_CompareCounter settlementowner_Ak_Ink != 17
and I_SettlementOwner Ak_Ink = numidia
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 17
end_if

if I_CompareCounter settlementowner_Arretium != 17
and I_SettlementOwner Arretium = numidia
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 17
end_if

if I_CompareCounter settlementowner_Chalkis != 17
and I_SettlementOwner Chalkis = numidia
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 17
end_if

if I_CompareCounter settlementowner_Gabai != 17
and I_SettlementOwner Gabai = numidia
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 17
end_if

if I_CompareCounter settlementowner_Tuat != 17
and I_SettlementOwner Tuat = numidia
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 17
end_if

if I_CompareCounter settlementowner_Tyde != 17
and I_SettlementOwner Tyde = numidia
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 17
end_if

if I_CompareCounter settlementowner_Ankyra != 17
and I_SettlementOwner Ankyra = numidia
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 17
end_if

if I_CompareCounter settlementowner_Taksashila != 17
and I_SettlementOwner Taksashila = numidia
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 17
end_if

if I_CompareCounter settlementowner_Pura != 17
and I_SettlementOwner Pura = numidia
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 17
end_if

if I_CompareCounter settlementowner_Gerrha != 17
and I_SettlementOwner Gerrha = numidia
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 17
end_if

if I_CompareCounter settlementowner_Buridava != 17
and I_SettlementOwner Buridava = numidia
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 17
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 17
and I_SettlementOwner Sarmiszegethusa = numidia
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 17
end_if

if I_CompareCounter settlementowner_Massalia != 17
and I_SettlementOwner Massalia = numidia
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 17
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 17
and I_SettlementOwner Gawjam_Habukoz = numidia
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 17
end_if

if I_CompareCounter settlementowner_Sabata != 17
and I_SettlementOwner Sabata = numidia
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 17
end_if

if I_CompareCounter settlementowner_Arctaunon != 17
and I_SettlementOwner Arctaunon = numidia
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 17
end_if

if I_CompareCounter settlementowner_Armavir != 17
and I_SettlementOwner Armavir = numidia
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 17
end_if

if I_CompareCounter settlementowner_Aventicos != 17
and I_SettlementOwner Aventicos = numidia
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 17
end_if

if I_CompareCounter settlementowner_Memphis != 17
and I_SettlementOwner Memphis = numidia
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 17
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 17
and I_SettlementOwner Gawjam_Heruskoz = numidia
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 17
end_if

if I_CompareCounter settlementowner_Zadrakata != 17
and I_SettlementOwner Zadrakata = numidia
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 17
end_if

if I_CompareCounter settlementowner_Epidamnos != 17
and I_SettlementOwner Epidamnos = numidia
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 17
end_if

if I_CompareCounter settlementowner_Mediolanum != 17
and I_SettlementOwner Mediolanum = numidia
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 17
end_if

if I_CompareCounter settlementowner_Hierosolyma != 17
and I_SettlementOwner Hierosolyma = numidia
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 17
end_if

if I_CompareCounter settlementowner_Taras != 17
and I_SettlementOwner Taras = numidia
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 17
end_if

if I_CompareCounter settlementowner_Chach != 17
and I_SettlementOwner Chach = numidia
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 17
end_if

if I_CompareCounter settlementowner_Mazaka != 17
and I_SettlementOwner Mazaka = numidia
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 17
end_if

if I_CompareCounter settlementowner_Amaseia != 17
and I_SettlementOwner Amaseia = numidia
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 17
end_if

if I_CompareCounter settlementowner_Halikarnassos != 17
and I_SettlementOwner Halikarnassos = numidia
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 17
end_if

if I_CompareCounter settlementowner_Karmana != 17
and I_SettlementOwner Karmana = numidia
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 17
end_if

if I_CompareCounter settlementowner_Mtskheta != 17
and I_SettlementOwner Mtskheta = numidia
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 17
end_if

if I_CompareCounter settlementowner_Apameia != 17
and I_SettlementOwner Apameia = numidia
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 17
end_if

if I_CompareCounter settlementowner_Khiva != 17
and I_SettlementOwner Khiva = numidia
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 17
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 17
and I_SettlementOwner Tarsos = numidia
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 17
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 17
and I_SettlementOwner Gawjam_Kimbroz = numidia
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 17
end_if

if I_CompareCounter settlementowner_Alalia != 17
and I_SettlementOwner Alalia = numidia
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 17
end_if

if I_CompareCounter settlementowner_Kydonia != 17
and I_SettlementOwner Kydonia = numidia
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 17
end_if

if I_CompareCounter settlementowner_Meroe != 17
and I_SettlementOwner Meroe = numidia
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 17
end_if

if I_CompareCounter settlementowner_Salamis != 17
and I_SettlementOwner Salamis = numidia
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 17
end_if

if I_CompareCounter settlementowner_Kyrene != 17
and I_SettlementOwner Kyrene = numidia
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 17
end_if

if I_CompareCounter settlementowner_Emporion != 17
and I_SettlementOwner Emporion = numidia
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 17
end_if

if I_CompareCounter settlementowner_Sparte != 17
and I_SettlementOwner Sparte = numidia
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 17
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 17
and I_SettlementOwner Gawjam_Gotanoz = numidia
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 17
end_if

if I_CompareCounter settlementowner_Rome != 17
and I_SettlementOwner Rome = numidia
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 17
end_if

if I_CompareCounter settlementowner_Lemonum != 17
and I_SettlementOwner Lemonum = numidia
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 17
end_if

if I_CompareCounter settlementowner_Mytilene != 17
and I_SettlementOwner Mytilene = numidia
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 17
end_if

if I_CompareCounter settlementowner_Ammonion != 17
and I_SettlementOwner Ammonion = numidia
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 17
end_if

if I_CompareCounter settlementowner_Segesta != 17
and I_SettlementOwner Segesta = numidia
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 17
end_if

if I_CompareCounter settlementowner_Viennos != 17
and I_SettlementOwner Viennos = numidia
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 17
end_if

if I_CompareCounter settlementowner_Carrodunum != 17
and I_SettlementOwner Carrodunum = numidia
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 17
end_if

if I_CompareCounter settlementowner_Oxtraca != 17
and I_SettlementOwner Oxtraca = numidia
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 17
end_if

if I_CompareCounter settlementowner_Sardis != 17
and I_SettlementOwner Sardis = numidia
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 17
end_if

if I_CompareCounter settlementowner_Tanais != 17
and I_SettlementOwner Tanais = numidia
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 17
end_if

if I_CompareCounter settlementowner_Carna != 17
and I_SettlementOwner Carna = numidia
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 17
end_if

if I_CompareCounter settlementowner_Pella != 17
and I_SettlementOwner Pella = numidia
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 17
end_if

if I_CompareCounter settlementowner_Homna != 17
and I_SettlementOwner Homna = numidia
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 17
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 17
and I_SettlementOwner Antiocheia_Margiane = numidia
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 17
end_if

if I_CompareCounter settlementowner_Paraitonion != 17
and I_SettlementOwner Paraitonion = numidia
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 17
end_if

if I_CompareCounter settlementowner_Ippone != 17
and I_SettlementOwner Ippone = numidia
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 17
end_if

if I_CompareCounter settlementowner_Sala != 17
and I_SettlementOwner Sala = numidia
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 17
end_if

if I_CompareCounter settlementowner_Siga != 17
and I_SettlementOwner Siga = numidia
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 17
end_if

if I_CompareCounter settlementowner_Lixus != 17
and I_SettlementOwner Lixus = numidia
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 17
end_if

if I_CompareCounter settlementowner_Ekbatana != 17
and I_SettlementOwner Ekbatana = numidia
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 17
end_if

if I_CompareCounter settlementowner_Kallatis != 17
and I_SettlementOwner Kallatis = numidia
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 17
end_if

if I_CompareCounter settlementowner_Bibracte != 17
and I_SettlementOwner Bibracte = numidia
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 17
end_if

if I_CompareCounter settlementowner_Cenabum != 17
and I_SettlementOwner Cenabum = numidia
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 17
end_if

if I_CompareCounter settlementowner_Eburonum != 17
and I_SettlementOwner Eburonum = numidia
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 17
end_if

if I_CompareCounter settlementowner_Pergamon != 17
and I_SettlementOwner Pergamon = numidia
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 17
end_if

if I_CompareCounter settlementowner_Bostra != 17
and I_SettlementOwner Bostra = numidia
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 17
end_if

if I_CompareCounter settlementowner_Bagacos != 17
and I_SettlementOwner Bagacos = numidia
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 17
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 17
and I_SettlementOwner Gordu_Neuriji = numidia
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 17
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 17
and I_SettlementOwner Iuvavoaeta = numidia
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 17
end_if

if I_CompareCounter settlementowner_Kirtan != 17
and I_SettlementOwner Kirtan = numidia
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 17
end_if

if I_CompareCounter settlementowner_Hibis != 17
and I_SettlementOwner Hibis = numidia
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 17
end_if

if I_CompareCounter settlementowner_Tylis != 17
and I_SettlementOwner Tylis = numidia
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 17
end_if

if I_CompareCounter settlementowner_Side != 17
and I_SettlementOwner Side = numidia
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 17
end_if

if I_CompareCounter settlementowner_Vindobona != 17
and I_SettlementOwner Vindobona = numidia
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 17
end_if

if I_CompareCounter settlementowner_Segestica != 17
and I_SettlementOwner Segestica = numidia
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 17
end_if

if I_CompareCounter settlementowner_Sinope != 17
and I_SettlementOwner Sinope = numidia
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 17
end_if

if I_CompareCounter settlementowner_Kophen != 17
and I_SettlementOwner Kophen = numidia
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 17
end_if

if I_CompareCounter settlementowner_Hekatompylos != 17
and I_SettlementOwner Hekatompylos = numidia
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 17
end_if

if I_CompareCounter settlementowner_Korinthos != 17
and I_SettlementOwner Korinthos = numidia
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 17
end_if

if I_CompareCounter settlementowner_Persepolis != 17
and I_SettlementOwner Persepolis = numidia
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 17
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 17
and I_SettlementOwner Garama = numidia
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 17
end_if

if I_CompareCounter settlementowner_Sidon != 17
and I_SettlementOwner Sidon = numidia
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 17
end_if

if I_CompareCounter settlementowner_Ipsos != 17
and I_SettlementOwner Ipsos = numidia
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 17
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 17
and I_SettlementOwner Ani-Kamah = numidia
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 17
end_if

if I_CompareCounter settlementowner_Trapezous != 17
and I_SettlementOwner Trapezous = numidia
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 17
end_if

if I_CompareCounter settlementowner_Tamane != 17
and I_SettlementOwner Tamane = numidia
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 17
end_if

if I_CompareCounter settlementowner_Veldideno != 17
and I_SettlementOwner Veldideno = numidia
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 17
end_if

if I_CompareCounter settlementowner_Rhodos != 17
and I_SettlementOwner Rhodos = numidia
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 17
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 17
and I_SettlementOwner Gawjam_Rugoz = numidia
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 17
end_if

if I_CompareCounter settlementowner_Maryab != 17
and I_SettlementOwner Maryab = numidia
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 17
end_if

if I_CompareCounter settlementowner_Terhazza != 17
and I_SettlementOwner Terhazza = numidia
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 17
end_if

if I_CompareCounter settlementowner_Gava_Saka != 17
and I_SettlementOwner Gava_Saka = numidia
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 17
end_if

if I_CompareCounter settlementowner_Asodat != 17
and I_SettlementOwner Asodat = numidia
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 17
end_if

if I_CompareCounter settlementowner_Karali != 17
and I_SettlementOwner Karali = numidia
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 17
end_if

if I_CompareCounter settlementowner_Opiana != 17
and I_SettlementOwner Opiana = numidia
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 17
end_if

if I_CompareCounter settlementowner_Singidunum != 17
and I_SettlementOwner Singidunum = numidia
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 17
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 17
and I_SettlementOwner Seliun_Pilis = numidia
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 17
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 17
and I_SettlementOwner Gintaras_Ostan = numidia
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 17
end_if

if I_CompareCounter settlementowner_Vesontio != 17
and I_SettlementOwner Vesontio = numidia
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 17
end_if

if I_CompareCounter settlementowner_Messana != 17
and I_SettlementOwner Messana = numidia
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 17
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 17
and I_SettlementOwner Gawjam_Silengoz = numidia
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 17
end_if

if I_CompareCounter settlementowner_Petra != 17
and I_SettlementOwner Petra = numidia
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 17
end_if

if I_CompareCounter settlementowner_Patala != 17
and I_SettlementOwner Patala = numidia
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 17
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 17
and I_SettlementOwner Gawjam_Skandzawarjoz = numidia
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 17
end_if

if I_CompareCounter settlementowner_Olbia != 17
and I_SettlementOwner Olbia = numidia
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 17
end_if

if I_CompareCounter settlementowner_Marakanda != 17
and I_SettlementOwner Marakanda = numidia
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 17
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 17
and I_SettlementOwner Karkathiokerta = numidia
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 17
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 17
and I_SettlementOwner Swebotraustastamnoz = numidia
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 17
end_if

if I_CompareCounter settlementowner_Antiocheia != 17
and I_SettlementOwner Antiocheia = numidia
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 17
end_if

if I_CompareCounter settlementowner_Damaskos != 17
and I_SettlementOwner Damaskos = numidia
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 17
end_if

if I_CompareCounter settlementowner_Palmyra != 17
and I_SettlementOwner Palmyra = numidia
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 17
end_if

if I_CompareCounter settlementowner_Chersonesos != 17
and I_SettlementOwner Chersonesos = numidia
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 17
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 17
and I_SettlementOwner Diospolis_Megale = numidia
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 17
end_if

if I_CompareCounter settlementowner_Demetrias != 17
and I_SettlementOwner Demetrias = numidia
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 17
end_if

if I_CompareCounter settlementowner_Naissos != 17
and I_SettlementOwner Naissos = numidia
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 17
end_if

if I_CompareCounter settlementowner_Ascaucalis != 17
and I_SettlementOwner Ascaucalis = numidia
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 17
end_if

if I_CompareCounter settlementowner_Pselkis != 17
and I_SettlementOwner Pselkis = numidia
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 17
end_if

if I_CompareCounter settlementowner_Syracuse != 17
and I_SettlementOwner Syracuse = numidia
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 17
end_if

if I_CompareCounter settlementowner_Lepki != 17
and I_SettlementOwner Lepki = numidia
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 17
end_if

if I_CompareCounter settlementowner_Gader != 17
and I_SettlementOwner Gader = numidia
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 17
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 17
and I_SettlementOwner Sucum-Murgi = numidia
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 17
end_if

if I_CompareCounter settlementowner_Ariminum != 17
and I_SettlementOwner Ariminum = numidia
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 17
end_if

if I_CompareCounter settlementowner_Patavium != 17
and I_SettlementOwner Patavium = numidia
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 17
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 17
and I_SettlementOwner Vindelicoppidos = numidia
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 17
end_if

if I_CompareCounter settlementowner_Tolosa != 17
and I_SettlementOwner Tolosa = numidia
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 17
end_if

if I_CompareCounter settlementowner_Chighu != 17
and I_SettlementOwner Chighu = numidia
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 17
end_if

if I_CompareCounter settlementowner_Sulek != 17
and I_SettlementOwner Sulek = numidia
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 17
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 17
and I_SettlementOwner Kart_Hadast = numidia
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 17
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 17
and I_SettlementOwner Ubar = numidia
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 17
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction saba
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 18
and I_SettlementOwner Arbela = saba
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 18
end_if

if I_CompareCounter settlementowner_Phraaspa != 18
and I_SettlementOwner Phraaspa = saba
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 18
end_if

if I_CompareCounter settlementowner_Bononia != 18
and I_SettlementOwner Bononia = saba
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 18
end_if

if I_CompareCounter settlementowner_Kabalaka != 18
and I_SettlementOwner Kabalaka = saba
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 18
end_if

if I_CompareCounter settlementowner_Thermon != 18
and I_SettlementOwner Thermon = saba
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 18
end_if

if I_CompareCounter settlementowner_Arpi != 18
and I_SettlementOwner Arpi = saba
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 18
end_if

if I_CompareCounter settlementowner_Burdigala != 18
and I_SettlementOwner Burdigala = saba
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 18
end_if

if I_CompareCounter settlementowner_Babylon != 18
and I_SettlementOwner Babylon = saba
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 18
end_if

if I_CompareCounter settlementowner_Alexandropolis != 18
and I_SettlementOwner Alexandropolis = saba
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 18
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 18
and I_SettlementOwner Alexandreia_Ariana = saba
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 18
end_if

if I_CompareCounter settlementowner_Darioritum != 18
and I_SettlementOwner Darioritum = saba
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 18
end_if

if I_CompareCounter settlementowner_Gergovia != 18
and I_SettlementOwner Gergovia = saba
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 18
end_if

if I_CompareCounter settlementowner_Edessa != 18
and I_SettlementOwner Edessa = saba
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 18
end_if

if I_CompareCounter settlementowner_Asaak != 18
and I_SettlementOwner Asaak = saba
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 18
end_if

if I_CompareCounter settlementowner_Pallantia != 18
and I_SettlementOwner Pallantia = saba
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 18
end_if

if I_CompareCounter settlementowner_Athenai != 18
and I_SettlementOwner Athenai = saba
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 18
end_if

if I_CompareCounter settlementowner_Augila_settlement != 18
and I_SettlementOwner Augila_settlement = saba
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 18
end_if

if I_CompareCounter settlementowner_Seleukeia != 18
and I_SettlementOwner Seleukeia = saba
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 18
end_if

if I_CompareCounter settlementowner_Baktra != 18
and I_SettlementOwner Baktra = saba
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 18
end_if

if I_CompareCounter settlementowner_Bocchoris != 18
and I_SettlementOwner Bocchoris = saba
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 18
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 18
and I_SettlementOwner Gawjam_Bastarnoz = saba
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 18
end_if

if I_CompareCounter settlementowner_Mastia != 18
and I_SettlementOwner Mastia = saba
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 18
end_if

if I_CompareCounter settlementowner_Avaricum != 18
and I_SettlementOwner Avaricum = saba
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 18
end_if

if I_CompareCounter settlementowner_Bratosporios != 18
and I_SettlementOwner Bratosporios = saba
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 18
end_if

if I_CompareCounter settlementowner_Nikaia != 18
and I_SettlementOwner Nikaia = saba
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 18
end_if

if I_CompareCounter settlementowner_Pantikapaion != 18
and I_SettlementOwner Pantikapaion = saba
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 18
end_if

if I_CompareCounter settlementowner_Rhegion != 18
and I_SettlementOwner Rhegion = saba
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 18
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 18
and I_SettlementOwner Caern_Brigantae = saba
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 18
end_if

if I_CompareCounter settlementowner_Gelonus != 18
and I_SettlementOwner Gelonus = saba
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 18
end_if

if I_CompareCounter settlementowner_Adrumeto != 18
and I_SettlementOwner Adrumeto = saba
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 18
end_if

if I_CompareCounter settlementowner_Attuaca != 18
and I_SettlementOwner Attuaca = saba
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 18
end_if

if I_CompareCounter settlementowner_Capua != 18
and I_SettlementOwner Capua = saba
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 18
end_if

if I_CompareCounter settlementowner_Vellika != 18
and I_SettlementOwner Vellika = saba
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 18
end_if

if I_CompareCounter settlementowner_Baikor != 18
and I_SettlementOwner Baikor = saba
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 18
end_if

if I_CompareCounter settlementowner_Camulosadae != 18
and I_SettlementOwner Camulosadae = saba
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 18
end_if

if I_CompareCounter settlementowner_Numantia != 18
and I_SettlementOwner Numantia = saba
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 18
end_if

if I_CompareCounter settlementowner_Charax != 18
and I_SettlementOwner Charax = saba
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 18
end_if

if I_CompareCounter settlementowner_Byzantion != 18
and I_SettlementOwner Byzantion = saba
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 18
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 18
and I_SettlementOwner Ptolemais_Theron = saba
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 18
end_if

if I_CompareCounter settlementowner_Ratae != 18
and I_SettlementOwner Ratae = saba
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 18
end_if

if I_CompareCounter settlementowner_Ictis != 18
and I_SettlementOwner Ictis = saba
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 18
end_if

if I_CompareCounter settlementowner_Lucarottea != 18
and I_SettlementOwner Lucarottea = saba
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 18
end_if

if I_CompareCounter settlementowner_Emain_Macha != 18
and I_SettlementOwner Emain_Macha = saba
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 18
end_if

if I_CompareCounter settlementowner_Atiqa != 18
and I_SettlementOwner Atiqa = saba
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 18
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 18
and I_SettlementOwner Ynys_Mon = saba
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 18
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 18
and I_SettlementOwner Gava_Alanna = saba
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 18
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 18
and I_SettlementOwner Gava_Aursa = saba
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 18
end_if

if I_CompareCounter settlementowner_Nisa != 18
and I_SettlementOwner Nisa = saba
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 18
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 18
and I_SettlementOwner Gava_Haomavarga = saba
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 18
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 18
and I_SettlementOwner Gava_Mazsakata = saba
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 18
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 18
and I_SettlementOwner Gava_Roxsalanna = saba
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 18
end_if

if I_CompareCounter settlementowner_Uspe != 18
and I_SettlementOwner Uspe = saba
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 18
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 18
and I_SettlementOwner Gava_Thissakata = saba
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 18
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 18
and I_SettlementOwner Gava_Yazyga = saba
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 18
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 18
and I_SettlementOwner Gava_Yugra = saba
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 18
end_if

if I_CompareCounter settlementowner_Dalminion != 18
and I_SettlementOwner Dalminion = saba
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 18
end_if

if I_CompareCounter settlementowner_Serdike != 18
and I_SettlementOwner Serdike = saba
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 18
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 18
and I_SettlementOwner Alexandreia_Eschate = saba
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 18
end_if

if I_CompareCounter settlementowner_Alexandreia != 18
and I_SettlementOwner Alexandreia = saba
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 18
end_if

if I_CompareCounter settlementowner_Axum != 18
and I_SettlementOwner Axum = saba
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 18
end_if

if I_CompareCounter settlementowner_Prophthasia != 18
and I_SettlementOwner Prophthasia = saba
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 18
end_if

if I_CompareCounter settlementowner_Arse != 18
and I_SettlementOwner Arse = saba
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 18
end_if

if I_CompareCounter settlementowner_Kotais != 18
and I_SettlementOwner Kotais = saba
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 18
end_if

if I_CompareCounter settlementowner_Lilibeo != 18
and I_SettlementOwner Lilibeo = saba
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 18
end_if

if I_CompareCounter settlementowner_Susa != 18
and I_SettlementOwner Susa = saba
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 18
end_if

if I_CompareCounter settlementowner_Apollonia != 18
and I_SettlementOwner Apollonia = saba
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 18
end_if

if I_CompareCounter settlementowner_Ivernis != 18
and I_SettlementOwner Ivernis = saba
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 18
end_if

if I_CompareCounter settlementowner_Ak_Ink != 18
and I_SettlementOwner Ak_Ink = saba
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 18
end_if

if I_CompareCounter settlementowner_Arretium != 18
and I_SettlementOwner Arretium = saba
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 18
end_if

if I_CompareCounter settlementowner_Chalkis != 18
and I_SettlementOwner Chalkis = saba
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 18
end_if

if I_CompareCounter settlementowner_Gabai != 18
and I_SettlementOwner Gabai = saba
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 18
end_if

if I_CompareCounter settlementowner_Tuat != 18
and I_SettlementOwner Tuat = saba
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 18
end_if

if I_CompareCounter settlementowner_Tyde != 18
and I_SettlementOwner Tyde = saba
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 18
end_if

if I_CompareCounter settlementowner_Ankyra != 18
and I_SettlementOwner Ankyra = saba
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 18
end_if

if I_CompareCounter settlementowner_Taksashila != 18
and I_SettlementOwner Taksashila = saba
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 18
end_if

if I_CompareCounter settlementowner_Pura != 18
and I_SettlementOwner Pura = saba
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 18
end_if

if I_CompareCounter settlementowner_Gerrha != 18
and I_SettlementOwner Gerrha = saba
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 18
end_if

if I_CompareCounter settlementowner_Buridava != 18
and I_SettlementOwner Buridava = saba
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 18
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 18
and I_SettlementOwner Sarmiszegethusa = saba
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 18
end_if

if I_CompareCounter settlementowner_Massalia != 18
and I_SettlementOwner Massalia = saba
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 18
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 18
and I_SettlementOwner Gawjam_Habukoz = saba
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 18
end_if

if I_CompareCounter settlementowner_Sabata != 18
and I_SettlementOwner Sabata = saba
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 18
end_if

if I_CompareCounter settlementowner_Arctaunon != 18
and I_SettlementOwner Arctaunon = saba
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 18
end_if

if I_CompareCounter settlementowner_Armavir != 18
and I_SettlementOwner Armavir = saba
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 18
end_if

if I_CompareCounter settlementowner_Aventicos != 18
and I_SettlementOwner Aventicos = saba
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 18
end_if

if I_CompareCounter settlementowner_Memphis != 18
and I_SettlementOwner Memphis = saba
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 18
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 18
and I_SettlementOwner Gawjam_Heruskoz = saba
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 18
end_if

if I_CompareCounter settlementowner_Zadrakata != 18
and I_SettlementOwner Zadrakata = saba
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 18
end_if

if I_CompareCounter settlementowner_Epidamnos != 18
and I_SettlementOwner Epidamnos = saba
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 18
end_if

if I_CompareCounter settlementowner_Mediolanum != 18
and I_SettlementOwner Mediolanum = saba
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 18
end_if

if I_CompareCounter settlementowner_Hierosolyma != 18
and I_SettlementOwner Hierosolyma = saba
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 18
end_if

if I_CompareCounter settlementowner_Taras != 18
and I_SettlementOwner Taras = saba
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 18
end_if

if I_CompareCounter settlementowner_Chach != 18
and I_SettlementOwner Chach = saba
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 18
end_if

if I_CompareCounter settlementowner_Mazaka != 18
and I_SettlementOwner Mazaka = saba
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 18
end_if

if I_CompareCounter settlementowner_Amaseia != 18
and I_SettlementOwner Amaseia = saba
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 18
end_if

if I_CompareCounter settlementowner_Halikarnassos != 18
and I_SettlementOwner Halikarnassos = saba
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 18
end_if

if I_CompareCounter settlementowner_Karmana != 18
and I_SettlementOwner Karmana = saba
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 18
end_if

if I_CompareCounter settlementowner_Mtskheta != 18
and I_SettlementOwner Mtskheta = saba
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 18
end_if

if I_CompareCounter settlementowner_Apameia != 18
and I_SettlementOwner Apameia = saba
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 18
end_if

if I_CompareCounter settlementowner_Khiva != 18
and I_SettlementOwner Khiva = saba
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 18
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 18
and I_SettlementOwner Tarsos = saba
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 18
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 18
and I_SettlementOwner Gawjam_Kimbroz = saba
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 18
end_if

if I_CompareCounter settlementowner_Alalia != 18
and I_SettlementOwner Alalia = saba
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 18
end_if

if I_CompareCounter settlementowner_Kydonia != 18
and I_SettlementOwner Kydonia = saba
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 18
end_if

if I_CompareCounter settlementowner_Meroe != 18
and I_SettlementOwner Meroe = saba
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 18
end_if

if I_CompareCounter settlementowner_Salamis != 18
and I_SettlementOwner Salamis = saba
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 18
end_if

if I_CompareCounter settlementowner_Kyrene != 18
and I_SettlementOwner Kyrene = saba
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 18
end_if

if I_CompareCounter settlementowner_Emporion != 18
and I_SettlementOwner Emporion = saba
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 18
end_if

if I_CompareCounter settlementowner_Sparte != 18
and I_SettlementOwner Sparte = saba
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 18
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 18
and I_SettlementOwner Gawjam_Gotanoz = saba
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 18
end_if

if I_CompareCounter settlementowner_Rome != 18
and I_SettlementOwner Rome = saba
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 18
end_if

if I_CompareCounter settlementowner_Lemonum != 18
and I_SettlementOwner Lemonum = saba
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 18
end_if

if I_CompareCounter settlementowner_Mytilene != 18
and I_SettlementOwner Mytilene = saba
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 18
end_if

if I_CompareCounter settlementowner_Ammonion != 18
and I_SettlementOwner Ammonion = saba
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 18
end_if

if I_CompareCounter settlementowner_Segesta != 18
and I_SettlementOwner Segesta = saba
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 18
end_if

if I_CompareCounter settlementowner_Viennos != 18
and I_SettlementOwner Viennos = saba
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 18
end_if

if I_CompareCounter settlementowner_Carrodunum != 18
and I_SettlementOwner Carrodunum = saba
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 18
end_if

if I_CompareCounter settlementowner_Oxtraca != 18
and I_SettlementOwner Oxtraca = saba
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 18
end_if

if I_CompareCounter settlementowner_Sardis != 18
and I_SettlementOwner Sardis = saba
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 18
end_if

if I_CompareCounter settlementowner_Tanais != 18
and I_SettlementOwner Tanais = saba
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 18
end_if

if I_CompareCounter settlementowner_Carna != 18
and I_SettlementOwner Carna = saba
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 18
end_if

if I_CompareCounter settlementowner_Pella != 18
and I_SettlementOwner Pella = saba
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 18
end_if

if I_CompareCounter settlementowner_Homna != 18
and I_SettlementOwner Homna = saba
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 18
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 18
and I_SettlementOwner Antiocheia_Margiane = saba
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 18
end_if

if I_CompareCounter settlementowner_Paraitonion != 18
and I_SettlementOwner Paraitonion = saba
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 18
end_if

if I_CompareCounter settlementowner_Ippone != 18
and I_SettlementOwner Ippone = saba
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 18
end_if

if I_CompareCounter settlementowner_Sala != 18
and I_SettlementOwner Sala = saba
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 18
end_if

if I_CompareCounter settlementowner_Siga != 18
and I_SettlementOwner Siga = saba
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 18
end_if

if I_CompareCounter settlementowner_Lixus != 18
and I_SettlementOwner Lixus = saba
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 18
end_if

if I_CompareCounter settlementowner_Ekbatana != 18
and I_SettlementOwner Ekbatana = saba
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 18
end_if

if I_CompareCounter settlementowner_Kallatis != 18
and I_SettlementOwner Kallatis = saba
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 18
end_if

if I_CompareCounter settlementowner_Bibracte != 18
and I_SettlementOwner Bibracte = saba
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 18
end_if

if I_CompareCounter settlementowner_Cenabum != 18
and I_SettlementOwner Cenabum = saba
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 18
end_if

if I_CompareCounter settlementowner_Eburonum != 18
and I_SettlementOwner Eburonum = saba
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 18
end_if

if I_CompareCounter settlementowner_Pergamon != 18
and I_SettlementOwner Pergamon = saba
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 18
end_if

if I_CompareCounter settlementowner_Bostra != 18
and I_SettlementOwner Bostra = saba
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 18
end_if

if I_CompareCounter settlementowner_Bagacos != 18
and I_SettlementOwner Bagacos = saba
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 18
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 18
and I_SettlementOwner Gordu_Neuriji = saba
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 18
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 18
and I_SettlementOwner Iuvavoaeta = saba
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 18
end_if

if I_CompareCounter settlementowner_Kirtan != 18
and I_SettlementOwner Kirtan = saba
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 18
end_if

if I_CompareCounter settlementowner_Hibis != 18
and I_SettlementOwner Hibis = saba
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 18
end_if

if I_CompareCounter settlementowner_Tylis != 18
and I_SettlementOwner Tylis = saba
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 18
end_if

if I_CompareCounter settlementowner_Side != 18
and I_SettlementOwner Side = saba
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 18
end_if

if I_CompareCounter settlementowner_Vindobona != 18
and I_SettlementOwner Vindobona = saba
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 18
end_if

if I_CompareCounter settlementowner_Segestica != 18
and I_SettlementOwner Segestica = saba
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 18
end_if

if I_CompareCounter settlementowner_Sinope != 18
and I_SettlementOwner Sinope = saba
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 18
end_if

if I_CompareCounter settlementowner_Kophen != 18
and I_SettlementOwner Kophen = saba
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 18
end_if

if I_CompareCounter settlementowner_Hekatompylos != 18
and I_SettlementOwner Hekatompylos = saba
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 18
end_if

if I_CompareCounter settlementowner_Korinthos != 18
and I_SettlementOwner Korinthos = saba
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 18
end_if

if I_CompareCounter settlementowner_Persepolis != 18
and I_SettlementOwner Persepolis = saba
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 18
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 18
and I_SettlementOwner Garama = saba
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 18
end_if

if I_CompareCounter settlementowner_Sidon != 18
and I_SettlementOwner Sidon = saba
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 18
end_if

if I_CompareCounter settlementowner_Ipsos != 18
and I_SettlementOwner Ipsos = saba
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 18
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 18
and I_SettlementOwner Ani-Kamah = saba
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 18
end_if

if I_CompareCounter settlementowner_Trapezous != 18
and I_SettlementOwner Trapezous = saba
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 18
end_if

if I_CompareCounter settlementowner_Tamane != 18
and I_SettlementOwner Tamane = saba
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 18
end_if

if I_CompareCounter settlementowner_Veldideno != 18
and I_SettlementOwner Veldideno = saba
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 18
end_if

if I_CompareCounter settlementowner_Rhodos != 18
and I_SettlementOwner Rhodos = saba
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 18
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 18
and I_SettlementOwner Gawjam_Rugoz = saba
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 18
end_if

if I_CompareCounter settlementowner_Maryab != 18
and I_SettlementOwner Maryab = saba
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 18
end_if

if I_CompareCounter settlementowner_Terhazza != 18
and I_SettlementOwner Terhazza = saba
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 18
end_if

if I_CompareCounter settlementowner_Gava_Saka != 18
and I_SettlementOwner Gava_Saka = saba
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 18
end_if

if I_CompareCounter settlementowner_Asodat != 18
and I_SettlementOwner Asodat = saba
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 18
end_if

if I_CompareCounter settlementowner_Karali != 18
and I_SettlementOwner Karali = saba
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 18
end_if

if I_CompareCounter settlementowner_Opiana != 18
and I_SettlementOwner Opiana = saba
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 18
end_if

if I_CompareCounter settlementowner_Singidunum != 18
and I_SettlementOwner Singidunum = saba
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 18
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 18
and I_SettlementOwner Seliun_Pilis = saba
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 18
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 18
and I_SettlementOwner Gintaras_Ostan = saba
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 18
end_if

if I_CompareCounter settlementowner_Vesontio != 18
and I_SettlementOwner Vesontio = saba
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 18
end_if

if I_CompareCounter settlementowner_Messana != 18
and I_SettlementOwner Messana = saba
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 18
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 18
and I_SettlementOwner Gawjam_Silengoz = saba
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 18
end_if

if I_CompareCounter settlementowner_Petra != 18
and I_SettlementOwner Petra = saba
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 18
end_if

if I_CompareCounter settlementowner_Patala != 18
and I_SettlementOwner Patala = saba
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 18
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 18
and I_SettlementOwner Gawjam_Skandzawarjoz = saba
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 18
end_if

if I_CompareCounter settlementowner_Olbia != 18
and I_SettlementOwner Olbia = saba
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 18
end_if

if I_CompareCounter settlementowner_Marakanda != 18
and I_SettlementOwner Marakanda = saba
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 18
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 18
and I_SettlementOwner Karkathiokerta = saba
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 18
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 18
and I_SettlementOwner Swebotraustastamnoz = saba
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 18
end_if

if I_CompareCounter settlementowner_Antiocheia != 18
and I_SettlementOwner Antiocheia = saba
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 18
end_if

if I_CompareCounter settlementowner_Damaskos != 18
and I_SettlementOwner Damaskos = saba
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 18
end_if

if I_CompareCounter settlementowner_Palmyra != 18
and I_SettlementOwner Palmyra = saba
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 18
end_if

if I_CompareCounter settlementowner_Chersonesos != 18
and I_SettlementOwner Chersonesos = saba
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 18
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 18
and I_SettlementOwner Diospolis_Megale = saba
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 18
end_if

if I_CompareCounter settlementowner_Demetrias != 18
and I_SettlementOwner Demetrias = saba
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 18
end_if

if I_CompareCounter settlementowner_Naissos != 18
and I_SettlementOwner Naissos = saba
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 18
end_if

if I_CompareCounter settlementowner_Ascaucalis != 18
and I_SettlementOwner Ascaucalis = saba
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 18
end_if

if I_CompareCounter settlementowner_Pselkis != 18
and I_SettlementOwner Pselkis = saba
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 18
end_if

if I_CompareCounter settlementowner_Syracuse != 18
and I_SettlementOwner Syracuse = saba
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 18
end_if

if I_CompareCounter settlementowner_Lepki != 18
and I_SettlementOwner Lepki = saba
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 18
end_if

if I_CompareCounter settlementowner_Gader != 18
and I_SettlementOwner Gader = saba
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 18
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 18
and I_SettlementOwner Sucum-Murgi = saba
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 18
end_if

if I_CompareCounter settlementowner_Ariminum != 18
and I_SettlementOwner Ariminum = saba
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 18
end_if

if I_CompareCounter settlementowner_Patavium != 18
and I_SettlementOwner Patavium = saba
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 18
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 18
and I_SettlementOwner Vindelicoppidos = saba
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 18
end_if

if I_CompareCounter settlementowner_Tolosa != 18
and I_SettlementOwner Tolosa = saba
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 18
end_if

if I_CompareCounter settlementowner_Chighu != 18
and I_SettlementOwner Chighu = saba
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 18
end_if

if I_CompareCounter settlementowner_Sulek != 18
and I_SettlementOwner Sulek = saba
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 18
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 18
and I_SettlementOwner Kart_Hadast = saba
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 18
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 18
and I_SettlementOwner Ubar = saba
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 18
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction armenia
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 19
and I_SettlementOwner Arbela = armenia
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 19
end_if

if I_CompareCounter settlementowner_Phraaspa != 19
and I_SettlementOwner Phraaspa = armenia
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 19
end_if

if I_CompareCounter settlementowner_Bononia != 19
and I_SettlementOwner Bononia = armenia
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 19
end_if

if I_CompareCounter settlementowner_Kabalaka != 19
and I_SettlementOwner Kabalaka = armenia
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 19
end_if

if I_CompareCounter settlementowner_Thermon != 19
and I_SettlementOwner Thermon = armenia
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 19
end_if

if I_CompareCounter settlementowner_Arpi != 19
and I_SettlementOwner Arpi = armenia
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 19
end_if

if I_CompareCounter settlementowner_Burdigala != 19
and I_SettlementOwner Burdigala = armenia
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 19
end_if

if I_CompareCounter settlementowner_Babylon != 19
and I_SettlementOwner Babylon = armenia
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 19
end_if

if I_CompareCounter settlementowner_Alexandropolis != 19
and I_SettlementOwner Alexandropolis = armenia
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 19
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 19
and I_SettlementOwner Alexandreia_Ariana = armenia
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 19
end_if

if I_CompareCounter settlementowner_Darioritum != 19
and I_SettlementOwner Darioritum = armenia
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 19
end_if

if I_CompareCounter settlementowner_Gergovia != 19
and I_SettlementOwner Gergovia = armenia
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 19
end_if

if I_CompareCounter settlementowner_Edessa != 19
and I_SettlementOwner Edessa = armenia
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 19
end_if

if I_CompareCounter settlementowner_Asaak != 19
and I_SettlementOwner Asaak = armenia
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 19
end_if

if I_CompareCounter settlementowner_Pallantia != 19
and I_SettlementOwner Pallantia = armenia
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 19
end_if

if I_CompareCounter settlementowner_Athenai != 19
and I_SettlementOwner Athenai = armenia
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 19
end_if

if I_CompareCounter settlementowner_Augila_settlement != 19
and I_SettlementOwner Augila_settlement = armenia
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 19
end_if

if I_CompareCounter settlementowner_Seleukeia != 19
and I_SettlementOwner Seleukeia = armenia
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 19
end_if

if I_CompareCounter settlementowner_Baktra != 19
and I_SettlementOwner Baktra = armenia
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 19
end_if

if I_CompareCounter settlementowner_Bocchoris != 19
and I_SettlementOwner Bocchoris = armenia
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 19
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 19
and I_SettlementOwner Gawjam_Bastarnoz = armenia
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 19
end_if

if I_CompareCounter settlementowner_Mastia != 19
and I_SettlementOwner Mastia = armenia
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 19
end_if

if I_CompareCounter settlementowner_Avaricum != 19
and I_SettlementOwner Avaricum = armenia
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 19
end_if

if I_CompareCounter settlementowner_Bratosporios != 19
and I_SettlementOwner Bratosporios = armenia
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 19
end_if

if I_CompareCounter settlementowner_Nikaia != 19
and I_SettlementOwner Nikaia = armenia
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 19
end_if

if I_CompareCounter settlementowner_Pantikapaion != 19
and I_SettlementOwner Pantikapaion = armenia
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 19
end_if

if I_CompareCounter settlementowner_Rhegion != 19
and I_SettlementOwner Rhegion = armenia
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 19
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 19
and I_SettlementOwner Caern_Brigantae = armenia
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 19
end_if

if I_CompareCounter settlementowner_Gelonus != 19
and I_SettlementOwner Gelonus = armenia
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 19
end_if

if I_CompareCounter settlementowner_Adrumeto != 19
and I_SettlementOwner Adrumeto = armenia
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 19
end_if

if I_CompareCounter settlementowner_Attuaca != 19
and I_SettlementOwner Attuaca = armenia
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 19
end_if

if I_CompareCounter settlementowner_Capua != 19
and I_SettlementOwner Capua = armenia
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 19
end_if

if I_CompareCounter settlementowner_Vellika != 19
and I_SettlementOwner Vellika = armenia
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 19
end_if

if I_CompareCounter settlementowner_Baikor != 19
and I_SettlementOwner Baikor = armenia
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 19
end_if

if I_CompareCounter settlementowner_Camulosadae != 19
and I_SettlementOwner Camulosadae = armenia
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 19
end_if

if I_CompareCounter settlementowner_Numantia != 19
and I_SettlementOwner Numantia = armenia
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 19
end_if

if I_CompareCounter settlementowner_Charax != 19
and I_SettlementOwner Charax = armenia
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 19
end_if

if I_CompareCounter settlementowner_Byzantion != 19
and I_SettlementOwner Byzantion = armenia
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 19
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 19
and I_SettlementOwner Ptolemais_Theron = armenia
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 19
end_if

if I_CompareCounter settlementowner_Ratae != 19
and I_SettlementOwner Ratae = armenia
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 19
end_if

if I_CompareCounter settlementowner_Ictis != 19
and I_SettlementOwner Ictis = armenia
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 19
end_if

if I_CompareCounter settlementowner_Lucarottea != 19
and I_SettlementOwner Lucarottea = armenia
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 19
end_if

if I_CompareCounter settlementowner_Emain_Macha != 19
and I_SettlementOwner Emain_Macha = armenia
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 19
end_if

if I_CompareCounter settlementowner_Atiqa != 19
and I_SettlementOwner Atiqa = armenia
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 19
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 19
and I_SettlementOwner Ynys_Mon = armenia
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 19
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 19
and I_SettlementOwner Gava_Alanna = armenia
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 19
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 19
and I_SettlementOwner Gava_Aursa = armenia
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 19
end_if

if I_CompareCounter settlementowner_Nisa != 19
and I_SettlementOwner Nisa = armenia
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 19
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 19
and I_SettlementOwner Gava_Haomavarga = armenia
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 19
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 19
and I_SettlementOwner Gava_Mazsakata = armenia
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 19
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 19
and I_SettlementOwner Gava_Roxsalanna = armenia
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 19
end_if

if I_CompareCounter settlementowner_Uspe != 19
and I_SettlementOwner Uspe = armenia
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 19
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 19
and I_SettlementOwner Gava_Thissakata = armenia
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 19
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 19
and I_SettlementOwner Gava_Yazyga = armenia
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 19
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 19
and I_SettlementOwner Gava_Yugra = armenia
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 19
end_if

if I_CompareCounter settlementowner_Dalminion != 19
and I_SettlementOwner Dalminion = armenia
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 19
end_if

if I_CompareCounter settlementowner_Serdike != 19
and I_SettlementOwner Serdike = armenia
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 19
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 19
and I_SettlementOwner Alexandreia_Eschate = armenia
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 19
end_if

if I_CompareCounter settlementowner_Alexandreia != 19
and I_SettlementOwner Alexandreia = armenia
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 19
end_if

if I_CompareCounter settlementowner_Axum != 19
and I_SettlementOwner Axum = armenia
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 19
end_if

if I_CompareCounter settlementowner_Prophthasia != 19
and I_SettlementOwner Prophthasia = armenia
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 19
end_if

if I_CompareCounter settlementowner_Arse != 19
and I_SettlementOwner Arse = armenia
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 19
end_if

if I_CompareCounter settlementowner_Kotais != 19
and I_SettlementOwner Kotais = armenia
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 19
end_if

if I_CompareCounter settlementowner_Lilibeo != 19
and I_SettlementOwner Lilibeo = armenia
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 19
end_if

if I_CompareCounter settlementowner_Susa != 19
and I_SettlementOwner Susa = armenia
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 19
end_if

if I_CompareCounter settlementowner_Apollonia != 19
and I_SettlementOwner Apollonia = armenia
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 19
end_if

if I_CompareCounter settlementowner_Ivernis != 19
and I_SettlementOwner Ivernis = armenia
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 19
end_if

if I_CompareCounter settlementowner_Ak_Ink != 19
and I_SettlementOwner Ak_Ink = armenia
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 19
end_if

if I_CompareCounter settlementowner_Arretium != 19
and I_SettlementOwner Arretium = armenia
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 19
end_if

if I_CompareCounter settlementowner_Chalkis != 19
and I_SettlementOwner Chalkis = armenia
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 19
end_if

if I_CompareCounter settlementowner_Gabai != 19
and I_SettlementOwner Gabai = armenia
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 19
end_if

if I_CompareCounter settlementowner_Tuat != 19
and I_SettlementOwner Tuat = armenia
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 19
end_if

if I_CompareCounter settlementowner_Tyde != 19
and I_SettlementOwner Tyde = armenia
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 19
end_if

if I_CompareCounter settlementowner_Ankyra != 19
and I_SettlementOwner Ankyra = armenia
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 19
end_if

if I_CompareCounter settlementowner_Taksashila != 19
and I_SettlementOwner Taksashila = armenia
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 19
end_if

if I_CompareCounter settlementowner_Pura != 19
and I_SettlementOwner Pura = armenia
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 19
end_if

if I_CompareCounter settlementowner_Gerrha != 19
and I_SettlementOwner Gerrha = armenia
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 19
end_if

if I_CompareCounter settlementowner_Buridava != 19
and I_SettlementOwner Buridava = armenia
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 19
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 19
and I_SettlementOwner Sarmiszegethusa = armenia
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 19
end_if

if I_CompareCounter settlementowner_Massalia != 19
and I_SettlementOwner Massalia = armenia
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 19
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 19
and I_SettlementOwner Gawjam_Habukoz = armenia
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 19
end_if

if I_CompareCounter settlementowner_Sabata != 19
and I_SettlementOwner Sabata = armenia
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 19
end_if

if I_CompareCounter settlementowner_Arctaunon != 19
and I_SettlementOwner Arctaunon = armenia
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 19
end_if

if I_CompareCounter settlementowner_Armavir != 19
and I_SettlementOwner Armavir = armenia
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 19
end_if

if I_CompareCounter settlementowner_Aventicos != 19
and I_SettlementOwner Aventicos = armenia
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 19
end_if

if I_CompareCounter settlementowner_Memphis != 19
and I_SettlementOwner Memphis = armenia
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 19
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 19
and I_SettlementOwner Gawjam_Heruskoz = armenia
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 19
end_if

if I_CompareCounter settlementowner_Zadrakata != 19
and I_SettlementOwner Zadrakata = armenia
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 19
end_if

if I_CompareCounter settlementowner_Epidamnos != 19
and I_SettlementOwner Epidamnos = armenia
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 19
end_if

if I_CompareCounter settlementowner_Mediolanum != 19
and I_SettlementOwner Mediolanum = armenia
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 19
end_if

if I_CompareCounter settlementowner_Hierosolyma != 19
and I_SettlementOwner Hierosolyma = armenia
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 19
end_if

if I_CompareCounter settlementowner_Taras != 19
and I_SettlementOwner Taras = armenia
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 19
end_if

if I_CompareCounter settlementowner_Chach != 19
and I_SettlementOwner Chach = armenia
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 19
end_if

if I_CompareCounter settlementowner_Mazaka != 19
and I_SettlementOwner Mazaka = armenia
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 19
end_if

if I_CompareCounter settlementowner_Amaseia != 19
and I_SettlementOwner Amaseia = armenia
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 19
end_if

if I_CompareCounter settlementowner_Halikarnassos != 19
and I_SettlementOwner Halikarnassos = armenia
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 19
end_if

if I_CompareCounter settlementowner_Karmana != 19
and I_SettlementOwner Karmana = armenia
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 19
end_if

if I_CompareCounter settlementowner_Mtskheta != 19
and I_SettlementOwner Mtskheta = armenia
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 19
end_if

if I_CompareCounter settlementowner_Apameia != 19
and I_SettlementOwner Apameia = armenia
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 19
end_if

if I_CompareCounter settlementowner_Khiva != 19
and I_SettlementOwner Khiva = armenia
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 19
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 19
and I_SettlementOwner Tarsos = armenia
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 19
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 19
and I_SettlementOwner Gawjam_Kimbroz = armenia
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 19
end_if

if I_CompareCounter settlementowner_Alalia != 19
and I_SettlementOwner Alalia = armenia
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 19
end_if

if I_CompareCounter settlementowner_Kydonia != 19
and I_SettlementOwner Kydonia = armenia
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 19
end_if

if I_CompareCounter settlementowner_Meroe != 19
and I_SettlementOwner Meroe = armenia
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 19
end_if

if I_CompareCounter settlementowner_Salamis != 19
and I_SettlementOwner Salamis = armenia
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 19
end_if

if I_CompareCounter settlementowner_Kyrene != 19
and I_SettlementOwner Kyrene = armenia
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 19
end_if

if I_CompareCounter settlementowner_Emporion != 19
and I_SettlementOwner Emporion = armenia
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 19
end_if

if I_CompareCounter settlementowner_Sparte != 19
and I_SettlementOwner Sparte = armenia
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 19
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 19
and I_SettlementOwner Gawjam_Gotanoz = armenia
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 19
end_if

if I_CompareCounter settlementowner_Rome != 19
and I_SettlementOwner Rome = armenia
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 19
end_if

if I_CompareCounter settlementowner_Lemonum != 19
and I_SettlementOwner Lemonum = armenia
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 19
end_if

if I_CompareCounter settlementowner_Mytilene != 19
and I_SettlementOwner Mytilene = armenia
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 19
end_if

if I_CompareCounter settlementowner_Ammonion != 19
and I_SettlementOwner Ammonion = armenia
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 19
end_if

if I_CompareCounter settlementowner_Segesta != 19
and I_SettlementOwner Segesta = armenia
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 19
end_if

if I_CompareCounter settlementowner_Viennos != 19
and I_SettlementOwner Viennos = armenia
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 19
end_if

if I_CompareCounter settlementowner_Carrodunum != 19
and I_SettlementOwner Carrodunum = armenia
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 19
end_if

if I_CompareCounter settlementowner_Oxtraca != 19
and I_SettlementOwner Oxtraca = armenia
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 19
end_if

if I_CompareCounter settlementowner_Sardis != 19
and I_SettlementOwner Sardis = armenia
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 19
end_if

if I_CompareCounter settlementowner_Tanais != 19
and I_SettlementOwner Tanais = armenia
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 19
end_if

if I_CompareCounter settlementowner_Carna != 19
and I_SettlementOwner Carna = armenia
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 19
end_if

if I_CompareCounter settlementowner_Pella != 19
and I_SettlementOwner Pella = armenia
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 19
end_if

if I_CompareCounter settlementowner_Homna != 19
and I_SettlementOwner Homna = armenia
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 19
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 19
and I_SettlementOwner Antiocheia_Margiane = armenia
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 19
end_if

if I_CompareCounter settlementowner_Paraitonion != 19
and I_SettlementOwner Paraitonion = armenia
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 19
end_if

if I_CompareCounter settlementowner_Ippone != 19
and I_SettlementOwner Ippone = armenia
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 19
end_if

if I_CompareCounter settlementowner_Sala != 19
and I_SettlementOwner Sala = armenia
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 19
end_if

if I_CompareCounter settlementowner_Siga != 19
and I_SettlementOwner Siga = armenia
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 19
end_if

if I_CompareCounter settlementowner_Lixus != 19
and I_SettlementOwner Lixus = armenia
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 19
end_if

if I_CompareCounter settlementowner_Ekbatana != 19
and I_SettlementOwner Ekbatana = armenia
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 19
end_if

if I_CompareCounter settlementowner_Kallatis != 19
and I_SettlementOwner Kallatis = armenia
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 19
end_if

if I_CompareCounter settlementowner_Bibracte != 19
and I_SettlementOwner Bibracte = armenia
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 19
end_if

if I_CompareCounter settlementowner_Cenabum != 19
and I_SettlementOwner Cenabum = armenia
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 19
end_if

if I_CompareCounter settlementowner_Eburonum != 19
and I_SettlementOwner Eburonum = armenia
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 19
end_if

if I_CompareCounter settlementowner_Pergamon != 19
and I_SettlementOwner Pergamon = armenia
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 19
end_if

if I_CompareCounter settlementowner_Bostra != 19
and I_SettlementOwner Bostra = armenia
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 19
end_if

if I_CompareCounter settlementowner_Bagacos != 19
and I_SettlementOwner Bagacos = armenia
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 19
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 19
and I_SettlementOwner Gordu_Neuriji = armenia
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 19
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 19
and I_SettlementOwner Iuvavoaeta = armenia
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 19
end_if

if I_CompareCounter settlementowner_Kirtan != 19
and I_SettlementOwner Kirtan = armenia
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 19
end_if

if I_CompareCounter settlementowner_Hibis != 19
and I_SettlementOwner Hibis = armenia
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 19
end_if

if I_CompareCounter settlementowner_Tylis != 19
and I_SettlementOwner Tylis = armenia
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 19
end_if

if I_CompareCounter settlementowner_Side != 19
and I_SettlementOwner Side = armenia
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 19
end_if

if I_CompareCounter settlementowner_Vindobona != 19
and I_SettlementOwner Vindobona = armenia
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 19
end_if

if I_CompareCounter settlementowner_Segestica != 19
and I_SettlementOwner Segestica = armenia
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 19
end_if

if I_CompareCounter settlementowner_Sinope != 19
and I_SettlementOwner Sinope = armenia
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 19
end_if

if I_CompareCounter settlementowner_Kophen != 19
and I_SettlementOwner Kophen = armenia
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 19
end_if

if I_CompareCounter settlementowner_Hekatompylos != 19
and I_SettlementOwner Hekatompylos = armenia
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 19
end_if

if I_CompareCounter settlementowner_Korinthos != 19
and I_SettlementOwner Korinthos = armenia
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 19
end_if

if I_CompareCounter settlementowner_Persepolis != 19
and I_SettlementOwner Persepolis = armenia
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 19
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 19
and I_SettlementOwner Garama = armenia
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 19
end_if

if I_CompareCounter settlementowner_Sidon != 19
and I_SettlementOwner Sidon = armenia
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 19
end_if

if I_CompareCounter settlementowner_Ipsos != 19
and I_SettlementOwner Ipsos = armenia
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 19
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 19
and I_SettlementOwner Ani-Kamah = armenia
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 19
end_if

if I_CompareCounter settlementowner_Trapezous != 19
and I_SettlementOwner Trapezous = armenia
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 19
end_if

if I_CompareCounter settlementowner_Tamane != 19
and I_SettlementOwner Tamane = armenia
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 19
end_if

if I_CompareCounter settlementowner_Veldideno != 19
and I_SettlementOwner Veldideno = armenia
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 19
end_if

if I_CompareCounter settlementowner_Rhodos != 19
and I_SettlementOwner Rhodos = armenia
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 19
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 19
and I_SettlementOwner Gawjam_Rugoz = armenia
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 19
end_if

if I_CompareCounter settlementowner_Maryab != 19
and I_SettlementOwner Maryab = armenia
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 19
end_if

if I_CompareCounter settlementowner_Terhazza != 19
and I_SettlementOwner Terhazza = armenia
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 19
end_if

if I_CompareCounter settlementowner_Gava_Saka != 19
and I_SettlementOwner Gava_Saka = armenia
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 19
end_if

if I_CompareCounter settlementowner_Asodat != 19
and I_SettlementOwner Asodat = armenia
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 19
end_if

if I_CompareCounter settlementowner_Karali != 19
and I_SettlementOwner Karali = armenia
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 19
end_if

if I_CompareCounter settlementowner_Opiana != 19
and I_SettlementOwner Opiana = armenia
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 19
end_if

if I_CompareCounter settlementowner_Singidunum != 19
and I_SettlementOwner Singidunum = armenia
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 19
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 19
and I_SettlementOwner Seliun_Pilis = armenia
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 19
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 19
and I_SettlementOwner Gintaras_Ostan = armenia
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 19
end_if

if I_CompareCounter settlementowner_Vesontio != 19
and I_SettlementOwner Vesontio = armenia
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 19
end_if

if I_CompareCounter settlementowner_Messana != 19
and I_SettlementOwner Messana = armenia
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 19
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 19
and I_SettlementOwner Gawjam_Silengoz = armenia
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 19
end_if

if I_CompareCounter settlementowner_Petra != 19
and I_SettlementOwner Petra = armenia
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 19
end_if

if I_CompareCounter settlementowner_Patala != 19
and I_SettlementOwner Patala = armenia
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 19
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 19
and I_SettlementOwner Gawjam_Skandzawarjoz = armenia
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 19
end_if

if I_CompareCounter settlementowner_Olbia != 19
and I_SettlementOwner Olbia = armenia
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 19
end_if

if I_CompareCounter settlementowner_Marakanda != 19
and I_SettlementOwner Marakanda = armenia
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 19
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 19
and I_SettlementOwner Karkathiokerta = armenia
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 19
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 19
and I_SettlementOwner Swebotraustastamnoz = armenia
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 19
end_if

if I_CompareCounter settlementowner_Antiocheia != 19
and I_SettlementOwner Antiocheia = armenia
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 19
end_if

if I_CompareCounter settlementowner_Damaskos != 19
and I_SettlementOwner Damaskos = armenia
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 19
end_if

if I_CompareCounter settlementowner_Palmyra != 19
and I_SettlementOwner Palmyra = armenia
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 19
end_if

if I_CompareCounter settlementowner_Chersonesos != 19
and I_SettlementOwner Chersonesos = armenia
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 19
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 19
and I_SettlementOwner Diospolis_Megale = armenia
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 19
end_if

if I_CompareCounter settlementowner_Demetrias != 19
and I_SettlementOwner Demetrias = armenia
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 19
end_if

if I_CompareCounter settlementowner_Naissos != 19
and I_SettlementOwner Naissos = armenia
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 19
end_if

if I_CompareCounter settlementowner_Ascaucalis != 19
and I_SettlementOwner Ascaucalis = armenia
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 19
end_if

if I_CompareCounter settlementowner_Pselkis != 19
and I_SettlementOwner Pselkis = armenia
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 19
end_if

if I_CompareCounter settlementowner_Syracuse != 19
and I_SettlementOwner Syracuse = armenia
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 19
end_if

if I_CompareCounter settlementowner_Lepki != 19
and I_SettlementOwner Lepki = armenia
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 19
end_if

if I_CompareCounter settlementowner_Gader != 19
and I_SettlementOwner Gader = armenia
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 19
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 19
and I_SettlementOwner Sucum-Murgi = armenia
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 19
end_if

if I_CompareCounter settlementowner_Ariminum != 19
and I_SettlementOwner Ariminum = armenia
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 19
end_if

if I_CompareCounter settlementowner_Patavium != 19
and I_SettlementOwner Patavium = armenia
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 19
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 19
and I_SettlementOwner Vindelicoppidos = armenia
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 19
end_if

if I_CompareCounter settlementowner_Tolosa != 19
and I_SettlementOwner Tolosa = armenia
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 19
end_if

if I_CompareCounter settlementowner_Chighu != 19
and I_SettlementOwner Chighu = armenia
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 19
end_if

if I_CompareCounter settlementowner_Sulek != 19
and I_SettlementOwner Sulek = armenia
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 19
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 19
and I_SettlementOwner Kart_Hadast = armenia
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 19
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 19
and I_SettlementOwner Ubar = armenia
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 19
end_if

end_while
end_monitor
monitor_conditions I_LocalFaction pontus
and I_CompareCounter First_Turn = 1
while TrueCondition
if I_CompareCounter settlementowner_Arbela != 20
and I_SettlementOwner Arbela = pontus
console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
set_counter settlementowner_Arbela 20
end_if

if I_CompareCounter settlementowner_Phraaspa != 20
and I_SettlementOwner Phraaspa = pontus
console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
set_counter settlementowner_Phraaspa 20
end_if

if I_CompareCounter settlementowner_Bononia != 20
and I_SettlementOwner Bononia = pontus
console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
set_counter settlementowner_Bononia 20
end_if

if I_CompareCounter settlementowner_Kabalaka != 20
and I_SettlementOwner Kabalaka = pontus
console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
set_counter settlementowner_Kabalaka 20
end_if

if I_CompareCounter settlementowner_Thermon != 20
and I_SettlementOwner Thermon = pontus
console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
set_counter settlementowner_Thermon 20
end_if

if I_CompareCounter settlementowner_Arpi != 20
and I_SettlementOwner Arpi = pontus
console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
set_counter settlementowner_Arpi 20
end_if

if I_CompareCounter settlementowner_Burdigala != 20
and I_SettlementOwner Burdigala = pontus
console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
set_counter settlementowner_Burdigala 20
end_if

if I_CompareCounter settlementowner_Babylon != 20
and I_SettlementOwner Babylon = pontus
console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
set_counter settlementowner_Babylon 20
end_if

if I_CompareCounter settlementowner_Alexandropolis != 20
and I_SettlementOwner Alexandropolis = pontus
console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
set_counter settlementowner_Alexandropolis 20
end_if

if I_CompareCounter settlementowner_Alexandreia_Ariana != 20
and I_SettlementOwner Alexandreia_Ariana = pontus
console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
set_counter settlementowner_Alexandreia_Ariana 20
end_if

if I_CompareCounter settlementowner_Darioritum != 20
and I_SettlementOwner Darioritum = pontus
console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
set_counter settlementowner_Darioritum 20
end_if

if I_CompareCounter settlementowner_Gergovia != 20
and I_SettlementOwner Gergovia = pontus
console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
set_counter settlementowner_Gergovia 20
end_if

if I_CompareCounter settlementowner_Edessa != 20
and I_SettlementOwner Edessa = pontus
console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
set_counter settlementowner_Edessa 20
end_if

if I_CompareCounter settlementowner_Asaak != 20
and I_SettlementOwner Asaak = pontus
console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
set_counter settlementowner_Asaak 20
end_if

if I_CompareCounter settlementowner_Pallantia != 20
and I_SettlementOwner Pallantia = pontus
console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
set_counter settlementowner_Pallantia 20
end_if

if I_CompareCounter settlementowner_Athenai != 20
and I_SettlementOwner Athenai = pontus
console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
set_counter settlementowner_Athenai 20
end_if

if I_CompareCounter settlementowner_Augila_settlement != 20
and I_SettlementOwner Augila_settlement = pontus
console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
set_counter settlementowner_Augila_settlement 20
end_if

if I_CompareCounter settlementowner_Seleukeia != 20
and I_SettlementOwner Seleukeia = pontus
console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
set_counter settlementowner_Seleukeia 20
end_if

if I_CompareCounter settlementowner_Baktra != 20
and I_SettlementOwner Baktra = pontus
console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
set_counter settlementowner_Baktra 20
end_if

if I_CompareCounter settlementowner_Bocchoris != 20
and I_SettlementOwner Bocchoris = pontus
console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
set_counter settlementowner_Bocchoris 20
end_if

if I_CompareCounter settlementowner_Gawjam_Bastarnoz != 20
and I_SettlementOwner Gawjam_Bastarnoz = pontus
console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
set_counter settlementowner_Gawjam_Bastarnoz 20
end_if

if I_CompareCounter settlementowner_Mastia != 20
and I_SettlementOwner Mastia = pontus
console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
set_counter settlementowner_Mastia 20
end_if

if I_CompareCounter settlementowner_Avaricum != 20
and I_SettlementOwner Avaricum = pontus
console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
set_counter settlementowner_Avaricum 20
end_if

if I_CompareCounter settlementowner_Bratosporios != 20
and I_SettlementOwner Bratosporios = pontus
console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
set_counter settlementowner_Bratosporios 20
end_if

if I_CompareCounter settlementowner_Nikaia != 20
and I_SettlementOwner Nikaia = pontus
console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
set_counter settlementowner_Nikaia 20
end_if

if I_CompareCounter settlementowner_Pantikapaion != 20
and I_SettlementOwner Pantikapaion = pontus
console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
set_counter settlementowner_Pantikapaion 20
end_if

if I_CompareCounter settlementowner_Rhegion != 20
and I_SettlementOwner Rhegion = pontus
console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
set_counter settlementowner_Rhegion 20
end_if

if I_CompareCounter settlementowner_Caern_Brigantae != 20
and I_SettlementOwner Caern_Brigantae = pontus
console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
set_counter settlementowner_Caern_Brigantae 20
end_if

if I_CompareCounter settlementowner_Gelonus != 20
and I_SettlementOwner Gelonus = pontus
console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
set_counter settlementowner_Gelonus 20
end_if

if I_CompareCounter settlementowner_Adrumeto != 20
and I_SettlementOwner Adrumeto = pontus
console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
set_counter settlementowner_Adrumeto 20
end_if

if I_CompareCounter settlementowner_Attuaca != 20
and I_SettlementOwner Attuaca = pontus
console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
set_counter settlementowner_Attuaca 20
end_if

if I_CompareCounter settlementowner_Capua != 20
and I_SettlementOwner Capua = pontus
console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
set_counter settlementowner_Capua 20
end_if

if I_CompareCounter settlementowner_Vellika != 20
and I_SettlementOwner Vellika = pontus
console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
set_counter settlementowner_Vellika 20
end_if

if I_CompareCounter settlementowner_Baikor != 20
and I_SettlementOwner Baikor = pontus
console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
set_counter settlementowner_Baikor 20
end_if

if I_CompareCounter settlementowner_Camulosadae != 20
and I_SettlementOwner Camulosadae = pontus
console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
set_counter settlementowner_Camulosadae 20
end_if

if I_CompareCounter settlementowner_Numantia != 20
and I_SettlementOwner Numantia = pontus
console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
set_counter settlementowner_Numantia 20
end_if

if I_CompareCounter settlementowner_Charax != 20
and I_SettlementOwner Charax = pontus
console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
set_counter settlementowner_Charax 20
end_if

if I_CompareCounter settlementowner_Byzantion != 20
and I_SettlementOwner Byzantion = pontus
console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
set_counter settlementowner_Byzantion 20
end_if

if I_CompareCounter settlementowner_Ptolemais_Theron != 20
and I_SettlementOwner Ptolemais_Theron = pontus
console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
set_counter settlementowner_Ptolemais_Theron 20
end_if

if I_CompareCounter settlementowner_Ratae != 20
and I_SettlementOwner Ratae = pontus
console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
set_counter settlementowner_Ratae 20
end_if

if I_CompareCounter settlementowner_Ictis != 20
and I_SettlementOwner Ictis = pontus
console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
set_counter settlementowner_Ictis 20
end_if

if I_CompareCounter settlementowner_Lucarottea != 20
and I_SettlementOwner Lucarottea = pontus
console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
set_counter settlementowner_Lucarottea 20
end_if

if I_CompareCounter settlementowner_Emain_Macha != 20
and I_SettlementOwner Emain_Macha = pontus
console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
set_counter settlementowner_Emain_Macha 20
end_if

if I_CompareCounter settlementowner_Atiqa != 20
and I_SettlementOwner Atiqa = pontus
console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
set_counter settlementowner_Atiqa 20
end_if

if I_CompareCounter settlementowner_Ynys_Mon != 20
and I_SettlementOwner Ynys_Mon = pontus
console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
set_counter settlementowner_Ynys_Mon 20
end_if

if I_CompareCounter settlementowner_Gava_Alanna != 20
and I_SettlementOwner Gava_Alanna = pontus
console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
set_counter settlementowner_Gava_Alanna 20
end_if

if I_CompareCounter settlementowner_Gava_Aursa != 20
and I_SettlementOwner Gava_Aursa = pontus
console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
set_counter settlementowner_Gava_Aursa 20
end_if

if I_CompareCounter settlementowner_Nisa != 20
and I_SettlementOwner Nisa = pontus
console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
set_counter settlementowner_Nisa 20
end_if

if I_CompareCounter settlementowner_Gava_Haomavarga != 20
and I_SettlementOwner Gava_Haomavarga = pontus
console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
set_counter settlementowner_Gava_Haomavarga 20
end_if

if I_CompareCounter settlementowner_Gava_Mazsakata != 20
and I_SettlementOwner Gava_Mazsakata = pontus
console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
set_counter settlementowner_Gava_Mazsakata 20
end_if

wait 1
if I_CompareCounter settlementowner_Gava_Roxsalanna != 20
and I_SettlementOwner Gava_Roxsalanna = pontus
console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
set_counter settlementowner_Gava_Roxsalanna 20
end_if

if I_CompareCounter settlementowner_Uspe != 20
and I_SettlementOwner Uspe = pontus
console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
set_counter settlementowner_Uspe 20
end_if

if I_CompareCounter settlementowner_Gava_Thissakata != 20
and I_SettlementOwner Gava_Thissakata = pontus
console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
set_counter settlementowner_Gava_Thissakata 20
end_if

if I_CompareCounter settlementowner_Gava_Yazyga != 20
and I_SettlementOwner Gava_Yazyga = pontus
console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
set_counter settlementowner_Gava_Yazyga 20
end_if

if I_CompareCounter settlementowner_Gava_Yugra != 20
and I_SettlementOwner Gava_Yugra = pontus
console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
set_counter settlementowner_Gava_Yugra 20
end_if

if I_CompareCounter settlementowner_Dalminion != 20
and I_SettlementOwner Dalminion = pontus
console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
set_counter settlementowner_Dalminion 20
end_if

if I_CompareCounter settlementowner_Serdike != 20
and I_SettlementOwner Serdike = pontus
console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
set_counter settlementowner_Serdike 20
end_if

if I_CompareCounter settlementowner_Alexandreia_Eschate != 20
and I_SettlementOwner Alexandreia_Eschate = pontus
console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
set_counter settlementowner_Alexandreia_Eschate 20
end_if

if I_CompareCounter settlementowner_Alexandreia != 20
and I_SettlementOwner Alexandreia = pontus
console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
set_counter settlementowner_Alexandreia 20
end_if

if I_CompareCounter settlementowner_Axum != 20
and I_SettlementOwner Axum = pontus
console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
set_counter settlementowner_Axum 20
end_if

if I_CompareCounter settlementowner_Prophthasia != 20
and I_SettlementOwner Prophthasia = pontus
console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
set_counter settlementowner_Prophthasia 20
end_if

if I_CompareCounter settlementowner_Arse != 20
and I_SettlementOwner Arse = pontus
console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
set_counter settlementowner_Arse 20
end_if

if I_CompareCounter settlementowner_Kotais != 20
and I_SettlementOwner Kotais = pontus
console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
set_counter settlementowner_Kotais 20
end_if

if I_CompareCounter settlementowner_Lilibeo != 20
and I_SettlementOwner Lilibeo = pontus
console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
set_counter settlementowner_Lilibeo 20
end_if

if I_CompareCounter settlementowner_Susa != 20
and I_SettlementOwner Susa = pontus
console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
set_counter settlementowner_Susa 20
end_if

if I_CompareCounter settlementowner_Apollonia != 20
and I_SettlementOwner Apollonia = pontus
console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
set_counter settlementowner_Apollonia 20
end_if

if I_CompareCounter settlementowner_Ivernis != 20
and I_SettlementOwner Ivernis = pontus
console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
set_counter settlementowner_Ivernis 20
end_if

if I_CompareCounter settlementowner_Ak_Ink != 20
and I_SettlementOwner Ak_Ink = pontus
console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
set_counter settlementowner_Ak_Ink 20
end_if

if I_CompareCounter settlementowner_Arretium != 20
and I_SettlementOwner Arretium = pontus
console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
set_counter settlementowner_Arretium 20
end_if

if I_CompareCounter settlementowner_Chalkis != 20
and I_SettlementOwner Chalkis = pontus
console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
set_counter settlementowner_Chalkis 20
end_if

if I_CompareCounter settlementowner_Gabai != 20
and I_SettlementOwner Gabai = pontus
console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
set_counter settlementowner_Gabai 20
end_if

if I_CompareCounter settlementowner_Tuat != 20
and I_SettlementOwner Tuat = pontus
console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
set_counter settlementowner_Tuat 20
end_if

if I_CompareCounter settlementowner_Tyde != 20
and I_SettlementOwner Tyde = pontus
console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
set_counter settlementowner_Tyde 20
end_if

if I_CompareCounter settlementowner_Ankyra != 20
and I_SettlementOwner Ankyra = pontus
console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
set_counter settlementowner_Ankyra 20
end_if

if I_CompareCounter settlementowner_Taksashila != 20
and I_SettlementOwner Taksashila = pontus
console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
set_counter settlementowner_Taksashila 20
end_if

if I_CompareCounter settlementowner_Pura != 20
and I_SettlementOwner Pura = pontus
console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
set_counter settlementowner_Pura 20
end_if

if I_CompareCounter settlementowner_Gerrha != 20
and I_SettlementOwner Gerrha = pontus
console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
set_counter settlementowner_Gerrha 20
end_if

if I_CompareCounter settlementowner_Buridava != 20
and I_SettlementOwner Buridava = pontus
console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
set_counter settlementowner_Buridava 20
end_if

if I_CompareCounter settlementowner_Sarmiszegethusa != 20
and I_SettlementOwner Sarmiszegethusa = pontus
console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
set_counter settlementowner_Sarmiszegethusa 20
end_if

if I_CompareCounter settlementowner_Massalia != 20
and I_SettlementOwner Massalia = pontus
console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
set_counter settlementowner_Massalia 20
end_if

if I_CompareCounter settlementowner_Gawjam_Habukoz != 20
and I_SettlementOwner Gawjam_Habukoz = pontus
console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
set_counter settlementowner_Gawjam_Habukoz 20
end_if

if I_CompareCounter settlementowner_Sabata != 20
and I_SettlementOwner Sabata = pontus
console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
set_counter settlementowner_Sabata 20
end_if

if I_CompareCounter settlementowner_Arctaunon != 20
and I_SettlementOwner Arctaunon = pontus
console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
set_counter settlementowner_Arctaunon 20
end_if

if I_CompareCounter settlementowner_Armavir != 20
and I_SettlementOwner Armavir = pontus
console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
set_counter settlementowner_Armavir 20
end_if

if I_CompareCounter settlementowner_Aventicos != 20
and I_SettlementOwner Aventicos = pontus
console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
set_counter settlementowner_Aventicos 20
end_if

if I_CompareCounter settlementowner_Memphis != 20
and I_SettlementOwner Memphis = pontus
console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
set_counter settlementowner_Memphis 20
end_if

if I_CompareCounter settlementowner_Gawjam_Heruskoz != 20
and I_SettlementOwner Gawjam_Heruskoz = pontus
console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
set_counter settlementowner_Gawjam_Heruskoz 20
end_if

if I_CompareCounter settlementowner_Zadrakata != 20
and I_SettlementOwner Zadrakata = pontus
console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
set_counter settlementowner_Zadrakata 20
end_if

if I_CompareCounter settlementowner_Epidamnos != 20
and I_SettlementOwner Epidamnos = pontus
console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
set_counter settlementowner_Epidamnos 20
end_if

if I_CompareCounter settlementowner_Mediolanum != 20
and I_SettlementOwner Mediolanum = pontus
console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
set_counter settlementowner_Mediolanum 20
end_if

if I_CompareCounter settlementowner_Hierosolyma != 20
and I_SettlementOwner Hierosolyma = pontus
console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
set_counter settlementowner_Hierosolyma 20
end_if

if I_CompareCounter settlementowner_Taras != 20
and I_SettlementOwner Taras = pontus
console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
set_counter settlementowner_Taras 20
end_if

if I_CompareCounter settlementowner_Chach != 20
and I_SettlementOwner Chach = pontus
console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
set_counter settlementowner_Chach 20
end_if

if I_CompareCounter settlementowner_Mazaka != 20
and I_SettlementOwner Mazaka = pontus
console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
set_counter settlementowner_Mazaka 20
end_if

if I_CompareCounter settlementowner_Amaseia != 20
and I_SettlementOwner Amaseia = pontus
console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
set_counter settlementowner_Amaseia 20
end_if

if I_CompareCounter settlementowner_Halikarnassos != 20
and I_SettlementOwner Halikarnassos = pontus
console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
set_counter settlementowner_Halikarnassos 20
end_if

if I_CompareCounter settlementowner_Karmana != 20
and I_SettlementOwner Karmana = pontus
console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
set_counter settlementowner_Karmana 20
end_if

if I_CompareCounter settlementowner_Mtskheta != 20
and I_SettlementOwner Mtskheta = pontus
console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
set_counter settlementowner_Mtskheta 20
end_if

if I_CompareCounter settlementowner_Apameia != 20
and I_SettlementOwner Apameia = pontus
console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
set_counter settlementowner_Apameia 20
end_if

if I_CompareCounter settlementowner_Khiva != 20
and I_SettlementOwner Khiva = pontus
console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
set_counter settlementowner_Khiva 20
end_if

wait 1
if I_CompareCounter settlementowner_Tarsos != 20
and I_SettlementOwner Tarsos = pontus
console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
set_counter settlementowner_Tarsos 20
end_if

if I_CompareCounter settlementowner_Gawjam_Kimbroz != 20
and I_SettlementOwner Gawjam_Kimbroz = pontus
console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
set_counter settlementowner_Gawjam_Kimbroz 20
end_if

if I_CompareCounter settlementowner_Alalia != 20
and I_SettlementOwner Alalia = pontus
console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
set_counter settlementowner_Alalia 20
end_if

if I_CompareCounter settlementowner_Kydonia != 20
and I_SettlementOwner Kydonia = pontus
console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
set_counter settlementowner_Kydonia 20
end_if

if I_CompareCounter settlementowner_Meroe != 20
and I_SettlementOwner Meroe = pontus
console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
set_counter settlementowner_Meroe 20
end_if

if I_CompareCounter settlementowner_Salamis != 20
and I_SettlementOwner Salamis = pontus
console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
set_counter settlementowner_Salamis 20
end_if

if I_CompareCounter settlementowner_Kyrene != 20
and I_SettlementOwner Kyrene = pontus
console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
set_counter settlementowner_Kyrene 20
end_if

if I_CompareCounter settlementowner_Emporion != 20
and I_SettlementOwner Emporion = pontus
console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
set_counter settlementowner_Emporion 20
end_if

if I_CompareCounter settlementowner_Sparte != 20
and I_SettlementOwner Sparte = pontus
console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
set_counter settlementowner_Sparte 20
end_if

if I_CompareCounter settlementowner_Gawjam_Gotanoz != 20
and I_SettlementOwner Gawjam_Gotanoz = pontus
console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
set_counter settlementowner_Gawjam_Gotanoz 20
end_if

if I_CompareCounter settlementowner_Rome != 20
and I_SettlementOwner Rome = pontus
console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
set_counter settlementowner_Rome 20
end_if

if I_CompareCounter settlementowner_Lemonum != 20
and I_SettlementOwner Lemonum = pontus
console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
set_counter settlementowner_Lemonum 20
end_if

if I_CompareCounter settlementowner_Mytilene != 20
and I_SettlementOwner Mytilene = pontus
console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
set_counter settlementowner_Mytilene 20
end_if

if I_CompareCounter settlementowner_Ammonion != 20
and I_SettlementOwner Ammonion = pontus
console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
set_counter settlementowner_Ammonion 20
end_if

if I_CompareCounter settlementowner_Segesta != 20
and I_SettlementOwner Segesta = pontus
console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
set_counter settlementowner_Segesta 20
end_if

if I_CompareCounter settlementowner_Viennos != 20
and I_SettlementOwner Viennos = pontus
console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
set_counter settlementowner_Viennos 20
end_if

if I_CompareCounter settlementowner_Carrodunum != 20
and I_SettlementOwner Carrodunum = pontus
console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
set_counter settlementowner_Carrodunum 20
end_if

if I_CompareCounter settlementowner_Oxtraca != 20
and I_SettlementOwner Oxtraca = pontus
console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
set_counter settlementowner_Oxtraca 20
end_if

if I_CompareCounter settlementowner_Sardis != 20
and I_SettlementOwner Sardis = pontus
console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
set_counter settlementowner_Sardis 20
end_if

if I_CompareCounter settlementowner_Tanais != 20
and I_SettlementOwner Tanais = pontus
console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
set_counter settlementowner_Tanais 20
end_if

if I_CompareCounter settlementowner_Carna != 20
and I_SettlementOwner Carna = pontus
console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
set_counter settlementowner_Carna 20
end_if

if I_CompareCounter settlementowner_Pella != 20
and I_SettlementOwner Pella = pontus
console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
set_counter settlementowner_Pella 20
end_if

if I_CompareCounter settlementowner_Homna != 20
and I_SettlementOwner Homna = pontus
console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
set_counter settlementowner_Homna 20
end_if

if I_CompareCounter settlementowner_Antiocheia_Margiane != 20
and I_SettlementOwner Antiocheia_Margiane = pontus
console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
set_counter settlementowner_Antiocheia_Margiane 20
end_if

if I_CompareCounter settlementowner_Paraitonion != 20
and I_SettlementOwner Paraitonion = pontus
console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
set_counter settlementowner_Paraitonion 20
end_if

if I_CompareCounter settlementowner_Ippone != 20
and I_SettlementOwner Ippone = pontus
console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
set_counter settlementowner_Ippone 20
end_if

if I_CompareCounter settlementowner_Sala != 20
and I_SettlementOwner Sala = pontus
console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
set_counter settlementowner_Sala 20
end_if

if I_CompareCounter settlementowner_Siga != 20
and I_SettlementOwner Siga = pontus
console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
set_counter settlementowner_Siga 20
end_if

if I_CompareCounter settlementowner_Lixus != 20
and I_SettlementOwner Lixus = pontus
console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
set_counter settlementowner_Lixus 20
end_if

if I_CompareCounter settlementowner_Ekbatana != 20
and I_SettlementOwner Ekbatana = pontus
console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
set_counter settlementowner_Ekbatana 20
end_if

if I_CompareCounter settlementowner_Kallatis != 20
and I_SettlementOwner Kallatis = pontus
console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
set_counter settlementowner_Kallatis 20
end_if

if I_CompareCounter settlementowner_Bibracte != 20
and I_SettlementOwner Bibracte = pontus
console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
set_counter settlementowner_Bibracte 20
end_if

if I_CompareCounter settlementowner_Cenabum != 20
and I_SettlementOwner Cenabum = pontus
console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
set_counter settlementowner_Cenabum 20
end_if

if I_CompareCounter settlementowner_Eburonum != 20
and I_SettlementOwner Eburonum = pontus
console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
set_counter settlementowner_Eburonum 20
end_if

if I_CompareCounter settlementowner_Pergamon != 20
and I_SettlementOwner Pergamon = pontus
console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
set_counter settlementowner_Pergamon 20
end_if

if I_CompareCounter settlementowner_Bostra != 20
and I_SettlementOwner Bostra = pontus
console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
set_counter settlementowner_Bostra 20
end_if

if I_CompareCounter settlementowner_Bagacos != 20
and I_SettlementOwner Bagacos = pontus
console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
set_counter settlementowner_Bagacos 20
end_if

if I_CompareCounter settlementowner_Gordu_Neuriji != 20
and I_SettlementOwner Gordu_Neuriji = pontus
console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
set_counter settlementowner_Gordu_Neuriji 20
end_if

if I_CompareCounter settlementowner_Iuvavoaeta != 20
and I_SettlementOwner Iuvavoaeta = pontus
console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
set_counter settlementowner_Iuvavoaeta 20
end_if

if I_CompareCounter settlementowner_Kirtan != 20
and I_SettlementOwner Kirtan = pontus
console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
set_counter settlementowner_Kirtan 20
end_if

if I_CompareCounter settlementowner_Hibis != 20
and I_SettlementOwner Hibis = pontus
console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
set_counter settlementowner_Hibis 20
end_if

if I_CompareCounter settlementowner_Tylis != 20
and I_SettlementOwner Tylis = pontus
console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
set_counter settlementowner_Tylis 20
end_if

if I_CompareCounter settlementowner_Side != 20
and I_SettlementOwner Side = pontus
console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
set_counter settlementowner_Side 20
end_if

if I_CompareCounter settlementowner_Vindobona != 20
and I_SettlementOwner Vindobona = pontus
console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
set_counter settlementowner_Vindobona 20
end_if

if I_CompareCounter settlementowner_Segestica != 20
and I_SettlementOwner Segestica = pontus
console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
set_counter settlementowner_Segestica 20
end_if

if I_CompareCounter settlementowner_Sinope != 20
and I_SettlementOwner Sinope = pontus
console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
set_counter settlementowner_Sinope 20
end_if

if I_CompareCounter settlementowner_Kophen != 20
and I_SettlementOwner Kophen = pontus
console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
set_counter settlementowner_Kophen 20
end_if

if I_CompareCounter settlementowner_Hekatompylos != 20
and I_SettlementOwner Hekatompylos = pontus
console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
set_counter settlementowner_Hekatompylos 20
end_if

if I_CompareCounter settlementowner_Korinthos != 20
and I_SettlementOwner Korinthos = pontus
console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
set_counter settlementowner_Korinthos 20
end_if

if I_CompareCounter settlementowner_Persepolis != 20
and I_SettlementOwner Persepolis = pontus
console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
set_counter settlementowner_Persepolis 20
end_if

wait 1
if I_CompareCounter settlementowner_Garama != 20
and I_SettlementOwner Garama = pontus
console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
set_counter settlementowner_Garama 20
end_if

if I_CompareCounter settlementowner_Sidon != 20
and I_SettlementOwner Sidon = pontus
console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
set_counter settlementowner_Sidon 20
end_if

if I_CompareCounter settlementowner_Ipsos != 20
and I_SettlementOwner Ipsos = pontus
console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
set_counter settlementowner_Ipsos 20
end_if

if I_CompareCounter settlementowner_Ani-Kamah != 20
and I_SettlementOwner Ani-Kamah = pontus
console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
set_counter settlementowner_Ani-Kamah 20
end_if

if I_CompareCounter settlementowner_Trapezous != 20
and I_SettlementOwner Trapezous = pontus
console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
set_counter settlementowner_Trapezous 20
end_if

if I_CompareCounter settlementowner_Tamane != 20
and I_SettlementOwner Tamane = pontus
console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
set_counter settlementowner_Tamane 20
end_if

if I_CompareCounter settlementowner_Veldideno != 20
and I_SettlementOwner Veldideno = pontus
console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
set_counter settlementowner_Veldideno 20
end_if

if I_CompareCounter settlementowner_Rhodos != 20
and I_SettlementOwner Rhodos = pontus
console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
set_counter settlementowner_Rhodos 20
end_if

if I_CompareCounter settlementowner_Gawjam_Rugoz != 20
and I_SettlementOwner Gawjam_Rugoz = pontus
console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
set_counter settlementowner_Gawjam_Rugoz 20
end_if

if I_CompareCounter settlementowner_Maryab != 20
and I_SettlementOwner Maryab = pontus
console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
set_counter settlementowner_Maryab 20
end_if

if I_CompareCounter settlementowner_Terhazza != 20
and I_SettlementOwner Terhazza = pontus
console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
set_counter settlementowner_Terhazza 20
end_if

if I_CompareCounter settlementowner_Gava_Saka != 20
and I_SettlementOwner Gava_Saka = pontus
console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
set_counter settlementowner_Gava_Saka 20
end_if

if I_CompareCounter settlementowner_Asodat != 20
and I_SettlementOwner Asodat = pontus
console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
set_counter settlementowner_Asodat 20
end_if

if I_CompareCounter settlementowner_Karali != 20
and I_SettlementOwner Karali = pontus
console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
set_counter settlementowner_Karali 20
end_if

if I_CompareCounter settlementowner_Opiana != 20
and I_SettlementOwner Opiana = pontus
console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
set_counter settlementowner_Opiana 20
end_if

if I_CompareCounter settlementowner_Singidunum != 20
and I_SettlementOwner Singidunum = pontus
console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
set_counter settlementowner_Singidunum 20
end_if

if I_CompareCounter settlementowner_Seliun_Pilis != 20
and I_SettlementOwner Seliun_Pilis = pontus
console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
set_counter settlementowner_Seliun_Pilis 20
end_if

if I_CompareCounter settlementowner_Gintaras_Ostan != 20
and I_SettlementOwner Gintaras_Ostan = pontus
console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
set_counter settlementowner_Gintaras_Ostan 20
end_if

if I_CompareCounter settlementowner_Vesontio != 20
and I_SettlementOwner Vesontio = pontus
console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
set_counter settlementowner_Vesontio 20
end_if

if I_CompareCounter settlementowner_Messana != 20
and I_SettlementOwner Messana = pontus
console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
set_counter settlementowner_Messana 20
end_if

if I_CompareCounter settlementowner_Gawjam_Silengoz != 20
and I_SettlementOwner Gawjam_Silengoz = pontus
console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
set_counter settlementowner_Gawjam_Silengoz 20
end_if

if I_CompareCounter settlementowner_Petra != 20
and I_SettlementOwner Petra = pontus
console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
set_counter settlementowner_Petra 20
end_if

if I_CompareCounter settlementowner_Patala != 20
and I_SettlementOwner Patala = pontus
console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
set_counter settlementowner_Patala 20
end_if

if I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 20
and I_SettlementOwner Gawjam_Skandzawarjoz = pontus
console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
set_counter settlementowner_Gawjam_Skandzawarjoz 20
end_if

if I_CompareCounter settlementowner_Olbia != 20
and I_SettlementOwner Olbia = pontus
console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
set_counter settlementowner_Olbia 20
end_if

if I_CompareCounter settlementowner_Marakanda != 20
and I_SettlementOwner Marakanda = pontus
console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
set_counter settlementowner_Marakanda 20
end_if

if I_CompareCounter settlementowner_Karkathiokerta != 20
and I_SettlementOwner Karkathiokerta = pontus
console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
set_counter settlementowner_Karkathiokerta 20
end_if

if I_CompareCounter settlementowner_Swebotraustastamnoz != 20
and I_SettlementOwner Swebotraustastamnoz = pontus
console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
set_counter settlementowner_Swebotraustastamnoz 20
end_if

if I_CompareCounter settlementowner_Antiocheia != 20
and I_SettlementOwner Antiocheia = pontus
console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
set_counter settlementowner_Antiocheia 20
end_if

if I_CompareCounter settlementowner_Damaskos != 20
and I_SettlementOwner Damaskos = pontus
console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
set_counter settlementowner_Damaskos 20
end_if

if I_CompareCounter settlementowner_Palmyra != 20
and I_SettlementOwner Palmyra = pontus
console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
set_counter settlementowner_Palmyra 20
end_if

if I_CompareCounter settlementowner_Chersonesos != 20
and I_SettlementOwner Chersonesos = pontus
console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
set_counter settlementowner_Chersonesos 20
end_if

if I_CompareCounter settlementowner_Diospolis_Megale != 20
and I_SettlementOwner Diospolis_Megale = pontus
console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
set_counter settlementowner_Diospolis_Megale 20
end_if

if I_CompareCounter settlementowner_Demetrias != 20
and I_SettlementOwner Demetrias = pontus
console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
set_counter settlementowner_Demetrias 20
end_if

if I_CompareCounter settlementowner_Naissos != 20
and I_SettlementOwner Naissos = pontus
console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
set_counter settlementowner_Naissos 20
end_if

if I_CompareCounter settlementowner_Ascaucalis != 20
and I_SettlementOwner Ascaucalis = pontus
console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
set_counter settlementowner_Ascaucalis 20
end_if

if I_CompareCounter settlementowner_Pselkis != 20
and I_SettlementOwner Pselkis = pontus
console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
set_counter settlementowner_Pselkis 20
end_if

if I_CompareCounter settlementowner_Syracuse != 20
and I_SettlementOwner Syracuse = pontus
console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
set_counter settlementowner_Syracuse 20
end_if

if I_CompareCounter settlementowner_Lepki != 20
and I_SettlementOwner Lepki = pontus
console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
set_counter settlementowner_Lepki 20
end_if

if I_CompareCounter settlementowner_Gader != 20
and I_SettlementOwner Gader = pontus
console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
set_counter settlementowner_Gader 20
end_if

if I_CompareCounter settlementowner_Sucum-Murgi != 20
and I_SettlementOwner Sucum-Murgi = pontus
console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
set_counter settlementowner_Sucum-Murgi 20
end_if

if I_CompareCounter settlementowner_Ariminum != 20
and I_SettlementOwner Ariminum = pontus
console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
set_counter settlementowner_Ariminum 20
end_if

if I_CompareCounter settlementowner_Patavium != 20
and I_SettlementOwner Patavium = pontus
console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
set_counter settlementowner_Patavium 20
end_if

if I_CompareCounter settlementowner_Vindelicoppidos != 20
and I_SettlementOwner Vindelicoppidos = pontus
console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
set_counter settlementowner_Vindelicoppidos 20
end_if

if I_CompareCounter settlementowner_Tolosa != 20
and I_SettlementOwner Tolosa = pontus
console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
set_counter settlementowner_Tolosa 20
end_if

if I_CompareCounter settlementowner_Chighu != 20
and I_SettlementOwner Chighu = pontus
console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
set_counter settlementowner_Chighu 20
end_if

if I_CompareCounter settlementowner_Sulek != 20
and I_SettlementOwner Sulek = pontus
console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
set_counter settlementowner_Sulek 20
end_if

if I_CompareCounter settlementowner_Kart_Hadast != 20
and I_SettlementOwner Kart_Hadast = pontus
console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
set_counter settlementowner_Kart_Hadast 20
end_if

wait 1
if I_CompareCounter settlementowner_Ubar != 20
and I_SettlementOwner Ubar = pontus
console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
set_counter settlementowner_Ubar 20
end_if

end_while
end_monitor
;
; When AI factions take over settlements, damage any pre-existing goverment
; building and create another government building of the appropriate type.
;

monitor_event FactionTurnEnd FactionType seleucid
and not FactionIsLocal

if I_SettlementOwner Arbela = seleucid
and I_CompareCounter settlementowner_Arbela != 1

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov2
end_if


if I_SettlementOwner Phraaspa = seleucid
and I_CompareCounter settlementowner_Phraaspa != 1

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = seleucid
and I_CompareCounter settlementowner_Bononia != 1

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov1
end_if


if I_SettlementOwner Kabalaka = seleucid
and I_CompareCounter settlementowner_Kabalaka != 1

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = seleucid
and I_CompareCounter settlementowner_Thermon != 1

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov2
end_if


if I_SettlementOwner Arpi = seleucid
and I_CompareCounter settlementowner_Arpi != 1

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov1
end_if


if I_SettlementOwner Burdigala = seleucid
and I_CompareCounter settlementowner_Burdigala != 1

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov2
end_if


if I_SettlementOwner Babylon = seleucid
and I_CompareCounter settlementowner_Babylon != 1

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov2
end_if


if I_SettlementOwner Alexandropolis = seleucid
and I_CompareCounter settlementowner_Alexandropolis != 1

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = seleucid
and I_CompareCounter settlementowner_Alexandreia_Ariana != 1

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = seleucid
and I_CompareCounter settlementowner_Darioritum != 1

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov2
end_if


if I_SettlementOwner Gergovia = seleucid
and I_CompareCounter settlementowner_Gergovia != 1

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov2
end_if


if I_SettlementOwner Edessa = seleucid
and I_CompareCounter settlementowner_Edessa != 1

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov2
end_if


if I_SettlementOwner Asaak = seleucid
and I_CompareCounter settlementowner_Asaak != 1

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = seleucid
and I_CompareCounter settlementowner_Pallantia != 1

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov2
end_if


if I_SettlementOwner Athenai = seleucid
and I_CompareCounter settlementowner_Athenai != 1

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov2
end_if


if I_SettlementOwner Augila_settlement = seleucid
and I_CompareCounter settlementowner_Augila_settlement != 1

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = seleucid
and I_CompareCounter settlementowner_Seleukeia != 1

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov2
end_if


if I_SettlementOwner Baktra = seleucid
and I_CompareCounter settlementowner_Baktra != 1

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = seleucid
and I_CompareCounter settlementowner_Bocchoris != 1

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov2
end_if


if I_SettlementOwner Gawjam_Bastarnoz = seleucid
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 1

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov2
end_if


if I_SettlementOwner Mastia = seleucid
and I_CompareCounter settlementowner_Mastia != 1

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov2
end_if


if I_SettlementOwner Avaricum = seleucid
and I_CompareCounter settlementowner_Avaricum != 1

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov2
end_if


if I_SettlementOwner Bratosporios = seleucid
and I_CompareCounter settlementowner_Bratosporios != 1

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov2
end_if


if I_SettlementOwner Nikaia = seleucid
and I_CompareCounter settlementowner_Nikaia != 1

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov2
end_if


if I_SettlementOwner Pantikapaion = seleucid
and I_CompareCounter settlementowner_Pantikapaion != 1

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov2
end_if


if I_SettlementOwner Rhegion = seleucid
and I_CompareCounter settlementowner_Rhegion != 1

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov1
end_if


if I_SettlementOwner Caern_Brigantae = seleucid
and I_CompareCounter settlementowner_Caern_Brigantae != 1

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov2
end_if


if I_SettlementOwner Gelonus = seleucid
and I_CompareCounter settlementowner_Gelonus != 1

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = seleucid
and I_CompareCounter settlementowner_Adrumeto != 1

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov2
end_if


if I_SettlementOwner Attuaca = seleucid
and I_CompareCounter settlementowner_Attuaca != 1

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = seleucid
and I_CompareCounter settlementowner_Capua != 1

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov1
end_if


if I_SettlementOwner Vellika = seleucid
and I_CompareCounter settlementowner_Vellika != 1

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov2
end_if


if I_SettlementOwner Baikor = seleucid
and I_CompareCounter settlementowner_Baikor != 1

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov2
end_if


if I_SettlementOwner Camulosadae = seleucid
and I_CompareCounter settlementowner_Camulosadae != 1

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov2
end_if


if I_SettlementOwner Numantia = seleucid
and I_CompareCounter settlementowner_Numantia != 1

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov2
end_if


if I_SettlementOwner Charax = seleucid
and I_CompareCounter settlementowner_Charax != 1

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = seleucid
and I_CompareCounter settlementowner_Byzantion != 1

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov2
end_if


if I_SettlementOwner Ptolemais_Theron = seleucid
and I_CompareCounter settlementowner_Ptolemais_Theron != 1

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = seleucid
and I_CompareCounter settlementowner_Ratae != 1

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov2
end_if


if I_SettlementOwner Ictis = seleucid
and I_CompareCounter settlementowner_Ictis != 1

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov2
end_if


if I_SettlementOwner Lucarottea = seleucid
and I_CompareCounter settlementowner_Lucarottea != 1

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov2
end_if


if I_SettlementOwner Emain_Macha = seleucid
and I_CompareCounter settlementowner_Emain_Macha != 1

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = seleucid
and I_CompareCounter settlementowner_Atiqa != 1

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov2
end_if


if I_SettlementOwner Ynys_Mon = seleucid
and I_CompareCounter settlementowner_Ynys_Mon != 1

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov2
end_if


if I_SettlementOwner Gava_Alanna = seleucid
and I_CompareCounter settlementowner_Gava_Alanna != 1

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = seleucid
and I_CompareCounter settlementowner_Gava_Aursa != 1

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = seleucid
and I_CompareCounter settlementowner_Nisa != 1

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = seleucid
and I_CompareCounter settlementowner_Gava_Haomavarga != 1

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = seleucid
and I_CompareCounter settlementowner_Gava_Mazsakata != 1

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = seleucid
and I_CompareCounter settlementowner_Gava_Roxsalanna != 1

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = seleucid
and I_CompareCounter settlementowner_Uspe != 1

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = seleucid
and I_CompareCounter settlementowner_Gava_Thissakata != 1

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = seleucid
and I_CompareCounter settlementowner_Gava_Yazyga != 1

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = seleucid
and I_CompareCounter settlementowner_Gava_Yugra != 1

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = seleucid
and I_CompareCounter settlementowner_Dalminion != 1

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov2
end_if


if I_SettlementOwner Serdike = seleucid
and I_CompareCounter settlementowner_Serdike != 1

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov2
end_if


if I_SettlementOwner Alexandreia_Eschate = seleucid
and I_CompareCounter settlementowner_Alexandreia_Eschate != 1

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = seleucid
and I_CompareCounter settlementowner_Alexandreia != 1

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov2
end_if


if I_SettlementOwner Axum = seleucid
and I_CompareCounter settlementowner_Axum != 1

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = seleucid
and I_CompareCounter settlementowner_Prophthasia != 1

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = seleucid
and I_CompareCounter settlementowner_Arse != 1

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov2
end_if


if I_SettlementOwner Kotais = seleucid
and I_CompareCounter settlementowner_Kotais != 1

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov2
end_if


if I_SettlementOwner Lilibeo = seleucid
and I_CompareCounter settlementowner_Lilibeo != 1

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov2
end_if


if I_SettlementOwner Susa = seleucid
and I_CompareCounter settlementowner_Susa != 1

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = seleucid
and I_CompareCounter settlementowner_Apollonia != 1

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov2
end_if


if I_SettlementOwner Ivernis = seleucid
and I_CompareCounter settlementowner_Ivernis != 1

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = seleucid
and I_CompareCounter settlementowner_Ak_Ink != 1

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov2
end_if


if I_SettlementOwner Arretium = seleucid
and I_CompareCounter settlementowner_Arretium != 1

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov1
end_if


if I_SettlementOwner Chalkis = seleucid
and I_CompareCounter settlementowner_Chalkis != 1

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov2
end_if


if I_SettlementOwner Gabai = seleucid
and I_CompareCounter settlementowner_Gabai != 1

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = seleucid
and I_CompareCounter settlementowner_Tuat != 1

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = seleucid
and I_CompareCounter settlementowner_Tyde != 1

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov2
end_if


if I_SettlementOwner Ankyra = seleucid
and I_CompareCounter settlementowner_Ankyra != 1

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov2
end_if


if I_SettlementOwner Taksashila = seleucid
and I_CompareCounter settlementowner_Taksashila != 1

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = seleucid
and I_CompareCounter settlementowner_Pura != 1

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = seleucid
and I_CompareCounter settlementowner_Gerrha != 1

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = seleucid
and I_CompareCounter settlementowner_Buridava != 1

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov2
end_if


if I_SettlementOwner Sarmiszegethusa = seleucid
and I_CompareCounter settlementowner_Sarmiszegethusa != 1

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov2
end_if


if I_SettlementOwner Massalia = seleucid
and I_CompareCounter settlementowner_Massalia != 1

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov2
end_if


if I_SettlementOwner Gawjam_Habukoz = seleucid
and I_CompareCounter settlementowner_Gawjam_Habukoz != 1

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov2
end_if


if I_SettlementOwner Sabata = seleucid
and I_CompareCounter settlementowner_Sabata != 1

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = seleucid
and I_CompareCounter settlementowner_Arctaunon != 1

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov2
end_if


if I_SettlementOwner Armavir = seleucid
and I_CompareCounter settlementowner_Armavir != 1

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov2
end_if


if I_SettlementOwner Aventicos = seleucid
and I_CompareCounter settlementowner_Aventicos != 1

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov2
end_if


if I_SettlementOwner Memphis = seleucid
and I_CompareCounter settlementowner_Memphis != 1

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov2
end_if


if I_SettlementOwner Gawjam_Heruskoz = seleucid
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 1

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov2
end_if


if I_SettlementOwner Zadrakata = seleucid
and I_CompareCounter settlementowner_Zadrakata != 1

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = seleucid
and I_CompareCounter settlementowner_Epidamnos != 1

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov2
end_if


if I_SettlementOwner Mediolanum = seleucid
and I_CompareCounter settlementowner_Mediolanum != 1

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov2
end_if


if I_SettlementOwner Hierosolyma = seleucid
and I_CompareCounter settlementowner_Hierosolyma != 1

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov2
end_if


if I_SettlementOwner Taras = seleucid
and I_CompareCounter settlementowner_Taras != 1

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov1
end_if


if I_SettlementOwner Chach = seleucid
and I_CompareCounter settlementowner_Chach != 1

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = seleucid
and I_CompareCounter settlementowner_Mazaka != 1

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov2
end_if


if I_SettlementOwner Amaseia = seleucid
and I_CompareCounter settlementowner_Amaseia != 1

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov2
end_if


if I_SettlementOwner Halikarnassos = seleucid
and I_CompareCounter settlementowner_Halikarnassos != 1

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov2
end_if


if I_SettlementOwner Karmana = seleucid
and I_CompareCounter settlementowner_Karmana != 1

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = seleucid
and I_CompareCounter settlementowner_Mtskheta != 1

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov2
end_if


if I_SettlementOwner Apameia = seleucid
and I_CompareCounter settlementowner_Apameia != 1

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = seleucid
and I_CompareCounter settlementowner_Khiva != 1

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = seleucid
and I_CompareCounter settlementowner_Tarsos != 1

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov2
end_if


if I_SettlementOwner Gawjam_Kimbroz = seleucid
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 1

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov2
end_if


if I_SettlementOwner Alalia = seleucid
and I_CompareCounter settlementowner_Alalia != 1

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov2
end_if


if I_SettlementOwner Kydonia = seleucid
and I_CompareCounter settlementowner_Kydonia != 1

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov2
end_if


if I_SettlementOwner Meroe = seleucid
and I_CompareCounter settlementowner_Meroe != 1

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = seleucid
and I_CompareCounter settlementowner_Salamis != 1

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = seleucid
and I_CompareCounter settlementowner_Kyrene != 1

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov2
end_if


if I_SettlementOwner Emporion = seleucid
and I_CompareCounter settlementowner_Emporion != 1

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov2
end_if


if I_SettlementOwner Sparte = seleucid
and I_CompareCounter settlementowner_Sparte != 1

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov2
end_if


if I_SettlementOwner Gawjam_Gotanoz = seleucid
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 1

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = seleucid
and I_CompareCounter settlementowner_Rome != 1

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov1
end_if


if I_SettlementOwner Lemonum = seleucid
and I_CompareCounter settlementowner_Lemonum != 1

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov2
end_if


if I_SettlementOwner Mytilene = seleucid
and I_CompareCounter settlementowner_Mytilene != 1

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov2
end_if


if I_SettlementOwner Ammonion = seleucid
and I_CompareCounter settlementowner_Ammonion != 1

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov2
end_if


if I_SettlementOwner Segesta = seleucid
and I_CompareCounter settlementowner_Segesta != 1

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov1
end_if


if I_SettlementOwner Viennos = seleucid
and I_CompareCounter settlementowner_Viennos != 1

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov2
end_if


if I_SettlementOwner Carrodunum = seleucid
and I_CompareCounter settlementowner_Carrodunum != 1

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov2
end_if


if I_SettlementOwner Oxtraca = seleucid
and I_CompareCounter settlementowner_Oxtraca != 1

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov2
end_if


if I_SettlementOwner Sardis = seleucid
and I_CompareCounter settlementowner_Sardis != 1

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = seleucid
and I_CompareCounter settlementowner_Tanais != 1

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov2
end_if


if I_SettlementOwner Carna = seleucid
and I_CompareCounter settlementowner_Carna != 1

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = seleucid
and I_CompareCounter settlementowner_Pella != 1

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov2
end_if


if I_SettlementOwner Homna = seleucid
and I_CompareCounter settlementowner_Homna != 1

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = seleucid
and I_CompareCounter settlementowner_Antiocheia_Margiane != 1

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = seleucid
and I_CompareCounter settlementowner_Paraitonion != 1

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = seleucid
and I_CompareCounter settlementowner_Ippone != 1

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov2
end_if


if I_SettlementOwner Sala = seleucid
and I_CompareCounter settlementowner_Sala != 1

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = seleucid
and I_CompareCounter settlementowner_Siga != 1

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov2
end_if


if I_SettlementOwner Lixus = seleucid
and I_CompareCounter settlementowner_Lixus != 1

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov2
end_if


if I_SettlementOwner Ekbatana = seleucid
and I_CompareCounter settlementowner_Ekbatana != 1

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = seleucid
and I_CompareCounter settlementowner_Kallatis != 1

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov2
end_if


if I_SettlementOwner Bibracte = seleucid
and I_CompareCounter settlementowner_Bibracte != 1

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov2
end_if


if I_SettlementOwner Cenabum = seleucid
and I_CompareCounter settlementowner_Cenabum != 1

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov2
end_if


if I_SettlementOwner Eburonum = seleucid
and I_CompareCounter settlementowner_Eburonum != 1

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov2
end_if


if I_SettlementOwner Pergamon = seleucid
and I_CompareCounter settlementowner_Pergamon != 1

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov2
end_if


if I_SettlementOwner Bostra = seleucid
and I_CompareCounter settlementowner_Bostra != 1

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov2
end_if


if I_SettlementOwner Bagacos = seleucid
and I_CompareCounter settlementowner_Bagacos != 1

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov2
end_if


if I_SettlementOwner Gordu_Neuriji = seleucid
and I_CompareCounter settlementowner_Gordu_Neuriji != 1

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov2
end_if


if I_SettlementOwner Iuvavoaeta = seleucid
and I_CompareCounter settlementowner_Iuvavoaeta != 1

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov2
end_if


if I_SettlementOwner Kirtan = seleucid
and I_CompareCounter settlementowner_Kirtan != 1

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov2
end_if


if I_SettlementOwner Hibis = seleucid
and I_CompareCounter settlementowner_Hibis != 1

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov2
end_if


if I_SettlementOwner Tylis = seleucid
and I_CompareCounter settlementowner_Tylis != 1

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = seleucid
and I_CompareCounter settlementowner_Side != 1

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov2
end_if


if I_SettlementOwner Vindobona = seleucid
and I_CompareCounter settlementowner_Vindobona != 1

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov2
end_if


if I_SettlementOwner Segestica = seleucid
and I_CompareCounter settlementowner_Segestica != 1

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov2
end_if


if I_SettlementOwner Sinope = seleucid
and I_CompareCounter settlementowner_Sinope != 1

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov2
end_if


if I_SettlementOwner Kophen = seleucid
and I_CompareCounter settlementowner_Kophen != 1

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = seleucid
and I_CompareCounter settlementowner_Hekatompylos != 1

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = seleucid
and I_CompareCounter settlementowner_Korinthos != 1

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov2
end_if


if I_SettlementOwner Persepolis = seleucid
and I_CompareCounter settlementowner_Persepolis != 1

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = seleucid
and I_CompareCounter settlementowner_Garama != 1

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = seleucid
and I_CompareCounter settlementowner_Sidon != 1

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov2
end_if


if I_SettlementOwner Ipsos = seleucid
and I_CompareCounter settlementowner_Ipsos != 1

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov2
end_if


if I_SettlementOwner Ani-Kamah = seleucid
and I_CompareCounter settlementowner_Ani-Kamah != 1

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov2
end_if


if I_SettlementOwner Trapezous = seleucid
and I_CompareCounter settlementowner_Trapezous != 1

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov2
end_if


if I_SettlementOwner Tamane = seleucid
and I_CompareCounter settlementowner_Tamane != 1

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = seleucid
and I_CompareCounter settlementowner_Veldideno != 1

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov2
end_if


if I_SettlementOwner Rhodos = seleucid
and I_CompareCounter settlementowner_Rhodos != 1

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov2
end_if


if I_SettlementOwner Gawjam_Rugoz = seleucid
and I_CompareCounter settlementowner_Gawjam_Rugoz != 1

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov2
end_if


if I_SettlementOwner Maryab = seleucid
and I_CompareCounter settlementowner_Maryab != 1

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = seleucid
and I_CompareCounter settlementowner_Terhazza != 1

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = seleucid
and I_CompareCounter settlementowner_Gava_Saka != 1

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = seleucid
and I_CompareCounter settlementowner_Asodat != 1

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = seleucid
and I_CompareCounter settlementowner_Karali != 1

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov2
end_if


if I_SettlementOwner Opiana = seleucid
and I_CompareCounter settlementowner_Opiana != 1

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = seleucid
and I_CompareCounter settlementowner_Singidunum != 1

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov2
end_if


if I_SettlementOwner Seliun_Pilis = seleucid
and I_CompareCounter settlementowner_Seliun_Pilis != 1

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = seleucid
and I_CompareCounter settlementowner_Gintaras_Ostan != 1

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov2
end_if


if I_SettlementOwner Vesontio = seleucid
and I_CompareCounter settlementowner_Vesontio != 1

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov2
end_if


if I_SettlementOwner Messana = seleucid
and I_CompareCounter settlementowner_Messana != 1

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov2
end_if


if I_SettlementOwner Gawjam_Silengoz = seleucid
and I_CompareCounter settlementowner_Gawjam_Silengoz != 1

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov2
end_if


if I_SettlementOwner Petra = seleucid
and I_CompareCounter settlementowner_Petra != 1

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov2
end_if


if I_SettlementOwner Patala = seleucid
and I_CompareCounter settlementowner_Patala != 1

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = seleucid
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 1

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = seleucid
and I_CompareCounter settlementowner_Olbia != 1

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov2
end_if


if I_SettlementOwner Marakanda = seleucid
and I_CompareCounter settlementowner_Marakanda != 1

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = seleucid
and I_CompareCounter settlementowner_Karkathiokerta != 1

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov2
end_if


if I_SettlementOwner Swebotraustastamnoz = seleucid
and I_CompareCounter settlementowner_Swebotraustastamnoz != 1

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov2
end_if


if I_SettlementOwner Antiocheia = seleucid
and I_CompareCounter settlementowner_Antiocheia != 1

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov2
end_if


if I_SettlementOwner Damaskos = seleucid
and I_CompareCounter settlementowner_Damaskos != 1

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov2
end_if


if I_SettlementOwner Palmyra = seleucid
and I_CompareCounter settlementowner_Palmyra != 1

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov2
end_if


if I_SettlementOwner Chersonesos = seleucid
and I_CompareCounter settlementowner_Chersonesos != 1

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov2
end_if


if I_SettlementOwner Diospolis_Megale = seleucid
and I_CompareCounter settlementowner_Diospolis_Megale != 1

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov2
end_if


if I_SettlementOwner Demetrias = seleucid
and I_CompareCounter settlementowner_Demetrias != 1

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov2
end_if


if I_SettlementOwner Naissos = seleucid
and I_CompareCounter settlementowner_Naissos != 1

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov2
end_if


if I_SettlementOwner Ascaucalis = seleucid
and I_CompareCounter settlementowner_Ascaucalis != 1

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov2
end_if


if I_SettlementOwner Pselkis = seleucid
and I_CompareCounter settlementowner_Pselkis != 1

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov2
end_if


if I_SettlementOwner Syracuse = seleucid
and I_CompareCounter settlementowner_Syracuse != 1

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov2
end_if


if I_SettlementOwner Lepki = seleucid
and I_CompareCounter settlementowner_Lepki != 1

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov2
end_if


if I_SettlementOwner Gader = seleucid
and I_CompareCounter settlementowner_Gader != 1

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov2
end_if


if I_SettlementOwner Sucum-Murgi = seleucid
and I_CompareCounter settlementowner_Sucum-Murgi != 1

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov2
end_if


if I_SettlementOwner Ariminum = seleucid
and I_CompareCounter settlementowner_Ariminum != 1

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov1
end_if


if I_SettlementOwner Patavium = seleucid
and I_CompareCounter settlementowner_Patavium != 1

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov1
end_if


if I_SettlementOwner Vindelicoppidos = seleucid
and I_CompareCounter settlementowner_Vindelicoppidos != 1

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov2
end_if


if I_SettlementOwner Tolosa = seleucid
and I_CompareCounter settlementowner_Tolosa != 1

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov2
end_if


if I_SettlementOwner Chighu = seleucid
and I_CompareCounter settlementowner_Chighu != 1

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = seleucid
and I_CompareCounter settlementowner_Sulek != 1

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = seleucid
and I_CompareCounter settlementowner_Kart_Hadast != 1

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov2
end_if


if I_SettlementOwner Ubar = seleucid
and I_CompareCounter settlementowner_Ubar != 1

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType thrace
and not FactionIsLocal

if I_SettlementOwner Arbela = thrace
and I_CompareCounter settlementowner_Arbela != 2

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov1
end_if


if I_SettlementOwner Phraaspa = thrace
and I_CompareCounter settlementowner_Phraaspa != 2

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = thrace
and I_CompareCounter settlementowner_Bononia != 2

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov2
end_if


if I_SettlementOwner Kabalaka = thrace
and I_CompareCounter settlementowner_Kabalaka != 2

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = thrace
and I_CompareCounter settlementowner_Thermon != 2

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov1
end_if


if I_SettlementOwner Arpi = thrace
and I_CompareCounter settlementowner_Arpi != 2

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov2
end_if


if I_SettlementOwner Burdigala = thrace
and I_CompareCounter settlementowner_Burdigala != 2

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = thrace
and I_CompareCounter settlementowner_Babylon != 2

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = thrace
and I_CompareCounter settlementowner_Alexandropolis != 2

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = thrace
and I_CompareCounter settlementowner_Alexandreia_Ariana != 2

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = thrace
and I_CompareCounter settlementowner_Darioritum != 2

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = thrace
and I_CompareCounter settlementowner_Gergovia != 2

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = thrace
and I_CompareCounter settlementowner_Edessa != 2

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = thrace
and I_CompareCounter settlementowner_Asaak != 2

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = thrace
and I_CompareCounter settlementowner_Pallantia != 2

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = thrace
and I_CompareCounter settlementowner_Athenai != 2

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov2
end_if


if I_SettlementOwner Augila_settlement = thrace
and I_CompareCounter settlementowner_Augila_settlement != 2

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = thrace
and I_CompareCounter settlementowner_Seleukeia != 2

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = thrace
and I_CompareCounter settlementowner_Baktra != 2

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = thrace
and I_CompareCounter settlementowner_Bocchoris != 2

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = thrace
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 2

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = thrace
and I_CompareCounter settlementowner_Mastia != 2

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = thrace
and I_CompareCounter settlementowner_Avaricum != 2

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = thrace
and I_CompareCounter settlementowner_Bratosporios != 2

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = thrace
and I_CompareCounter settlementowner_Nikaia != 2

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov2
end_if


if I_SettlementOwner Pantikapaion = thrace
and I_CompareCounter settlementowner_Pantikapaion != 2

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = thrace
and I_CompareCounter settlementowner_Rhegion != 2

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov2
end_if


if I_SettlementOwner Caern_Brigantae = thrace
and I_CompareCounter settlementowner_Caern_Brigantae != 2

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = thrace
and I_CompareCounter settlementowner_Gelonus != 2

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = thrace
and I_CompareCounter settlementowner_Adrumeto != 2

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = thrace
and I_CompareCounter settlementowner_Attuaca != 2

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = thrace
and I_CompareCounter settlementowner_Capua != 2

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov2
end_if


if I_SettlementOwner Vellika = thrace
and I_CompareCounter settlementowner_Vellika != 2

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = thrace
and I_CompareCounter settlementowner_Baikor != 2

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = thrace
and I_CompareCounter settlementowner_Camulosadae != 2

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = thrace
and I_CompareCounter settlementowner_Numantia != 2

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = thrace
and I_CompareCounter settlementowner_Charax != 2

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = thrace
and I_CompareCounter settlementowner_Byzantion != 2

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov2
end_if


if I_SettlementOwner Ptolemais_Theron = thrace
and I_CompareCounter settlementowner_Ptolemais_Theron != 2

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = thrace
and I_CompareCounter settlementowner_Ratae != 2

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = thrace
and I_CompareCounter settlementowner_Ictis != 2

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = thrace
and I_CompareCounter settlementowner_Lucarottea != 2

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = thrace
and I_CompareCounter settlementowner_Emain_Macha != 2

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = thrace
and I_CompareCounter settlementowner_Atiqa != 2

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = thrace
and I_CompareCounter settlementowner_Ynys_Mon != 2

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = thrace
and I_CompareCounter settlementowner_Gava_Alanna != 2

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = thrace
and I_CompareCounter settlementowner_Gava_Aursa != 2

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = thrace
and I_CompareCounter settlementowner_Nisa != 2

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = thrace
and I_CompareCounter settlementowner_Gava_Haomavarga != 2

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = thrace
and I_CompareCounter settlementowner_Gava_Mazsakata != 2

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = thrace
and I_CompareCounter settlementowner_Gava_Roxsalanna != 2

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = thrace
and I_CompareCounter settlementowner_Uspe != 2

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = thrace
and I_CompareCounter settlementowner_Gava_Thissakata != 2

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = thrace
and I_CompareCounter settlementowner_Gava_Yazyga != 2

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = thrace
and I_CompareCounter settlementowner_Gava_Yugra != 2

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = thrace
and I_CompareCounter settlementowner_Dalminion != 2

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov2
end_if


if I_SettlementOwner Serdike = thrace
and I_CompareCounter settlementowner_Serdike != 2

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov1
end_if


if I_SettlementOwner Alexandreia_Eschate = thrace
and I_CompareCounter settlementowner_Alexandreia_Eschate != 2

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = thrace
and I_CompareCounter settlementowner_Alexandreia != 2

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov2
end_if


if I_SettlementOwner Axum = thrace
and I_CompareCounter settlementowner_Axum != 2

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = thrace
and I_CompareCounter settlementowner_Prophthasia != 2

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = thrace
and I_CompareCounter settlementowner_Arse != 2

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = thrace
and I_CompareCounter settlementowner_Kotais != 2

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = thrace
and I_CompareCounter settlementowner_Lilibeo != 2

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov2
end_if


if I_SettlementOwner Susa = thrace
and I_CompareCounter settlementowner_Susa != 2

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = thrace
and I_CompareCounter settlementowner_Apollonia != 2

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov1
end_if


if I_SettlementOwner Ivernis = thrace
and I_CompareCounter settlementowner_Ivernis != 2

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = thrace
and I_CompareCounter settlementowner_Ak_Ink != 2

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = thrace
and I_CompareCounter settlementowner_Arretium != 2

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov2
end_if


if I_SettlementOwner Chalkis = thrace
and I_CompareCounter settlementowner_Chalkis != 2

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov2
end_if


if I_SettlementOwner Gabai = thrace
and I_CompareCounter settlementowner_Gabai != 2

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = thrace
and I_CompareCounter settlementowner_Tuat != 2

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = thrace
and I_CompareCounter settlementowner_Tyde != 2

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = thrace
and I_CompareCounter settlementowner_Ankyra != 2

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = thrace
and I_CompareCounter settlementowner_Taksashila != 2

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = thrace
and I_CompareCounter settlementowner_Pura != 2

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = thrace
and I_CompareCounter settlementowner_Gerrha != 2

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = thrace
and I_CompareCounter settlementowner_Buridava != 2

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov2
end_if


if I_SettlementOwner Sarmiszegethusa = thrace
and I_CompareCounter settlementowner_Sarmiszegethusa != 2

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov2
end_if


if I_SettlementOwner Massalia = thrace
and I_CompareCounter settlementowner_Massalia != 2

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov2
end_if


if I_SettlementOwner Gawjam_Habukoz = thrace
and I_CompareCounter settlementowner_Gawjam_Habukoz != 2

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = thrace
and I_CompareCounter settlementowner_Sabata != 2

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = thrace
and I_CompareCounter settlementowner_Arctaunon != 2

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = thrace
and I_CompareCounter settlementowner_Armavir != 2

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = thrace
and I_CompareCounter settlementowner_Aventicos != 2

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = thrace
and I_CompareCounter settlementowner_Memphis != 2

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov2
end_if


if I_SettlementOwner Gawjam_Heruskoz = thrace
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 2

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = thrace
and I_CompareCounter settlementowner_Zadrakata != 2

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = thrace
and I_CompareCounter settlementowner_Epidamnos != 2

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov1
end_if


if I_SettlementOwner Mediolanum = thrace
and I_CompareCounter settlementowner_Mediolanum != 2

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = thrace
and I_CompareCounter settlementowner_Hierosolyma != 2

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = thrace
and I_CompareCounter settlementowner_Taras != 2

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov1
end_if


if I_SettlementOwner Chach = thrace
and I_CompareCounter settlementowner_Chach != 2

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = thrace
and I_CompareCounter settlementowner_Mazaka != 2

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = thrace
and I_CompareCounter settlementowner_Amaseia != 2

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = thrace
and I_CompareCounter settlementowner_Halikarnassos != 2

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov2
end_if


if I_SettlementOwner Karmana = thrace
and I_CompareCounter settlementowner_Karmana != 2

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = thrace
and I_CompareCounter settlementowner_Mtskheta != 2

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = thrace
and I_CompareCounter settlementowner_Apameia != 2

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = thrace
and I_CompareCounter settlementowner_Khiva != 2

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = thrace
and I_CompareCounter settlementowner_Tarsos != 2

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov2
end_if


if I_SettlementOwner Gawjam_Kimbroz = thrace
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 2

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = thrace
and I_CompareCounter settlementowner_Alalia != 2

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = thrace
and I_CompareCounter settlementowner_Kydonia != 2

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov2
end_if


if I_SettlementOwner Meroe = thrace
and I_CompareCounter settlementowner_Meroe != 2

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = thrace
and I_CompareCounter settlementowner_Salamis != 2

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = thrace
and I_CompareCounter settlementowner_Kyrene != 2

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov2
end_if


if I_SettlementOwner Emporion = thrace
and I_CompareCounter settlementowner_Emporion != 2

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = thrace
and I_CompareCounter settlementowner_Sparte != 2

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov2
end_if


if I_SettlementOwner Gawjam_Gotanoz = thrace
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 2

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = thrace
and I_CompareCounter settlementowner_Rome != 2

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov2
end_if


if I_SettlementOwner Lemonum = thrace
and I_CompareCounter settlementowner_Lemonum != 2

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = thrace
and I_CompareCounter settlementowner_Mytilene != 2

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov2
end_if


if I_SettlementOwner Ammonion = thrace
and I_CompareCounter settlementowner_Ammonion != 2

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = thrace
and I_CompareCounter settlementowner_Segesta != 2

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov2
end_if


if I_SettlementOwner Viennos = thrace
and I_CompareCounter settlementowner_Viennos != 2

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = thrace
and I_CompareCounter settlementowner_Carrodunum != 2

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = thrace
and I_CompareCounter settlementowner_Oxtraca != 2

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = thrace
and I_CompareCounter settlementowner_Sardis != 2

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = thrace
and I_CompareCounter settlementowner_Tanais != 2

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = thrace
and I_CompareCounter settlementowner_Carna != 2

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = thrace
and I_CompareCounter settlementowner_Pella != 2

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov1
end_if


if I_SettlementOwner Homna = thrace
and I_CompareCounter settlementowner_Homna != 2

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = thrace
and I_CompareCounter settlementowner_Antiocheia_Margiane != 2

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = thrace
and I_CompareCounter settlementowner_Paraitonion != 2

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = thrace
and I_CompareCounter settlementowner_Ippone != 2

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = thrace
and I_CompareCounter settlementowner_Sala != 2

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = thrace
and I_CompareCounter settlementowner_Siga != 2

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = thrace
and I_CompareCounter settlementowner_Lixus != 2

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = thrace
and I_CompareCounter settlementowner_Ekbatana != 2

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = thrace
and I_CompareCounter settlementowner_Kallatis != 2

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov2
end_if


if I_SettlementOwner Bibracte = thrace
and I_CompareCounter settlementowner_Bibracte != 2

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = thrace
and I_CompareCounter settlementowner_Cenabum != 2

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = thrace
and I_CompareCounter settlementowner_Eburonum != 2

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = thrace
and I_CompareCounter settlementowner_Pergamon != 2

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov2
end_if


if I_SettlementOwner Bostra = thrace
and I_CompareCounter settlementowner_Bostra != 2

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = thrace
and I_CompareCounter settlementowner_Bagacos != 2

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = thrace
and I_CompareCounter settlementowner_Gordu_Neuriji != 2

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = thrace
and I_CompareCounter settlementowner_Iuvavoaeta != 2

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = thrace
and I_CompareCounter settlementowner_Kirtan != 2

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = thrace
and I_CompareCounter settlementowner_Hibis != 2

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = thrace
and I_CompareCounter settlementowner_Tylis != 2

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = thrace
and I_CompareCounter settlementowner_Side != 2

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov2
end_if


if I_SettlementOwner Vindobona = thrace
and I_CompareCounter settlementowner_Vindobona != 2

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = thrace
and I_CompareCounter settlementowner_Segestica != 2

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov2
end_if


if I_SettlementOwner Sinope = thrace
and I_CompareCounter settlementowner_Sinope != 2

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov2
end_if


if I_SettlementOwner Kophen = thrace
and I_CompareCounter settlementowner_Kophen != 2

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = thrace
and I_CompareCounter settlementowner_Hekatompylos != 2

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = thrace
and I_CompareCounter settlementowner_Korinthos != 2

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov2
end_if


if I_SettlementOwner Persepolis = thrace
and I_CompareCounter settlementowner_Persepolis != 2

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = thrace
and I_CompareCounter settlementowner_Garama != 2

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = thrace
and I_CompareCounter settlementowner_Sidon != 2

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = thrace
and I_CompareCounter settlementowner_Ipsos != 2

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov2
end_if


if I_SettlementOwner Ani-Kamah = thrace
and I_CompareCounter settlementowner_Ani-Kamah != 2

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = thrace
and I_CompareCounter settlementowner_Trapezous != 2

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov2
end_if


if I_SettlementOwner Tamane = thrace
and I_CompareCounter settlementowner_Tamane != 2

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = thrace
and I_CompareCounter settlementowner_Veldideno != 2

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = thrace
and I_CompareCounter settlementowner_Rhodos != 2

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov2
end_if


if I_SettlementOwner Gawjam_Rugoz = thrace
and I_CompareCounter settlementowner_Gawjam_Rugoz != 2

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = thrace
and I_CompareCounter settlementowner_Maryab != 2

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = thrace
and I_CompareCounter settlementowner_Terhazza != 2

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = thrace
and I_CompareCounter settlementowner_Gava_Saka != 2

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = thrace
and I_CompareCounter settlementowner_Asodat != 2

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = thrace
and I_CompareCounter settlementowner_Karali != 2

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = thrace
and I_CompareCounter settlementowner_Opiana != 2

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = thrace
and I_CompareCounter settlementowner_Singidunum != 2

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov2
end_if


if I_SettlementOwner Seliun_Pilis = thrace
and I_CompareCounter settlementowner_Seliun_Pilis != 2

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = thrace
and I_CompareCounter settlementowner_Gintaras_Ostan != 2

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = thrace
and I_CompareCounter settlementowner_Vesontio != 2

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = thrace
and I_CompareCounter settlementowner_Messana != 2

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov2
end_if


if I_SettlementOwner Gawjam_Silengoz = thrace
and I_CompareCounter settlementowner_Gawjam_Silengoz != 2

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = thrace
and I_CompareCounter settlementowner_Petra != 2

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = thrace
and I_CompareCounter settlementowner_Patala != 2

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = thrace
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 2

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = thrace
and I_CompareCounter settlementowner_Olbia != 2

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = thrace
and I_CompareCounter settlementowner_Marakanda != 2

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = thrace
and I_CompareCounter settlementowner_Karkathiokerta != 2

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = thrace
and I_CompareCounter settlementowner_Swebotraustastamnoz != 2

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = thrace
and I_CompareCounter settlementowner_Antiocheia != 2

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov2
end_if


if I_SettlementOwner Damaskos = thrace
and I_CompareCounter settlementowner_Damaskos != 2

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = thrace
and I_CompareCounter settlementowner_Palmyra != 2

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = thrace
and I_CompareCounter settlementowner_Chersonesos != 2

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = thrace
and I_CompareCounter settlementowner_Diospolis_Megale != 2

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = thrace
and I_CompareCounter settlementowner_Demetrias != 2

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov1
end_if


if I_SettlementOwner Naissos = thrace
and I_CompareCounter settlementowner_Naissos != 2

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov2
end_if


if I_SettlementOwner Ascaucalis = thrace
and I_CompareCounter settlementowner_Ascaucalis != 2

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = thrace
and I_CompareCounter settlementowner_Pselkis != 2

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = thrace
and I_CompareCounter settlementowner_Syracuse != 2

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov2
end_if


if I_SettlementOwner Lepki = thrace
and I_CompareCounter settlementowner_Lepki != 2

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = thrace
and I_CompareCounter settlementowner_Gader != 2

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = thrace
and I_CompareCounter settlementowner_Sucum-Murgi != 2

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = thrace
and I_CompareCounter settlementowner_Ariminum != 2

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov2
end_if


if I_SettlementOwner Patavium = thrace
and I_CompareCounter settlementowner_Patavium != 2

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov2
end_if


if I_SettlementOwner Vindelicoppidos = thrace
and I_CompareCounter settlementowner_Vindelicoppidos != 2

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = thrace
and I_CompareCounter settlementowner_Tolosa != 2

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = thrace
and I_CompareCounter settlementowner_Chighu != 2

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = thrace
and I_CompareCounter settlementowner_Sulek != 2

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = thrace
and I_CompareCounter settlementowner_Kart_Hadast != 2

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = thrace
and I_CompareCounter settlementowner_Ubar != 2

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType greek_cities
and not FactionIsLocal

if I_SettlementOwner Arbela = greek_cities
and I_CompareCounter settlementowner_Arbela != 3

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = greek_cities
and I_CompareCounter settlementowner_Phraaspa != 3

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = greek_cities
and I_CompareCounter settlementowner_Bononia != 3

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = greek_cities
and I_CompareCounter settlementowner_Kabalaka != 3

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = greek_cities
and I_CompareCounter settlementowner_Thermon != 3

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov1
end_if


if I_SettlementOwner Arpi = greek_cities
and I_CompareCounter settlementowner_Arpi != 3

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov2
end_if


if I_SettlementOwner Burdigala = greek_cities
and I_CompareCounter settlementowner_Burdigala != 3

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = greek_cities
and I_CompareCounter settlementowner_Babylon != 3

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov2
end_if


if I_SettlementOwner Alexandropolis = greek_cities
and I_CompareCounter settlementowner_Alexandropolis != 3

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = greek_cities
and I_CompareCounter settlementowner_Alexandreia_Ariana != 3

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov2
end_if


if I_SettlementOwner Darioritum = greek_cities
and I_CompareCounter settlementowner_Darioritum != 3

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = greek_cities
and I_CompareCounter settlementowner_Gergovia != 3

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = greek_cities
and I_CompareCounter settlementowner_Edessa != 3

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov2
end_if


if I_SettlementOwner Asaak = greek_cities
and I_CompareCounter settlementowner_Asaak != 3

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = greek_cities
and I_CompareCounter settlementowner_Pallantia != 3

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = greek_cities
and I_CompareCounter settlementowner_Athenai != 3

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov1
end_if


if I_SettlementOwner Augila_settlement = greek_cities
and I_CompareCounter settlementowner_Augila_settlement != 3

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = greek_cities
and I_CompareCounter settlementowner_Seleukeia != 3

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov2
end_if


if I_SettlementOwner Baktra = greek_cities
and I_CompareCounter settlementowner_Baktra != 3

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov2
end_if


if I_SettlementOwner Bocchoris = greek_cities
and I_CompareCounter settlementowner_Bocchoris != 3

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 3

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = greek_cities
and I_CompareCounter settlementowner_Mastia != 3

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = greek_cities
and I_CompareCounter settlementowner_Avaricum != 3

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = greek_cities
and I_CompareCounter settlementowner_Bratosporios != 3

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = greek_cities
and I_CompareCounter settlementowner_Nikaia != 3

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov2
end_if


if I_SettlementOwner Pantikapaion = greek_cities
and I_CompareCounter settlementowner_Pantikapaion != 3

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov2
end_if


if I_SettlementOwner Rhegion = greek_cities
and I_CompareCounter settlementowner_Rhegion != 3

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov2
end_if


if I_SettlementOwner Caern_Brigantae = greek_cities
and I_CompareCounter settlementowner_Caern_Brigantae != 3

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = greek_cities
and I_CompareCounter settlementowner_Gelonus != 3

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = greek_cities
and I_CompareCounter settlementowner_Adrumeto != 3

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = greek_cities
and I_CompareCounter settlementowner_Attuaca != 3

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = greek_cities
and I_CompareCounter settlementowner_Capua != 3

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov2
end_if


if I_SettlementOwner Vellika = greek_cities
and I_CompareCounter settlementowner_Vellika != 3

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = greek_cities
and I_CompareCounter settlementowner_Baikor != 3

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = greek_cities
and I_CompareCounter settlementowner_Camulosadae != 3

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = greek_cities
and I_CompareCounter settlementowner_Numantia != 3

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = greek_cities
and I_CompareCounter settlementowner_Charax != 3

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov2
end_if


if I_SettlementOwner Byzantion = greek_cities
and I_CompareCounter settlementowner_Byzantion != 3

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov1
end_if


if I_SettlementOwner Ptolemais_Theron = greek_cities
and I_CompareCounter settlementowner_Ptolemais_Theron != 3

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = greek_cities
and I_CompareCounter settlementowner_Ratae != 3

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = greek_cities
and I_CompareCounter settlementowner_Ictis != 3

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = greek_cities
and I_CompareCounter settlementowner_Lucarottea != 3

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = greek_cities
and I_CompareCounter settlementowner_Emain_Macha != 3

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = greek_cities
and I_CompareCounter settlementowner_Atiqa != 3

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = greek_cities
and I_CompareCounter settlementowner_Ynys_Mon != 3

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = greek_cities
and I_CompareCounter settlementowner_Gava_Alanna != 3

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = greek_cities
and I_CompareCounter settlementowner_Gava_Aursa != 3

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = greek_cities
and I_CompareCounter settlementowner_Nisa != 3

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = greek_cities
and I_CompareCounter settlementowner_Gava_Haomavarga != 3

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = greek_cities
and I_CompareCounter settlementowner_Gava_Mazsakata != 3

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = greek_cities
and I_CompareCounter settlementowner_Gava_Roxsalanna != 3

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = greek_cities
and I_CompareCounter settlementowner_Uspe != 3

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = greek_cities
and I_CompareCounter settlementowner_Gava_Thissakata != 3

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = greek_cities
and I_CompareCounter settlementowner_Gava_Yazyga != 3

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = greek_cities
and I_CompareCounter settlementowner_Gava_Yugra != 3

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = greek_cities
and I_CompareCounter settlementowner_Dalminion != 3

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov2
end_if


if I_SettlementOwner Serdike = greek_cities
and I_CompareCounter settlementowner_Serdike != 3

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = greek_cities
and I_CompareCounter settlementowner_Alexandreia_Eschate != 3

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = greek_cities
and I_CompareCounter settlementowner_Alexandreia != 3

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov2
end_if


if I_SettlementOwner Axum = greek_cities
and I_CompareCounter settlementowner_Axum != 3

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = greek_cities
and I_CompareCounter settlementowner_Prophthasia != 3

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = greek_cities
and I_CompareCounter settlementowner_Arse != 3

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov2
end_if


if I_SettlementOwner Kotais = greek_cities
and I_CompareCounter settlementowner_Kotais != 3

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = greek_cities
and I_CompareCounter settlementowner_Lilibeo != 3

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov2
end_if


if I_SettlementOwner Susa = greek_cities
and I_CompareCounter settlementowner_Susa != 3

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov2
end_if


if I_SettlementOwner Apollonia = greek_cities
and I_CompareCounter settlementowner_Apollonia != 3

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov1
end_if


if I_SettlementOwner Ivernis = greek_cities
and I_CompareCounter settlementowner_Ivernis != 3

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = greek_cities
and I_CompareCounter settlementowner_Ak_Ink != 3

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = greek_cities
and I_CompareCounter settlementowner_Arretium != 3

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = greek_cities
and I_CompareCounter settlementowner_Chalkis != 3

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov2
end_if


if I_SettlementOwner Gabai = greek_cities
and I_CompareCounter settlementowner_Gabai != 3

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = greek_cities
and I_CompareCounter settlementowner_Tuat != 3

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = greek_cities
and I_CompareCounter settlementowner_Tyde != 3

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = greek_cities
and I_CompareCounter settlementowner_Ankyra != 3

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = greek_cities
and I_CompareCounter settlementowner_Taksashila != 3

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = greek_cities
and I_CompareCounter settlementowner_Pura != 3

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = greek_cities
and I_CompareCounter settlementowner_Gerrha != 3

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = greek_cities
and I_CompareCounter settlementowner_Buridava != 3

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = greek_cities
and I_CompareCounter settlementowner_Sarmiszegethusa != 3

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = greek_cities
and I_CompareCounter settlementowner_Massalia != 3

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov2
end_if


if I_SettlementOwner Gawjam_Habukoz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Habukoz != 3

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = greek_cities
and I_CompareCounter settlementowner_Sabata != 3

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = greek_cities
and I_CompareCounter settlementowner_Arctaunon != 3

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = greek_cities
and I_CompareCounter settlementowner_Armavir != 3

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = greek_cities
and I_CompareCounter settlementowner_Aventicos != 3

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = greek_cities
and I_CompareCounter settlementowner_Memphis != 3

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 3

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = greek_cities
and I_CompareCounter settlementowner_Zadrakata != 3

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov2
end_if


if I_SettlementOwner Epidamnos = greek_cities
and I_CompareCounter settlementowner_Epidamnos != 3

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov2
end_if


if I_SettlementOwner Mediolanum = greek_cities
and I_CompareCounter settlementowner_Mediolanum != 3

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = greek_cities
and I_CompareCounter settlementowner_Hierosolyma != 3

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = greek_cities
and I_CompareCounter settlementowner_Taras != 3

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov1
end_if


if I_SettlementOwner Chach = greek_cities
and I_CompareCounter settlementowner_Chach != 3

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = greek_cities
and I_CompareCounter settlementowner_Mazaka != 3

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = greek_cities
and I_CompareCounter settlementowner_Amaseia != 3

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov2
end_if


if I_SettlementOwner Halikarnassos = greek_cities
and I_CompareCounter settlementowner_Halikarnassos != 3

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov2
end_if


if I_SettlementOwner Karmana = greek_cities
and I_CompareCounter settlementowner_Karmana != 3

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = greek_cities
and I_CompareCounter settlementowner_Mtskheta != 3

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = greek_cities
and I_CompareCounter settlementowner_Apameia != 3

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov2
end_if


if I_SettlementOwner Khiva = greek_cities
and I_CompareCounter settlementowner_Khiva != 3

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = greek_cities
and I_CompareCounter settlementowner_Tarsos != 3

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov2
end_if


if I_SettlementOwner Gawjam_Kimbroz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 3

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = greek_cities
and I_CompareCounter settlementowner_Alalia != 3

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = greek_cities
and I_CompareCounter settlementowner_Kydonia != 3

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov1
end_if


if I_SettlementOwner Meroe = greek_cities
and I_CompareCounter settlementowner_Meroe != 3

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = greek_cities
and I_CompareCounter settlementowner_Salamis != 3

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = greek_cities
and I_CompareCounter settlementowner_Kyrene != 3

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov2
end_if


if I_SettlementOwner Emporion = greek_cities
and I_CompareCounter settlementowner_Emporion != 3

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov2
end_if


if I_SettlementOwner Sparte = greek_cities
and I_CompareCounter settlementowner_Sparte != 3

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov1
end_if


if I_SettlementOwner Gawjam_Gotanoz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 3

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = greek_cities
and I_CompareCounter settlementowner_Rome != 3

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = greek_cities
and I_CompareCounter settlementowner_Lemonum != 3

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = greek_cities
and I_CompareCounter settlementowner_Mytilene != 3

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov2
end_if


if I_SettlementOwner Ammonion = greek_cities
and I_CompareCounter settlementowner_Ammonion != 3

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = greek_cities
and I_CompareCounter settlementowner_Segesta != 3

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = greek_cities
and I_CompareCounter settlementowner_Viennos != 3

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = greek_cities
and I_CompareCounter settlementowner_Carrodunum != 3

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = greek_cities
and I_CompareCounter settlementowner_Oxtraca != 3

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = greek_cities
and I_CompareCounter settlementowner_Sardis != 3

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = greek_cities
and I_CompareCounter settlementowner_Tanais != 3

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov2
end_if


if I_SettlementOwner Carna = greek_cities
and I_CompareCounter settlementowner_Carna != 3

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = greek_cities
and I_CompareCounter settlementowner_Pella != 3

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov2
end_if


if I_SettlementOwner Homna = greek_cities
and I_CompareCounter settlementowner_Homna != 3

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = greek_cities
and I_CompareCounter settlementowner_Antiocheia_Margiane != 3

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov2
end_if


if I_SettlementOwner Paraitonion = greek_cities
and I_CompareCounter settlementowner_Paraitonion != 3

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = greek_cities
and I_CompareCounter settlementowner_Ippone != 3

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = greek_cities
and I_CompareCounter settlementowner_Sala != 3

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = greek_cities
and I_CompareCounter settlementowner_Siga != 3

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = greek_cities
and I_CompareCounter settlementowner_Lixus != 3

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = greek_cities
and I_CompareCounter settlementowner_Ekbatana != 3

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov2
end_if


if I_SettlementOwner Kallatis = greek_cities
and I_CompareCounter settlementowner_Kallatis != 3

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov2
end_if


if I_SettlementOwner Bibracte = greek_cities
and I_CompareCounter settlementowner_Bibracte != 3

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = greek_cities
and I_CompareCounter settlementowner_Cenabum != 3

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = greek_cities
and I_CompareCounter settlementowner_Eburonum != 3

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = greek_cities
and I_CompareCounter settlementowner_Pergamon != 3

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov2
end_if


if I_SettlementOwner Bostra = greek_cities
and I_CompareCounter settlementowner_Bostra != 3

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = greek_cities
and I_CompareCounter settlementowner_Bagacos != 3

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = greek_cities
and I_CompareCounter settlementowner_Gordu_Neuriji != 3

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = greek_cities
and I_CompareCounter settlementowner_Iuvavoaeta != 3

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = greek_cities
and I_CompareCounter settlementowner_Kirtan != 3

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = greek_cities
and I_CompareCounter settlementowner_Hibis != 3

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = greek_cities
and I_CompareCounter settlementowner_Tylis != 3

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = greek_cities
and I_CompareCounter settlementowner_Side != 3

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov2
end_if


if I_SettlementOwner Vindobona = greek_cities
and I_CompareCounter settlementowner_Vindobona != 3

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = greek_cities
and I_CompareCounter settlementowner_Segestica != 3

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = greek_cities
and I_CompareCounter settlementowner_Sinope != 3

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov2
end_if


if I_SettlementOwner Kophen = greek_cities
and I_CompareCounter settlementowner_Kophen != 3

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = greek_cities
and I_CompareCounter settlementowner_Hekatompylos != 3

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov2
end_if


if I_SettlementOwner Korinthos = greek_cities
and I_CompareCounter settlementowner_Korinthos != 3

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov2
end_if


if I_SettlementOwner Persepolis = greek_cities
and I_CompareCounter settlementowner_Persepolis != 3

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = greek_cities
and I_CompareCounter settlementowner_Garama != 3

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = greek_cities
and I_CompareCounter settlementowner_Sidon != 3

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = greek_cities
and I_CompareCounter settlementowner_Ipsos != 3

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov2
end_if


if I_SettlementOwner Ani-Kamah = greek_cities
and I_CompareCounter settlementowner_Ani-Kamah != 3

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = greek_cities
and I_CompareCounter settlementowner_Trapezous != 3

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov2
end_if


if I_SettlementOwner Tamane = greek_cities
and I_CompareCounter settlementowner_Tamane != 3

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = greek_cities
and I_CompareCounter settlementowner_Veldideno != 3

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = greek_cities
and I_CompareCounter settlementowner_Rhodos != 3

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov2
end_if


if I_SettlementOwner Gawjam_Rugoz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Rugoz != 3

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = greek_cities
and I_CompareCounter settlementowner_Maryab != 3

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = greek_cities
and I_CompareCounter settlementowner_Terhazza != 3

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = greek_cities
and I_CompareCounter settlementowner_Gava_Saka != 3

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = greek_cities
and I_CompareCounter settlementowner_Asodat != 3

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = greek_cities
and I_CompareCounter settlementowner_Karali != 3

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = greek_cities
and I_CompareCounter settlementowner_Opiana != 3

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = greek_cities
and I_CompareCounter settlementowner_Singidunum != 3

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = greek_cities
and I_CompareCounter settlementowner_Seliun_Pilis != 3

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = greek_cities
and I_CompareCounter settlementowner_Gintaras_Ostan != 3

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = greek_cities
and I_CompareCounter settlementowner_Vesontio != 3

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = greek_cities
and I_CompareCounter settlementowner_Messana != 3

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov2
end_if


if I_SettlementOwner Gawjam_Silengoz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Silengoz != 3

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = greek_cities
and I_CompareCounter settlementowner_Petra != 3

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = greek_cities
and I_CompareCounter settlementowner_Patala != 3

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = greek_cities
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 3

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = greek_cities
and I_CompareCounter settlementowner_Olbia != 3

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov2
end_if


if I_SettlementOwner Marakanda = greek_cities
and I_CompareCounter settlementowner_Marakanda != 3

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = greek_cities
and I_CompareCounter settlementowner_Karkathiokerta != 3

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = greek_cities
and I_CompareCounter settlementowner_Swebotraustastamnoz != 3

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = greek_cities
and I_CompareCounter settlementowner_Antiocheia != 3

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov2
end_if


if I_SettlementOwner Damaskos = greek_cities
and I_CompareCounter settlementowner_Damaskos != 3

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov2
end_if


if I_SettlementOwner Palmyra = greek_cities
and I_CompareCounter settlementowner_Palmyra != 3

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = greek_cities
and I_CompareCounter settlementowner_Chersonesos != 3

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov2
end_if


if I_SettlementOwner Diospolis_Megale = greek_cities
and I_CompareCounter settlementowner_Diospolis_Megale != 3

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = greek_cities
and I_CompareCounter settlementowner_Demetrias != 3

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov1
end_if


if I_SettlementOwner Naissos = greek_cities
and I_CompareCounter settlementowner_Naissos != 3

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = greek_cities
and I_CompareCounter settlementowner_Ascaucalis != 3

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = greek_cities
and I_CompareCounter settlementowner_Pselkis != 3

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = greek_cities
and I_CompareCounter settlementowner_Syracuse != 3

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov2
end_if


if I_SettlementOwner Lepki = greek_cities
and I_CompareCounter settlementowner_Lepki != 3

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = greek_cities
and I_CompareCounter settlementowner_Gader != 3

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = greek_cities
and I_CompareCounter settlementowner_Sucum-Murgi != 3

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = greek_cities
and I_CompareCounter settlementowner_Ariminum != 3

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = greek_cities
and I_CompareCounter settlementowner_Patavium != 3

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = greek_cities
and I_CompareCounter settlementowner_Vindelicoppidos != 3

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = greek_cities
and I_CompareCounter settlementowner_Tolosa != 3

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = greek_cities
and I_CompareCounter settlementowner_Chighu != 3

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = greek_cities
and I_CompareCounter settlementowner_Sulek != 3

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = greek_cities
and I_CompareCounter settlementowner_Kart_Hadast != 3

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = greek_cities
and I_CompareCounter settlementowner_Ubar != 3

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType carthage
and not FactionIsLocal

if I_SettlementOwner Arbela = carthage
and I_CompareCounter settlementowner_Arbela != 4

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov1
end_if


if I_SettlementOwner Phraaspa = carthage
and I_CompareCounter settlementowner_Phraaspa != 4

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov2
end_if


if I_SettlementOwner Bononia = carthage
and I_CompareCounter settlementowner_Bononia != 4

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = carthage
and I_CompareCounter settlementowner_Kabalaka != 4

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov2
end_if


if I_SettlementOwner Thermon = carthage
and I_CompareCounter settlementowner_Thermon != 4

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = carthage
and I_CompareCounter settlementowner_Arpi != 4

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = carthage
and I_CompareCounter settlementowner_Burdigala != 4

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = carthage
and I_CompareCounter settlementowner_Babylon != 4

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov2
end_if


if I_SettlementOwner Alexandropolis = carthage
and I_CompareCounter settlementowner_Alexandropolis != 4

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov2
end_if


if I_SettlementOwner Alexandreia_Ariana = carthage
and I_CompareCounter settlementowner_Alexandreia_Ariana != 4

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov2
end_if


if I_SettlementOwner Darioritum = carthage
and I_CompareCounter settlementowner_Darioritum != 4

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = carthage
and I_CompareCounter settlementowner_Gergovia != 4

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = carthage
and I_CompareCounter settlementowner_Edessa != 4

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov1
end_if


if I_SettlementOwner Asaak = carthage
and I_CompareCounter settlementowner_Asaak != 4

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov2
end_if


if I_SettlementOwner Pallantia = carthage
and I_CompareCounter settlementowner_Pallantia != 4

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = carthage
and I_CompareCounter settlementowner_Athenai != 4

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = carthage
and I_CompareCounter settlementowner_Augila_settlement != 4

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = carthage
and I_CompareCounter settlementowner_Seleukeia != 4

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov2
end_if


if I_SettlementOwner Baktra = carthage
and I_CompareCounter settlementowner_Baktra != 4

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov2
end_if


if I_SettlementOwner Bocchoris = carthage
and I_CompareCounter settlementowner_Bocchoris != 4

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = carthage
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 4

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = carthage
and I_CompareCounter settlementowner_Mastia != 4

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = carthage
and I_CompareCounter settlementowner_Avaricum != 4

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = carthage
and I_CompareCounter settlementowner_Bratosporios != 4

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = carthage
and I_CompareCounter settlementowner_Nikaia != 4

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov1
end_if


if I_SettlementOwner Pantikapaion = carthage
and I_CompareCounter settlementowner_Pantikapaion != 4

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov2
end_if


if I_SettlementOwner Rhegion = carthage
and I_CompareCounter settlementowner_Rhegion != 4

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = carthage
and I_CompareCounter settlementowner_Caern_Brigantae != 4

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = carthage
and I_CompareCounter settlementowner_Gelonus != 4

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = carthage
and I_CompareCounter settlementowner_Adrumeto != 4

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = carthage
and I_CompareCounter settlementowner_Attuaca != 4

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = carthage
and I_CompareCounter settlementowner_Capua != 4

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = carthage
and I_CompareCounter settlementowner_Vellika != 4

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = carthage
and I_CompareCounter settlementowner_Baikor != 4

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = carthage
and I_CompareCounter settlementowner_Camulosadae != 4

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = carthage
and I_CompareCounter settlementowner_Numantia != 4

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = carthage
and I_CompareCounter settlementowner_Charax != 4

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov2
end_if


if I_SettlementOwner Byzantion = carthage
and I_CompareCounter settlementowner_Byzantion != 4

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov2
end_if


if I_SettlementOwner Ptolemais_Theron = carthage
and I_CompareCounter settlementowner_Ptolemais_Theron != 4

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = carthage
and I_CompareCounter settlementowner_Ratae != 4

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = carthage
and I_CompareCounter settlementowner_Ictis != 4

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = carthage
and I_CompareCounter settlementowner_Lucarottea != 4

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = carthage
and I_CompareCounter settlementowner_Emain_Macha != 4

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = carthage
and I_CompareCounter settlementowner_Atiqa != 4

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = carthage
and I_CompareCounter settlementowner_Ynys_Mon != 4

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = carthage
and I_CompareCounter settlementowner_Gava_Alanna != 4

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = carthage
and I_CompareCounter settlementowner_Gava_Aursa != 4

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = carthage
and I_CompareCounter settlementowner_Nisa != 4

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov2
end_if


if I_SettlementOwner Gava_Haomavarga = carthage
and I_CompareCounter settlementowner_Gava_Haomavarga != 4

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = carthage
and I_CompareCounter settlementowner_Gava_Mazsakata != 4

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = carthage
and I_CompareCounter settlementowner_Gava_Roxsalanna != 4

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = carthage
and I_CompareCounter settlementowner_Uspe != 4

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = carthage
and I_CompareCounter settlementowner_Gava_Thissakata != 4

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = carthage
and I_CompareCounter settlementowner_Gava_Yazyga != 4

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = carthage
and I_CompareCounter settlementowner_Gava_Yugra != 4

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = carthage
and I_CompareCounter settlementowner_Dalminion != 4

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = carthage
and I_CompareCounter settlementowner_Serdike != 4

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = carthage
and I_CompareCounter settlementowner_Alexandreia_Eschate != 4

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = carthage
and I_CompareCounter settlementowner_Alexandreia != 4

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov2
end_if


if I_SettlementOwner Axum = carthage
and I_CompareCounter settlementowner_Axum != 4

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = carthage
and I_CompareCounter settlementowner_Prophthasia != 4

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov2
end_if


if I_SettlementOwner Arse = carthage
and I_CompareCounter settlementowner_Arse != 4

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = carthage
and I_CompareCounter settlementowner_Kotais != 4

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov2
end_if


if I_SettlementOwner Lilibeo = carthage
and I_CompareCounter settlementowner_Lilibeo != 4

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = carthage
and I_CompareCounter settlementowner_Susa != 4

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov2
end_if


if I_SettlementOwner Apollonia = carthage
and I_CompareCounter settlementowner_Apollonia != 4

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = carthage
and I_CompareCounter settlementowner_Ivernis != 4

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = carthage
and I_CompareCounter settlementowner_Ak_Ink != 4

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = carthage
and I_CompareCounter settlementowner_Arretium != 4

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = carthage
and I_CompareCounter settlementowner_Chalkis != 4

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = carthage
and I_CompareCounter settlementowner_Gabai != 4

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov2
end_if


if I_SettlementOwner Tuat = carthage
and I_CompareCounter settlementowner_Tuat != 4

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = carthage
and I_CompareCounter settlementowner_Tyde != 4

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = carthage
and I_CompareCounter settlementowner_Ankyra != 4

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov2
end_if


if I_SettlementOwner Taksashila = carthage
and I_CompareCounter settlementowner_Taksashila != 4

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = carthage
and I_CompareCounter settlementowner_Pura != 4

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov2
end_if


if I_SettlementOwner Gerrha = carthage
and I_CompareCounter settlementowner_Gerrha != 4

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = carthage
and I_CompareCounter settlementowner_Buridava != 4

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = carthage
and I_CompareCounter settlementowner_Sarmiszegethusa != 4

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = carthage
and I_CompareCounter settlementowner_Massalia != 4

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = carthage
and I_CompareCounter settlementowner_Gawjam_Habukoz != 4

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = carthage
and I_CompareCounter settlementowner_Sabata != 4

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = carthage
and I_CompareCounter settlementowner_Arctaunon != 4

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = carthage
and I_CompareCounter settlementowner_Armavir != 4

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov2
end_if


if I_SettlementOwner Aventicos = carthage
and I_CompareCounter settlementowner_Aventicos != 4

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = carthage
and I_CompareCounter settlementowner_Memphis != 4

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov2
end_if


if I_SettlementOwner Gawjam_Heruskoz = carthage
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 4

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = carthage
and I_CompareCounter settlementowner_Zadrakata != 4

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov2
end_if


if I_SettlementOwner Epidamnos = carthage
and I_CompareCounter settlementowner_Epidamnos != 4

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = carthage
and I_CompareCounter settlementowner_Mediolanum != 4

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = carthage
and I_CompareCounter settlementowner_Hierosolyma != 4

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov2
end_if


if I_SettlementOwner Taras = carthage
and I_CompareCounter settlementowner_Taras != 4

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = carthage
and I_CompareCounter settlementowner_Chach != 4

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = carthage
and I_CompareCounter settlementowner_Mazaka != 4

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov1
end_if


if I_SettlementOwner Amaseia = carthage
and I_CompareCounter settlementowner_Amaseia != 4

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov1
end_if


if I_SettlementOwner Halikarnassos = carthage
and I_CompareCounter settlementowner_Halikarnassos != 4

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov2
end_if


if I_SettlementOwner Karmana = carthage
and I_CompareCounter settlementowner_Karmana != 4

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov2
end_if


if I_SettlementOwner Mtskheta = carthage
and I_CompareCounter settlementowner_Mtskheta != 4

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov2
end_if


if I_SettlementOwner Apameia = carthage
and I_CompareCounter settlementowner_Apameia != 4

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov2
end_if


if I_SettlementOwner Khiva = carthage
and I_CompareCounter settlementowner_Khiva != 4

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = carthage
and I_CompareCounter settlementowner_Tarsos != 4

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov1
end_if


if I_SettlementOwner Gawjam_Kimbroz = carthage
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 4

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = carthage
and I_CompareCounter settlementowner_Alalia != 4

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = carthage
and I_CompareCounter settlementowner_Kydonia != 4

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = carthage
and I_CompareCounter settlementowner_Meroe != 4

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = carthage
and I_CompareCounter settlementowner_Salamis != 4

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = carthage
and I_CompareCounter settlementowner_Kyrene != 4

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = carthage
and I_CompareCounter settlementowner_Emporion != 4

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = carthage
and I_CompareCounter settlementowner_Sparte != 4

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = carthage
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 4

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = carthage
and I_CompareCounter settlementowner_Rome != 4

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = carthage
and I_CompareCounter settlementowner_Lemonum != 4

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = carthage
and I_CompareCounter settlementowner_Mytilene != 4

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov2
end_if


if I_SettlementOwner Ammonion = carthage
and I_CompareCounter settlementowner_Ammonion != 4

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = carthage
and I_CompareCounter settlementowner_Segesta != 4

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = carthage
and I_CompareCounter settlementowner_Viennos != 4

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = carthage
and I_CompareCounter settlementowner_Carrodunum != 4

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = carthage
and I_CompareCounter settlementowner_Oxtraca != 4

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = carthage
and I_CompareCounter settlementowner_Sardis != 4

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = carthage
and I_CompareCounter settlementowner_Tanais != 4

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov2
end_if


if I_SettlementOwner Carna = carthage
and I_CompareCounter settlementowner_Carna != 4

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = carthage
and I_CompareCounter settlementowner_Pella != 4

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov2
end_if


if I_SettlementOwner Homna = carthage
and I_CompareCounter settlementowner_Homna != 4

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = carthage
and I_CompareCounter settlementowner_Antiocheia_Margiane != 4

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov2
end_if


if I_SettlementOwner Paraitonion = carthage
and I_CompareCounter settlementowner_Paraitonion != 4

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = carthage
and I_CompareCounter settlementowner_Ippone != 4

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = carthage
and I_CompareCounter settlementowner_Sala != 4

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = carthage
and I_CompareCounter settlementowner_Siga != 4

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = carthage
and I_CompareCounter settlementowner_Lixus != 4

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = carthage
and I_CompareCounter settlementowner_Ekbatana != 4

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov2
end_if


if I_SettlementOwner Kallatis = carthage
and I_CompareCounter settlementowner_Kallatis != 4

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov2
end_if


if I_SettlementOwner Bibracte = carthage
and I_CompareCounter settlementowner_Bibracte != 4

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = carthage
and I_CompareCounter settlementowner_Cenabum != 4

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = carthage
and I_CompareCounter settlementowner_Eburonum != 4

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = carthage
and I_CompareCounter settlementowner_Pergamon != 4

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov2
end_if


if I_SettlementOwner Bostra = carthage
and I_CompareCounter settlementowner_Bostra != 4

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = carthage
and I_CompareCounter settlementowner_Bagacos != 4

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = carthage
and I_CompareCounter settlementowner_Gordu_Neuriji != 4

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = carthage
and I_CompareCounter settlementowner_Iuvavoaeta != 4

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = carthage
and I_CompareCounter settlementowner_Kirtan != 4

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = carthage
and I_CompareCounter settlementowner_Hibis != 4

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = carthage
and I_CompareCounter settlementowner_Tylis != 4

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = carthage
and I_CompareCounter settlementowner_Side != 4

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov1
end_if


if I_SettlementOwner Vindobona = carthage
and I_CompareCounter settlementowner_Vindobona != 4

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = carthage
and I_CompareCounter settlementowner_Segestica != 4

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = carthage
and I_CompareCounter settlementowner_Sinope != 4

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov1
end_if


if I_SettlementOwner Kophen = carthage
and I_CompareCounter settlementowner_Kophen != 4

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov2
end_if


if I_SettlementOwner Hekatompylos = carthage
and I_CompareCounter settlementowner_Hekatompylos != 4

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov2
end_if


if I_SettlementOwner Korinthos = carthage
and I_CompareCounter settlementowner_Korinthos != 4

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = carthage
and I_CompareCounter settlementowner_Persepolis != 4

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov2
end_if


if I_SettlementOwner Garama = carthage
and I_CompareCounter settlementowner_Garama != 4

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = carthage
and I_CompareCounter settlementowner_Sidon != 4

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov2
end_if


if I_SettlementOwner Ipsos = carthage
and I_CompareCounter settlementowner_Ipsos != 4

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov1
end_if


if I_SettlementOwner Ani-Kamah = carthage
and I_CompareCounter settlementowner_Ani-Kamah != 4

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov2
end_if


if I_SettlementOwner Trapezous = carthage
and I_CompareCounter settlementowner_Trapezous != 4

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov1
end_if


if I_SettlementOwner Tamane = carthage
and I_CompareCounter settlementowner_Tamane != 4

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = carthage
and I_CompareCounter settlementowner_Veldideno != 4

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = carthage
and I_CompareCounter settlementowner_Rhodos != 4

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = carthage
and I_CompareCounter settlementowner_Gawjam_Rugoz != 4

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = carthage
and I_CompareCounter settlementowner_Maryab != 4

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = carthage
and I_CompareCounter settlementowner_Terhazza != 4

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = carthage
and I_CompareCounter settlementowner_Gava_Saka != 4

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = carthage
and I_CompareCounter settlementowner_Asodat != 4

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = carthage
and I_CompareCounter settlementowner_Karali != 4

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = carthage
and I_CompareCounter settlementowner_Opiana != 4

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = carthage
and I_CompareCounter settlementowner_Singidunum != 4

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = carthage
and I_CompareCounter settlementowner_Seliun_Pilis != 4

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = carthage
and I_CompareCounter settlementowner_Gintaras_Ostan != 4

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = carthage
and I_CompareCounter settlementowner_Vesontio != 4

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = carthage
and I_CompareCounter settlementowner_Messana != 4

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = carthage
and I_CompareCounter settlementowner_Gawjam_Silengoz != 4

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = carthage
and I_CompareCounter settlementowner_Petra != 4

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = carthage
and I_CompareCounter settlementowner_Patala != 4

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = carthage
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 4

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = carthage
and I_CompareCounter settlementowner_Olbia != 4

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov2
end_if


if I_SettlementOwner Marakanda = carthage
and I_CompareCounter settlementowner_Marakanda != 4

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov2
end_if


if I_SettlementOwner Karkathiokerta = carthage
and I_CompareCounter settlementowner_Karkathiokerta != 4

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov1
end_if


if I_SettlementOwner Swebotraustastamnoz = carthage
and I_CompareCounter settlementowner_Swebotraustastamnoz != 4

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = carthage
and I_CompareCounter settlementowner_Antiocheia != 4

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov1
end_if


if I_SettlementOwner Damaskos = carthage
and I_CompareCounter settlementowner_Damaskos != 4

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov2
end_if


if I_SettlementOwner Palmyra = carthage
and I_CompareCounter settlementowner_Palmyra != 4

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov2
end_if


if I_SettlementOwner Chersonesos = carthage
and I_CompareCounter settlementowner_Chersonesos != 4

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov2
end_if


if I_SettlementOwner Diospolis_Megale = carthage
and I_CompareCounter settlementowner_Diospolis_Megale != 4

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = carthage
and I_CompareCounter settlementowner_Demetrias != 4

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov2
end_if


if I_SettlementOwner Naissos = carthage
and I_CompareCounter settlementowner_Naissos != 4

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = carthage
and I_CompareCounter settlementowner_Ascaucalis != 4

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = carthage
and I_CompareCounter settlementowner_Pselkis != 4

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = carthage
and I_CompareCounter settlementowner_Syracuse != 4

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = carthage
and I_CompareCounter settlementowner_Lepki != 4

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = carthage
and I_CompareCounter settlementowner_Gader != 4

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = carthage
and I_CompareCounter settlementowner_Sucum-Murgi != 4

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = carthage
and I_CompareCounter settlementowner_Ariminum != 4

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = carthage
and I_CompareCounter settlementowner_Patavium != 4

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = carthage
and I_CompareCounter settlementowner_Vindelicoppidos != 4

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = carthage
and I_CompareCounter settlementowner_Tolosa != 4

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = carthage
and I_CompareCounter settlementowner_Chighu != 4

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = carthage
and I_CompareCounter settlementowner_Sulek != 4

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = carthage
and I_CompareCounter settlementowner_Kart_Hadast != 4

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = carthage
and I_CompareCounter settlementowner_Ubar != 4

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType romans_julii
and not FactionIsLocal

if I_SettlementOwner Arbela = romans_julii
and I_CompareCounter settlementowner_Arbela != 5

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov1
end_if


if I_SettlementOwner Phraaspa = romans_julii
and I_CompareCounter settlementowner_Phraaspa != 5

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov2
end_if


if I_SettlementOwner Bononia = romans_julii
and I_CompareCounter settlementowner_Bononia != 5

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = romans_julii
and I_CompareCounter settlementowner_Kabalaka != 5

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = romans_julii
and I_CompareCounter settlementowner_Thermon != 5

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov2
end_if


if I_SettlementOwner Arpi = romans_julii
and I_CompareCounter settlementowner_Arpi != 5

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = romans_julii
and I_CompareCounter settlementowner_Burdigala != 5

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = romans_julii
and I_CompareCounter settlementowner_Babylon != 5

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov1
end_if


if I_SettlementOwner Alexandropolis = romans_julii
and I_CompareCounter settlementowner_Alexandropolis != 5

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov2
end_if


if I_SettlementOwner Alexandreia_Ariana = romans_julii
and I_CompareCounter settlementowner_Alexandreia_Ariana != 5

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov2
end_if


if I_SettlementOwner Darioritum = romans_julii
and I_CompareCounter settlementowner_Darioritum != 5

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = romans_julii
and I_CompareCounter settlementowner_Gergovia != 5

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = romans_julii
and I_CompareCounter settlementowner_Edessa != 5

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov1
end_if


if I_SettlementOwner Asaak = romans_julii
and I_CompareCounter settlementowner_Asaak != 5

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov2
end_if


if I_SettlementOwner Pallantia = romans_julii
and I_CompareCounter settlementowner_Pallantia != 5

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = romans_julii
and I_CompareCounter settlementowner_Athenai != 5

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov2
end_if


if I_SettlementOwner Augila_settlement = romans_julii
and I_CompareCounter settlementowner_Augila_settlement != 5

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = romans_julii
and I_CompareCounter settlementowner_Seleukeia != 5

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov1
end_if


if I_SettlementOwner Baktra = romans_julii
and I_CompareCounter settlementowner_Baktra != 5

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov1
end_if


if I_SettlementOwner Bocchoris = romans_julii
and I_CompareCounter settlementowner_Bocchoris != 5

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 5

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = romans_julii
and I_CompareCounter settlementowner_Mastia != 5

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = romans_julii
and I_CompareCounter settlementowner_Avaricum != 5

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = romans_julii
and I_CompareCounter settlementowner_Bratosporios != 5

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = romans_julii
and I_CompareCounter settlementowner_Nikaia != 5

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov2
end_if


if I_SettlementOwner Pantikapaion = romans_julii
and I_CompareCounter settlementowner_Pantikapaion != 5

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov2
end_if


if I_SettlementOwner Rhegion = romans_julii
and I_CompareCounter settlementowner_Rhegion != 5

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov2
end_if


if I_SettlementOwner Caern_Brigantae = romans_julii
and I_CompareCounter settlementowner_Caern_Brigantae != 5

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = romans_julii
and I_CompareCounter settlementowner_Gelonus != 5

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = romans_julii
and I_CompareCounter settlementowner_Adrumeto != 5

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = romans_julii
and I_CompareCounter settlementowner_Attuaca != 5

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = romans_julii
and I_CompareCounter settlementowner_Capua != 5

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov2
end_if


if I_SettlementOwner Vellika = romans_julii
and I_CompareCounter settlementowner_Vellika != 5

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = romans_julii
and I_CompareCounter settlementowner_Baikor != 5

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = romans_julii
and I_CompareCounter settlementowner_Camulosadae != 5

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = romans_julii
and I_CompareCounter settlementowner_Numantia != 5

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = romans_julii
and I_CompareCounter settlementowner_Charax != 5

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov1
end_if


if I_SettlementOwner Byzantion = romans_julii
and I_CompareCounter settlementowner_Byzantion != 5

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov2
end_if


if I_SettlementOwner Ptolemais_Theron = romans_julii
and I_CompareCounter settlementowner_Ptolemais_Theron != 5

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = romans_julii
and I_CompareCounter settlementowner_Ratae != 5

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = romans_julii
and I_CompareCounter settlementowner_Ictis != 5

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = romans_julii
and I_CompareCounter settlementowner_Lucarottea != 5

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = romans_julii
and I_CompareCounter settlementowner_Emain_Macha != 5

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = romans_julii
and I_CompareCounter settlementowner_Atiqa != 5

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = romans_julii
and I_CompareCounter settlementowner_Ynys_Mon != 5

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = romans_julii
and I_CompareCounter settlementowner_Gava_Alanna != 5

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = romans_julii
and I_CompareCounter settlementowner_Gava_Aursa != 5

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = romans_julii
and I_CompareCounter settlementowner_Nisa != 5

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov2
end_if


if I_SettlementOwner Gava_Haomavarga = romans_julii
and I_CompareCounter settlementowner_Gava_Haomavarga != 5

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = romans_julii
and I_CompareCounter settlementowner_Gava_Mazsakata != 5

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = romans_julii
and I_CompareCounter settlementowner_Gava_Roxsalanna != 5

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = romans_julii
and I_CompareCounter settlementowner_Uspe != 5

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = romans_julii
and I_CompareCounter settlementowner_Gava_Thissakata != 5

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = romans_julii
and I_CompareCounter settlementowner_Gava_Yazyga != 5

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = romans_julii
and I_CompareCounter settlementowner_Gava_Yugra != 5

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = romans_julii
and I_CompareCounter settlementowner_Dalminion != 5

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = romans_julii
and I_CompareCounter settlementowner_Serdike != 5

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = romans_julii
and I_CompareCounter settlementowner_Alexandreia_Eschate != 5

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov2
end_if


if I_SettlementOwner Alexandreia = romans_julii
and I_CompareCounter settlementowner_Alexandreia != 5

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov1
end_if


if I_SettlementOwner Axum = romans_julii
and I_CompareCounter settlementowner_Axum != 5

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = romans_julii
and I_CompareCounter settlementowner_Prophthasia != 5

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov2
end_if


if I_SettlementOwner Arse = romans_julii
and I_CompareCounter settlementowner_Arse != 5

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = romans_julii
and I_CompareCounter settlementowner_Kotais != 5

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = romans_julii
and I_CompareCounter settlementowner_Lilibeo != 5

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = romans_julii
and I_CompareCounter settlementowner_Susa != 5

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov1
end_if


if I_SettlementOwner Apollonia = romans_julii
and I_CompareCounter settlementowner_Apollonia != 5

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov2
end_if


if I_SettlementOwner Ivernis = romans_julii
and I_CompareCounter settlementowner_Ivernis != 5

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = romans_julii
and I_CompareCounter settlementowner_Ak_Ink != 5

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = romans_julii
and I_CompareCounter settlementowner_Arretium != 5

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = romans_julii
and I_CompareCounter settlementowner_Chalkis != 5

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov2
end_if


if I_SettlementOwner Gabai = romans_julii
and I_CompareCounter settlementowner_Gabai != 5

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov2
end_if


if I_SettlementOwner Tuat = romans_julii
and I_CompareCounter settlementowner_Tuat != 5

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = romans_julii
and I_CompareCounter settlementowner_Tyde != 5

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = romans_julii
and I_CompareCounter settlementowner_Ankyra != 5

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov2
end_if


if I_SettlementOwner Taksashila = romans_julii
and I_CompareCounter settlementowner_Taksashila != 5

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = romans_julii
and I_CompareCounter settlementowner_Pura != 5

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov2
end_if


if I_SettlementOwner Gerrha = romans_julii
and I_CompareCounter settlementowner_Gerrha != 5

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = romans_julii
and I_CompareCounter settlementowner_Buridava != 5

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = romans_julii
and I_CompareCounter settlementowner_Sarmiszegethusa != 5

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = romans_julii
and I_CompareCounter settlementowner_Massalia != 5

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov2
end_if


if I_SettlementOwner Gawjam_Habukoz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Habukoz != 5

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = romans_julii
and I_CompareCounter settlementowner_Sabata != 5

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = romans_julii
and I_CompareCounter settlementowner_Arctaunon != 5

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = romans_julii
and I_CompareCounter settlementowner_Armavir != 5

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov2
end_if


if I_SettlementOwner Aventicos = romans_julii
and I_CompareCounter settlementowner_Aventicos != 5

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = romans_julii
and I_CompareCounter settlementowner_Memphis != 5

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov2
end_if


if I_SettlementOwner Gawjam_Heruskoz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 5

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = romans_julii
and I_CompareCounter settlementowner_Zadrakata != 5

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov2
end_if


if I_SettlementOwner Epidamnos = romans_julii
and I_CompareCounter settlementowner_Epidamnos != 5

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov2
end_if


if I_SettlementOwner Mediolanum = romans_julii
and I_CompareCounter settlementowner_Mediolanum != 5

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = romans_julii
and I_CompareCounter settlementowner_Hierosolyma != 5

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov2
end_if


if I_SettlementOwner Taras = romans_julii
and I_CompareCounter settlementowner_Taras != 5

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov2
end_if


if I_SettlementOwner Chach = romans_julii
and I_CompareCounter settlementowner_Chach != 5

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = romans_julii
and I_CompareCounter settlementowner_Mazaka != 5

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov2
end_if


if I_SettlementOwner Amaseia = romans_julii
and I_CompareCounter settlementowner_Amaseia != 5

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov2
end_if


if I_SettlementOwner Halikarnassos = romans_julii
and I_CompareCounter settlementowner_Halikarnassos != 5

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov2
end_if


if I_SettlementOwner Karmana = romans_julii
and I_CompareCounter settlementowner_Karmana != 5

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov2
end_if


if I_SettlementOwner Mtskheta = romans_julii
and I_CompareCounter settlementowner_Mtskheta != 5

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = romans_julii
and I_CompareCounter settlementowner_Apameia != 5

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov2
end_if


if I_SettlementOwner Khiva = romans_julii
and I_CompareCounter settlementowner_Khiva != 5

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = romans_julii
and I_CompareCounter settlementowner_Tarsos != 5

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov2
end_if


if I_SettlementOwner Gawjam_Kimbroz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 5

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = romans_julii
and I_CompareCounter settlementowner_Alalia != 5

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = romans_julii
and I_CompareCounter settlementowner_Kydonia != 5

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov2
end_if


if I_SettlementOwner Meroe = romans_julii
and I_CompareCounter settlementowner_Meroe != 5

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = romans_julii
and I_CompareCounter settlementowner_Salamis != 5

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = romans_julii
and I_CompareCounter settlementowner_Kyrene != 5

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov2
end_if


if I_SettlementOwner Emporion = romans_julii
and I_CompareCounter settlementowner_Emporion != 5

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = romans_julii
and I_CompareCounter settlementowner_Sparte != 5

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov2
end_if


if I_SettlementOwner Gawjam_Gotanoz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 5

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = romans_julii
and I_CompareCounter settlementowner_Rome != 5

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = romans_julii
and I_CompareCounter settlementowner_Lemonum != 5

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = romans_julii
and I_CompareCounter settlementowner_Mytilene != 5

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov2
end_if


if I_SettlementOwner Ammonion = romans_julii
and I_CompareCounter settlementowner_Ammonion != 5

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = romans_julii
and I_CompareCounter settlementowner_Segesta != 5

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = romans_julii
and I_CompareCounter settlementowner_Viennos != 5

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = romans_julii
and I_CompareCounter settlementowner_Carrodunum != 5

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = romans_julii
and I_CompareCounter settlementowner_Oxtraca != 5

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = romans_julii
and I_CompareCounter settlementowner_Sardis != 5

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = romans_julii
and I_CompareCounter settlementowner_Tanais != 5

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = romans_julii
and I_CompareCounter settlementowner_Carna != 5

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = romans_julii
and I_CompareCounter settlementowner_Pella != 5

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov1
end_if


if I_SettlementOwner Homna = romans_julii
and I_CompareCounter settlementowner_Homna != 5

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = romans_julii
and I_CompareCounter settlementowner_Antiocheia_Margiane != 5

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov2
end_if


if I_SettlementOwner Paraitonion = romans_julii
and I_CompareCounter settlementowner_Paraitonion != 5

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = romans_julii
and I_CompareCounter settlementowner_Ippone != 5

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = romans_julii
and I_CompareCounter settlementowner_Sala != 5

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = romans_julii
and I_CompareCounter settlementowner_Siga != 5

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = romans_julii
and I_CompareCounter settlementowner_Lixus != 5

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = romans_julii
and I_CompareCounter settlementowner_Ekbatana != 5

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov1
end_if


if I_SettlementOwner Kallatis = romans_julii
and I_CompareCounter settlementowner_Kallatis != 5

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov2
end_if


if I_SettlementOwner Bibracte = romans_julii
and I_CompareCounter settlementowner_Bibracte != 5

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = romans_julii
and I_CompareCounter settlementowner_Cenabum != 5

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = romans_julii
and I_CompareCounter settlementowner_Eburonum != 5

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = romans_julii
and I_CompareCounter settlementowner_Pergamon != 5

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov2
end_if


if I_SettlementOwner Bostra = romans_julii
and I_CompareCounter settlementowner_Bostra != 5

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = romans_julii
and I_CompareCounter settlementowner_Bagacos != 5

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = romans_julii
and I_CompareCounter settlementowner_Gordu_Neuriji != 5

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = romans_julii
and I_CompareCounter settlementowner_Iuvavoaeta != 5

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = romans_julii
and I_CompareCounter settlementowner_Kirtan != 5

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = romans_julii
and I_CompareCounter settlementowner_Hibis != 5

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = romans_julii
and I_CompareCounter settlementowner_Tylis != 5

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = romans_julii
and I_CompareCounter settlementowner_Side != 5

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov2
end_if


if I_SettlementOwner Vindobona = romans_julii
and I_CompareCounter settlementowner_Vindobona != 5

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = romans_julii
and I_CompareCounter settlementowner_Segestica != 5

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = romans_julii
and I_CompareCounter settlementowner_Sinope != 5

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov2
end_if


if I_SettlementOwner Kophen = romans_julii
and I_CompareCounter settlementowner_Kophen != 5

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov2
end_if


if I_SettlementOwner Hekatompylos = romans_julii
and I_CompareCounter settlementowner_Hekatompylos != 5

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov2
end_if


if I_SettlementOwner Korinthos = romans_julii
and I_CompareCounter settlementowner_Korinthos != 5

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov2
end_if


if I_SettlementOwner Persepolis = romans_julii
and I_CompareCounter settlementowner_Persepolis != 5

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov1
end_if


if I_SettlementOwner Garama = romans_julii
and I_CompareCounter settlementowner_Garama != 5

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = romans_julii
and I_CompareCounter settlementowner_Sidon != 5

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov2
end_if


if I_SettlementOwner Ipsos = romans_julii
and I_CompareCounter settlementowner_Ipsos != 5

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov1
end_if


if I_SettlementOwner Ani-Kamah = romans_julii
and I_CompareCounter settlementowner_Ani-Kamah != 5

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov2
end_if


if I_SettlementOwner Trapezous = romans_julii
and I_CompareCounter settlementowner_Trapezous != 5

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov2
end_if


if I_SettlementOwner Tamane = romans_julii
and I_CompareCounter settlementowner_Tamane != 5

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = romans_julii
and I_CompareCounter settlementowner_Veldideno != 5

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = romans_julii
and I_CompareCounter settlementowner_Rhodos != 5

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov2
end_if


if I_SettlementOwner Gawjam_Rugoz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Rugoz != 5

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = romans_julii
and I_CompareCounter settlementowner_Maryab != 5

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = romans_julii
and I_CompareCounter settlementowner_Terhazza != 5

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = romans_julii
and I_CompareCounter settlementowner_Gava_Saka != 5

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = romans_julii
and I_CompareCounter settlementowner_Asodat != 5

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = romans_julii
and I_CompareCounter settlementowner_Karali != 5

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = romans_julii
and I_CompareCounter settlementowner_Opiana != 5

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = romans_julii
and I_CompareCounter settlementowner_Singidunum != 5

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = romans_julii
and I_CompareCounter settlementowner_Seliun_Pilis != 5

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = romans_julii
and I_CompareCounter settlementowner_Gintaras_Ostan != 5

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = romans_julii
and I_CompareCounter settlementowner_Vesontio != 5

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = romans_julii
and I_CompareCounter settlementowner_Messana != 5

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov2
end_if


if I_SettlementOwner Gawjam_Silengoz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Silengoz != 5

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = romans_julii
and I_CompareCounter settlementowner_Petra != 5

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = romans_julii
and I_CompareCounter settlementowner_Patala != 5

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = romans_julii
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 5

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = romans_julii
and I_CompareCounter settlementowner_Olbia != 5

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = romans_julii
and I_CompareCounter settlementowner_Marakanda != 5

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov2
end_if


if I_SettlementOwner Karkathiokerta = romans_julii
and I_CompareCounter settlementowner_Karkathiokerta != 5

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov1
end_if


if I_SettlementOwner Swebotraustastamnoz = romans_julii
and I_CompareCounter settlementowner_Swebotraustastamnoz != 5

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = romans_julii
and I_CompareCounter settlementowner_Antiocheia != 5

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov1
end_if


if I_SettlementOwner Damaskos = romans_julii
and I_CompareCounter settlementowner_Damaskos != 5

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov1
end_if


if I_SettlementOwner Palmyra = romans_julii
and I_CompareCounter settlementowner_Palmyra != 5

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov2
end_if


if I_SettlementOwner Chersonesos = romans_julii
and I_CompareCounter settlementowner_Chersonesos != 5

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov2
end_if


if I_SettlementOwner Diospolis_Megale = romans_julii
and I_CompareCounter settlementowner_Diospolis_Megale != 5

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov2
end_if


if I_SettlementOwner Demetrias = romans_julii
and I_CompareCounter settlementowner_Demetrias != 5

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov2
end_if


if I_SettlementOwner Naissos = romans_julii
and I_CompareCounter settlementowner_Naissos != 5

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = romans_julii
and I_CompareCounter settlementowner_Ascaucalis != 5

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = romans_julii
and I_CompareCounter settlementowner_Pselkis != 5

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = romans_julii
and I_CompareCounter settlementowner_Syracuse != 5

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov2
end_if


if I_SettlementOwner Lepki = romans_julii
and I_CompareCounter settlementowner_Lepki != 5

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = romans_julii
and I_CompareCounter settlementowner_Gader != 5

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = romans_julii
and I_CompareCounter settlementowner_Sucum-Murgi != 5

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = romans_julii
and I_CompareCounter settlementowner_Ariminum != 5

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = romans_julii
and I_CompareCounter settlementowner_Patavium != 5

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = romans_julii
and I_CompareCounter settlementowner_Vindelicoppidos != 5

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = romans_julii
and I_CompareCounter settlementowner_Tolosa != 5

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = romans_julii
and I_CompareCounter settlementowner_Chighu != 5

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = romans_julii
and I_CompareCounter settlementowner_Sulek != 5

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = romans_julii
and I_CompareCounter settlementowner_Kart_Hadast != 5

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = romans_julii
and I_CompareCounter settlementowner_Ubar != 5

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType romans_brutii
and not FactionIsLocal

if I_SettlementOwner Arbela = romans_brutii
and I_CompareCounter settlementowner_Arbela != 6

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov2
end_if


if I_SettlementOwner Phraaspa = romans_brutii
and I_CompareCounter settlementowner_Phraaspa != 6

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov2
end_if


if I_SettlementOwner Bononia = romans_brutii
and I_CompareCounter settlementowner_Bononia != 6

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = romans_brutii
and I_CompareCounter settlementowner_Kabalaka != 6

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = romans_brutii
and I_CompareCounter settlementowner_Thermon != 6

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov2
end_if


if I_SettlementOwner Arpi = romans_brutii
and I_CompareCounter settlementowner_Arpi != 6

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = romans_brutii
and I_CompareCounter settlementowner_Burdigala != 6

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = romans_brutii
and I_CompareCounter settlementowner_Babylon != 6

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov2
end_if


if I_SettlementOwner Alexandropolis = romans_brutii
and I_CompareCounter settlementowner_Alexandropolis != 6

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov2
end_if


if I_SettlementOwner Alexandreia_Ariana = romans_brutii
and I_CompareCounter settlementowner_Alexandreia_Ariana != 6

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov1
end_if


if I_SettlementOwner Darioritum = romans_brutii
and I_CompareCounter settlementowner_Darioritum != 6

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = romans_brutii
and I_CompareCounter settlementowner_Gergovia != 6

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = romans_brutii
and I_CompareCounter settlementowner_Edessa != 6

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov2
end_if


if I_SettlementOwner Asaak = romans_brutii
and I_CompareCounter settlementowner_Asaak != 6

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov2
end_if


if I_SettlementOwner Pallantia = romans_brutii
and I_CompareCounter settlementowner_Pallantia != 6

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = romans_brutii
and I_CompareCounter settlementowner_Athenai != 6

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov2
end_if


if I_SettlementOwner Augila_settlement = romans_brutii
and I_CompareCounter settlementowner_Augila_settlement != 6

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = romans_brutii
and I_CompareCounter settlementowner_Seleukeia != 6

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov2
end_if


if I_SettlementOwner Baktra = romans_brutii
and I_CompareCounter settlementowner_Baktra != 6

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov1
end_if


if I_SettlementOwner Bocchoris = romans_brutii
and I_CompareCounter settlementowner_Bocchoris != 6

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 6

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = romans_brutii
and I_CompareCounter settlementowner_Mastia != 6

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = romans_brutii
and I_CompareCounter settlementowner_Avaricum != 6

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = romans_brutii
and I_CompareCounter settlementowner_Bratosporios != 6

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = romans_brutii
and I_CompareCounter settlementowner_Nikaia != 6

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov2
end_if


if I_SettlementOwner Pantikapaion = romans_brutii
and I_CompareCounter settlementowner_Pantikapaion != 6

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov2
end_if


if I_SettlementOwner Rhegion = romans_brutii
and I_CompareCounter settlementowner_Rhegion != 6

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov2
end_if


if I_SettlementOwner Caern_Brigantae = romans_brutii
and I_CompareCounter settlementowner_Caern_Brigantae != 6

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = romans_brutii
and I_CompareCounter settlementowner_Gelonus != 6

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = romans_brutii
and I_CompareCounter settlementowner_Adrumeto != 6

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = romans_brutii
and I_CompareCounter settlementowner_Attuaca != 6

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = romans_brutii
and I_CompareCounter settlementowner_Capua != 6

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = romans_brutii
and I_CompareCounter settlementowner_Vellika != 6

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = romans_brutii
and I_CompareCounter settlementowner_Baikor != 6

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = romans_brutii
and I_CompareCounter settlementowner_Camulosadae != 6

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = romans_brutii
and I_CompareCounter settlementowner_Numantia != 6

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = romans_brutii
and I_CompareCounter settlementowner_Charax != 6

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov2
end_if


if I_SettlementOwner Byzantion = romans_brutii
and I_CompareCounter settlementowner_Byzantion != 6

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov2
end_if


if I_SettlementOwner Ptolemais_Theron = romans_brutii
and I_CompareCounter settlementowner_Ptolemais_Theron != 6

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = romans_brutii
and I_CompareCounter settlementowner_Ratae != 6

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = romans_brutii
and I_CompareCounter settlementowner_Ictis != 6

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = romans_brutii
and I_CompareCounter settlementowner_Lucarottea != 6

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = romans_brutii
and I_CompareCounter settlementowner_Emain_Macha != 6

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = romans_brutii
and I_CompareCounter settlementowner_Atiqa != 6

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = romans_brutii
and I_CompareCounter settlementowner_Ynys_Mon != 6

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = romans_brutii
and I_CompareCounter settlementowner_Gava_Alanna != 6

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = romans_brutii
and I_CompareCounter settlementowner_Gava_Aursa != 6

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = romans_brutii
and I_CompareCounter settlementowner_Nisa != 6

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov2
end_if


if I_SettlementOwner Gava_Haomavarga = romans_brutii
and I_CompareCounter settlementowner_Gava_Haomavarga != 6

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov2
end_if


if I_SettlementOwner Gava_Mazsakata = romans_brutii
and I_CompareCounter settlementowner_Gava_Mazsakata != 6

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = romans_brutii
and I_CompareCounter settlementowner_Gava_Roxsalanna != 6

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = romans_brutii
and I_CompareCounter settlementowner_Uspe != 6

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = romans_brutii
and I_CompareCounter settlementowner_Gava_Thissakata != 6

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = romans_brutii
and I_CompareCounter settlementowner_Gava_Yazyga != 6

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = romans_brutii
and I_CompareCounter settlementowner_Gava_Yugra != 6

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = romans_brutii
and I_CompareCounter settlementowner_Dalminion != 6

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = romans_brutii
and I_CompareCounter settlementowner_Serdike != 6

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = romans_brutii
and I_CompareCounter settlementowner_Alexandreia_Eschate != 6

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov1
end_if


if I_SettlementOwner Alexandreia = romans_brutii
and I_CompareCounter settlementowner_Alexandreia != 6

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov2
end_if


if I_SettlementOwner Axum = romans_brutii
and I_CompareCounter settlementowner_Axum != 6

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = romans_brutii
and I_CompareCounter settlementowner_Prophthasia != 6

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov2
end_if


if I_SettlementOwner Arse = romans_brutii
and I_CompareCounter settlementowner_Arse != 6

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = romans_brutii
and I_CompareCounter settlementowner_Kotais != 6

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = romans_brutii
and I_CompareCounter settlementowner_Lilibeo != 6

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = romans_brutii
and I_CompareCounter settlementowner_Susa != 6

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov2
end_if


if I_SettlementOwner Apollonia = romans_brutii
and I_CompareCounter settlementowner_Apollonia != 6

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov2
end_if


if I_SettlementOwner Ivernis = romans_brutii
and I_CompareCounter settlementowner_Ivernis != 6

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = romans_brutii
and I_CompareCounter settlementowner_Ak_Ink != 6

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = romans_brutii
and I_CompareCounter settlementowner_Arretium != 6

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = romans_brutii
and I_CompareCounter settlementowner_Chalkis != 6

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov2
end_if


if I_SettlementOwner Gabai = romans_brutii
and I_CompareCounter settlementowner_Gabai != 6

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov2
end_if


if I_SettlementOwner Tuat = romans_brutii
and I_CompareCounter settlementowner_Tuat != 6

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = romans_brutii
and I_CompareCounter settlementowner_Tyde != 6

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = romans_brutii
and I_CompareCounter settlementowner_Ankyra != 6

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = romans_brutii
and I_CompareCounter settlementowner_Taksashila != 6

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov1
end_if


if I_SettlementOwner Pura = romans_brutii
and I_CompareCounter settlementowner_Pura != 6

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov2
end_if


if I_SettlementOwner Gerrha = romans_brutii
and I_CompareCounter settlementowner_Gerrha != 6

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = romans_brutii
and I_CompareCounter settlementowner_Buridava != 6

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = romans_brutii
and I_CompareCounter settlementowner_Sarmiszegethusa != 6

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = romans_brutii
and I_CompareCounter settlementowner_Massalia != 6

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov2
end_if


if I_SettlementOwner Gawjam_Habukoz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Habukoz != 6

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = romans_brutii
and I_CompareCounter settlementowner_Sabata != 6

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = romans_brutii
and I_CompareCounter settlementowner_Arctaunon != 6

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = romans_brutii
and I_CompareCounter settlementowner_Armavir != 6

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov2
end_if


if I_SettlementOwner Aventicos = romans_brutii
and I_CompareCounter settlementowner_Aventicos != 6

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = romans_brutii
and I_CompareCounter settlementowner_Memphis != 6

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov2
end_if


if I_SettlementOwner Gawjam_Heruskoz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 6

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = romans_brutii
and I_CompareCounter settlementowner_Zadrakata != 6

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov2
end_if


if I_SettlementOwner Epidamnos = romans_brutii
and I_CompareCounter settlementowner_Epidamnos != 6

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov2
end_if


if I_SettlementOwner Mediolanum = romans_brutii
and I_CompareCounter settlementowner_Mediolanum != 6

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = romans_brutii
and I_CompareCounter settlementowner_Hierosolyma != 6

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov2
end_if


if I_SettlementOwner Taras = romans_brutii
and I_CompareCounter settlementowner_Taras != 6

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov2
end_if


if I_SettlementOwner Chach = romans_brutii
and I_CompareCounter settlementowner_Chach != 6

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov2
end_if


if I_SettlementOwner Mazaka = romans_brutii
and I_CompareCounter settlementowner_Mazaka != 6

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov2
end_if


if I_SettlementOwner Amaseia = romans_brutii
and I_CompareCounter settlementowner_Amaseia != 6

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov2
end_if


if I_SettlementOwner Halikarnassos = romans_brutii
and I_CompareCounter settlementowner_Halikarnassos != 6

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov2
end_if


if I_SettlementOwner Karmana = romans_brutii
and I_CompareCounter settlementowner_Karmana != 6

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov2
end_if


if I_SettlementOwner Mtskheta = romans_brutii
and I_CompareCounter settlementowner_Mtskheta != 6

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = romans_brutii
and I_CompareCounter settlementowner_Apameia != 6

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov2
end_if


if I_SettlementOwner Khiva = romans_brutii
and I_CompareCounter settlementowner_Khiva != 6

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = romans_brutii
and I_CompareCounter settlementowner_Tarsos != 6

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov2
end_if


if I_SettlementOwner Gawjam_Kimbroz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 6

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = romans_brutii
and I_CompareCounter settlementowner_Alalia != 6

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = romans_brutii
and I_CompareCounter settlementowner_Kydonia != 6

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov2
end_if


if I_SettlementOwner Meroe = romans_brutii
and I_CompareCounter settlementowner_Meroe != 6

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = romans_brutii
and I_CompareCounter settlementowner_Salamis != 6

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = romans_brutii
and I_CompareCounter settlementowner_Kyrene != 6

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov2
end_if


if I_SettlementOwner Emporion = romans_brutii
and I_CompareCounter settlementowner_Emporion != 6

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = romans_brutii
and I_CompareCounter settlementowner_Sparte != 6

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov2
end_if


if I_SettlementOwner Gawjam_Gotanoz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 6

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = romans_brutii
and I_CompareCounter settlementowner_Rome != 6

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = romans_brutii
and I_CompareCounter settlementowner_Lemonum != 6

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = romans_brutii
and I_CompareCounter settlementowner_Mytilene != 6

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov2
end_if


if I_SettlementOwner Ammonion = romans_brutii
and I_CompareCounter settlementowner_Ammonion != 6

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = romans_brutii
and I_CompareCounter settlementowner_Segesta != 6

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = romans_brutii
and I_CompareCounter settlementowner_Viennos != 6

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = romans_brutii
and I_CompareCounter settlementowner_Carrodunum != 6

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = romans_brutii
and I_CompareCounter settlementowner_Oxtraca != 6

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = romans_brutii
and I_CompareCounter settlementowner_Sardis != 6

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = romans_brutii
and I_CompareCounter settlementowner_Tanais != 6

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = romans_brutii
and I_CompareCounter settlementowner_Carna != 6

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = romans_brutii
and I_CompareCounter settlementowner_Pella != 6

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov2
end_if


if I_SettlementOwner Homna = romans_brutii
and I_CompareCounter settlementowner_Homna != 6

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = romans_brutii
and I_CompareCounter settlementowner_Antiocheia_Margiane != 6

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov1
end_if


if I_SettlementOwner Paraitonion = romans_brutii
and I_CompareCounter settlementowner_Paraitonion != 6

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = romans_brutii
and I_CompareCounter settlementowner_Ippone != 6

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = romans_brutii
and I_CompareCounter settlementowner_Sala != 6

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = romans_brutii
and I_CompareCounter settlementowner_Siga != 6

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = romans_brutii
and I_CompareCounter settlementowner_Lixus != 6

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = romans_brutii
and I_CompareCounter settlementowner_Ekbatana != 6

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov2
end_if


if I_SettlementOwner Kallatis = romans_brutii
and I_CompareCounter settlementowner_Kallatis != 6

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov2
end_if


if I_SettlementOwner Bibracte = romans_brutii
and I_CompareCounter settlementowner_Bibracte != 6

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = romans_brutii
and I_CompareCounter settlementowner_Cenabum != 6

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = romans_brutii
and I_CompareCounter settlementowner_Eburonum != 6

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = romans_brutii
and I_CompareCounter settlementowner_Pergamon != 6

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov2
end_if


if I_SettlementOwner Bostra = romans_brutii
and I_CompareCounter settlementowner_Bostra != 6

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = romans_brutii
and I_CompareCounter settlementowner_Bagacos != 6

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = romans_brutii
and I_CompareCounter settlementowner_Gordu_Neuriji != 6

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = romans_brutii
and I_CompareCounter settlementowner_Iuvavoaeta != 6

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = romans_brutii
and I_CompareCounter settlementowner_Kirtan != 6

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = romans_brutii
and I_CompareCounter settlementowner_Hibis != 6

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = romans_brutii
and I_CompareCounter settlementowner_Tylis != 6

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = romans_brutii
and I_CompareCounter settlementowner_Side != 6

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov2
end_if


if I_SettlementOwner Vindobona = romans_brutii
and I_CompareCounter settlementowner_Vindobona != 6

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = romans_brutii
and I_CompareCounter settlementowner_Segestica != 6

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = romans_brutii
and I_CompareCounter settlementowner_Sinope != 6

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov2
end_if


if I_SettlementOwner Kophen = romans_brutii
and I_CompareCounter settlementowner_Kophen != 6

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov1
end_if


if I_SettlementOwner Hekatompylos = romans_brutii
and I_CompareCounter settlementowner_Hekatompylos != 6

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov2
end_if


if I_SettlementOwner Korinthos = romans_brutii
and I_CompareCounter settlementowner_Korinthos != 6

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = romans_brutii
and I_CompareCounter settlementowner_Persepolis != 6

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov2
end_if


if I_SettlementOwner Garama = romans_brutii
and I_CompareCounter settlementowner_Garama != 6

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = romans_brutii
and I_CompareCounter settlementowner_Sidon != 6

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov2
end_if


if I_SettlementOwner Ipsos = romans_brutii
and I_CompareCounter settlementowner_Ipsos != 6

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov2
end_if


if I_SettlementOwner Ani-Kamah = romans_brutii
and I_CompareCounter settlementowner_Ani-Kamah != 6

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov2
end_if


if I_SettlementOwner Trapezous = romans_brutii
and I_CompareCounter settlementowner_Trapezous != 6

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov2
end_if


if I_SettlementOwner Tamane = romans_brutii
and I_CompareCounter settlementowner_Tamane != 6

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = romans_brutii
and I_CompareCounter settlementowner_Veldideno != 6

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = romans_brutii
and I_CompareCounter settlementowner_Rhodos != 6

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov2
end_if


if I_SettlementOwner Gawjam_Rugoz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Rugoz != 6

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = romans_brutii
and I_CompareCounter settlementowner_Maryab != 6

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = romans_brutii
and I_CompareCounter settlementowner_Terhazza != 6

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = romans_brutii
and I_CompareCounter settlementowner_Gava_Saka != 6

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = romans_brutii
and I_CompareCounter settlementowner_Asodat != 6

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = romans_brutii
and I_CompareCounter settlementowner_Karali != 6

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = romans_brutii
and I_CompareCounter settlementowner_Opiana != 6

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov1
end_if


if I_SettlementOwner Singidunum = romans_brutii
and I_CompareCounter settlementowner_Singidunum != 6

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = romans_brutii
and I_CompareCounter settlementowner_Seliun_Pilis != 6

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = romans_brutii
and I_CompareCounter settlementowner_Gintaras_Ostan != 6

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = romans_brutii
and I_CompareCounter settlementowner_Vesontio != 6

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = romans_brutii
and I_CompareCounter settlementowner_Messana != 6

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Silengoz != 6

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = romans_brutii
and I_CompareCounter settlementowner_Petra != 6

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = romans_brutii
and I_CompareCounter settlementowner_Patala != 6

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov2
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = romans_brutii
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 6

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = romans_brutii
and I_CompareCounter settlementowner_Olbia != 6

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = romans_brutii
and I_CompareCounter settlementowner_Marakanda != 6

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov1
end_if


if I_SettlementOwner Karkathiokerta = romans_brutii
and I_CompareCounter settlementowner_Karkathiokerta != 6

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov2
end_if


if I_SettlementOwner Swebotraustastamnoz = romans_brutii
and I_CompareCounter settlementowner_Swebotraustastamnoz != 6

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = romans_brutii
and I_CompareCounter settlementowner_Antiocheia != 6

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov2
end_if


if I_SettlementOwner Damaskos = romans_brutii
and I_CompareCounter settlementowner_Damaskos != 6

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov2
end_if


if I_SettlementOwner Palmyra = romans_brutii
and I_CompareCounter settlementowner_Palmyra != 6

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov2
end_if


if I_SettlementOwner Chersonesos = romans_brutii
and I_CompareCounter settlementowner_Chersonesos != 6

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov2
end_if


if I_SettlementOwner Diospolis_Megale = romans_brutii
and I_CompareCounter settlementowner_Diospolis_Megale != 6

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov2
end_if


if I_SettlementOwner Demetrias = romans_brutii
and I_CompareCounter settlementowner_Demetrias != 6

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov2
end_if


if I_SettlementOwner Naissos = romans_brutii
and I_CompareCounter settlementowner_Naissos != 6

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = romans_brutii
and I_CompareCounter settlementowner_Ascaucalis != 6

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = romans_brutii
and I_CompareCounter settlementowner_Pselkis != 6

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = romans_brutii
and I_CompareCounter settlementowner_Syracuse != 6

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov2
end_if


if I_SettlementOwner Lepki = romans_brutii
and I_CompareCounter settlementowner_Lepki != 6

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = romans_brutii
and I_CompareCounter settlementowner_Gader != 6

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = romans_brutii
and I_CompareCounter settlementowner_Sucum-Murgi != 6

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = romans_brutii
and I_CompareCounter settlementowner_Ariminum != 6

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = romans_brutii
and I_CompareCounter settlementowner_Patavium != 6

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = romans_brutii
and I_CompareCounter settlementowner_Vindelicoppidos != 6

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = romans_brutii
and I_CompareCounter settlementowner_Tolosa != 6

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = romans_brutii
and I_CompareCounter settlementowner_Chighu != 6

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = romans_brutii
and I_CompareCounter settlementowner_Sulek != 6

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = romans_brutii
and I_CompareCounter settlementowner_Kart_Hadast != 6

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = romans_brutii
and I_CompareCounter settlementowner_Ubar != 6

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType romans_scipii
and not FactionIsLocal

if I_SettlementOwner Arbela = romans_scipii
and I_CompareCounter settlementowner_Arbela != 7

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = romans_scipii
and I_CompareCounter settlementowner_Phraaspa != 7

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov2
end_if


if I_SettlementOwner Bononia = romans_scipii
and I_CompareCounter settlementowner_Bononia != 7

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = romans_scipii
and I_CompareCounter settlementowner_Kabalaka != 7

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov2
end_if


if I_SettlementOwner Thermon = romans_scipii
and I_CompareCounter settlementowner_Thermon != 7

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = romans_scipii
and I_CompareCounter settlementowner_Arpi != 7

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = romans_scipii
and I_CompareCounter settlementowner_Burdigala != 7

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = romans_scipii
and I_CompareCounter settlementowner_Babylon != 7

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = romans_scipii
and I_CompareCounter settlementowner_Alexandropolis != 7

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = romans_scipii
and I_CompareCounter settlementowner_Alexandreia_Ariana != 7

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = romans_scipii
and I_CompareCounter settlementowner_Darioritum != 7

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = romans_scipii
and I_CompareCounter settlementowner_Gergovia != 7

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = romans_scipii
and I_CompareCounter settlementowner_Edessa != 7

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = romans_scipii
and I_CompareCounter settlementowner_Asaak != 7

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = romans_scipii
and I_CompareCounter settlementowner_Pallantia != 7

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = romans_scipii
and I_CompareCounter settlementowner_Athenai != 7

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = romans_scipii
and I_CompareCounter settlementowner_Augila_settlement != 7

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = romans_scipii
and I_CompareCounter settlementowner_Seleukeia != 7

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = romans_scipii
and I_CompareCounter settlementowner_Baktra != 7

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = romans_scipii
and I_CompareCounter settlementowner_Bocchoris != 7

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 7

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = romans_scipii
and I_CompareCounter settlementowner_Mastia != 7

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = romans_scipii
and I_CompareCounter settlementowner_Avaricum != 7

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = romans_scipii
and I_CompareCounter settlementowner_Bratosporios != 7

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = romans_scipii
and I_CompareCounter settlementowner_Nikaia != 7

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = romans_scipii
and I_CompareCounter settlementowner_Pantikapaion != 7

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = romans_scipii
and I_CompareCounter settlementowner_Rhegion != 7

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = romans_scipii
and I_CompareCounter settlementowner_Caern_Brigantae != 7

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = romans_scipii
and I_CompareCounter settlementowner_Gelonus != 7

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = romans_scipii
and I_CompareCounter settlementowner_Adrumeto != 7

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = romans_scipii
and I_CompareCounter settlementowner_Attuaca != 7

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = romans_scipii
and I_CompareCounter settlementowner_Capua != 7

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = romans_scipii
and I_CompareCounter settlementowner_Vellika != 7

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = romans_scipii
and I_CompareCounter settlementowner_Baikor != 7

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = romans_scipii
and I_CompareCounter settlementowner_Camulosadae != 7

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = romans_scipii
and I_CompareCounter settlementowner_Numantia != 7

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = romans_scipii
and I_CompareCounter settlementowner_Charax != 7

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = romans_scipii
and I_CompareCounter settlementowner_Byzantion != 7

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = romans_scipii
and I_CompareCounter settlementowner_Ptolemais_Theron != 7

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = romans_scipii
and I_CompareCounter settlementowner_Ratae != 7

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = romans_scipii
and I_CompareCounter settlementowner_Ictis != 7

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = romans_scipii
and I_CompareCounter settlementowner_Lucarottea != 7

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = romans_scipii
and I_CompareCounter settlementowner_Emain_Macha != 7

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = romans_scipii
and I_CompareCounter settlementowner_Atiqa != 7

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = romans_scipii
and I_CompareCounter settlementowner_Ynys_Mon != 7

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = romans_scipii
and I_CompareCounter settlementowner_Gava_Alanna != 7

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = romans_scipii
and I_CompareCounter settlementowner_Gava_Aursa != 7

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = romans_scipii
and I_CompareCounter settlementowner_Nisa != 7

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = romans_scipii
and I_CompareCounter settlementowner_Gava_Haomavarga != 7

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = romans_scipii
and I_CompareCounter settlementowner_Gava_Mazsakata != 7

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = romans_scipii
and I_CompareCounter settlementowner_Gava_Roxsalanna != 7

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = romans_scipii
and I_CompareCounter settlementowner_Uspe != 7

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = romans_scipii
and I_CompareCounter settlementowner_Gava_Thissakata != 7

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = romans_scipii
and I_CompareCounter settlementowner_Gava_Yazyga != 7

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = romans_scipii
and I_CompareCounter settlementowner_Gava_Yugra != 7

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = romans_scipii
and I_CompareCounter settlementowner_Dalminion != 7

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = romans_scipii
and I_CompareCounter settlementowner_Serdike != 7

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = romans_scipii
and I_CompareCounter settlementowner_Alexandreia_Eschate != 7

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = romans_scipii
and I_CompareCounter settlementowner_Alexandreia != 7

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = romans_scipii
and I_CompareCounter settlementowner_Axum != 7

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = romans_scipii
and I_CompareCounter settlementowner_Prophthasia != 7

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = romans_scipii
and I_CompareCounter settlementowner_Arse != 7

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = romans_scipii
and I_CompareCounter settlementowner_Kotais != 7

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov2
end_if


if I_SettlementOwner Lilibeo = romans_scipii
and I_CompareCounter settlementowner_Lilibeo != 7

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = romans_scipii
and I_CompareCounter settlementowner_Susa != 7

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = romans_scipii
and I_CompareCounter settlementowner_Apollonia != 7

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = romans_scipii
and I_CompareCounter settlementowner_Ivernis != 7

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = romans_scipii
and I_CompareCounter settlementowner_Ak_Ink != 7

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = romans_scipii
and I_CompareCounter settlementowner_Arretium != 7

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = romans_scipii
and I_CompareCounter settlementowner_Chalkis != 7

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = romans_scipii
and I_CompareCounter settlementowner_Gabai != 7

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = romans_scipii
and I_CompareCounter settlementowner_Tuat != 7

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = romans_scipii
and I_CompareCounter settlementowner_Tyde != 7

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = romans_scipii
and I_CompareCounter settlementowner_Ankyra != 7

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = romans_scipii
and I_CompareCounter settlementowner_Taksashila != 7

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = romans_scipii
and I_CompareCounter settlementowner_Pura != 7

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = romans_scipii
and I_CompareCounter settlementowner_Gerrha != 7

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = romans_scipii
and I_CompareCounter settlementowner_Buridava != 7

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = romans_scipii
and I_CompareCounter settlementowner_Sarmiszegethusa != 7

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = romans_scipii
and I_CompareCounter settlementowner_Massalia != 7

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Habukoz != 7

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = romans_scipii
and I_CompareCounter settlementowner_Sabata != 7

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = romans_scipii
and I_CompareCounter settlementowner_Arctaunon != 7

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = romans_scipii
and I_CompareCounter settlementowner_Armavir != 7

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov1
end_if


if I_SettlementOwner Aventicos = romans_scipii
and I_CompareCounter settlementowner_Aventicos != 7

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = romans_scipii
and I_CompareCounter settlementowner_Memphis != 7

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 7

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = romans_scipii
and I_CompareCounter settlementowner_Zadrakata != 7

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = romans_scipii
and I_CompareCounter settlementowner_Epidamnos != 7

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = romans_scipii
and I_CompareCounter settlementowner_Mediolanum != 7

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = romans_scipii
and I_CompareCounter settlementowner_Hierosolyma != 7

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = romans_scipii
and I_CompareCounter settlementowner_Taras != 7

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = romans_scipii
and I_CompareCounter settlementowner_Chach != 7

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = romans_scipii
and I_CompareCounter settlementowner_Mazaka != 7

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov2
end_if


if I_SettlementOwner Amaseia = romans_scipii
and I_CompareCounter settlementowner_Amaseia != 7

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov2
end_if


if I_SettlementOwner Halikarnassos = romans_scipii
and I_CompareCounter settlementowner_Halikarnassos != 7

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = romans_scipii
and I_CompareCounter settlementowner_Karmana != 7

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = romans_scipii
and I_CompareCounter settlementowner_Mtskheta != 7

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov2
end_if


if I_SettlementOwner Apameia = romans_scipii
and I_CompareCounter settlementowner_Apameia != 7

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = romans_scipii
and I_CompareCounter settlementowner_Khiva != 7

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = romans_scipii
and I_CompareCounter settlementowner_Tarsos != 7

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 7

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = romans_scipii
and I_CompareCounter settlementowner_Alalia != 7

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = romans_scipii
and I_CompareCounter settlementowner_Kydonia != 7

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = romans_scipii
and I_CompareCounter settlementowner_Meroe != 7

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = romans_scipii
and I_CompareCounter settlementowner_Salamis != 7

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = romans_scipii
and I_CompareCounter settlementowner_Kyrene != 7

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = romans_scipii
and I_CompareCounter settlementowner_Emporion != 7

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = romans_scipii
and I_CompareCounter settlementowner_Sparte != 7

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 7

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = romans_scipii
and I_CompareCounter settlementowner_Rome != 7

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = romans_scipii
and I_CompareCounter settlementowner_Lemonum != 7

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = romans_scipii
and I_CompareCounter settlementowner_Mytilene != 7

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = romans_scipii
and I_CompareCounter settlementowner_Ammonion != 7

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = romans_scipii
and I_CompareCounter settlementowner_Segesta != 7

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = romans_scipii
and I_CompareCounter settlementowner_Viennos != 7

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = romans_scipii
and I_CompareCounter settlementowner_Carrodunum != 7

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = romans_scipii
and I_CompareCounter settlementowner_Oxtraca != 7

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = romans_scipii
and I_CompareCounter settlementowner_Sardis != 7

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = romans_scipii
and I_CompareCounter settlementowner_Tanais != 7

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = romans_scipii
and I_CompareCounter settlementowner_Carna != 7

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = romans_scipii
and I_CompareCounter settlementowner_Pella != 7

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = romans_scipii
and I_CompareCounter settlementowner_Homna != 7

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = romans_scipii
and I_CompareCounter settlementowner_Antiocheia_Margiane != 7

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = romans_scipii
and I_CompareCounter settlementowner_Paraitonion != 7

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = romans_scipii
and I_CompareCounter settlementowner_Ippone != 7

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = romans_scipii
and I_CompareCounter settlementowner_Sala != 7

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = romans_scipii
and I_CompareCounter settlementowner_Siga != 7

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = romans_scipii
and I_CompareCounter settlementowner_Lixus != 7

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = romans_scipii
and I_CompareCounter settlementowner_Ekbatana != 7

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = romans_scipii
and I_CompareCounter settlementowner_Kallatis != 7

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = romans_scipii
and I_CompareCounter settlementowner_Bibracte != 7

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = romans_scipii
and I_CompareCounter settlementowner_Cenabum != 7

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = romans_scipii
and I_CompareCounter settlementowner_Eburonum != 7

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = romans_scipii
and I_CompareCounter settlementowner_Pergamon != 7

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = romans_scipii
and I_CompareCounter settlementowner_Bostra != 7

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = romans_scipii
and I_CompareCounter settlementowner_Bagacos != 7

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = romans_scipii
and I_CompareCounter settlementowner_Gordu_Neuriji != 7

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = romans_scipii
and I_CompareCounter settlementowner_Iuvavoaeta != 7

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = romans_scipii
and I_CompareCounter settlementowner_Kirtan != 7

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = romans_scipii
and I_CompareCounter settlementowner_Hibis != 7

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = romans_scipii
and I_CompareCounter settlementowner_Tylis != 7

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = romans_scipii
and I_CompareCounter settlementowner_Side != 7

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = romans_scipii
and I_CompareCounter settlementowner_Vindobona != 7

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = romans_scipii
and I_CompareCounter settlementowner_Segestica != 7

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = romans_scipii
and I_CompareCounter settlementowner_Sinope != 7

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = romans_scipii
and I_CompareCounter settlementowner_Kophen != 7

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = romans_scipii
and I_CompareCounter settlementowner_Hekatompylos != 7

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = romans_scipii
and I_CompareCounter settlementowner_Korinthos != 7

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = romans_scipii
and I_CompareCounter settlementowner_Persepolis != 7

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = romans_scipii
and I_CompareCounter settlementowner_Garama != 7

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = romans_scipii
and I_CompareCounter settlementowner_Sidon != 7

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = romans_scipii
and I_CompareCounter settlementowner_Ipsos != 7

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = romans_scipii
and I_CompareCounter settlementowner_Ani-Kamah != 7

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov1
end_if


if I_SettlementOwner Trapezous = romans_scipii
and I_CompareCounter settlementowner_Trapezous != 7

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov2
end_if


if I_SettlementOwner Tamane = romans_scipii
and I_CompareCounter settlementowner_Tamane != 7

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = romans_scipii
and I_CompareCounter settlementowner_Veldideno != 7

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = romans_scipii
and I_CompareCounter settlementowner_Rhodos != 7

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Rugoz != 7

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = romans_scipii
and I_CompareCounter settlementowner_Maryab != 7

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = romans_scipii
and I_CompareCounter settlementowner_Terhazza != 7

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = romans_scipii
and I_CompareCounter settlementowner_Gava_Saka != 7

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = romans_scipii
and I_CompareCounter settlementowner_Asodat != 7

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = romans_scipii
and I_CompareCounter settlementowner_Karali != 7

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = romans_scipii
and I_CompareCounter settlementowner_Opiana != 7

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = romans_scipii
and I_CompareCounter settlementowner_Singidunum != 7

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = romans_scipii
and I_CompareCounter settlementowner_Seliun_Pilis != 7

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = romans_scipii
and I_CompareCounter settlementowner_Gintaras_Ostan != 7

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = romans_scipii
and I_CompareCounter settlementowner_Vesontio != 7

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = romans_scipii
and I_CompareCounter settlementowner_Messana != 7

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Silengoz != 7

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = romans_scipii
and I_CompareCounter settlementowner_Petra != 7

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = romans_scipii
and I_CompareCounter settlementowner_Patala != 7

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = romans_scipii
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 7

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = romans_scipii
and I_CompareCounter settlementowner_Olbia != 7

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = romans_scipii
and I_CompareCounter settlementowner_Marakanda != 7

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = romans_scipii
and I_CompareCounter settlementowner_Karkathiokerta != 7

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov1
end_if


if I_SettlementOwner Swebotraustastamnoz = romans_scipii
and I_CompareCounter settlementowner_Swebotraustastamnoz != 7

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = romans_scipii
and I_CompareCounter settlementowner_Antiocheia != 7

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = romans_scipii
and I_CompareCounter settlementowner_Damaskos != 7

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = romans_scipii
and I_CompareCounter settlementowner_Palmyra != 7

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = romans_scipii
and I_CompareCounter settlementowner_Chersonesos != 7

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = romans_scipii
and I_CompareCounter settlementowner_Diospolis_Megale != 7

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = romans_scipii
and I_CompareCounter settlementowner_Demetrias != 7

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = romans_scipii
and I_CompareCounter settlementowner_Naissos != 7

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = romans_scipii
and I_CompareCounter settlementowner_Ascaucalis != 7

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = romans_scipii
and I_CompareCounter settlementowner_Pselkis != 7

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = romans_scipii
and I_CompareCounter settlementowner_Syracuse != 7

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = romans_scipii
and I_CompareCounter settlementowner_Lepki != 7

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = romans_scipii
and I_CompareCounter settlementowner_Gader != 7

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = romans_scipii
and I_CompareCounter settlementowner_Sucum-Murgi != 7

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = romans_scipii
and I_CompareCounter settlementowner_Ariminum != 7

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = romans_scipii
and I_CompareCounter settlementowner_Patavium != 7

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = romans_scipii
and I_CompareCounter settlementowner_Vindelicoppidos != 7

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = romans_scipii
and I_CompareCounter settlementowner_Tolosa != 7

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = romans_scipii
and I_CompareCounter settlementowner_Chighu != 7

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = romans_scipii
and I_CompareCounter settlementowner_Sulek != 7

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = romans_scipii
and I_CompareCounter settlementowner_Kart_Hadast != 7

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = romans_scipii
and I_CompareCounter settlementowner_Ubar != 7

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType macedon
and not FactionIsLocal

if I_SettlementOwner Arbela = macedon
and I_CompareCounter settlementowner_Arbela != 8

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov2
end_if


if I_SettlementOwner Phraaspa = macedon
and I_CompareCounter settlementowner_Phraaspa != 8

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov2
end_if


if I_SettlementOwner Bononia = macedon
and I_CompareCounter settlementowner_Bononia != 8

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov2
end_if


if I_SettlementOwner Kabalaka = macedon
and I_CompareCounter settlementowner_Kabalaka != 8

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = macedon
and I_CompareCounter settlementowner_Thermon != 8

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov2
end_if


if I_SettlementOwner Arpi = macedon
and I_CompareCounter settlementowner_Arpi != 8

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov2
end_if


if I_SettlementOwner Burdigala = macedon
and I_CompareCounter settlementowner_Burdigala != 8

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = macedon
and I_CompareCounter settlementowner_Babylon != 8

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov2
end_if


if I_SettlementOwner Alexandropolis = macedon
and I_CompareCounter settlementowner_Alexandropolis != 8

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov2
end_if


if I_SettlementOwner Alexandreia_Ariana = macedon
and I_CompareCounter settlementowner_Alexandreia_Ariana != 8

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov2
end_if


if I_SettlementOwner Darioritum = macedon
and I_CompareCounter settlementowner_Darioritum != 8

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = macedon
and I_CompareCounter settlementowner_Gergovia != 8

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = macedon
and I_CompareCounter settlementowner_Edessa != 8

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov2
end_if


if I_SettlementOwner Asaak = macedon
and I_CompareCounter settlementowner_Asaak != 8

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov2
end_if


if I_SettlementOwner Pallantia = macedon
and I_CompareCounter settlementowner_Pallantia != 8

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = macedon
and I_CompareCounter settlementowner_Athenai != 8

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov2
end_if


if I_SettlementOwner Augila_settlement = macedon
and I_CompareCounter settlementowner_Augila_settlement != 8

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = macedon
and I_CompareCounter settlementowner_Seleukeia != 8

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov2
end_if


if I_SettlementOwner Baktra = macedon
and I_CompareCounter settlementowner_Baktra != 8

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov2
end_if


if I_SettlementOwner Bocchoris = macedon
and I_CompareCounter settlementowner_Bocchoris != 8

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = macedon
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 8

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = macedon
and I_CompareCounter settlementowner_Mastia != 8

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = macedon
and I_CompareCounter settlementowner_Avaricum != 8

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = macedon
and I_CompareCounter settlementowner_Bratosporios != 8

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = macedon
and I_CompareCounter settlementowner_Nikaia != 8

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov2
end_if


if I_SettlementOwner Pantikapaion = macedon
and I_CompareCounter settlementowner_Pantikapaion != 8

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = macedon
and I_CompareCounter settlementowner_Rhegion != 8

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov2
end_if


if I_SettlementOwner Caern_Brigantae = macedon
and I_CompareCounter settlementowner_Caern_Brigantae != 8

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = macedon
and I_CompareCounter settlementowner_Gelonus != 8

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = macedon
and I_CompareCounter settlementowner_Adrumeto != 8

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = macedon
and I_CompareCounter settlementowner_Attuaca != 8

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = macedon
and I_CompareCounter settlementowner_Capua != 8

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov2
end_if


if I_SettlementOwner Vellika = macedon
and I_CompareCounter settlementowner_Vellika != 8

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = macedon
and I_CompareCounter settlementowner_Baikor != 8

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = macedon
and I_CompareCounter settlementowner_Camulosadae != 8

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = macedon
and I_CompareCounter settlementowner_Numantia != 8

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = macedon
and I_CompareCounter settlementowner_Charax != 8

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov2
end_if


if I_SettlementOwner Byzantion = macedon
and I_CompareCounter settlementowner_Byzantion != 8

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov2
end_if


if I_SettlementOwner Ptolemais_Theron = macedon
and I_CompareCounter settlementowner_Ptolemais_Theron != 8

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = macedon
and I_CompareCounter settlementowner_Ratae != 8

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = macedon
and I_CompareCounter settlementowner_Ictis != 8

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = macedon
and I_CompareCounter settlementowner_Lucarottea != 8

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = macedon
and I_CompareCounter settlementowner_Emain_Macha != 8

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = macedon
and I_CompareCounter settlementowner_Atiqa != 8

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = macedon
and I_CompareCounter settlementowner_Ynys_Mon != 8

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = macedon
and I_CompareCounter settlementowner_Gava_Alanna != 8

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = macedon
and I_CompareCounter settlementowner_Gava_Aursa != 8

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = macedon
and I_CompareCounter settlementowner_Nisa != 8

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = macedon
and I_CompareCounter settlementowner_Gava_Haomavarga != 8

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = macedon
and I_CompareCounter settlementowner_Gava_Mazsakata != 8

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = macedon
and I_CompareCounter settlementowner_Gava_Roxsalanna != 8

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = macedon
and I_CompareCounter settlementowner_Uspe != 8

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = macedon
and I_CompareCounter settlementowner_Gava_Thissakata != 8

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = macedon
and I_CompareCounter settlementowner_Gava_Yazyga != 8

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = macedon
and I_CompareCounter settlementowner_Gava_Yugra != 8

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = macedon
and I_CompareCounter settlementowner_Dalminion != 8

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov2
end_if


if I_SettlementOwner Serdike = macedon
and I_CompareCounter settlementowner_Serdike != 8

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov1
end_if


if I_SettlementOwner Alexandreia_Eschate = macedon
and I_CompareCounter settlementowner_Alexandreia_Eschate != 8

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov2
end_if


if I_SettlementOwner Alexandreia = macedon
and I_CompareCounter settlementowner_Alexandreia != 8

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov2
end_if


if I_SettlementOwner Axum = macedon
and I_CompareCounter settlementowner_Axum != 8

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = macedon
and I_CompareCounter settlementowner_Prophthasia != 8

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov2
end_if


if I_SettlementOwner Arse = macedon
and I_CompareCounter settlementowner_Arse != 8

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = macedon
and I_CompareCounter settlementowner_Kotais != 8

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = macedon
and I_CompareCounter settlementowner_Lilibeo != 8

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov2
end_if


if I_SettlementOwner Susa = macedon
and I_CompareCounter settlementowner_Susa != 8

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov2
end_if


if I_SettlementOwner Apollonia = macedon
and I_CompareCounter settlementowner_Apollonia != 8

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov1
end_if


if I_SettlementOwner Ivernis = macedon
and I_CompareCounter settlementowner_Ivernis != 8

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = macedon
and I_CompareCounter settlementowner_Ak_Ink != 8

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov2
end_if


if I_SettlementOwner Arretium = macedon
and I_CompareCounter settlementowner_Arretium != 8

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov2
end_if


if I_SettlementOwner Chalkis = macedon
and I_CompareCounter settlementowner_Chalkis != 8

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov2
end_if


if I_SettlementOwner Gabai = macedon
and I_CompareCounter settlementowner_Gabai != 8

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov2
end_if


if I_SettlementOwner Tuat = macedon
and I_CompareCounter settlementowner_Tuat != 8

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = macedon
and I_CompareCounter settlementowner_Tyde != 8

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = macedon
and I_CompareCounter settlementowner_Ankyra != 8

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov2
end_if


if I_SettlementOwner Taksashila = macedon
and I_CompareCounter settlementowner_Taksashila != 8

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = macedon
and I_CompareCounter settlementowner_Pura != 8

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov2
end_if


if I_SettlementOwner Gerrha = macedon
and I_CompareCounter settlementowner_Gerrha != 8

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = macedon
and I_CompareCounter settlementowner_Buridava != 8

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov2
end_if


if I_SettlementOwner Sarmiszegethusa = macedon
and I_CompareCounter settlementowner_Sarmiszegethusa != 8

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov2
end_if


if I_SettlementOwner Massalia = macedon
and I_CompareCounter settlementowner_Massalia != 8

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov2
end_if


if I_SettlementOwner Gawjam_Habukoz = macedon
and I_CompareCounter settlementowner_Gawjam_Habukoz != 8

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = macedon
and I_CompareCounter settlementowner_Sabata != 8

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = macedon
and I_CompareCounter settlementowner_Arctaunon != 8

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = macedon
and I_CompareCounter settlementowner_Armavir != 8

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov2
end_if


if I_SettlementOwner Aventicos = macedon
and I_CompareCounter settlementowner_Aventicos != 8

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = macedon
and I_CompareCounter settlementowner_Memphis != 8

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov2
end_if


if I_SettlementOwner Gawjam_Heruskoz = macedon
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 8

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = macedon
and I_CompareCounter settlementowner_Zadrakata != 8

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov2
end_if


if I_SettlementOwner Epidamnos = macedon
and I_CompareCounter settlementowner_Epidamnos != 8

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov1
end_if


if I_SettlementOwner Mediolanum = macedon
and I_CompareCounter settlementowner_Mediolanum != 8

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = macedon
and I_CompareCounter settlementowner_Hierosolyma != 8

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov2
end_if


if I_SettlementOwner Taras = macedon
and I_CompareCounter settlementowner_Taras != 8

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov2
end_if


if I_SettlementOwner Chach = macedon
and I_CompareCounter settlementowner_Chach != 8

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = macedon
and I_CompareCounter settlementowner_Mazaka != 8

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov2
end_if


if I_SettlementOwner Amaseia = macedon
and I_CompareCounter settlementowner_Amaseia != 8

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov2
end_if


if I_SettlementOwner Halikarnassos = macedon
and I_CompareCounter settlementowner_Halikarnassos != 8

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov2
end_if


if I_SettlementOwner Karmana = macedon
and I_CompareCounter settlementowner_Karmana != 8

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov2
end_if


if I_SettlementOwner Mtskheta = macedon
and I_CompareCounter settlementowner_Mtskheta != 8

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = macedon
and I_CompareCounter settlementowner_Apameia != 8

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov2
end_if


if I_SettlementOwner Khiva = macedon
and I_CompareCounter settlementowner_Khiva != 8

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = macedon
and I_CompareCounter settlementowner_Tarsos != 8

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov2
end_if


if I_SettlementOwner Gawjam_Kimbroz = macedon
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 8

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = macedon
and I_CompareCounter settlementowner_Alalia != 8

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = macedon
and I_CompareCounter settlementowner_Kydonia != 8

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov2
end_if


if I_SettlementOwner Meroe = macedon
and I_CompareCounter settlementowner_Meroe != 8

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = macedon
and I_CompareCounter settlementowner_Salamis != 8

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = macedon
and I_CompareCounter settlementowner_Kyrene != 8

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov2
end_if


if I_SettlementOwner Emporion = macedon
and I_CompareCounter settlementowner_Emporion != 8

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = macedon
and I_CompareCounter settlementowner_Sparte != 8

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov2
end_if


if I_SettlementOwner Gawjam_Gotanoz = macedon
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 8

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = macedon
and I_CompareCounter settlementowner_Rome != 8

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov2
end_if


if I_SettlementOwner Lemonum = macedon
and I_CompareCounter settlementowner_Lemonum != 8

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = macedon
and I_CompareCounter settlementowner_Mytilene != 8

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov2
end_if


if I_SettlementOwner Ammonion = macedon
and I_CompareCounter settlementowner_Ammonion != 8

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov2
end_if


if I_SettlementOwner Segesta = macedon
and I_CompareCounter settlementowner_Segesta != 8

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov2
end_if


if I_SettlementOwner Viennos = macedon
and I_CompareCounter settlementowner_Viennos != 8

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = macedon
and I_CompareCounter settlementowner_Carrodunum != 8

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = macedon
and I_CompareCounter settlementowner_Oxtraca != 8

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = macedon
and I_CompareCounter settlementowner_Sardis != 8

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = macedon
and I_CompareCounter settlementowner_Tanais != 8

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = macedon
and I_CompareCounter settlementowner_Carna != 8

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = macedon
and I_CompareCounter settlementowner_Pella != 8

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov1
end_if


if I_SettlementOwner Homna = macedon
and I_CompareCounter settlementowner_Homna != 8

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = macedon
and I_CompareCounter settlementowner_Antiocheia_Margiane != 8

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov2
end_if


if I_SettlementOwner Paraitonion = macedon
and I_CompareCounter settlementowner_Paraitonion != 8

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = macedon
and I_CompareCounter settlementowner_Ippone != 8

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = macedon
and I_CompareCounter settlementowner_Sala != 8

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = macedon
and I_CompareCounter settlementowner_Siga != 8

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = macedon
and I_CompareCounter settlementowner_Lixus != 8

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = macedon
and I_CompareCounter settlementowner_Ekbatana != 8

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov2
end_if


if I_SettlementOwner Kallatis = macedon
and I_CompareCounter settlementowner_Kallatis != 8

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = macedon
and I_CompareCounter settlementowner_Bibracte != 8

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = macedon
and I_CompareCounter settlementowner_Cenabum != 8

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = macedon
and I_CompareCounter settlementowner_Eburonum != 8

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = macedon
and I_CompareCounter settlementowner_Pergamon != 8

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov2
end_if


if I_SettlementOwner Bostra = macedon
and I_CompareCounter settlementowner_Bostra != 8

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = macedon
and I_CompareCounter settlementowner_Bagacos != 8

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = macedon
and I_CompareCounter settlementowner_Gordu_Neuriji != 8

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = macedon
and I_CompareCounter settlementowner_Iuvavoaeta != 8

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = macedon
and I_CompareCounter settlementowner_Kirtan != 8

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = macedon
and I_CompareCounter settlementowner_Hibis != 8

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = macedon
and I_CompareCounter settlementowner_Tylis != 8

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov1
end_if


if I_SettlementOwner Side = macedon
and I_CompareCounter settlementowner_Side != 8

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov2
end_if


if I_SettlementOwner Vindobona = macedon
and I_CompareCounter settlementowner_Vindobona != 8

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov2
end_if


if I_SettlementOwner Segestica = macedon
and I_CompareCounter settlementowner_Segestica != 8

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov2
end_if


if I_SettlementOwner Sinope = macedon
and I_CompareCounter settlementowner_Sinope != 8

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov2
end_if


if I_SettlementOwner Kophen = macedon
and I_CompareCounter settlementowner_Kophen != 8

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov2
end_if


if I_SettlementOwner Hekatompylos = macedon
and I_CompareCounter settlementowner_Hekatompylos != 8

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov2
end_if


if I_SettlementOwner Korinthos = macedon
and I_CompareCounter settlementowner_Korinthos != 8

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov2
end_if


if I_SettlementOwner Persepolis = macedon
and I_CompareCounter settlementowner_Persepolis != 8

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov2
end_if


if I_SettlementOwner Garama = macedon
and I_CompareCounter settlementowner_Garama != 8

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = macedon
and I_CompareCounter settlementowner_Sidon != 8

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov2
end_if


if I_SettlementOwner Ipsos = macedon
and I_CompareCounter settlementowner_Ipsos != 8

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov2
end_if


if I_SettlementOwner Ani-Kamah = macedon
and I_CompareCounter settlementowner_Ani-Kamah != 8

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov2
end_if


if I_SettlementOwner Trapezous = macedon
and I_CompareCounter settlementowner_Trapezous != 8

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov2
end_if


if I_SettlementOwner Tamane = macedon
and I_CompareCounter settlementowner_Tamane != 8

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = macedon
and I_CompareCounter settlementowner_Veldideno != 8

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = macedon
and I_CompareCounter settlementowner_Rhodos != 8

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov2
end_if


if I_SettlementOwner Gawjam_Rugoz = macedon
and I_CompareCounter settlementowner_Gawjam_Rugoz != 8

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = macedon
and I_CompareCounter settlementowner_Maryab != 8

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = macedon
and I_CompareCounter settlementowner_Terhazza != 8

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = macedon
and I_CompareCounter settlementowner_Gava_Saka != 8

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = macedon
and I_CompareCounter settlementowner_Asodat != 8

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = macedon
and I_CompareCounter settlementowner_Karali != 8

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = macedon
and I_CompareCounter settlementowner_Opiana != 8

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = macedon
and I_CompareCounter settlementowner_Singidunum != 8

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov2
end_if


if I_SettlementOwner Seliun_Pilis = macedon
and I_CompareCounter settlementowner_Seliun_Pilis != 8

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = macedon
and I_CompareCounter settlementowner_Gintaras_Ostan != 8

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = macedon
and I_CompareCounter settlementowner_Vesontio != 8

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = macedon
and I_CompareCounter settlementowner_Messana != 8

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov2
end_if


if I_SettlementOwner Gawjam_Silengoz = macedon
and I_CompareCounter settlementowner_Gawjam_Silengoz != 8

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = macedon
and I_CompareCounter settlementowner_Petra != 8

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = macedon
and I_CompareCounter settlementowner_Patala != 8

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = macedon
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 8

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = macedon
and I_CompareCounter settlementowner_Olbia != 8

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov2
end_if


if I_SettlementOwner Marakanda = macedon
and I_CompareCounter settlementowner_Marakanda != 8

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov2
end_if


if I_SettlementOwner Karkathiokerta = macedon
and I_CompareCounter settlementowner_Karkathiokerta != 8

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov2
end_if


if I_SettlementOwner Swebotraustastamnoz = macedon
and I_CompareCounter settlementowner_Swebotraustastamnoz != 8

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = macedon
and I_CompareCounter settlementowner_Antiocheia != 8

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov2
end_if


if I_SettlementOwner Damaskos = macedon
and I_CompareCounter settlementowner_Damaskos != 8

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov2
end_if


if I_SettlementOwner Palmyra = macedon
and I_CompareCounter settlementowner_Palmyra != 8

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov2
end_if


if I_SettlementOwner Chersonesos = macedon
and I_CompareCounter settlementowner_Chersonesos != 8

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov2
end_if


if I_SettlementOwner Diospolis_Megale = macedon
and I_CompareCounter settlementowner_Diospolis_Megale != 8

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov2
end_if


if I_SettlementOwner Demetrias = macedon
and I_CompareCounter settlementowner_Demetrias != 8

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov1
end_if


if I_SettlementOwner Naissos = macedon
and I_CompareCounter settlementowner_Naissos != 8

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov2
end_if


if I_SettlementOwner Ascaucalis = macedon
and I_CompareCounter settlementowner_Ascaucalis != 8

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = macedon
and I_CompareCounter settlementowner_Pselkis != 8

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = macedon
and I_CompareCounter settlementowner_Syracuse != 8

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov2
end_if


if I_SettlementOwner Lepki = macedon
and I_CompareCounter settlementowner_Lepki != 8

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = macedon
and I_CompareCounter settlementowner_Gader != 8

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = macedon
and I_CompareCounter settlementowner_Sucum-Murgi != 8

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = macedon
and I_CompareCounter settlementowner_Ariminum != 8

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov2
end_if


if I_SettlementOwner Patavium = macedon
and I_CompareCounter settlementowner_Patavium != 8

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov2
end_if


if I_SettlementOwner Vindelicoppidos = macedon
and I_CompareCounter settlementowner_Vindelicoppidos != 8

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = macedon
and I_CompareCounter settlementowner_Tolosa != 8

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = macedon
and I_CompareCounter settlementowner_Chighu != 8

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = macedon
and I_CompareCounter settlementowner_Sulek != 8

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = macedon
and I_CompareCounter settlementowner_Kart_Hadast != 8

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = macedon
and I_CompareCounter settlementowner_Ubar != 8

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType gauls
and not FactionIsLocal

if I_SettlementOwner Arbela = gauls
and I_CompareCounter settlementowner_Arbela != 9

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = gauls
and I_CompareCounter settlementowner_Phraaspa != 9

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = gauls
and I_CompareCounter settlementowner_Bononia != 9

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov2
end_if


if I_SettlementOwner Kabalaka = gauls
and I_CompareCounter settlementowner_Kabalaka != 9

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = gauls
and I_CompareCounter settlementowner_Thermon != 9

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = gauls
and I_CompareCounter settlementowner_Arpi != 9

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = gauls
and I_CompareCounter settlementowner_Burdigala != 9

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov1
end_if


if I_SettlementOwner Babylon = gauls
and I_CompareCounter settlementowner_Babylon != 9

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = gauls
and I_CompareCounter settlementowner_Alexandropolis != 9

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = gauls
and I_CompareCounter settlementowner_Alexandreia_Ariana != 9

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = gauls
and I_CompareCounter settlementowner_Darioritum != 9

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov1
end_if


if I_SettlementOwner Gergovia = gauls
and I_CompareCounter settlementowner_Gergovia != 9

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov1
end_if


if I_SettlementOwner Edessa = gauls
and I_CompareCounter settlementowner_Edessa != 9

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = gauls
and I_CompareCounter settlementowner_Asaak != 9

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = gauls
and I_CompareCounter settlementowner_Pallantia != 9

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov2
end_if


if I_SettlementOwner Athenai = gauls
and I_CompareCounter settlementowner_Athenai != 9

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = gauls
and I_CompareCounter settlementowner_Augila_settlement != 9

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = gauls
and I_CompareCounter settlementowner_Seleukeia != 9

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = gauls
and I_CompareCounter settlementowner_Baktra != 9

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = gauls
and I_CompareCounter settlementowner_Bocchoris != 9

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = gauls
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 9

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = gauls
and I_CompareCounter settlementowner_Mastia != 9

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = gauls
and I_CompareCounter settlementowner_Avaricum != 9

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov1
end_if


if I_SettlementOwner Bratosporios = gauls
and I_CompareCounter settlementowner_Bratosporios != 9

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov2
end_if


if I_SettlementOwner Nikaia = gauls
and I_CompareCounter settlementowner_Nikaia != 9

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = gauls
and I_CompareCounter settlementowner_Pantikapaion != 9

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = gauls
and I_CompareCounter settlementowner_Rhegion != 9

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = gauls
and I_CompareCounter settlementowner_Caern_Brigantae != 9

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = gauls
and I_CompareCounter settlementowner_Gelonus != 9

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = gauls
and I_CompareCounter settlementowner_Adrumeto != 9

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = gauls
and I_CompareCounter settlementowner_Attuaca != 9

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = gauls
and I_CompareCounter settlementowner_Capua != 9

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = gauls
and I_CompareCounter settlementowner_Vellika != 9

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = gauls
and I_CompareCounter settlementowner_Baikor != 9

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = gauls
and I_CompareCounter settlementowner_Camulosadae != 9

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov2
end_if


if I_SettlementOwner Numantia = gauls
and I_CompareCounter settlementowner_Numantia != 9

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov2
end_if


if I_SettlementOwner Charax = gauls
and I_CompareCounter settlementowner_Charax != 9

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = gauls
and I_CompareCounter settlementowner_Byzantion != 9

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = gauls
and I_CompareCounter settlementowner_Ptolemais_Theron != 9

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = gauls
and I_CompareCounter settlementowner_Ratae != 9

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = gauls
and I_CompareCounter settlementowner_Ictis != 9

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov2
end_if


if I_SettlementOwner Lucarottea = gauls
and I_CompareCounter settlementowner_Lucarottea != 9

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = gauls
and I_CompareCounter settlementowner_Emain_Macha != 9

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = gauls
and I_CompareCounter settlementowner_Atiqa != 9

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = gauls
and I_CompareCounter settlementowner_Ynys_Mon != 9

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = gauls
and I_CompareCounter settlementowner_Gava_Alanna != 9

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = gauls
and I_CompareCounter settlementowner_Gava_Aursa != 9

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = gauls
and I_CompareCounter settlementowner_Nisa != 9

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = gauls
and I_CompareCounter settlementowner_Gava_Haomavarga != 9

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = gauls
and I_CompareCounter settlementowner_Gava_Mazsakata != 9

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = gauls
and I_CompareCounter settlementowner_Gava_Roxsalanna != 9

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = gauls
and I_CompareCounter settlementowner_Uspe != 9

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = gauls
and I_CompareCounter settlementowner_Gava_Thissakata != 9

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = gauls
and I_CompareCounter settlementowner_Gava_Yazyga != 9

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = gauls
and I_CompareCounter settlementowner_Gava_Yugra != 9

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = gauls
and I_CompareCounter settlementowner_Dalminion != 9

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = gauls
and I_CompareCounter settlementowner_Serdike != 9

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = gauls
and I_CompareCounter settlementowner_Alexandreia_Eschate != 9

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = gauls
and I_CompareCounter settlementowner_Alexandreia != 9

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = gauls
and I_CompareCounter settlementowner_Axum != 9

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = gauls
and I_CompareCounter settlementowner_Prophthasia != 9

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = gauls
and I_CompareCounter settlementowner_Arse != 9

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = gauls
and I_CompareCounter settlementowner_Kotais != 9

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = gauls
and I_CompareCounter settlementowner_Lilibeo != 9

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = gauls
and I_CompareCounter settlementowner_Susa != 9

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = gauls
and I_CompareCounter settlementowner_Apollonia != 9

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = gauls
and I_CompareCounter settlementowner_Ivernis != 9

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = gauls
and I_CompareCounter settlementowner_Ak_Ink != 9

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = gauls
and I_CompareCounter settlementowner_Arretium != 9

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = gauls
and I_CompareCounter settlementowner_Chalkis != 9

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = gauls
and I_CompareCounter settlementowner_Gabai != 9

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = gauls
and I_CompareCounter settlementowner_Tuat != 9

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = gauls
and I_CompareCounter settlementowner_Tyde != 9

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov2
end_if


if I_SettlementOwner Ankyra = gauls
and I_CompareCounter settlementowner_Ankyra != 9

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov2
end_if


if I_SettlementOwner Taksashila = gauls
and I_CompareCounter settlementowner_Taksashila != 9

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = gauls
and I_CompareCounter settlementowner_Pura != 9

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = gauls
and I_CompareCounter settlementowner_Gerrha != 9

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = gauls
and I_CompareCounter settlementowner_Buridava != 9

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = gauls
and I_CompareCounter settlementowner_Sarmiszegethusa != 9

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = gauls
and I_CompareCounter settlementowner_Massalia != 9

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = gauls
and I_CompareCounter settlementowner_Gawjam_Habukoz != 9

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = gauls
and I_CompareCounter settlementowner_Sabata != 9

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = gauls
and I_CompareCounter settlementowner_Arctaunon != 9

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = gauls
and I_CompareCounter settlementowner_Armavir != 9

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = gauls
and I_CompareCounter settlementowner_Aventicos != 9

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov2
end_if


if I_SettlementOwner Memphis = gauls
and I_CompareCounter settlementowner_Memphis != 9

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = gauls
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 9

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = gauls
and I_CompareCounter settlementowner_Zadrakata != 9

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = gauls
and I_CompareCounter settlementowner_Epidamnos != 9

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = gauls
and I_CompareCounter settlementowner_Mediolanum != 9

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov1
end_if


if I_SettlementOwner Hierosolyma = gauls
and I_CompareCounter settlementowner_Hierosolyma != 9

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = gauls
and I_CompareCounter settlementowner_Taras != 9

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = gauls
and I_CompareCounter settlementowner_Chach != 9

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = gauls
and I_CompareCounter settlementowner_Mazaka != 9

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = gauls
and I_CompareCounter settlementowner_Amaseia != 9

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = gauls
and I_CompareCounter settlementowner_Halikarnassos != 9

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = gauls
and I_CompareCounter settlementowner_Karmana != 9

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = gauls
and I_CompareCounter settlementowner_Mtskheta != 9

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = gauls
and I_CompareCounter settlementowner_Apameia != 9

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = gauls
and I_CompareCounter settlementowner_Khiva != 9

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = gauls
and I_CompareCounter settlementowner_Tarsos != 9

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = gauls
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 9

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = gauls
and I_CompareCounter settlementowner_Alalia != 9

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = gauls
and I_CompareCounter settlementowner_Kydonia != 9

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = gauls
and I_CompareCounter settlementowner_Meroe != 9

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = gauls
and I_CompareCounter settlementowner_Salamis != 9

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = gauls
and I_CompareCounter settlementowner_Kyrene != 9

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = gauls
and I_CompareCounter settlementowner_Emporion != 9

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = gauls
and I_CompareCounter settlementowner_Sparte != 9

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = gauls
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 9

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = gauls
and I_CompareCounter settlementowner_Rome != 9

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = gauls
and I_CompareCounter settlementowner_Lemonum != 9

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov1
end_if


if I_SettlementOwner Mytilene = gauls
and I_CompareCounter settlementowner_Mytilene != 9

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = gauls
and I_CompareCounter settlementowner_Ammonion != 9

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = gauls
and I_CompareCounter settlementowner_Segesta != 9

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = gauls
and I_CompareCounter settlementowner_Viennos != 9

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov1
end_if


if I_SettlementOwner Carrodunum = gauls
and I_CompareCounter settlementowner_Carrodunum != 9

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = gauls
and I_CompareCounter settlementowner_Oxtraca != 9

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = gauls
and I_CompareCounter settlementowner_Sardis != 9

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = gauls
and I_CompareCounter settlementowner_Tanais != 9

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = gauls
and I_CompareCounter settlementowner_Carna != 9

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = gauls
and I_CompareCounter settlementowner_Pella != 9

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = gauls
and I_CompareCounter settlementowner_Homna != 9

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = gauls
and I_CompareCounter settlementowner_Antiocheia_Margiane != 9

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = gauls
and I_CompareCounter settlementowner_Paraitonion != 9

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = gauls
and I_CompareCounter settlementowner_Ippone != 9

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = gauls
and I_CompareCounter settlementowner_Sala != 9

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = gauls
and I_CompareCounter settlementowner_Siga != 9

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = gauls
and I_CompareCounter settlementowner_Lixus != 9

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = gauls
and I_CompareCounter settlementowner_Ekbatana != 9

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = gauls
and I_CompareCounter settlementowner_Kallatis != 9

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = gauls
and I_CompareCounter settlementowner_Bibracte != 9

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov1
end_if


if I_SettlementOwner Cenabum = gauls
and I_CompareCounter settlementowner_Cenabum != 9

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov1
end_if


if I_SettlementOwner Eburonum = gauls
and I_CompareCounter settlementowner_Eburonum != 9

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov2
end_if


if I_SettlementOwner Pergamon = gauls
and I_CompareCounter settlementowner_Pergamon != 9

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = gauls
and I_CompareCounter settlementowner_Bostra != 9

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = gauls
and I_CompareCounter settlementowner_Bagacos != 9

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov2
end_if


if I_SettlementOwner Gordu_Neuriji = gauls
and I_CompareCounter settlementowner_Gordu_Neuriji != 9

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = gauls
and I_CompareCounter settlementowner_Iuvavoaeta != 9

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov2
end_if


if I_SettlementOwner Kirtan = gauls
and I_CompareCounter settlementowner_Kirtan != 9

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = gauls
and I_CompareCounter settlementowner_Hibis != 9

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = gauls
and I_CompareCounter settlementowner_Tylis != 9

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = gauls
and I_CompareCounter settlementowner_Side != 9

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = gauls
and I_CompareCounter settlementowner_Vindobona != 9

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov2
end_if


if I_SettlementOwner Segestica = gauls
and I_CompareCounter settlementowner_Segestica != 9

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = gauls
and I_CompareCounter settlementowner_Sinope != 9

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = gauls
and I_CompareCounter settlementowner_Kophen != 9

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = gauls
and I_CompareCounter settlementowner_Hekatompylos != 9

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = gauls
and I_CompareCounter settlementowner_Korinthos != 9

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = gauls
and I_CompareCounter settlementowner_Persepolis != 9

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = gauls
and I_CompareCounter settlementowner_Garama != 9

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = gauls
and I_CompareCounter settlementowner_Sidon != 9

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = gauls
and I_CompareCounter settlementowner_Ipsos != 9

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = gauls
and I_CompareCounter settlementowner_Ani-Kamah != 9

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = gauls
and I_CompareCounter settlementowner_Trapezous != 9

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = gauls
and I_CompareCounter settlementowner_Tamane != 9

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = gauls
and I_CompareCounter settlementowner_Veldideno != 9

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov2
end_if


if I_SettlementOwner Rhodos = gauls
and I_CompareCounter settlementowner_Rhodos != 9

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = gauls
and I_CompareCounter settlementowner_Gawjam_Rugoz != 9

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = gauls
and I_CompareCounter settlementowner_Maryab != 9

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = gauls
and I_CompareCounter settlementowner_Terhazza != 9

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = gauls
and I_CompareCounter settlementowner_Gava_Saka != 9

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = gauls
and I_CompareCounter settlementowner_Asodat != 9

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = gauls
and I_CompareCounter settlementowner_Karali != 9

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = gauls
and I_CompareCounter settlementowner_Opiana != 9

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = gauls
and I_CompareCounter settlementowner_Singidunum != 9

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = gauls
and I_CompareCounter settlementowner_Seliun_Pilis != 9

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = gauls
and I_CompareCounter settlementowner_Gintaras_Ostan != 9

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = gauls
and I_CompareCounter settlementowner_Vesontio != 9

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov1
end_if


if I_SettlementOwner Messana = gauls
and I_CompareCounter settlementowner_Messana != 9

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = gauls
and I_CompareCounter settlementowner_Gawjam_Silengoz != 9

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = gauls
and I_CompareCounter settlementowner_Petra != 9

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = gauls
and I_CompareCounter settlementowner_Patala != 9

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = gauls
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 9

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = gauls
and I_CompareCounter settlementowner_Olbia != 9

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = gauls
and I_CompareCounter settlementowner_Marakanda != 9

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = gauls
and I_CompareCounter settlementowner_Karkathiokerta != 9

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = gauls
and I_CompareCounter settlementowner_Swebotraustastamnoz != 9

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = gauls
and I_CompareCounter settlementowner_Antiocheia != 9

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = gauls
and I_CompareCounter settlementowner_Damaskos != 9

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = gauls
and I_CompareCounter settlementowner_Palmyra != 9

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = gauls
and I_CompareCounter settlementowner_Chersonesos != 9

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = gauls
and I_CompareCounter settlementowner_Diospolis_Megale != 9

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = gauls
and I_CompareCounter settlementowner_Demetrias != 9

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = gauls
and I_CompareCounter settlementowner_Naissos != 9

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = gauls
and I_CompareCounter settlementowner_Ascaucalis != 9

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = gauls
and I_CompareCounter settlementowner_Pselkis != 9

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = gauls
and I_CompareCounter settlementowner_Syracuse != 9

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = gauls
and I_CompareCounter settlementowner_Lepki != 9

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = gauls
and I_CompareCounter settlementowner_Gader != 9

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = gauls
and I_CompareCounter settlementowner_Sucum-Murgi != 9

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = gauls
and I_CompareCounter settlementowner_Ariminum != 9

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = gauls
and I_CompareCounter settlementowner_Patavium != 9

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov2
end_if


if I_SettlementOwner Vindelicoppidos = gauls
and I_CompareCounter settlementowner_Vindelicoppidos != 9

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov1
end_if


if I_SettlementOwner Tolosa = gauls
and I_CompareCounter settlementowner_Tolosa != 9

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov1
end_if


if I_SettlementOwner Chighu = gauls
and I_CompareCounter settlementowner_Chighu != 9

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = gauls
and I_CompareCounter settlementowner_Sulek != 9

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = gauls
and I_CompareCounter settlementowner_Kart_Hadast != 9

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = gauls
and I_CompareCounter settlementowner_Ubar != 9

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType germans
and not FactionIsLocal

if I_SettlementOwner Arbela = germans
and I_CompareCounter settlementowner_Arbela != 10

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = germans
and I_CompareCounter settlementowner_Phraaspa != 10

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = germans
and I_CompareCounter settlementowner_Bononia != 10

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = germans
and I_CompareCounter settlementowner_Kabalaka != 10

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = germans
and I_CompareCounter settlementowner_Thermon != 10

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = germans
and I_CompareCounter settlementowner_Arpi != 10

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = germans
and I_CompareCounter settlementowner_Burdigala != 10

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = germans
and I_CompareCounter settlementowner_Babylon != 10

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = germans
and I_CompareCounter settlementowner_Alexandropolis != 10

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = germans
and I_CompareCounter settlementowner_Alexandreia_Ariana != 10

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = germans
and I_CompareCounter settlementowner_Darioritum != 10

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = germans
and I_CompareCounter settlementowner_Gergovia != 10

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = germans
and I_CompareCounter settlementowner_Edessa != 10

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = germans
and I_CompareCounter settlementowner_Asaak != 10

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = germans
and I_CompareCounter settlementowner_Pallantia != 10

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = germans
and I_CompareCounter settlementowner_Athenai != 10

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = germans
and I_CompareCounter settlementowner_Augila_settlement != 10

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = germans
and I_CompareCounter settlementowner_Seleukeia != 10

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = germans
and I_CompareCounter settlementowner_Baktra != 10

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = germans
and I_CompareCounter settlementowner_Bocchoris != 10

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = germans
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 10

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov2
end_if


if I_SettlementOwner Mastia = germans
and I_CompareCounter settlementowner_Mastia != 10

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = germans
and I_CompareCounter settlementowner_Avaricum != 10

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = germans
and I_CompareCounter settlementowner_Bratosporios != 10

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov2
end_if


if I_SettlementOwner Nikaia = germans
and I_CompareCounter settlementowner_Nikaia != 10

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = germans
and I_CompareCounter settlementowner_Pantikapaion != 10

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = germans
and I_CompareCounter settlementowner_Rhegion != 10

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = germans
and I_CompareCounter settlementowner_Caern_Brigantae != 10

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = germans
and I_CompareCounter settlementowner_Gelonus != 10

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = germans
and I_CompareCounter settlementowner_Adrumeto != 10

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = germans
and I_CompareCounter settlementowner_Attuaca != 10

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = germans
and I_CompareCounter settlementowner_Capua != 10

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = germans
and I_CompareCounter settlementowner_Vellika != 10

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = germans
and I_CompareCounter settlementowner_Baikor != 10

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = germans
and I_CompareCounter settlementowner_Camulosadae != 10

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = germans
and I_CompareCounter settlementowner_Numantia != 10

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = germans
and I_CompareCounter settlementowner_Charax != 10

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = germans
and I_CompareCounter settlementowner_Byzantion != 10

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = germans
and I_CompareCounter settlementowner_Ptolemais_Theron != 10

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = germans
and I_CompareCounter settlementowner_Ratae != 10

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = germans
and I_CompareCounter settlementowner_Ictis != 10

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = germans
and I_CompareCounter settlementowner_Lucarottea != 10

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov2
end_if


if I_SettlementOwner Emain_Macha = germans
and I_CompareCounter settlementowner_Emain_Macha != 10

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = germans
and I_CompareCounter settlementowner_Atiqa != 10

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = germans
and I_CompareCounter settlementowner_Ynys_Mon != 10

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = germans
and I_CompareCounter settlementowner_Gava_Alanna != 10

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = germans
and I_CompareCounter settlementowner_Gava_Aursa != 10

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = germans
and I_CompareCounter settlementowner_Nisa != 10

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = germans
and I_CompareCounter settlementowner_Gava_Haomavarga != 10

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = germans
and I_CompareCounter settlementowner_Gava_Mazsakata != 10

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = germans
and I_CompareCounter settlementowner_Gava_Roxsalanna != 10

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = germans
and I_CompareCounter settlementowner_Uspe != 10

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = germans
and I_CompareCounter settlementowner_Gava_Thissakata != 10

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = germans
and I_CompareCounter settlementowner_Gava_Yazyga != 10

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = germans
and I_CompareCounter settlementowner_Gava_Yugra != 10

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = germans
and I_CompareCounter settlementowner_Dalminion != 10

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = germans
and I_CompareCounter settlementowner_Serdike != 10

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = germans
and I_CompareCounter settlementowner_Alexandreia_Eschate != 10

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = germans
and I_CompareCounter settlementowner_Alexandreia != 10

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = germans
and I_CompareCounter settlementowner_Axum != 10

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = germans
and I_CompareCounter settlementowner_Prophthasia != 10

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = germans
and I_CompareCounter settlementowner_Arse != 10

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = germans
and I_CompareCounter settlementowner_Kotais != 10

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = germans
and I_CompareCounter settlementowner_Lilibeo != 10

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = germans
and I_CompareCounter settlementowner_Susa != 10

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = germans
and I_CompareCounter settlementowner_Apollonia != 10

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = germans
and I_CompareCounter settlementowner_Ivernis != 10

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = germans
and I_CompareCounter settlementowner_Ak_Ink != 10

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov2
end_if


if I_SettlementOwner Arretium = germans
and I_CompareCounter settlementowner_Arretium != 10

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = germans
and I_CompareCounter settlementowner_Chalkis != 10

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = germans
and I_CompareCounter settlementowner_Gabai != 10

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = germans
and I_CompareCounter settlementowner_Tuat != 10

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = germans
and I_CompareCounter settlementowner_Tyde != 10

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = germans
and I_CompareCounter settlementowner_Ankyra != 10

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = germans
and I_CompareCounter settlementowner_Taksashila != 10

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = germans
and I_CompareCounter settlementowner_Pura != 10

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = germans
and I_CompareCounter settlementowner_Gerrha != 10

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = germans
and I_CompareCounter settlementowner_Buridava != 10

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = germans
and I_CompareCounter settlementowner_Sarmiszegethusa != 10

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = germans
and I_CompareCounter settlementowner_Massalia != 10

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = germans
and I_CompareCounter settlementowner_Gawjam_Habukoz != 10

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov1
end_if


if I_SettlementOwner Sabata = germans
and I_CompareCounter settlementowner_Sabata != 10

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = germans
and I_CompareCounter settlementowner_Arctaunon != 10

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov1
end_if


if I_SettlementOwner Armavir = germans
and I_CompareCounter settlementowner_Armavir != 10

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = germans
and I_CompareCounter settlementowner_Aventicos != 10

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov2
end_if


if I_SettlementOwner Memphis = germans
and I_CompareCounter settlementowner_Memphis != 10

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = germans
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 10

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov1
end_if


if I_SettlementOwner Zadrakata = germans
and I_CompareCounter settlementowner_Zadrakata != 10

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = germans
and I_CompareCounter settlementowner_Epidamnos != 10

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = germans
and I_CompareCounter settlementowner_Mediolanum != 10

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = germans
and I_CompareCounter settlementowner_Hierosolyma != 10

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = germans
and I_CompareCounter settlementowner_Taras != 10

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = germans
and I_CompareCounter settlementowner_Chach != 10

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = germans
and I_CompareCounter settlementowner_Mazaka != 10

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = germans
and I_CompareCounter settlementowner_Amaseia != 10

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = germans
and I_CompareCounter settlementowner_Halikarnassos != 10

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = germans
and I_CompareCounter settlementowner_Karmana != 10

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = germans
and I_CompareCounter settlementowner_Mtskheta != 10

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = germans
and I_CompareCounter settlementowner_Apameia != 10

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = germans
and I_CompareCounter settlementowner_Khiva != 10

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = germans
and I_CompareCounter settlementowner_Tarsos != 10

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = germans
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 10

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov1
end_if


if I_SettlementOwner Alalia = germans
and I_CompareCounter settlementowner_Alalia != 10

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = germans
and I_CompareCounter settlementowner_Kydonia != 10

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = germans
and I_CompareCounter settlementowner_Meroe != 10

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = germans
and I_CompareCounter settlementowner_Salamis != 10

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = germans
and I_CompareCounter settlementowner_Kyrene != 10

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = germans
and I_CompareCounter settlementowner_Emporion != 10

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = germans
and I_CompareCounter settlementowner_Sparte != 10

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = germans
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 10

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov1
end_if


if I_SettlementOwner Rome = germans
and I_CompareCounter settlementowner_Rome != 10

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = germans
and I_CompareCounter settlementowner_Lemonum != 10

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = germans
and I_CompareCounter settlementowner_Mytilene != 10

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = germans
and I_CompareCounter settlementowner_Ammonion != 10

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = germans
and I_CompareCounter settlementowner_Segesta != 10

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = germans
and I_CompareCounter settlementowner_Viennos != 10

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov2
end_if


if I_SettlementOwner Carrodunum = germans
and I_CompareCounter settlementowner_Carrodunum != 10

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov2
end_if


if I_SettlementOwner Oxtraca = germans
and I_CompareCounter settlementowner_Oxtraca != 10

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = germans
and I_CompareCounter settlementowner_Sardis != 10

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = germans
and I_CompareCounter settlementowner_Tanais != 10

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = germans
and I_CompareCounter settlementowner_Carna != 10

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = germans
and I_CompareCounter settlementowner_Pella != 10

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = germans
and I_CompareCounter settlementowner_Homna != 10

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = germans
and I_CompareCounter settlementowner_Antiocheia_Margiane != 10

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = germans
and I_CompareCounter settlementowner_Paraitonion != 10

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = germans
and I_CompareCounter settlementowner_Ippone != 10

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = germans
and I_CompareCounter settlementowner_Sala != 10

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = germans
and I_CompareCounter settlementowner_Siga != 10

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = germans
and I_CompareCounter settlementowner_Lixus != 10

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = germans
and I_CompareCounter settlementowner_Ekbatana != 10

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = germans
and I_CompareCounter settlementowner_Kallatis != 10

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = germans
and I_CompareCounter settlementowner_Bibracte != 10

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov2
end_if


if I_SettlementOwner Cenabum = germans
and I_CompareCounter settlementowner_Cenabum != 10

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = germans
and I_CompareCounter settlementowner_Eburonum != 10

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov2
end_if


if I_SettlementOwner Pergamon = germans
and I_CompareCounter settlementowner_Pergamon != 10

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = germans
and I_CompareCounter settlementowner_Bostra != 10

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = germans
and I_CompareCounter settlementowner_Bagacos != 10

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov2
end_if


if I_SettlementOwner Gordu_Neuriji = germans
and I_CompareCounter settlementowner_Gordu_Neuriji != 10

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = germans
and I_CompareCounter settlementowner_Iuvavoaeta != 10

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov2
end_if


if I_SettlementOwner Kirtan = germans
and I_CompareCounter settlementowner_Kirtan != 10

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = germans
and I_CompareCounter settlementowner_Hibis != 10

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = germans
and I_CompareCounter settlementowner_Tylis != 10

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = germans
and I_CompareCounter settlementowner_Side != 10

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = germans
and I_CompareCounter settlementowner_Vindobona != 10

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov2
end_if


if I_SettlementOwner Segestica = germans
and I_CompareCounter settlementowner_Segestica != 10

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = germans
and I_CompareCounter settlementowner_Sinope != 10

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = germans
and I_CompareCounter settlementowner_Kophen != 10

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = germans
and I_CompareCounter settlementowner_Hekatompylos != 10

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = germans
and I_CompareCounter settlementowner_Korinthos != 10

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = germans
and I_CompareCounter settlementowner_Persepolis != 10

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = germans
and I_CompareCounter settlementowner_Garama != 10

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = germans
and I_CompareCounter settlementowner_Sidon != 10

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = germans
and I_CompareCounter settlementowner_Ipsos != 10

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = germans
and I_CompareCounter settlementowner_Ani-Kamah != 10

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = germans
and I_CompareCounter settlementowner_Trapezous != 10

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = germans
and I_CompareCounter settlementowner_Tamane != 10

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = germans
and I_CompareCounter settlementowner_Veldideno != 10

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov2
end_if


if I_SettlementOwner Rhodos = germans
and I_CompareCounter settlementowner_Rhodos != 10

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = germans
and I_CompareCounter settlementowner_Gawjam_Rugoz != 10

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov1
end_if


if I_SettlementOwner Maryab = germans
and I_CompareCounter settlementowner_Maryab != 10

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = germans
and I_CompareCounter settlementowner_Terhazza != 10

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = germans
and I_CompareCounter settlementowner_Gava_Saka != 10

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = germans
and I_CompareCounter settlementowner_Asodat != 10

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = germans
and I_CompareCounter settlementowner_Karali != 10

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = germans
and I_CompareCounter settlementowner_Opiana != 10

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = germans
and I_CompareCounter settlementowner_Singidunum != 10

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = germans
and I_CompareCounter settlementowner_Seliun_Pilis != 10

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = germans
and I_CompareCounter settlementowner_Gintaras_Ostan != 10

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov2
end_if


if I_SettlementOwner Vesontio = germans
and I_CompareCounter settlementowner_Vesontio != 10

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov2
end_if


if I_SettlementOwner Messana = germans
and I_CompareCounter settlementowner_Messana != 10

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = germans
and I_CompareCounter settlementowner_Gawjam_Silengoz != 10

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov1
end_if


if I_SettlementOwner Petra = germans
and I_CompareCounter settlementowner_Petra != 10

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = germans
and I_CompareCounter settlementowner_Patala != 10

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = germans
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 10

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov1
end_if


if I_SettlementOwner Olbia = germans
and I_CompareCounter settlementowner_Olbia != 10

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = germans
and I_CompareCounter settlementowner_Marakanda != 10

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = germans
and I_CompareCounter settlementowner_Karkathiokerta != 10

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = germans
and I_CompareCounter settlementowner_Swebotraustastamnoz != 10

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov1
end_if


if I_SettlementOwner Antiocheia = germans
and I_CompareCounter settlementowner_Antiocheia != 10

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = germans
and I_CompareCounter settlementowner_Damaskos != 10

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = germans
and I_CompareCounter settlementowner_Palmyra != 10

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = germans
and I_CompareCounter settlementowner_Chersonesos != 10

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = germans
and I_CompareCounter settlementowner_Diospolis_Megale != 10

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = germans
and I_CompareCounter settlementowner_Demetrias != 10

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = germans
and I_CompareCounter settlementowner_Naissos != 10

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = germans
and I_CompareCounter settlementowner_Ascaucalis != 10

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov2
end_if


if I_SettlementOwner Pselkis = germans
and I_CompareCounter settlementowner_Pselkis != 10

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = germans
and I_CompareCounter settlementowner_Syracuse != 10

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = germans
and I_CompareCounter settlementowner_Lepki != 10

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = germans
and I_CompareCounter settlementowner_Gader != 10

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = germans
and I_CompareCounter settlementowner_Sucum-Murgi != 10

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = germans
and I_CompareCounter settlementowner_Ariminum != 10

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = germans
and I_CompareCounter settlementowner_Patavium != 10

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = germans
and I_CompareCounter settlementowner_Vindelicoppidos != 10

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov2
end_if


if I_SettlementOwner Tolosa = germans
and I_CompareCounter settlementowner_Tolosa != 10

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = germans
and I_CompareCounter settlementowner_Chighu != 10

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = germans
and I_CompareCounter settlementowner_Sulek != 10

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = germans
and I_CompareCounter settlementowner_Kart_Hadast != 10

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = germans
and I_CompareCounter settlementowner_Ubar != 10

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType britons
and not FactionIsLocal

if I_SettlementOwner Arbela = britons
and I_CompareCounter settlementowner_Arbela != 11

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = britons
and I_CompareCounter settlementowner_Phraaspa != 11

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = britons
and I_CompareCounter settlementowner_Bononia != 11

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov2
end_if


if I_SettlementOwner Kabalaka = britons
and I_CompareCounter settlementowner_Kabalaka != 11

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = britons
and I_CompareCounter settlementowner_Thermon != 11

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = britons
and I_CompareCounter settlementowner_Arpi != 11

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = britons
and I_CompareCounter settlementowner_Burdigala != 11

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov2
end_if


if I_SettlementOwner Babylon = britons
and I_CompareCounter settlementowner_Babylon != 11

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = britons
and I_CompareCounter settlementowner_Alexandropolis != 11

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = britons
and I_CompareCounter settlementowner_Alexandreia_Ariana != 11

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = britons
and I_CompareCounter settlementowner_Darioritum != 11

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov2
end_if


if I_SettlementOwner Gergovia = britons
and I_CompareCounter settlementowner_Gergovia != 11

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov2
end_if


if I_SettlementOwner Edessa = britons
and I_CompareCounter settlementowner_Edessa != 11

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = britons
and I_CompareCounter settlementowner_Asaak != 11

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = britons
and I_CompareCounter settlementowner_Pallantia != 11

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov2
end_if


if I_SettlementOwner Athenai = britons
and I_CompareCounter settlementowner_Athenai != 11

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = britons
and I_CompareCounter settlementowner_Augila_settlement != 11

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = britons
and I_CompareCounter settlementowner_Seleukeia != 11

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = britons
and I_CompareCounter settlementowner_Baktra != 11

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = britons
and I_CompareCounter settlementowner_Bocchoris != 11

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = britons
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 11

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = britons
and I_CompareCounter settlementowner_Mastia != 11

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = britons
and I_CompareCounter settlementowner_Avaricum != 11

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov2
end_if


if I_SettlementOwner Bratosporios = britons
and I_CompareCounter settlementowner_Bratosporios != 11

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov1
end_if


if I_SettlementOwner Nikaia = britons
and I_CompareCounter settlementowner_Nikaia != 11

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = britons
and I_CompareCounter settlementowner_Pantikapaion != 11

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = britons
and I_CompareCounter settlementowner_Rhegion != 11

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = britons
and I_CompareCounter settlementowner_Caern_Brigantae != 11

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov2
end_if


if I_SettlementOwner Gelonus = britons
and I_CompareCounter settlementowner_Gelonus != 11

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = britons
and I_CompareCounter settlementowner_Adrumeto != 11

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = britons
and I_CompareCounter settlementowner_Attuaca != 11

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov2
end_if


if I_SettlementOwner Capua = britons
and I_CompareCounter settlementowner_Capua != 11

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = britons
and I_CompareCounter settlementowner_Vellika != 11

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov2
end_if


if I_SettlementOwner Baikor = britons
and I_CompareCounter settlementowner_Baikor != 11

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = britons
and I_CompareCounter settlementowner_Camulosadae != 11

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov1
end_if


if I_SettlementOwner Numantia = britons
and I_CompareCounter settlementowner_Numantia != 11

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov2
end_if


if I_SettlementOwner Charax = britons
and I_CompareCounter settlementowner_Charax != 11

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = britons
and I_CompareCounter settlementowner_Byzantion != 11

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = britons
and I_CompareCounter settlementowner_Ptolemais_Theron != 11

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = britons
and I_CompareCounter settlementowner_Ratae != 11

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov1
end_if


if I_SettlementOwner Ictis = britons
and I_CompareCounter settlementowner_Ictis != 11

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov1
end_if


if I_SettlementOwner Lucarottea = britons
and I_CompareCounter settlementowner_Lucarottea != 11

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov2
end_if


if I_SettlementOwner Emain_Macha = britons
and I_CompareCounter settlementowner_Emain_Macha != 11

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov2
end_if


if I_SettlementOwner Atiqa = britons
and I_CompareCounter settlementowner_Atiqa != 11

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = britons
and I_CompareCounter settlementowner_Ynys_Mon != 11

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov1
end_if


if I_SettlementOwner Gava_Alanna = britons
and I_CompareCounter settlementowner_Gava_Alanna != 11

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = britons
and I_CompareCounter settlementowner_Gava_Aursa != 11

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = britons
and I_CompareCounter settlementowner_Nisa != 11

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = britons
and I_CompareCounter settlementowner_Gava_Haomavarga != 11

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = britons
and I_CompareCounter settlementowner_Gava_Mazsakata != 11

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = britons
and I_CompareCounter settlementowner_Gava_Roxsalanna != 11

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = britons
and I_CompareCounter settlementowner_Uspe != 11

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = britons
and I_CompareCounter settlementowner_Gava_Thissakata != 11

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = britons
and I_CompareCounter settlementowner_Gava_Yazyga != 11

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = britons
and I_CompareCounter settlementowner_Gava_Yugra != 11

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = britons
and I_CompareCounter settlementowner_Dalminion != 11

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = britons
and I_CompareCounter settlementowner_Serdike != 11

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov2
end_if


if I_SettlementOwner Alexandreia_Eschate = britons
and I_CompareCounter settlementowner_Alexandreia_Eschate != 11

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = britons
and I_CompareCounter settlementowner_Alexandreia != 11

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = britons
and I_CompareCounter settlementowner_Axum != 11

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = britons
and I_CompareCounter settlementowner_Prophthasia != 11

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = britons
and I_CompareCounter settlementowner_Arse != 11

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = britons
and I_CompareCounter settlementowner_Kotais != 11

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = britons
and I_CompareCounter settlementowner_Lilibeo != 11

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = britons
and I_CompareCounter settlementowner_Susa != 11

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = britons
and I_CompareCounter settlementowner_Apollonia != 11

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = britons
and I_CompareCounter settlementowner_Ivernis != 11

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = britons
and I_CompareCounter settlementowner_Ak_Ink != 11

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov2
end_if


if I_SettlementOwner Arretium = britons
and I_CompareCounter settlementowner_Arretium != 11

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = britons
and I_CompareCounter settlementowner_Chalkis != 11

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = britons
and I_CompareCounter settlementowner_Gabai != 11

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = britons
and I_CompareCounter settlementowner_Tuat != 11

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = britons
and I_CompareCounter settlementowner_Tyde != 11

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov2
end_if


if I_SettlementOwner Ankyra = britons
and I_CompareCounter settlementowner_Ankyra != 11

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov2
end_if


if I_SettlementOwner Taksashila = britons
and I_CompareCounter settlementowner_Taksashila != 11

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = britons
and I_CompareCounter settlementowner_Pura != 11

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = britons
and I_CompareCounter settlementowner_Gerrha != 11

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = britons
and I_CompareCounter settlementowner_Buridava != 11

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = britons
and I_CompareCounter settlementowner_Sarmiszegethusa != 11

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = britons
and I_CompareCounter settlementowner_Massalia != 11

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = britons
and I_CompareCounter settlementowner_Gawjam_Habukoz != 11

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = britons
and I_CompareCounter settlementowner_Sabata != 11

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = britons
and I_CompareCounter settlementowner_Arctaunon != 11

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = britons
and I_CompareCounter settlementowner_Armavir != 11

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = britons
and I_CompareCounter settlementowner_Aventicos != 11

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov2
end_if


if I_SettlementOwner Memphis = britons
and I_CompareCounter settlementowner_Memphis != 11

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = britons
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 11

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = britons
and I_CompareCounter settlementowner_Zadrakata != 11

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = britons
and I_CompareCounter settlementowner_Epidamnos != 11

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = britons
and I_CompareCounter settlementowner_Mediolanum != 11

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov2
end_if


if I_SettlementOwner Hierosolyma = britons
and I_CompareCounter settlementowner_Hierosolyma != 11

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = britons
and I_CompareCounter settlementowner_Taras != 11

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = britons
and I_CompareCounter settlementowner_Chach != 11

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = britons
and I_CompareCounter settlementowner_Mazaka != 11

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = britons
and I_CompareCounter settlementowner_Amaseia != 11

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = britons
and I_CompareCounter settlementowner_Halikarnassos != 11

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = britons
and I_CompareCounter settlementowner_Karmana != 11

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = britons
and I_CompareCounter settlementowner_Mtskheta != 11

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = britons
and I_CompareCounter settlementowner_Apameia != 11

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = britons
and I_CompareCounter settlementowner_Khiva != 11

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = britons
and I_CompareCounter settlementowner_Tarsos != 11

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = britons
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 11

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = britons
and I_CompareCounter settlementowner_Alalia != 11

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = britons
and I_CompareCounter settlementowner_Kydonia != 11

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = britons
and I_CompareCounter settlementowner_Meroe != 11

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = britons
and I_CompareCounter settlementowner_Salamis != 11

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = britons
and I_CompareCounter settlementowner_Kyrene != 11

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = britons
and I_CompareCounter settlementowner_Emporion != 11

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = britons
and I_CompareCounter settlementowner_Sparte != 11

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = britons
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 11

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = britons
and I_CompareCounter settlementowner_Rome != 11

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = britons
and I_CompareCounter settlementowner_Lemonum != 11

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov2
end_if


if I_SettlementOwner Mytilene = britons
and I_CompareCounter settlementowner_Mytilene != 11

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = britons
and I_CompareCounter settlementowner_Ammonion != 11

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = britons
and I_CompareCounter settlementowner_Segesta != 11

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov2
end_if


if I_SettlementOwner Viennos = britons
and I_CompareCounter settlementowner_Viennos != 11

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov2
end_if


if I_SettlementOwner Carrodunum = britons
and I_CompareCounter settlementowner_Carrodunum != 11

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov2
end_if


if I_SettlementOwner Oxtraca = britons
and I_CompareCounter settlementowner_Oxtraca != 11

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov2
end_if


if I_SettlementOwner Sardis = britons
and I_CompareCounter settlementowner_Sardis != 11

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = britons
and I_CompareCounter settlementowner_Tanais != 11

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = britons
and I_CompareCounter settlementowner_Carna != 11

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = britons
and I_CompareCounter settlementowner_Pella != 11

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = britons
and I_CompareCounter settlementowner_Homna != 11

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = britons
and I_CompareCounter settlementowner_Antiocheia_Margiane != 11

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = britons
and I_CompareCounter settlementowner_Paraitonion != 11

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = britons
and I_CompareCounter settlementowner_Ippone != 11

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = britons
and I_CompareCounter settlementowner_Sala != 11

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = britons
and I_CompareCounter settlementowner_Siga != 11

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = britons
and I_CompareCounter settlementowner_Lixus != 11

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = britons
and I_CompareCounter settlementowner_Ekbatana != 11

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = britons
and I_CompareCounter settlementowner_Kallatis != 11

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = britons
and I_CompareCounter settlementowner_Bibracte != 11

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov2
end_if


if I_SettlementOwner Cenabum = britons
and I_CompareCounter settlementowner_Cenabum != 11

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov2
end_if


if I_SettlementOwner Eburonum = britons
and I_CompareCounter settlementowner_Eburonum != 11

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov2
end_if


if I_SettlementOwner Pergamon = britons
and I_CompareCounter settlementowner_Pergamon != 11

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = britons
and I_CompareCounter settlementowner_Bostra != 11

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = britons
and I_CompareCounter settlementowner_Bagacos != 11

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov1
end_if


if I_SettlementOwner Gordu_Neuriji = britons
and I_CompareCounter settlementowner_Gordu_Neuriji != 11

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = britons
and I_CompareCounter settlementowner_Iuvavoaeta != 11

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov2
end_if


if I_SettlementOwner Kirtan = britons
and I_CompareCounter settlementowner_Kirtan != 11

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = britons
and I_CompareCounter settlementowner_Hibis != 11

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = britons
and I_CompareCounter settlementowner_Tylis != 11

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = britons
and I_CompareCounter settlementowner_Side != 11

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = britons
and I_CompareCounter settlementowner_Vindobona != 11

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov2
end_if


if I_SettlementOwner Segestica = britons
and I_CompareCounter settlementowner_Segestica != 11

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = britons
and I_CompareCounter settlementowner_Sinope != 11

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = britons
and I_CompareCounter settlementowner_Kophen != 11

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = britons
and I_CompareCounter settlementowner_Hekatompylos != 11

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = britons
and I_CompareCounter settlementowner_Korinthos != 11

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = britons
and I_CompareCounter settlementowner_Persepolis != 11

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = britons
and I_CompareCounter settlementowner_Garama != 11

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = britons
and I_CompareCounter settlementowner_Sidon != 11

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = britons
and I_CompareCounter settlementowner_Ipsos != 11

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = britons
and I_CompareCounter settlementowner_Ani-Kamah != 11

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = britons
and I_CompareCounter settlementowner_Trapezous != 11

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = britons
and I_CompareCounter settlementowner_Tamane != 11

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = britons
and I_CompareCounter settlementowner_Veldideno != 11

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov2
end_if


if I_SettlementOwner Rhodos = britons
and I_CompareCounter settlementowner_Rhodos != 11

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = britons
and I_CompareCounter settlementowner_Gawjam_Rugoz != 11

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = britons
and I_CompareCounter settlementowner_Maryab != 11

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = britons
and I_CompareCounter settlementowner_Terhazza != 11

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = britons
and I_CompareCounter settlementowner_Gava_Saka != 11

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = britons
and I_CompareCounter settlementowner_Asodat != 11

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = britons
and I_CompareCounter settlementowner_Karali != 11

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = britons
and I_CompareCounter settlementowner_Opiana != 11

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = britons
and I_CompareCounter settlementowner_Singidunum != 11

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov2
end_if


if I_SettlementOwner Seliun_Pilis = britons
and I_CompareCounter settlementowner_Seliun_Pilis != 11

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = britons
and I_CompareCounter settlementowner_Gintaras_Ostan != 11

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = britons
and I_CompareCounter settlementowner_Vesontio != 11

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov2
end_if


if I_SettlementOwner Messana = britons
and I_CompareCounter settlementowner_Messana != 11

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = britons
and I_CompareCounter settlementowner_Gawjam_Silengoz != 11

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = britons
and I_CompareCounter settlementowner_Petra != 11

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = britons
and I_CompareCounter settlementowner_Patala != 11

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = britons
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 11

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = britons
and I_CompareCounter settlementowner_Olbia != 11

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = britons
and I_CompareCounter settlementowner_Marakanda != 11

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = britons
and I_CompareCounter settlementowner_Karkathiokerta != 11

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = britons
and I_CompareCounter settlementowner_Swebotraustastamnoz != 11

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = britons
and I_CompareCounter settlementowner_Antiocheia != 11

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = britons
and I_CompareCounter settlementowner_Damaskos != 11

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = britons
and I_CompareCounter settlementowner_Palmyra != 11

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = britons
and I_CompareCounter settlementowner_Chersonesos != 11

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = britons
and I_CompareCounter settlementowner_Diospolis_Megale != 11

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = britons
and I_CompareCounter settlementowner_Demetrias != 11

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = britons
and I_CompareCounter settlementowner_Naissos != 11

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = britons
and I_CompareCounter settlementowner_Ascaucalis != 11

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = britons
and I_CompareCounter settlementowner_Pselkis != 11

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = britons
and I_CompareCounter settlementowner_Syracuse != 11

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = britons
and I_CompareCounter settlementowner_Lepki != 11

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = britons
and I_CompareCounter settlementowner_Gader != 11

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = britons
and I_CompareCounter settlementowner_Sucum-Murgi != 11

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = britons
and I_CompareCounter settlementowner_Ariminum != 11

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = britons
and I_CompareCounter settlementowner_Patavium != 11

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = britons
and I_CompareCounter settlementowner_Vindelicoppidos != 11

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov2
end_if


if I_SettlementOwner Tolosa = britons
and I_CompareCounter settlementowner_Tolosa != 11

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov2
end_if


if I_SettlementOwner Chighu = britons
and I_CompareCounter settlementowner_Chighu != 11

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = britons
and I_CompareCounter settlementowner_Sulek != 11

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = britons
and I_CompareCounter settlementowner_Kart_Hadast != 11

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = britons
and I_CompareCounter settlementowner_Ubar != 11

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType spain
and not FactionIsLocal

if I_SettlementOwner Arbela = spain
and I_CompareCounter settlementowner_Arbela != 12

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = spain
and I_CompareCounter settlementowner_Phraaspa != 12

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = spain
and I_CompareCounter settlementowner_Bononia != 12

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = spain
and I_CompareCounter settlementowner_Kabalaka != 12

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = spain
and I_CompareCounter settlementowner_Thermon != 12

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = spain
and I_CompareCounter settlementowner_Arpi != 12

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = spain
and I_CompareCounter settlementowner_Burdigala != 12

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov2
end_if


if I_SettlementOwner Babylon = spain
and I_CompareCounter settlementowner_Babylon != 12

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = spain
and I_CompareCounter settlementowner_Alexandropolis != 12

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = spain
and I_CompareCounter settlementowner_Alexandreia_Ariana != 12

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = spain
and I_CompareCounter settlementowner_Darioritum != 12

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = spain
and I_CompareCounter settlementowner_Gergovia != 12

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = spain
and I_CompareCounter settlementowner_Edessa != 12

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = spain
and I_CompareCounter settlementowner_Asaak != 12

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = spain
and I_CompareCounter settlementowner_Pallantia != 12

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov1
end_if


if I_SettlementOwner Athenai = spain
and I_CompareCounter settlementowner_Athenai != 12

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = spain
and I_CompareCounter settlementowner_Augila_settlement != 12

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = spain
and I_CompareCounter settlementowner_Seleukeia != 12

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = spain
and I_CompareCounter settlementowner_Baktra != 12

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = spain
and I_CompareCounter settlementowner_Bocchoris != 12

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov2
end_if


if I_SettlementOwner Gawjam_Bastarnoz = spain
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 12

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = spain
and I_CompareCounter settlementowner_Mastia != 12

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov2
end_if


if I_SettlementOwner Avaricum = spain
and I_CompareCounter settlementowner_Avaricum != 12

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = spain
and I_CompareCounter settlementowner_Bratosporios != 12

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = spain
and I_CompareCounter settlementowner_Nikaia != 12

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = spain
and I_CompareCounter settlementowner_Pantikapaion != 12

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = spain
and I_CompareCounter settlementowner_Rhegion != 12

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = spain
and I_CompareCounter settlementowner_Caern_Brigantae != 12

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = spain
and I_CompareCounter settlementowner_Gelonus != 12

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = spain
and I_CompareCounter settlementowner_Adrumeto != 12

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = spain
and I_CompareCounter settlementowner_Attuaca != 12

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = spain
and I_CompareCounter settlementowner_Capua != 12

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = spain
and I_CompareCounter settlementowner_Vellika != 12

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov1
end_if


if I_SettlementOwner Baikor = spain
and I_CompareCounter settlementowner_Baikor != 12

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov1
end_if


if I_SettlementOwner Camulosadae = spain
and I_CompareCounter settlementowner_Camulosadae != 12

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = spain
and I_CompareCounter settlementowner_Numantia != 12

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov1
end_if


if I_SettlementOwner Charax = spain
and I_CompareCounter settlementowner_Charax != 12

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = spain
and I_CompareCounter settlementowner_Byzantion != 12

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = spain
and I_CompareCounter settlementowner_Ptolemais_Theron != 12

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = spain
and I_CompareCounter settlementowner_Ratae != 12

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = spain
and I_CompareCounter settlementowner_Ictis != 12

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = spain
and I_CompareCounter settlementowner_Lucarottea != 12

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = spain
and I_CompareCounter settlementowner_Emain_Macha != 12

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov2
end_if


if I_SettlementOwner Atiqa = spain
and I_CompareCounter settlementowner_Atiqa != 12

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = spain
and I_CompareCounter settlementowner_Ynys_Mon != 12

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = spain
and I_CompareCounter settlementowner_Gava_Alanna != 12

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = spain
and I_CompareCounter settlementowner_Gava_Aursa != 12

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = spain
and I_CompareCounter settlementowner_Nisa != 12

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = spain
and I_CompareCounter settlementowner_Gava_Haomavarga != 12

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = spain
and I_CompareCounter settlementowner_Gava_Mazsakata != 12

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = spain
and I_CompareCounter settlementowner_Gava_Roxsalanna != 12

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = spain
and I_CompareCounter settlementowner_Uspe != 12

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = spain
and I_CompareCounter settlementowner_Gava_Thissakata != 12

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = spain
and I_CompareCounter settlementowner_Gava_Yazyga != 12

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = spain
and I_CompareCounter settlementowner_Gava_Yugra != 12

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = spain
and I_CompareCounter settlementowner_Dalminion != 12

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = spain
and I_CompareCounter settlementowner_Serdike != 12

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = spain
and I_CompareCounter settlementowner_Alexandreia_Eschate != 12

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = spain
and I_CompareCounter settlementowner_Alexandreia != 12

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = spain
and I_CompareCounter settlementowner_Axum != 12

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = spain
and I_CompareCounter settlementowner_Prophthasia != 12

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = spain
and I_CompareCounter settlementowner_Arse != 12

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov1
end_if


if I_SettlementOwner Kotais = spain
and I_CompareCounter settlementowner_Kotais != 12

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = spain
and I_CompareCounter settlementowner_Lilibeo != 12

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = spain
and I_CompareCounter settlementowner_Susa != 12

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = spain
and I_CompareCounter settlementowner_Apollonia != 12

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = spain
and I_CompareCounter settlementowner_Ivernis != 12

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov2
end_if


if I_SettlementOwner Ak_Ink = spain
and I_CompareCounter settlementowner_Ak_Ink != 12

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = spain
and I_CompareCounter settlementowner_Arretium != 12

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = spain
and I_CompareCounter settlementowner_Chalkis != 12

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = spain
and I_CompareCounter settlementowner_Gabai != 12

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = spain
and I_CompareCounter settlementowner_Tuat != 12

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = spain
and I_CompareCounter settlementowner_Tyde != 12

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov1
end_if


if I_SettlementOwner Ankyra = spain
and I_CompareCounter settlementowner_Ankyra != 12

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = spain
and I_CompareCounter settlementowner_Taksashila != 12

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = spain
and I_CompareCounter settlementowner_Pura != 12

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = spain
and I_CompareCounter settlementowner_Gerrha != 12

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = spain
and I_CompareCounter settlementowner_Buridava != 12

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = spain
and I_CompareCounter settlementowner_Sarmiszegethusa != 12

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = spain
and I_CompareCounter settlementowner_Massalia != 12

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = spain
and I_CompareCounter settlementowner_Gawjam_Habukoz != 12

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = spain
and I_CompareCounter settlementowner_Sabata != 12

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = spain
and I_CompareCounter settlementowner_Arctaunon != 12

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = spain
and I_CompareCounter settlementowner_Armavir != 12

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = spain
and I_CompareCounter settlementowner_Aventicos != 12

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = spain
and I_CompareCounter settlementowner_Memphis != 12

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = spain
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 12

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = spain
and I_CompareCounter settlementowner_Zadrakata != 12

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = spain
and I_CompareCounter settlementowner_Epidamnos != 12

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = spain
and I_CompareCounter settlementowner_Mediolanum != 12

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = spain
and I_CompareCounter settlementowner_Hierosolyma != 12

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = spain
and I_CompareCounter settlementowner_Taras != 12

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = spain
and I_CompareCounter settlementowner_Chach != 12

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = spain
and I_CompareCounter settlementowner_Mazaka != 12

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = spain
and I_CompareCounter settlementowner_Amaseia != 12

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = spain
and I_CompareCounter settlementowner_Halikarnassos != 12

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = spain
and I_CompareCounter settlementowner_Karmana != 12

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = spain
and I_CompareCounter settlementowner_Mtskheta != 12

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = spain
and I_CompareCounter settlementowner_Apameia != 12

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = spain
and I_CompareCounter settlementowner_Khiva != 12

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = spain
and I_CompareCounter settlementowner_Tarsos != 12

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = spain
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 12

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = spain
and I_CompareCounter settlementowner_Alalia != 12

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = spain
and I_CompareCounter settlementowner_Kydonia != 12

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = spain
and I_CompareCounter settlementowner_Meroe != 12

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = spain
and I_CompareCounter settlementowner_Salamis != 12

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = spain
and I_CompareCounter settlementowner_Kyrene != 12

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = spain
and I_CompareCounter settlementowner_Emporion != 12

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov1
end_if


if I_SettlementOwner Sparte = spain
and I_CompareCounter settlementowner_Sparte != 12

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = spain
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 12

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = spain
and I_CompareCounter settlementowner_Rome != 12

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = spain
and I_CompareCounter settlementowner_Lemonum != 12

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = spain
and I_CompareCounter settlementowner_Mytilene != 12

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = spain
and I_CompareCounter settlementowner_Ammonion != 12

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = spain
and I_CompareCounter settlementowner_Segesta != 12

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = spain
and I_CompareCounter settlementowner_Viennos != 12

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = spain
and I_CompareCounter settlementowner_Carrodunum != 12

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = spain
and I_CompareCounter settlementowner_Oxtraca != 12

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov1
end_if


if I_SettlementOwner Sardis = spain
and I_CompareCounter settlementowner_Sardis != 12

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = spain
and I_CompareCounter settlementowner_Tanais != 12

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = spain
and I_CompareCounter settlementowner_Carna != 12

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = spain
and I_CompareCounter settlementowner_Pella != 12

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = spain
and I_CompareCounter settlementowner_Homna != 12

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = spain
and I_CompareCounter settlementowner_Antiocheia_Margiane != 12

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = spain
and I_CompareCounter settlementowner_Paraitonion != 12

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = spain
and I_CompareCounter settlementowner_Ippone != 12

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = spain
and I_CompareCounter settlementowner_Sala != 12

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = spain
and I_CompareCounter settlementowner_Siga != 12

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = spain
and I_CompareCounter settlementowner_Lixus != 12

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = spain
and I_CompareCounter settlementowner_Ekbatana != 12

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = spain
and I_CompareCounter settlementowner_Kallatis != 12

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = spain
and I_CompareCounter settlementowner_Bibracte != 12

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = spain
and I_CompareCounter settlementowner_Cenabum != 12

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = spain
and I_CompareCounter settlementowner_Eburonum != 12

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = spain
and I_CompareCounter settlementowner_Pergamon != 12

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = spain
and I_CompareCounter settlementowner_Bostra != 12

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = spain
and I_CompareCounter settlementowner_Bagacos != 12

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = spain
and I_CompareCounter settlementowner_Gordu_Neuriji != 12

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = spain
and I_CompareCounter settlementowner_Iuvavoaeta != 12

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = spain
and I_CompareCounter settlementowner_Kirtan != 12

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = spain
and I_CompareCounter settlementowner_Hibis != 12

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = spain
and I_CompareCounter settlementowner_Tylis != 12

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = spain
and I_CompareCounter settlementowner_Side != 12

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = spain
and I_CompareCounter settlementowner_Vindobona != 12

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = spain
and I_CompareCounter settlementowner_Segestica != 12

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = spain
and I_CompareCounter settlementowner_Sinope != 12

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = spain
and I_CompareCounter settlementowner_Kophen != 12

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = spain
and I_CompareCounter settlementowner_Hekatompylos != 12

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = spain
and I_CompareCounter settlementowner_Korinthos != 12

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = spain
and I_CompareCounter settlementowner_Persepolis != 12

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = spain
and I_CompareCounter settlementowner_Garama != 12

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = spain
and I_CompareCounter settlementowner_Sidon != 12

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = spain
and I_CompareCounter settlementowner_Ipsos != 12

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = spain
and I_CompareCounter settlementowner_Ani-Kamah != 12

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = spain
and I_CompareCounter settlementowner_Trapezous != 12

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = spain
and I_CompareCounter settlementowner_Tamane != 12

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = spain
and I_CompareCounter settlementowner_Veldideno != 12

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = spain
and I_CompareCounter settlementowner_Rhodos != 12

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = spain
and I_CompareCounter settlementowner_Gawjam_Rugoz != 12

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = spain
and I_CompareCounter settlementowner_Maryab != 12

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = spain
and I_CompareCounter settlementowner_Terhazza != 12

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = spain
and I_CompareCounter settlementowner_Gava_Saka != 12

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = spain
and I_CompareCounter settlementowner_Asodat != 12

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = spain
and I_CompareCounter settlementowner_Karali != 12

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = spain
and I_CompareCounter settlementowner_Opiana != 12

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = spain
and I_CompareCounter settlementowner_Singidunum != 12

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = spain
and I_CompareCounter settlementowner_Seliun_Pilis != 12

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = spain
and I_CompareCounter settlementowner_Gintaras_Ostan != 12

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = spain
and I_CompareCounter settlementowner_Vesontio != 12

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = spain
and I_CompareCounter settlementowner_Messana != 12

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = spain
and I_CompareCounter settlementowner_Gawjam_Silengoz != 12

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = spain
and I_CompareCounter settlementowner_Petra != 12

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = spain
and I_CompareCounter settlementowner_Patala != 12

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = spain
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 12

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = spain
and I_CompareCounter settlementowner_Olbia != 12

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = spain
and I_CompareCounter settlementowner_Marakanda != 12

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = spain
and I_CompareCounter settlementowner_Karkathiokerta != 12

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = spain
and I_CompareCounter settlementowner_Swebotraustastamnoz != 12

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = spain
and I_CompareCounter settlementowner_Antiocheia != 12

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = spain
and I_CompareCounter settlementowner_Damaskos != 12

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = spain
and I_CompareCounter settlementowner_Palmyra != 12

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = spain
and I_CompareCounter settlementowner_Chersonesos != 12

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = spain
and I_CompareCounter settlementowner_Diospolis_Megale != 12

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = spain
and I_CompareCounter settlementowner_Demetrias != 12

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = spain
and I_CompareCounter settlementowner_Naissos != 12

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = spain
and I_CompareCounter settlementowner_Ascaucalis != 12

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = spain
and I_CompareCounter settlementowner_Pselkis != 12

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = spain
and I_CompareCounter settlementowner_Syracuse != 12

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = spain
and I_CompareCounter settlementowner_Lepki != 12

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = spain
and I_CompareCounter settlementowner_Gader != 12

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov2
end_if


if I_SettlementOwner Sucum-Murgi = spain
and I_CompareCounter settlementowner_Sucum-Murgi != 12

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov2
end_if


if I_SettlementOwner Ariminum = spain
and I_CompareCounter settlementowner_Ariminum != 12

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = spain
and I_CompareCounter settlementowner_Patavium != 12

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = spain
and I_CompareCounter settlementowner_Vindelicoppidos != 12

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = spain
and I_CompareCounter settlementowner_Tolosa != 12

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov2
end_if


if I_SettlementOwner Chighu = spain
and I_CompareCounter settlementowner_Chighu != 12

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = spain
and I_CompareCounter settlementowner_Sulek != 12

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = spain
and I_CompareCounter settlementowner_Kart_Hadast != 12

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = spain
and I_CompareCounter settlementowner_Ubar != 12

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType dacia
and not FactionIsLocal

if I_SettlementOwner Arbela = dacia
and I_CompareCounter settlementowner_Arbela != 13

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = dacia
and I_CompareCounter settlementowner_Phraaspa != 13

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = dacia
and I_CompareCounter settlementowner_Bononia != 13

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = dacia
and I_CompareCounter settlementowner_Kabalaka != 13

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = dacia
and I_CompareCounter settlementowner_Thermon != 13

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = dacia
and I_CompareCounter settlementowner_Arpi != 13

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = dacia
and I_CompareCounter settlementowner_Burdigala != 13

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = dacia
and I_CompareCounter settlementowner_Babylon != 13

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = dacia
and I_CompareCounter settlementowner_Alexandropolis != 13

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = dacia
and I_CompareCounter settlementowner_Alexandreia_Ariana != 13

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = dacia
and I_CompareCounter settlementowner_Darioritum != 13

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = dacia
and I_CompareCounter settlementowner_Gergovia != 13

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = dacia
and I_CompareCounter settlementowner_Edessa != 13

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = dacia
and I_CompareCounter settlementowner_Asaak != 13

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = dacia
and I_CompareCounter settlementowner_Pallantia != 13

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = dacia
and I_CompareCounter settlementowner_Athenai != 13

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = dacia
and I_CompareCounter settlementowner_Augila_settlement != 13

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = dacia
and I_CompareCounter settlementowner_Seleukeia != 13

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = dacia
and I_CompareCounter settlementowner_Baktra != 13

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = dacia
and I_CompareCounter settlementowner_Bocchoris != 13

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = dacia
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 13

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov2
end_if


if I_SettlementOwner Mastia = dacia
and I_CompareCounter settlementowner_Mastia != 13

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = dacia
and I_CompareCounter settlementowner_Avaricum != 13

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = dacia
and I_CompareCounter settlementowner_Bratosporios != 13

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = dacia
and I_CompareCounter settlementowner_Nikaia != 13

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov2
end_if


if I_SettlementOwner Pantikapaion = dacia
and I_CompareCounter settlementowner_Pantikapaion != 13

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = dacia
and I_CompareCounter settlementowner_Rhegion != 13

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = dacia
and I_CompareCounter settlementowner_Caern_Brigantae != 13

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = dacia
and I_CompareCounter settlementowner_Gelonus != 13

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = dacia
and I_CompareCounter settlementowner_Adrumeto != 13

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = dacia
and I_CompareCounter settlementowner_Attuaca != 13

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = dacia
and I_CompareCounter settlementowner_Capua != 13

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = dacia
and I_CompareCounter settlementowner_Vellika != 13

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = dacia
and I_CompareCounter settlementowner_Baikor != 13

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = dacia
and I_CompareCounter settlementowner_Camulosadae != 13

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = dacia
and I_CompareCounter settlementowner_Numantia != 13

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = dacia
and I_CompareCounter settlementowner_Charax != 13

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = dacia
and I_CompareCounter settlementowner_Byzantion != 13

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov2
end_if


if I_SettlementOwner Ptolemais_Theron = dacia
and I_CompareCounter settlementowner_Ptolemais_Theron != 13

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = dacia
and I_CompareCounter settlementowner_Ratae != 13

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = dacia
and I_CompareCounter settlementowner_Ictis != 13

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = dacia
and I_CompareCounter settlementowner_Lucarottea != 13

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = dacia
and I_CompareCounter settlementowner_Emain_Macha != 13

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = dacia
and I_CompareCounter settlementowner_Atiqa != 13

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = dacia
and I_CompareCounter settlementowner_Ynys_Mon != 13

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = dacia
and I_CompareCounter settlementowner_Gava_Alanna != 13

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = dacia
and I_CompareCounter settlementowner_Gava_Aursa != 13

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = dacia
and I_CompareCounter settlementowner_Nisa != 13

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = dacia
and I_CompareCounter settlementowner_Gava_Haomavarga != 13

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = dacia
and I_CompareCounter settlementowner_Gava_Mazsakata != 13

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = dacia
and I_CompareCounter settlementowner_Gava_Roxsalanna != 13

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = dacia
and I_CompareCounter settlementowner_Uspe != 13

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = dacia
and I_CompareCounter settlementowner_Gava_Thissakata != 13

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = dacia
and I_CompareCounter settlementowner_Gava_Yazyga != 13

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = dacia
and I_CompareCounter settlementowner_Gava_Yugra != 13

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = dacia
and I_CompareCounter settlementowner_Dalminion != 13

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = dacia
and I_CompareCounter settlementowner_Serdike != 13

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov2
end_if


if I_SettlementOwner Alexandreia_Eschate = dacia
and I_CompareCounter settlementowner_Alexandreia_Eschate != 13

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = dacia
and I_CompareCounter settlementowner_Alexandreia != 13

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = dacia
and I_CompareCounter settlementowner_Axum != 13

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = dacia
and I_CompareCounter settlementowner_Prophthasia != 13

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = dacia
and I_CompareCounter settlementowner_Arse != 13

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = dacia
and I_CompareCounter settlementowner_Kotais != 13

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = dacia
and I_CompareCounter settlementowner_Lilibeo != 13

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = dacia
and I_CompareCounter settlementowner_Susa != 13

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = dacia
and I_CompareCounter settlementowner_Apollonia != 13

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov2
end_if


if I_SettlementOwner Ivernis = dacia
and I_CompareCounter settlementowner_Ivernis != 13

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = dacia
and I_CompareCounter settlementowner_Ak_Ink != 13

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = dacia
and I_CompareCounter settlementowner_Arretium != 13

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = dacia
and I_CompareCounter settlementowner_Chalkis != 13

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = dacia
and I_CompareCounter settlementowner_Gabai != 13

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = dacia
and I_CompareCounter settlementowner_Tuat != 13

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = dacia
and I_CompareCounter settlementowner_Tyde != 13

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = dacia
and I_CompareCounter settlementowner_Ankyra != 13

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = dacia
and I_CompareCounter settlementowner_Taksashila != 13

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = dacia
and I_CompareCounter settlementowner_Pura != 13

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = dacia
and I_CompareCounter settlementowner_Gerrha != 13

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = dacia
and I_CompareCounter settlementowner_Buridava != 13

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov1
end_if


if I_SettlementOwner Sarmiszegethusa = dacia
and I_CompareCounter settlementowner_Sarmiszegethusa != 13

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov1
end_if


if I_SettlementOwner Massalia = dacia
and I_CompareCounter settlementowner_Massalia != 13

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = dacia
and I_CompareCounter settlementowner_Gawjam_Habukoz != 13

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = dacia
and I_CompareCounter settlementowner_Sabata != 13

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = dacia
and I_CompareCounter settlementowner_Arctaunon != 13

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = dacia
and I_CompareCounter settlementowner_Armavir != 13

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = dacia
and I_CompareCounter settlementowner_Aventicos != 13

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = dacia
and I_CompareCounter settlementowner_Memphis != 13

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = dacia
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 13

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = dacia
and I_CompareCounter settlementowner_Zadrakata != 13

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = dacia
and I_CompareCounter settlementowner_Epidamnos != 13

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov2
end_if


if I_SettlementOwner Mediolanum = dacia
and I_CompareCounter settlementowner_Mediolanum != 13

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = dacia
and I_CompareCounter settlementowner_Hierosolyma != 13

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = dacia
and I_CompareCounter settlementowner_Taras != 13

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = dacia
and I_CompareCounter settlementowner_Chach != 13

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = dacia
and I_CompareCounter settlementowner_Mazaka != 13

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = dacia
and I_CompareCounter settlementowner_Amaseia != 13

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = dacia
and I_CompareCounter settlementowner_Halikarnassos != 13

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = dacia
and I_CompareCounter settlementowner_Karmana != 13

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = dacia
and I_CompareCounter settlementowner_Mtskheta != 13

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = dacia
and I_CompareCounter settlementowner_Apameia != 13

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = dacia
and I_CompareCounter settlementowner_Khiva != 13

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = dacia
and I_CompareCounter settlementowner_Tarsos != 13

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = dacia
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 13

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = dacia
and I_CompareCounter settlementowner_Alalia != 13

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = dacia
and I_CompareCounter settlementowner_Kydonia != 13

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = dacia
and I_CompareCounter settlementowner_Meroe != 13

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = dacia
and I_CompareCounter settlementowner_Salamis != 13

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = dacia
and I_CompareCounter settlementowner_Kyrene != 13

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = dacia
and I_CompareCounter settlementowner_Emporion != 13

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = dacia
and I_CompareCounter settlementowner_Sparte != 13

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = dacia
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 13

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = dacia
and I_CompareCounter settlementowner_Rome != 13

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = dacia
and I_CompareCounter settlementowner_Lemonum != 13

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = dacia
and I_CompareCounter settlementowner_Mytilene != 13

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = dacia
and I_CompareCounter settlementowner_Ammonion != 13

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = dacia
and I_CompareCounter settlementowner_Segesta != 13

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = dacia
and I_CompareCounter settlementowner_Viennos != 13

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = dacia
and I_CompareCounter settlementowner_Carrodunum != 13

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = dacia
and I_CompareCounter settlementowner_Oxtraca != 13

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = dacia
and I_CompareCounter settlementowner_Sardis != 13

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = dacia
and I_CompareCounter settlementowner_Tanais != 13

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = dacia
and I_CompareCounter settlementowner_Carna != 13

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = dacia
and I_CompareCounter settlementowner_Pella != 13

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov2
end_if


if I_SettlementOwner Homna = dacia
and I_CompareCounter settlementowner_Homna != 13

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = dacia
and I_CompareCounter settlementowner_Antiocheia_Margiane != 13

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = dacia
and I_CompareCounter settlementowner_Paraitonion != 13

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = dacia
and I_CompareCounter settlementowner_Ippone != 13

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = dacia
and I_CompareCounter settlementowner_Sala != 13

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = dacia
and I_CompareCounter settlementowner_Siga != 13

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = dacia
and I_CompareCounter settlementowner_Lixus != 13

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = dacia
and I_CompareCounter settlementowner_Ekbatana != 13

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = dacia
and I_CompareCounter settlementowner_Kallatis != 13

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov1
end_if


if I_SettlementOwner Bibracte = dacia
and I_CompareCounter settlementowner_Bibracte != 13

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = dacia
and I_CompareCounter settlementowner_Cenabum != 13

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = dacia
and I_CompareCounter settlementowner_Eburonum != 13

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = dacia
and I_CompareCounter settlementowner_Pergamon != 13

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = dacia
and I_CompareCounter settlementowner_Bostra != 13

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = dacia
and I_CompareCounter settlementowner_Bagacos != 13

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = dacia
and I_CompareCounter settlementowner_Gordu_Neuriji != 13

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = dacia
and I_CompareCounter settlementowner_Iuvavoaeta != 13

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = dacia
and I_CompareCounter settlementowner_Kirtan != 13

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = dacia
and I_CompareCounter settlementowner_Hibis != 13

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = dacia
and I_CompareCounter settlementowner_Tylis != 13

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov2
end_if


if I_SettlementOwner Side = dacia
and I_CompareCounter settlementowner_Side != 13

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = dacia
and I_CompareCounter settlementowner_Vindobona != 13

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = dacia
and I_CompareCounter settlementowner_Segestica != 13

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = dacia
and I_CompareCounter settlementowner_Sinope != 13

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = dacia
and I_CompareCounter settlementowner_Kophen != 13

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = dacia
and I_CompareCounter settlementowner_Hekatompylos != 13

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = dacia
and I_CompareCounter settlementowner_Korinthos != 13

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = dacia
and I_CompareCounter settlementowner_Persepolis != 13

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = dacia
and I_CompareCounter settlementowner_Garama != 13

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = dacia
and I_CompareCounter settlementowner_Sidon != 13

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = dacia
and I_CompareCounter settlementowner_Ipsos != 13

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = dacia
and I_CompareCounter settlementowner_Ani-Kamah != 13

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = dacia
and I_CompareCounter settlementowner_Trapezous != 13

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = dacia
and I_CompareCounter settlementowner_Tamane != 13

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = dacia
and I_CompareCounter settlementowner_Veldideno != 13

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = dacia
and I_CompareCounter settlementowner_Rhodos != 13

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = dacia
and I_CompareCounter settlementowner_Gawjam_Rugoz != 13

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = dacia
and I_CompareCounter settlementowner_Maryab != 13

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = dacia
and I_CompareCounter settlementowner_Terhazza != 13

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = dacia
and I_CompareCounter settlementowner_Gava_Saka != 13

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = dacia
and I_CompareCounter settlementowner_Asodat != 13

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = dacia
and I_CompareCounter settlementowner_Karali != 13

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = dacia
and I_CompareCounter settlementowner_Opiana != 13

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = dacia
and I_CompareCounter settlementowner_Singidunum != 13

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = dacia
and I_CompareCounter settlementowner_Seliun_Pilis != 13

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = dacia
and I_CompareCounter settlementowner_Gintaras_Ostan != 13

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = dacia
and I_CompareCounter settlementowner_Vesontio != 13

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = dacia
and I_CompareCounter settlementowner_Messana != 13

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = dacia
and I_CompareCounter settlementowner_Gawjam_Silengoz != 13

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = dacia
and I_CompareCounter settlementowner_Petra != 13

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = dacia
and I_CompareCounter settlementowner_Patala != 13

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = dacia
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 13

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = dacia
and I_CompareCounter settlementowner_Olbia != 13

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov2
end_if


if I_SettlementOwner Marakanda = dacia
and I_CompareCounter settlementowner_Marakanda != 13

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = dacia
and I_CompareCounter settlementowner_Karkathiokerta != 13

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = dacia
and I_CompareCounter settlementowner_Swebotraustastamnoz != 13

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = dacia
and I_CompareCounter settlementowner_Antiocheia != 13

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = dacia
and I_CompareCounter settlementowner_Damaskos != 13

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = dacia
and I_CompareCounter settlementowner_Palmyra != 13

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = dacia
and I_CompareCounter settlementowner_Chersonesos != 13

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = dacia
and I_CompareCounter settlementowner_Diospolis_Megale != 13

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = dacia
and I_CompareCounter settlementowner_Demetrias != 13

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = dacia
and I_CompareCounter settlementowner_Naissos != 13

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov2
end_if


if I_SettlementOwner Ascaucalis = dacia
and I_CompareCounter settlementowner_Ascaucalis != 13

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = dacia
and I_CompareCounter settlementowner_Pselkis != 13

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = dacia
and I_CompareCounter settlementowner_Syracuse != 13

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = dacia
and I_CompareCounter settlementowner_Lepki != 13

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = dacia
and I_CompareCounter settlementowner_Gader != 13

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = dacia
and I_CompareCounter settlementowner_Sucum-Murgi != 13

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = dacia
and I_CompareCounter settlementowner_Ariminum != 13

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = dacia
and I_CompareCounter settlementowner_Patavium != 13

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = dacia
and I_CompareCounter settlementowner_Vindelicoppidos != 13

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = dacia
and I_CompareCounter settlementowner_Tolosa != 13

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = dacia
and I_CompareCounter settlementowner_Chighu != 13

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = dacia
and I_CompareCounter settlementowner_Sulek != 13

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = dacia
and I_CompareCounter settlementowner_Kart_Hadast != 13

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = dacia
and I_CompareCounter settlementowner_Ubar != 13

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType scythia
and not FactionIsLocal

if I_SettlementOwner Arbela = scythia
and I_CompareCounter settlementowner_Arbela != 14

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = scythia
and I_CompareCounter settlementowner_Phraaspa != 14

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = scythia
and I_CompareCounter settlementowner_Bononia != 14

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = scythia
and I_CompareCounter settlementowner_Kabalaka != 14

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = scythia
and I_CompareCounter settlementowner_Thermon != 14

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = scythia
and I_CompareCounter settlementowner_Arpi != 14

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = scythia
and I_CompareCounter settlementowner_Burdigala != 14

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov1
end_if


if I_SettlementOwner Babylon = scythia
and I_CompareCounter settlementowner_Babylon != 14

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = scythia
and I_CompareCounter settlementowner_Alexandropolis != 14

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = scythia
and I_CompareCounter settlementowner_Alexandreia_Ariana != 14

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = scythia
and I_CompareCounter settlementowner_Darioritum != 14

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov1
end_if


if I_SettlementOwner Gergovia = scythia
and I_CompareCounter settlementowner_Gergovia != 14

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov1
end_if


if I_SettlementOwner Edessa = scythia
and I_CompareCounter settlementowner_Edessa != 14

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = scythia
and I_CompareCounter settlementowner_Asaak != 14

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = scythia
and I_CompareCounter settlementowner_Pallantia != 14

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = scythia
and I_CompareCounter settlementowner_Athenai != 14

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = scythia
and I_CompareCounter settlementowner_Augila_settlement != 14

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = scythia
and I_CompareCounter settlementowner_Seleukeia != 14

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = scythia
and I_CompareCounter settlementowner_Baktra != 14

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = scythia
and I_CompareCounter settlementowner_Bocchoris != 14

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = scythia
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 14

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = scythia
and I_CompareCounter settlementowner_Mastia != 14

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = scythia
and I_CompareCounter settlementowner_Avaricum != 14

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov1
end_if


if I_SettlementOwner Bratosporios = scythia
and I_CompareCounter settlementowner_Bratosporios != 14

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov2
end_if


if I_SettlementOwner Nikaia = scythia
and I_CompareCounter settlementowner_Nikaia != 14

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = scythia
and I_CompareCounter settlementowner_Pantikapaion != 14

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = scythia
and I_CompareCounter settlementowner_Rhegion != 14

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = scythia
and I_CompareCounter settlementowner_Caern_Brigantae != 14

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = scythia
and I_CompareCounter settlementowner_Gelonus != 14

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = scythia
and I_CompareCounter settlementowner_Adrumeto != 14

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = scythia
and I_CompareCounter settlementowner_Attuaca != 14

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = scythia
and I_CompareCounter settlementowner_Capua != 14

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = scythia
and I_CompareCounter settlementowner_Vellika != 14

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = scythia
and I_CompareCounter settlementowner_Baikor != 14

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = scythia
and I_CompareCounter settlementowner_Camulosadae != 14

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = scythia
and I_CompareCounter settlementowner_Numantia != 14

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = scythia
and I_CompareCounter settlementowner_Charax != 14

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = scythia
and I_CompareCounter settlementowner_Byzantion != 14

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = scythia
and I_CompareCounter settlementowner_Ptolemais_Theron != 14

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = scythia
and I_CompareCounter settlementowner_Ratae != 14

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = scythia
and I_CompareCounter settlementowner_Ictis != 14

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = scythia
and I_CompareCounter settlementowner_Lucarottea != 14

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov2
end_if


if I_SettlementOwner Emain_Macha = scythia
and I_CompareCounter settlementowner_Emain_Macha != 14

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = scythia
and I_CompareCounter settlementowner_Atiqa != 14

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = scythia
and I_CompareCounter settlementowner_Ynys_Mon != 14

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = scythia
and I_CompareCounter settlementowner_Gava_Alanna != 14

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = scythia
and I_CompareCounter settlementowner_Gava_Aursa != 14

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = scythia
and I_CompareCounter settlementowner_Nisa != 14

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = scythia
and I_CompareCounter settlementowner_Gava_Haomavarga != 14

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = scythia
and I_CompareCounter settlementowner_Gava_Mazsakata != 14

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = scythia
and I_CompareCounter settlementowner_Gava_Roxsalanna != 14

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = scythia
and I_CompareCounter settlementowner_Uspe != 14

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = scythia
and I_CompareCounter settlementowner_Gava_Thissakata != 14

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = scythia
and I_CompareCounter settlementowner_Gava_Yazyga != 14

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = scythia
and I_CompareCounter settlementowner_Gava_Yugra != 14

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = scythia
and I_CompareCounter settlementowner_Dalminion != 14

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = scythia
and I_CompareCounter settlementowner_Serdike != 14

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = scythia
and I_CompareCounter settlementowner_Alexandreia_Eschate != 14

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = scythia
and I_CompareCounter settlementowner_Alexandreia != 14

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = scythia
and I_CompareCounter settlementowner_Axum != 14

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = scythia
and I_CompareCounter settlementowner_Prophthasia != 14

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = scythia
and I_CompareCounter settlementowner_Arse != 14

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = scythia
and I_CompareCounter settlementowner_Kotais != 14

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = scythia
and I_CompareCounter settlementowner_Lilibeo != 14

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = scythia
and I_CompareCounter settlementowner_Susa != 14

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = scythia
and I_CompareCounter settlementowner_Apollonia != 14

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = scythia
and I_CompareCounter settlementowner_Ivernis != 14

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = scythia
and I_CompareCounter settlementowner_Ak_Ink != 14

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov2
end_if


if I_SettlementOwner Arretium = scythia
and I_CompareCounter settlementowner_Arretium != 14

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = scythia
and I_CompareCounter settlementowner_Chalkis != 14

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = scythia
and I_CompareCounter settlementowner_Gabai != 14

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = scythia
and I_CompareCounter settlementowner_Tuat != 14

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = scythia
and I_CompareCounter settlementowner_Tyde != 14

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = scythia
and I_CompareCounter settlementowner_Ankyra != 14

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = scythia
and I_CompareCounter settlementowner_Taksashila != 14

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = scythia
and I_CompareCounter settlementowner_Pura != 14

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = scythia
and I_CompareCounter settlementowner_Gerrha != 14

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = scythia
and I_CompareCounter settlementowner_Buridava != 14

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = scythia
and I_CompareCounter settlementowner_Sarmiszegethusa != 14

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = scythia
and I_CompareCounter settlementowner_Massalia != 14

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = scythia
and I_CompareCounter settlementowner_Gawjam_Habukoz != 14

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = scythia
and I_CompareCounter settlementowner_Sabata != 14

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = scythia
and I_CompareCounter settlementowner_Arctaunon != 14

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = scythia
and I_CompareCounter settlementowner_Armavir != 14

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = scythia
and I_CompareCounter settlementowner_Aventicos != 14

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov2
end_if


if I_SettlementOwner Memphis = scythia
and I_CompareCounter settlementowner_Memphis != 14

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = scythia
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 14

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = scythia
and I_CompareCounter settlementowner_Zadrakata != 14

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = scythia
and I_CompareCounter settlementowner_Epidamnos != 14

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = scythia
and I_CompareCounter settlementowner_Mediolanum != 14

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov1
end_if


if I_SettlementOwner Hierosolyma = scythia
and I_CompareCounter settlementowner_Hierosolyma != 14

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = scythia
and I_CompareCounter settlementowner_Taras != 14

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = scythia
and I_CompareCounter settlementowner_Chach != 14

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = scythia
and I_CompareCounter settlementowner_Mazaka != 14

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = scythia
and I_CompareCounter settlementowner_Amaseia != 14

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = scythia
and I_CompareCounter settlementowner_Halikarnassos != 14

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = scythia
and I_CompareCounter settlementowner_Karmana != 14

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = scythia
and I_CompareCounter settlementowner_Mtskheta != 14

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = scythia
and I_CompareCounter settlementowner_Apameia != 14

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = scythia
and I_CompareCounter settlementowner_Khiva != 14

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = scythia
and I_CompareCounter settlementowner_Tarsos != 14

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = scythia
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 14

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = scythia
and I_CompareCounter settlementowner_Alalia != 14

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = scythia
and I_CompareCounter settlementowner_Kydonia != 14

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = scythia
and I_CompareCounter settlementowner_Meroe != 14

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = scythia
and I_CompareCounter settlementowner_Salamis != 14

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = scythia
and I_CompareCounter settlementowner_Kyrene != 14

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = scythia
and I_CompareCounter settlementowner_Emporion != 14

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov2
end_if


if I_SettlementOwner Sparte = scythia
and I_CompareCounter settlementowner_Sparte != 14

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = scythia
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 14

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = scythia
and I_CompareCounter settlementowner_Rome != 14

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = scythia
and I_CompareCounter settlementowner_Lemonum != 14

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov1
end_if


if I_SettlementOwner Mytilene = scythia
and I_CompareCounter settlementowner_Mytilene != 14

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = scythia
and I_CompareCounter settlementowner_Ammonion != 14

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = scythia
and I_CompareCounter settlementowner_Segesta != 14

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov2
end_if


if I_SettlementOwner Viennos = scythia
and I_CompareCounter settlementowner_Viennos != 14

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov1
end_if


if I_SettlementOwner Carrodunum = scythia
and I_CompareCounter settlementowner_Carrodunum != 14

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = scythia
and I_CompareCounter settlementowner_Oxtraca != 14

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = scythia
and I_CompareCounter settlementowner_Sardis != 14

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = scythia
and I_CompareCounter settlementowner_Tanais != 14

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = scythia
and I_CompareCounter settlementowner_Carna != 14

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = scythia
and I_CompareCounter settlementowner_Pella != 14

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = scythia
and I_CompareCounter settlementowner_Homna != 14

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = scythia
and I_CompareCounter settlementowner_Antiocheia_Margiane != 14

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = scythia
and I_CompareCounter settlementowner_Paraitonion != 14

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = scythia
and I_CompareCounter settlementowner_Ippone != 14

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = scythia
and I_CompareCounter settlementowner_Sala != 14

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = scythia
and I_CompareCounter settlementowner_Siga != 14

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = scythia
and I_CompareCounter settlementowner_Lixus != 14

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = scythia
and I_CompareCounter settlementowner_Ekbatana != 14

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = scythia
and I_CompareCounter settlementowner_Kallatis != 14

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = scythia
and I_CompareCounter settlementowner_Bibracte != 14

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov1
end_if


if I_SettlementOwner Cenabum = scythia
and I_CompareCounter settlementowner_Cenabum != 14

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov1
end_if


if I_SettlementOwner Eburonum = scythia
and I_CompareCounter settlementowner_Eburonum != 14

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = scythia
and I_CompareCounter settlementowner_Pergamon != 14

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = scythia
and I_CompareCounter settlementowner_Bostra != 14

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = scythia
and I_CompareCounter settlementowner_Bagacos != 14

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov2
end_if


if I_SettlementOwner Gordu_Neuriji = scythia
and I_CompareCounter settlementowner_Gordu_Neuriji != 14

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = scythia
and I_CompareCounter settlementowner_Iuvavoaeta != 14

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov2
end_if


if I_SettlementOwner Kirtan = scythia
and I_CompareCounter settlementowner_Kirtan != 14

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = scythia
and I_CompareCounter settlementowner_Hibis != 14

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = scythia
and I_CompareCounter settlementowner_Tylis != 14

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = scythia
and I_CompareCounter settlementowner_Side != 14

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = scythia
and I_CompareCounter settlementowner_Vindobona != 14

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov2
end_if


if I_SettlementOwner Segestica = scythia
and I_CompareCounter settlementowner_Segestica != 14

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = scythia
and I_CompareCounter settlementowner_Sinope != 14

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = scythia
and I_CompareCounter settlementowner_Kophen != 14

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = scythia
and I_CompareCounter settlementowner_Hekatompylos != 14

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = scythia
and I_CompareCounter settlementowner_Korinthos != 14

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = scythia
and I_CompareCounter settlementowner_Persepolis != 14

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = scythia
and I_CompareCounter settlementowner_Garama != 14

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = scythia
and I_CompareCounter settlementowner_Sidon != 14

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = scythia
and I_CompareCounter settlementowner_Ipsos != 14

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = scythia
and I_CompareCounter settlementowner_Ani-Kamah != 14

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = scythia
and I_CompareCounter settlementowner_Trapezous != 14

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = scythia
and I_CompareCounter settlementowner_Tamane != 14

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = scythia
and I_CompareCounter settlementowner_Veldideno != 14

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov2
end_if


if I_SettlementOwner Rhodos = scythia
and I_CompareCounter settlementowner_Rhodos != 14

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = scythia
and I_CompareCounter settlementowner_Gawjam_Rugoz != 14

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = scythia
and I_CompareCounter settlementowner_Maryab != 14

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = scythia
and I_CompareCounter settlementowner_Terhazza != 14

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = scythia
and I_CompareCounter settlementowner_Gava_Saka != 14

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = scythia
and I_CompareCounter settlementowner_Asodat != 14

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = scythia
and I_CompareCounter settlementowner_Karali != 14

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = scythia
and I_CompareCounter settlementowner_Opiana != 14

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = scythia
and I_CompareCounter settlementowner_Singidunum != 14

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov2
end_if


if I_SettlementOwner Seliun_Pilis = scythia
and I_CompareCounter settlementowner_Seliun_Pilis != 14

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = scythia
and I_CompareCounter settlementowner_Gintaras_Ostan != 14

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = scythia
and I_CompareCounter settlementowner_Vesontio != 14

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov1
end_if


if I_SettlementOwner Messana = scythia
and I_CompareCounter settlementowner_Messana != 14

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = scythia
and I_CompareCounter settlementowner_Gawjam_Silengoz != 14

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = scythia
and I_CompareCounter settlementowner_Petra != 14

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = scythia
and I_CompareCounter settlementowner_Patala != 14

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = scythia
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 14

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = scythia
and I_CompareCounter settlementowner_Olbia != 14

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = scythia
and I_CompareCounter settlementowner_Marakanda != 14

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = scythia
and I_CompareCounter settlementowner_Karkathiokerta != 14

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = scythia
and I_CompareCounter settlementowner_Swebotraustastamnoz != 14

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = scythia
and I_CompareCounter settlementowner_Antiocheia != 14

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = scythia
and I_CompareCounter settlementowner_Damaskos != 14

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = scythia
and I_CompareCounter settlementowner_Palmyra != 14

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = scythia
and I_CompareCounter settlementowner_Chersonesos != 14

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = scythia
and I_CompareCounter settlementowner_Diospolis_Megale != 14

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = scythia
and I_CompareCounter settlementowner_Demetrias != 14

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = scythia
and I_CompareCounter settlementowner_Naissos != 14

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov2
end_if


if I_SettlementOwner Ascaucalis = scythia
and I_CompareCounter settlementowner_Ascaucalis != 14

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = scythia
and I_CompareCounter settlementowner_Pselkis != 14

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = scythia
and I_CompareCounter settlementowner_Syracuse != 14

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = scythia
and I_CompareCounter settlementowner_Lepki != 14

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = scythia
and I_CompareCounter settlementowner_Gader != 14

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = scythia
and I_CompareCounter settlementowner_Sucum-Murgi != 14

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = scythia
and I_CompareCounter settlementowner_Ariminum != 14

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = scythia
and I_CompareCounter settlementowner_Patavium != 14

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov2
end_if


if I_SettlementOwner Vindelicoppidos = scythia
and I_CompareCounter settlementowner_Vindelicoppidos != 14

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov1
end_if


if I_SettlementOwner Tolosa = scythia
and I_CompareCounter settlementowner_Tolosa != 14

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov1
end_if


if I_SettlementOwner Chighu = scythia
and I_CompareCounter settlementowner_Chighu != 14

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = scythia
and I_CompareCounter settlementowner_Sulek != 14

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = scythia
and I_CompareCounter settlementowner_Kart_Hadast != 14

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = scythia
and I_CompareCounter settlementowner_Ubar != 14

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType egypt
and not FactionIsLocal

if I_SettlementOwner Arbela = egypt
and I_CompareCounter settlementowner_Arbela != 15

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = egypt
and I_CompareCounter settlementowner_Phraaspa != 15

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = egypt
and I_CompareCounter settlementowner_Bononia != 15

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = egypt
and I_CompareCounter settlementowner_Kabalaka != 15

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = egypt
and I_CompareCounter settlementowner_Thermon != 15

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = egypt
and I_CompareCounter settlementowner_Arpi != 15

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = egypt
and I_CompareCounter settlementowner_Burdigala != 15

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = egypt
and I_CompareCounter settlementowner_Babylon != 15

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = egypt
and I_CompareCounter settlementowner_Alexandropolis != 15

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = egypt
and I_CompareCounter settlementowner_Alexandreia_Ariana != 15

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = egypt
and I_CompareCounter settlementowner_Darioritum != 15

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = egypt
and I_CompareCounter settlementowner_Gergovia != 15

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = egypt
and I_CompareCounter settlementowner_Edessa != 15

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = egypt
and I_CompareCounter settlementowner_Asaak != 15

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = egypt
and I_CompareCounter settlementowner_Pallantia != 15

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = egypt
and I_CompareCounter settlementowner_Athenai != 15

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = egypt
and I_CompareCounter settlementowner_Augila_settlement != 15

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = egypt
and I_CompareCounter settlementowner_Seleukeia != 15

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = egypt
and I_CompareCounter settlementowner_Baktra != 15

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = egypt
and I_CompareCounter settlementowner_Bocchoris != 15

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov2
end_if


if I_SettlementOwner Gawjam_Bastarnoz = egypt
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 15

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = egypt
and I_CompareCounter settlementowner_Mastia != 15

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov2
end_if


if I_SettlementOwner Avaricum = egypt
and I_CompareCounter settlementowner_Avaricum != 15

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = egypt
and I_CompareCounter settlementowner_Bratosporios != 15

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = egypt
and I_CompareCounter settlementowner_Nikaia != 15

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = egypt
and I_CompareCounter settlementowner_Pantikapaion != 15

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = egypt
and I_CompareCounter settlementowner_Rhegion != 15

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = egypt
and I_CompareCounter settlementowner_Caern_Brigantae != 15

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = egypt
and I_CompareCounter settlementowner_Gelonus != 15

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = egypt
and I_CompareCounter settlementowner_Adrumeto != 15

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov2
end_if


if I_SettlementOwner Attuaca = egypt
and I_CompareCounter settlementowner_Attuaca != 15

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = egypt
and I_CompareCounter settlementowner_Capua != 15

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = egypt
and I_CompareCounter settlementowner_Vellika != 15

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = egypt
and I_CompareCounter settlementowner_Baikor != 15

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = egypt
and I_CompareCounter settlementowner_Camulosadae != 15

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = egypt
and I_CompareCounter settlementowner_Numantia != 15

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = egypt
and I_CompareCounter settlementowner_Charax != 15

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = egypt
and I_CompareCounter settlementowner_Byzantion != 15

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = egypt
and I_CompareCounter settlementowner_Ptolemais_Theron != 15

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = egypt
and I_CompareCounter settlementowner_Ratae != 15

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = egypt
and I_CompareCounter settlementowner_Ictis != 15

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = egypt
and I_CompareCounter settlementowner_Lucarottea != 15

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = egypt
and I_CompareCounter settlementowner_Emain_Macha != 15

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = egypt
and I_CompareCounter settlementowner_Atiqa != 15

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov1
end_if


if I_SettlementOwner Ynys_Mon = egypt
and I_CompareCounter settlementowner_Ynys_Mon != 15

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = egypt
and I_CompareCounter settlementowner_Gava_Alanna != 15

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = egypt
and I_CompareCounter settlementowner_Gava_Aursa != 15

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = egypt
and I_CompareCounter settlementowner_Nisa != 15

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = egypt
and I_CompareCounter settlementowner_Gava_Haomavarga != 15

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = egypt
and I_CompareCounter settlementowner_Gava_Mazsakata != 15

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = egypt
and I_CompareCounter settlementowner_Gava_Roxsalanna != 15

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = egypt
and I_CompareCounter settlementowner_Uspe != 15

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = egypt
and I_CompareCounter settlementowner_Gava_Thissakata != 15

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = egypt
and I_CompareCounter settlementowner_Gava_Yazyga != 15

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = egypt
and I_CompareCounter settlementowner_Gava_Yugra != 15

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = egypt
and I_CompareCounter settlementowner_Dalminion != 15

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = egypt
and I_CompareCounter settlementowner_Serdike != 15

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = egypt
and I_CompareCounter settlementowner_Alexandreia_Eschate != 15

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = egypt
and I_CompareCounter settlementowner_Alexandreia != 15

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = egypt
and I_CompareCounter settlementowner_Axum != 15

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = egypt
and I_CompareCounter settlementowner_Prophthasia != 15

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = egypt
and I_CompareCounter settlementowner_Arse != 15

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = egypt
and I_CompareCounter settlementowner_Kotais != 15

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = egypt
and I_CompareCounter settlementowner_Lilibeo != 15

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov2
end_if


if I_SettlementOwner Susa = egypt
and I_CompareCounter settlementowner_Susa != 15

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = egypt
and I_CompareCounter settlementowner_Apollonia != 15

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = egypt
and I_CompareCounter settlementowner_Ivernis != 15

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = egypt
and I_CompareCounter settlementowner_Ak_Ink != 15

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = egypt
and I_CompareCounter settlementowner_Arretium != 15

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = egypt
and I_CompareCounter settlementowner_Chalkis != 15

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = egypt
and I_CompareCounter settlementowner_Gabai != 15

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = egypt
and I_CompareCounter settlementowner_Tuat != 15

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = egypt
and I_CompareCounter settlementowner_Tyde != 15

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = egypt
and I_CompareCounter settlementowner_Ankyra != 15

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = egypt
and I_CompareCounter settlementowner_Taksashila != 15

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = egypt
and I_CompareCounter settlementowner_Pura != 15

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = egypt
and I_CompareCounter settlementowner_Gerrha != 15

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = egypt
and I_CompareCounter settlementowner_Buridava != 15

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = egypt
and I_CompareCounter settlementowner_Sarmiszegethusa != 15

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = egypt
and I_CompareCounter settlementowner_Massalia != 15

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = egypt
and I_CompareCounter settlementowner_Gawjam_Habukoz != 15

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = egypt
and I_CompareCounter settlementowner_Sabata != 15

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = egypt
and I_CompareCounter settlementowner_Arctaunon != 15

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = egypt
and I_CompareCounter settlementowner_Armavir != 15

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = egypt
and I_CompareCounter settlementowner_Aventicos != 15

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = egypt
and I_CompareCounter settlementowner_Memphis != 15

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = egypt
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 15

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = egypt
and I_CompareCounter settlementowner_Zadrakata != 15

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = egypt
and I_CompareCounter settlementowner_Epidamnos != 15

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = egypt
and I_CompareCounter settlementowner_Mediolanum != 15

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = egypt
and I_CompareCounter settlementowner_Hierosolyma != 15

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov2
end_if


if I_SettlementOwner Taras = egypt
and I_CompareCounter settlementowner_Taras != 15

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = egypt
and I_CompareCounter settlementowner_Chach != 15

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = egypt
and I_CompareCounter settlementowner_Mazaka != 15

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = egypt
and I_CompareCounter settlementowner_Amaseia != 15

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = egypt
and I_CompareCounter settlementowner_Halikarnassos != 15

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = egypt
and I_CompareCounter settlementowner_Karmana != 15

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = egypt
and I_CompareCounter settlementowner_Mtskheta != 15

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = egypt
and I_CompareCounter settlementowner_Apameia != 15

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = egypt
and I_CompareCounter settlementowner_Khiva != 15

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = egypt
and I_CompareCounter settlementowner_Tarsos != 15

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = egypt
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 15

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = egypt
and I_CompareCounter settlementowner_Alalia != 15

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = egypt
and I_CompareCounter settlementowner_Kydonia != 15

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov2
end_if


if I_SettlementOwner Meroe = egypt
and I_CompareCounter settlementowner_Meroe != 15

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = egypt
and I_CompareCounter settlementowner_Salamis != 15

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = egypt
and I_CompareCounter settlementowner_Kyrene != 15

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = egypt
and I_CompareCounter settlementowner_Emporion != 15

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = egypt
and I_CompareCounter settlementowner_Sparte != 15

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = egypt
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 15

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = egypt
and I_CompareCounter settlementowner_Rome != 15

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = egypt
and I_CompareCounter settlementowner_Lemonum != 15

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = egypt
and I_CompareCounter settlementowner_Mytilene != 15

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = egypt
and I_CompareCounter settlementowner_Ammonion != 15

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = egypt
and I_CompareCounter settlementowner_Segesta != 15

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = egypt
and I_CompareCounter settlementowner_Viennos != 15

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = egypt
and I_CompareCounter settlementowner_Carrodunum != 15

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = egypt
and I_CompareCounter settlementowner_Oxtraca != 15

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = egypt
and I_CompareCounter settlementowner_Sardis != 15

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = egypt
and I_CompareCounter settlementowner_Tanais != 15

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = egypt
and I_CompareCounter settlementowner_Carna != 15

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = egypt
and I_CompareCounter settlementowner_Pella != 15

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = egypt
and I_CompareCounter settlementowner_Homna != 15

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = egypt
and I_CompareCounter settlementowner_Antiocheia_Margiane != 15

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = egypt
and I_CompareCounter settlementowner_Paraitonion != 15

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = egypt
and I_CompareCounter settlementowner_Ippone != 15

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = egypt
and I_CompareCounter settlementowner_Sala != 15

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov2
end_if


if I_SettlementOwner Siga = egypt
and I_CompareCounter settlementowner_Siga != 15

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = egypt
and I_CompareCounter settlementowner_Lixus != 15

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov2
end_if


if I_SettlementOwner Ekbatana = egypt
and I_CompareCounter settlementowner_Ekbatana != 15

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = egypt
and I_CompareCounter settlementowner_Kallatis != 15

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = egypt
and I_CompareCounter settlementowner_Bibracte != 15

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = egypt
and I_CompareCounter settlementowner_Cenabum != 15

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = egypt
and I_CompareCounter settlementowner_Eburonum != 15

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = egypt
and I_CompareCounter settlementowner_Pergamon != 15

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = egypt
and I_CompareCounter settlementowner_Bostra != 15

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = egypt
and I_CompareCounter settlementowner_Bagacos != 15

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = egypt
and I_CompareCounter settlementowner_Gordu_Neuriji != 15

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = egypt
and I_CompareCounter settlementowner_Iuvavoaeta != 15

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = egypt
and I_CompareCounter settlementowner_Kirtan != 15

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = egypt
and I_CompareCounter settlementowner_Hibis != 15

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = egypt
and I_CompareCounter settlementowner_Tylis != 15

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = egypt
and I_CompareCounter settlementowner_Side != 15

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = egypt
and I_CompareCounter settlementowner_Vindobona != 15

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = egypt
and I_CompareCounter settlementowner_Segestica != 15

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = egypt
and I_CompareCounter settlementowner_Sinope != 15

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = egypt
and I_CompareCounter settlementowner_Kophen != 15

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = egypt
and I_CompareCounter settlementowner_Hekatompylos != 15

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = egypt
and I_CompareCounter settlementowner_Korinthos != 15

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = egypt
and I_CompareCounter settlementowner_Persepolis != 15

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = egypt
and I_CompareCounter settlementowner_Garama != 15

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = egypt
and I_CompareCounter settlementowner_Sidon != 15

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov2
end_if


if I_SettlementOwner Ipsos = egypt
and I_CompareCounter settlementowner_Ipsos != 15

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = egypt
and I_CompareCounter settlementowner_Ani-Kamah != 15

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = egypt
and I_CompareCounter settlementowner_Trapezous != 15

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = egypt
and I_CompareCounter settlementowner_Tamane != 15

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = egypt
and I_CompareCounter settlementowner_Veldideno != 15

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = egypt
and I_CompareCounter settlementowner_Rhodos != 15

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov2
end_if


if I_SettlementOwner Gawjam_Rugoz = egypt
and I_CompareCounter settlementowner_Gawjam_Rugoz != 15

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = egypt
and I_CompareCounter settlementowner_Maryab != 15

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = egypt
and I_CompareCounter settlementowner_Terhazza != 15

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = egypt
and I_CompareCounter settlementowner_Gava_Saka != 15

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = egypt
and I_CompareCounter settlementowner_Asodat != 15

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = egypt
and I_CompareCounter settlementowner_Karali != 15

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov2
end_if


if I_SettlementOwner Opiana = egypt
and I_CompareCounter settlementowner_Opiana != 15

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = egypt
and I_CompareCounter settlementowner_Singidunum != 15

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = egypt
and I_CompareCounter settlementowner_Seliun_Pilis != 15

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = egypt
and I_CompareCounter settlementowner_Gintaras_Ostan != 15

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = egypt
and I_CompareCounter settlementowner_Vesontio != 15

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = egypt
and I_CompareCounter settlementowner_Messana != 15

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = egypt
and I_CompareCounter settlementowner_Gawjam_Silengoz != 15

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = egypt
and I_CompareCounter settlementowner_Petra != 15

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = egypt
and I_CompareCounter settlementowner_Patala != 15

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = egypt
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 15

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = egypt
and I_CompareCounter settlementowner_Olbia != 15

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = egypt
and I_CompareCounter settlementowner_Marakanda != 15

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = egypt
and I_CompareCounter settlementowner_Karkathiokerta != 15

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = egypt
and I_CompareCounter settlementowner_Swebotraustastamnoz != 15

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = egypt
and I_CompareCounter settlementowner_Antiocheia != 15

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov2
end_if


if I_SettlementOwner Damaskos = egypt
and I_CompareCounter settlementowner_Damaskos != 15

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = egypt
and I_CompareCounter settlementowner_Palmyra != 15

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = egypt
and I_CompareCounter settlementowner_Chersonesos != 15

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = egypt
and I_CompareCounter settlementowner_Diospolis_Megale != 15

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = egypt
and I_CompareCounter settlementowner_Demetrias != 15

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = egypt
and I_CompareCounter settlementowner_Naissos != 15

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = egypt
and I_CompareCounter settlementowner_Ascaucalis != 15

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = egypt
and I_CompareCounter settlementowner_Pselkis != 15

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = egypt
and I_CompareCounter settlementowner_Syracuse != 15

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = egypt
and I_CompareCounter settlementowner_Lepki != 15

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov2
end_if


if I_SettlementOwner Gader = egypt
and I_CompareCounter settlementowner_Gader != 15

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov2
end_if


if I_SettlementOwner Sucum-Murgi = egypt
and I_CompareCounter settlementowner_Sucum-Murgi != 15

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = egypt
and I_CompareCounter settlementowner_Ariminum != 15

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = egypt
and I_CompareCounter settlementowner_Patavium != 15

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = egypt
and I_CompareCounter settlementowner_Vindelicoppidos != 15

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = egypt
and I_CompareCounter settlementowner_Tolosa != 15

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = egypt
and I_CompareCounter settlementowner_Chighu != 15

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = egypt
and I_CompareCounter settlementowner_Sulek != 15

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = egypt
and I_CompareCounter settlementowner_Kart_Hadast != 15

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov1
end_if


if I_SettlementOwner Ubar = egypt
and I_CompareCounter settlementowner_Ubar != 15

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType parthia
and not FactionIsLocal

if I_SettlementOwner Arbela = parthia
and I_CompareCounter settlementowner_Arbela != 16

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela reformedpastoralism
end_if


if I_SettlementOwner Phraaspa = parthia
and I_CompareCounter settlementowner_Phraaspa != 16

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa reformedpastoralism
end_if


if I_SettlementOwner Bononia = parthia
and I_CompareCounter settlementowner_Bononia != 16

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia govnomad
end_if


if I_SettlementOwner Kabalaka = parthia
and I_CompareCounter settlementowner_Kabalaka != 16

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka pastoralism
end_if


if I_SettlementOwner Thermon = parthia
and I_CompareCounter settlementowner_Thermon != 16

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon govnomad
end_if


if I_SettlementOwner Arpi = parthia
and I_CompareCounter settlementowner_Arpi != 16

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi govnomad
end_if


if I_SettlementOwner Burdigala = parthia
and I_CompareCounter settlementowner_Burdigala != 16

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala govnomad
end_if


if I_SettlementOwner Babylon = parthia
and I_CompareCounter settlementowner_Babylon != 16

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon reformedpastoralism
end_if


if I_SettlementOwner Alexandropolis = parthia
and I_CompareCounter settlementowner_Alexandropolis != 16

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis reformedpastoralism
end_if


if I_SettlementOwner Alexandreia_Ariana = parthia
and I_CompareCounter settlementowner_Alexandreia_Ariana != 16

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana reformedpastoralism
end_if


if I_SettlementOwner Darioritum = parthia
and I_CompareCounter settlementowner_Darioritum != 16

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum govnomad
end_if


if I_SettlementOwner Gergovia = parthia
and I_CompareCounter settlementowner_Gergovia != 16

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia govnomad
end_if


if I_SettlementOwner Edessa = parthia
and I_CompareCounter settlementowner_Edessa != 16

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa reformedpastoralism
end_if


if I_SettlementOwner Asaak = parthia
and I_CompareCounter settlementowner_Asaak != 16

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak reformedpastoralism
end_if


if I_SettlementOwner Pallantia = parthia
and I_CompareCounter settlementowner_Pallantia != 16

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia govnomad
end_if


if I_SettlementOwner Athenai = parthia
and I_CompareCounter settlementowner_Athenai != 16

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai govnomad
end_if


if I_SettlementOwner Augila_settlement = parthia
and I_CompareCounter settlementowner_Augila_settlement != 16

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement govnomad
end_if


if I_SettlementOwner Seleukeia = parthia
and I_CompareCounter settlementowner_Seleukeia != 16

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia reformedpastoralism
end_if


if I_SettlementOwner Baktra = parthia
and I_CompareCounter settlementowner_Baktra != 16

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra govnomad
end_if


if I_SettlementOwner Bocchoris = parthia
and I_CompareCounter settlementowner_Bocchoris != 16

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris govnomad
end_if


if I_SettlementOwner Gawjam_Bastarnoz = parthia
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 16

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz govnomad
end_if


if I_SettlementOwner Mastia = parthia
and I_CompareCounter settlementowner_Mastia != 16

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia govnomad
end_if


if I_SettlementOwner Avaricum = parthia
and I_CompareCounter settlementowner_Avaricum != 16

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum govnomad
end_if


if I_SettlementOwner Bratosporios = parthia
and I_CompareCounter settlementowner_Bratosporios != 16

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios govnomad
end_if


if I_SettlementOwner Nikaia = parthia
and I_CompareCounter settlementowner_Nikaia != 16

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia pastoralism
end_if


if I_SettlementOwner Pantikapaion = parthia
and I_CompareCounter settlementowner_Pantikapaion != 16

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion pastoralism
end_if


if I_SettlementOwner Rhegion = parthia
and I_CompareCounter settlementowner_Rhegion != 16

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion govnomad
end_if


if I_SettlementOwner Caern_Brigantae = parthia
and I_CompareCounter settlementowner_Caern_Brigantae != 16

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae govnomad
end_if


if I_SettlementOwner Gelonus = parthia
and I_CompareCounter settlementowner_Gelonus != 16

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus pastoralism
end_if


if I_SettlementOwner Adrumeto = parthia
and I_CompareCounter settlementowner_Adrumeto != 16

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto govnomad
end_if


if I_SettlementOwner Attuaca = parthia
and I_CompareCounter settlementowner_Attuaca != 16

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca govnomad
end_if


if I_SettlementOwner Capua = parthia
and I_CompareCounter settlementowner_Capua != 16

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua govnomad
end_if


if I_SettlementOwner Vellika = parthia
and I_CompareCounter settlementowner_Vellika != 16

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika govnomad
end_if


if I_SettlementOwner Baikor = parthia
and I_CompareCounter settlementowner_Baikor != 16

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor govnomad
end_if


if I_SettlementOwner Camulosadae = parthia
and I_CompareCounter settlementowner_Camulosadae != 16

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae govnomad
end_if


if I_SettlementOwner Numantia = parthia
and I_CompareCounter settlementowner_Numantia != 16

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia pastoralism
end_if


if I_SettlementOwner Charax = parthia
and I_CompareCounter settlementowner_Charax != 16

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax reformedpastoralism
end_if


if I_SettlementOwner Byzantion = parthia
and I_CompareCounter settlementowner_Byzantion != 16

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion govnomad
end_if


if I_SettlementOwner Ptolemais_Theron = parthia
and I_CompareCounter settlementowner_Ptolemais_Theron != 16

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron govnomad
end_if


if I_SettlementOwner Ratae = parthia
and I_CompareCounter settlementowner_Ratae != 16

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae govnomad
end_if


if I_SettlementOwner Ictis = parthia
and I_CompareCounter settlementowner_Ictis != 16

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis govnomad
end_if


if I_SettlementOwner Lucarottea = parthia
and I_CompareCounter settlementowner_Lucarottea != 16

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea pastoralism
end_if


if I_SettlementOwner Emain_Macha = parthia
and I_CompareCounter settlementowner_Emain_Macha != 16

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha govnomad
end_if


if I_SettlementOwner Atiqa = parthia
and I_CompareCounter settlementowner_Atiqa != 16

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa govnomad
end_if


if I_SettlementOwner Ynys_Mon = parthia
and I_CompareCounter settlementowner_Ynys_Mon != 16

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon govnomad
end_if


if I_SettlementOwner Gava_Alanna = parthia
and I_CompareCounter settlementowner_Gava_Alanna != 16

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna nomadism
end_if


if I_SettlementOwner Gava_Aursa = parthia
and I_CompareCounter settlementowner_Gava_Aursa != 16

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa nomadism
end_if


if I_SettlementOwner Nisa = parthia
and I_CompareCounter settlementowner_Nisa != 16

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa pastoralism
end_if


if I_SettlementOwner Gava_Haomavarga = parthia
and I_CompareCounter settlementowner_Gava_Haomavarga != 16

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga pastoralism
end_if


if I_SettlementOwner Gava_Mazsakata = parthia
and I_CompareCounter settlementowner_Gava_Mazsakata != 16

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata nomadism
end_if


if I_SettlementOwner Gava_Roxsalanna = parthia
and I_CompareCounter settlementowner_Gava_Roxsalanna != 16

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna nomadism
end_if


if I_SettlementOwner Uspe = parthia
and I_CompareCounter settlementowner_Uspe != 16

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe pastoralism
end_if


if I_SettlementOwner Gava_Thissakata = parthia
and I_CompareCounter settlementowner_Gava_Thissakata != 16

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata pastoralism
end_if


if I_SettlementOwner Gava_Yazyga = parthia
and I_CompareCounter settlementowner_Gava_Yazyga != 16

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga nomadism
end_if


if I_SettlementOwner Gava_Yugra = parthia
and I_CompareCounter settlementowner_Gava_Yugra != 16

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra pastoralism
end_if


if I_SettlementOwner Dalminion = parthia
and I_CompareCounter settlementowner_Dalminion != 16

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion govnomad
end_if


if I_SettlementOwner Serdike = parthia
and I_CompareCounter settlementowner_Serdike != 16

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike pastoralism
end_if


if I_SettlementOwner Alexandreia_Eschate = parthia
and I_CompareCounter settlementowner_Alexandreia_Eschate != 16

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate pastoralism
end_if


if I_SettlementOwner Alexandreia = parthia
and I_CompareCounter settlementowner_Alexandreia != 16

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia govnomad
end_if


if I_SettlementOwner Axum = parthia
and I_CompareCounter settlementowner_Axum != 16

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum govnomad
end_if


if I_SettlementOwner Prophthasia = parthia
and I_CompareCounter settlementowner_Prophthasia != 16

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia reformedpastoralism
end_if


if I_SettlementOwner Arse = parthia
and I_CompareCounter settlementowner_Arse != 16

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse govnomad
end_if


if I_SettlementOwner Kotais = parthia
and I_CompareCounter settlementowner_Kotais != 16

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais pastoralism
end_if


if I_SettlementOwner Lilibeo = parthia
and I_CompareCounter settlementowner_Lilibeo != 16

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo govnomad
end_if


if I_SettlementOwner Susa = parthia
and I_CompareCounter settlementowner_Susa != 16

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa reformedpastoralism
end_if


if I_SettlementOwner Apollonia = parthia
and I_CompareCounter settlementowner_Apollonia != 16

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia govnomad
end_if


if I_SettlementOwner Ivernis = parthia
and I_CompareCounter settlementowner_Ivernis != 16

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis govnomad
end_if


if I_SettlementOwner Ak_Ink = parthia
and I_CompareCounter settlementowner_Ak_Ink != 16

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink pastoralism
end_if


if I_SettlementOwner Arretium = parthia
and I_CompareCounter settlementowner_Arretium != 16

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium govnomad
end_if


if I_SettlementOwner Chalkis = parthia
and I_CompareCounter settlementowner_Chalkis != 16

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis govnomad
end_if


if I_SettlementOwner Gabai = parthia
and I_CompareCounter settlementowner_Gabai != 16

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai reformedpastoralism
end_if


if I_SettlementOwner Tuat = parthia
and I_CompareCounter settlementowner_Tuat != 16

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat govnomad
end_if


if I_SettlementOwner Tyde = parthia
and I_CompareCounter settlementowner_Tyde != 16

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde govnomad
end_if


if I_SettlementOwner Ankyra = parthia
and I_CompareCounter settlementowner_Ankyra != 16

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra pastoralism
end_if


if I_SettlementOwner Taksashila = parthia
and I_CompareCounter settlementowner_Taksashila != 16

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila govnomad
end_if


if I_SettlementOwner Pura = parthia
and I_CompareCounter settlementowner_Pura != 16

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura reformedpastoralism
end_if


if I_SettlementOwner Gerrha = parthia
and I_CompareCounter settlementowner_Gerrha != 16

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha govnomad
end_if


if I_SettlementOwner Buridava = parthia
and I_CompareCounter settlementowner_Buridava != 16

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava pastoralism
end_if


if I_SettlementOwner Sarmiszegethusa = parthia
and I_CompareCounter settlementowner_Sarmiszegethusa != 16

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa pastoralism
end_if


if I_SettlementOwner Massalia = parthia
and I_CompareCounter settlementowner_Massalia != 16

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia govnomad
end_if


if I_SettlementOwner Gawjam_Habukoz = parthia
and I_CompareCounter settlementowner_Gawjam_Habukoz != 16

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz govnomad
end_if


if I_SettlementOwner Sabata = parthia
and I_CompareCounter settlementowner_Sabata != 16

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata govnomad
end_if


if I_SettlementOwner Arctaunon = parthia
and I_CompareCounter settlementowner_Arctaunon != 16

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon govnomad
end_if


if I_SettlementOwner Armavir = parthia
and I_CompareCounter settlementowner_Armavir != 16

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir reformedpastoralism
end_if


if I_SettlementOwner Aventicos = parthia
and I_CompareCounter settlementowner_Aventicos != 16

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos govnomad
end_if


if I_SettlementOwner Memphis = parthia
and I_CompareCounter settlementowner_Memphis != 16

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis govnomad
end_if


if I_SettlementOwner Gawjam_Heruskoz = parthia
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 16

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz govnomad
end_if


if I_SettlementOwner Zadrakata = parthia
and I_CompareCounter settlementowner_Zadrakata != 16

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata reformedpastoralism
end_if


if I_SettlementOwner Epidamnos = parthia
and I_CompareCounter settlementowner_Epidamnos != 16

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos govnomad
end_if


if I_SettlementOwner Mediolanum = parthia
and I_CompareCounter settlementowner_Mediolanum != 16

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum govnomad
end_if


if I_SettlementOwner Hierosolyma = parthia
and I_CompareCounter settlementowner_Hierosolyma != 16

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma govnomad
end_if


if I_SettlementOwner Taras = parthia
and I_CompareCounter settlementowner_Taras != 16

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras govnomad
end_if


if I_SettlementOwner Chach = parthia
and I_CompareCounter settlementowner_Chach != 16

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach pastoralism
end_if


if I_SettlementOwner Mazaka = parthia
and I_CompareCounter settlementowner_Mazaka != 16

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka pastoralism
end_if


if I_SettlementOwner Amaseia = parthia
and I_CompareCounter settlementowner_Amaseia != 16

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia pastoralism
end_if


if I_SettlementOwner Halikarnassos = parthia
and I_CompareCounter settlementowner_Halikarnassos != 16

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos pastoralism
end_if


if I_SettlementOwner Karmana = parthia
and I_CompareCounter settlementowner_Karmana != 16

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana reformedpastoralism
end_if


if I_SettlementOwner Mtskheta = parthia
and I_CompareCounter settlementowner_Mtskheta != 16

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta pastoralism
end_if


if I_SettlementOwner Apameia = parthia
and I_CompareCounter settlementowner_Apameia != 16

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia reformedpastoralism
end_if


if I_SettlementOwner Khiva = parthia
and I_CompareCounter settlementowner_Khiva != 16

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva pastoralism
end_if


if I_SettlementOwner Tarsos = parthia
and I_CompareCounter settlementowner_Tarsos != 16

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos pastoralism
end_if


if I_SettlementOwner Gawjam_Kimbroz = parthia
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 16

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz govnomad
end_if


if I_SettlementOwner Alalia = parthia
and I_CompareCounter settlementowner_Alalia != 16

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia govnomad
end_if


if I_SettlementOwner Kydonia = parthia
and I_CompareCounter settlementowner_Kydonia != 16

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia govnomad
end_if


if I_SettlementOwner Meroe = parthia
and I_CompareCounter settlementowner_Meroe != 16

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe govnomad
end_if


if I_SettlementOwner Salamis = parthia
and I_CompareCounter settlementowner_Salamis != 16

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis govnomad
end_if


if I_SettlementOwner Kyrene = parthia
and I_CompareCounter settlementowner_Kyrene != 16

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene govnomad
end_if


if I_SettlementOwner Emporion = parthia
and I_CompareCounter settlementowner_Emporion != 16

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion govnomad
end_if


if I_SettlementOwner Sparte = parthia
and I_CompareCounter settlementowner_Sparte != 16

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte govnomad
end_if


if I_SettlementOwner Gawjam_Gotanoz = parthia
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 16

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz govnomad
end_if


if I_SettlementOwner Rome = parthia
and I_CompareCounter settlementowner_Rome != 16

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome govnomad
end_if


if I_SettlementOwner Lemonum = parthia
and I_CompareCounter settlementowner_Lemonum != 16

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum govnomad
end_if


if I_SettlementOwner Mytilene = parthia
and I_CompareCounter settlementowner_Mytilene != 16

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene govnomad
end_if


if I_SettlementOwner Ammonion = parthia
and I_CompareCounter settlementowner_Ammonion != 16

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion govnomad
end_if


if I_SettlementOwner Segesta = parthia
and I_CompareCounter settlementowner_Segesta != 16

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta govnomad
end_if


if I_SettlementOwner Viennos = parthia
and I_CompareCounter settlementowner_Viennos != 16

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos govnomad
end_if


if I_SettlementOwner Carrodunum = parthia
and I_CompareCounter settlementowner_Carrodunum != 16

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum pastoralism
end_if


if I_SettlementOwner Oxtraca = parthia
and I_CompareCounter settlementowner_Oxtraca != 16

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca pastoralism
end_if


if I_SettlementOwner Sardis = parthia
and I_CompareCounter settlementowner_Sardis != 16

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis pastoralism
end_if


if I_SettlementOwner Tanais = parthia
and I_CompareCounter settlementowner_Tanais != 16

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais pastoralism
end_if


if I_SettlementOwner Carna = parthia
and I_CompareCounter settlementowner_Carna != 16

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna govnomad
end_if


if I_SettlementOwner Pella = parthia
and I_CompareCounter settlementowner_Pella != 16

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella govnomad
end_if


if I_SettlementOwner Homna = parthia
and I_CompareCounter settlementowner_Homna != 16

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna govnomad
end_if


if I_SettlementOwner Antiocheia_Margiane = parthia
and I_CompareCounter settlementowner_Antiocheia_Margiane != 16

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane pastoralism
end_if


if I_SettlementOwner Paraitonion = parthia
and I_CompareCounter settlementowner_Paraitonion != 16

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion govnomad
end_if


if I_SettlementOwner Ippone = parthia
and I_CompareCounter settlementowner_Ippone != 16

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone pastoralism
end_if


if I_SettlementOwner Sala = parthia
and I_CompareCounter settlementowner_Sala != 16

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala govnomad
end_if


if I_SettlementOwner Siga = parthia
and I_CompareCounter settlementowner_Siga != 16

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga pastoralism
end_if


if I_SettlementOwner Lixus = parthia
and I_CompareCounter settlementowner_Lixus != 16

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus pastoralism
end_if


if I_SettlementOwner Ekbatana = parthia
and I_CompareCounter settlementowner_Ekbatana != 16

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana reformedpastoralism
end_if


if I_SettlementOwner Kallatis = parthia
and I_CompareCounter settlementowner_Kallatis != 16

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis pastoralism
end_if


if I_SettlementOwner Bibracte = parthia
and I_CompareCounter settlementowner_Bibracte != 16

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte govnomad
end_if


if I_SettlementOwner Cenabum = parthia
and I_CompareCounter settlementowner_Cenabum != 16

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum govnomad
end_if


if I_SettlementOwner Eburonum = parthia
and I_CompareCounter settlementowner_Eburonum != 16

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum govnomad
end_if


if I_SettlementOwner Pergamon = parthia
and I_CompareCounter settlementowner_Pergamon != 16

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon pastoralism
end_if


if I_SettlementOwner Bostra = parthia
and I_CompareCounter settlementowner_Bostra != 16

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra govnomad
end_if


if I_SettlementOwner Bagacos = parthia
and I_CompareCounter settlementowner_Bagacos != 16

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos govnomad
end_if


if I_SettlementOwner Gordu_Neuriji = parthia
and I_CompareCounter settlementowner_Gordu_Neuriji != 16

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji pastoralism
end_if


if I_SettlementOwner Iuvavoaeta = parthia
and I_CompareCounter settlementowner_Iuvavoaeta != 16

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta govnomad
end_if


if I_SettlementOwner Kirtan = parthia
and I_CompareCounter settlementowner_Kirtan != 16

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan govnomad
end_if


if I_SettlementOwner Hibis = parthia
and I_CompareCounter settlementowner_Hibis != 16

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis govnomad
end_if


if I_SettlementOwner Tylis = parthia
and I_CompareCounter settlementowner_Tylis != 16

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis govnomad
end_if


if I_SettlementOwner Side = parthia
and I_CompareCounter settlementowner_Side != 16

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side govnomad
end_if


if I_SettlementOwner Vindobona = parthia
and I_CompareCounter settlementowner_Vindobona != 16

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona pastoralism
end_if


if I_SettlementOwner Segestica = parthia
and I_CompareCounter settlementowner_Segestica != 16

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica pastoralism
end_if


if I_SettlementOwner Sinope = parthia
and I_CompareCounter settlementowner_Sinope != 16

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope pastoralism
end_if


if I_SettlementOwner Kophen = parthia
and I_CompareCounter settlementowner_Kophen != 16

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen pastoralism
end_if


if I_SettlementOwner Hekatompylos = parthia
and I_CompareCounter settlementowner_Hekatompylos != 16

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos reformedpastoralism
end_if


if I_SettlementOwner Korinthos = parthia
and I_CompareCounter settlementowner_Korinthos != 16

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos govnomad
end_if


if I_SettlementOwner Persepolis = parthia
and I_CompareCounter settlementowner_Persepolis != 16

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis reformedpastoralism
end_if


if I_SettlementOwner Garama = parthia
and I_CompareCounter settlementowner_Garama != 16

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama govnomad
end_if


if I_SettlementOwner Sidon = parthia
and I_CompareCounter settlementowner_Sidon != 16

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon govnomad
end_if


if I_SettlementOwner Ipsos = parthia
and I_CompareCounter settlementowner_Ipsos != 16

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos pastoralism
end_if


if I_SettlementOwner Ani-Kamah = parthia
and I_CompareCounter settlementowner_Ani-Kamah != 16

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah pastoralism
end_if


if I_SettlementOwner Trapezous = parthia
and I_CompareCounter settlementowner_Trapezous != 16

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous pastoralism
end_if


if I_SettlementOwner Tamane = parthia
and I_CompareCounter settlementowner_Tamane != 16

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane govnomad
end_if


if I_SettlementOwner Veldideno = parthia
and I_CompareCounter settlementowner_Veldideno != 16

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno govnomad
end_if


if I_SettlementOwner Rhodos = parthia
and I_CompareCounter settlementowner_Rhodos != 16

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos govnomad
end_if


if I_SettlementOwner Gawjam_Rugoz = parthia
and I_CompareCounter settlementowner_Gawjam_Rugoz != 16

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz govnomad
end_if


if I_SettlementOwner Maryab = parthia
and I_CompareCounter settlementowner_Maryab != 16

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab govnomad
end_if


if I_SettlementOwner Terhazza = parthia
and I_CompareCounter settlementowner_Terhazza != 16

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza govnomad
end_if


if I_SettlementOwner Gava_Saka = parthia
and I_CompareCounter settlementowner_Gava_Saka != 16

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka nomadism
end_if


if I_SettlementOwner Asodat = parthia
and I_CompareCounter settlementowner_Asodat != 16

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat pastoralism
end_if


if I_SettlementOwner Karali = parthia
and I_CompareCounter settlementowner_Karali != 16

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali govnomad
end_if


if I_SettlementOwner Opiana = parthia
and I_CompareCounter settlementowner_Opiana != 16

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana govnomad
end_if


if I_SettlementOwner Singidunum = parthia
and I_CompareCounter settlementowner_Singidunum != 16

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum pastoralism
end_if


if I_SettlementOwner Seliun_Pilis = parthia
and I_CompareCounter settlementowner_Seliun_Pilis != 16

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis pastoralism
end_if


if I_SettlementOwner Gintaras_Ostan = parthia
and I_CompareCounter settlementowner_Gintaras_Ostan != 16

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan pastoralism
end_if


if I_SettlementOwner Vesontio = parthia
and I_CompareCounter settlementowner_Vesontio != 16

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio govnomad
end_if


if I_SettlementOwner Messana = parthia
and I_CompareCounter settlementowner_Messana != 16

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana govnomad
end_if


if I_SettlementOwner Gawjam_Silengoz = parthia
and I_CompareCounter settlementowner_Gawjam_Silengoz != 16

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz pastoralism
end_if


if I_SettlementOwner Petra = parthia
and I_CompareCounter settlementowner_Petra != 16

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra govnomad
end_if


if I_SettlementOwner Patala = parthia
and I_CompareCounter settlementowner_Patala != 16

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala govnomad
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = parthia
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 16

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz govnomad
end_if


if I_SettlementOwner Olbia = parthia
and I_CompareCounter settlementowner_Olbia != 16

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia pastoralism
end_if


if I_SettlementOwner Marakanda = parthia
and I_CompareCounter settlementowner_Marakanda != 16

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda pastoralism
end_if


if I_SettlementOwner Karkathiokerta = parthia
and I_CompareCounter settlementowner_Karkathiokerta != 16

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta reformedpastoralism
end_if


if I_SettlementOwner Swebotraustastamnoz = parthia
and I_CompareCounter settlementowner_Swebotraustastamnoz != 16

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz govnomad
end_if


if I_SettlementOwner Antiocheia = parthia
and I_CompareCounter settlementowner_Antiocheia != 16

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia govnomad
end_if


if I_SettlementOwner Damaskos = parthia
and I_CompareCounter settlementowner_Damaskos != 16

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos govnomad
end_if


if I_SettlementOwner Palmyra = parthia
and I_CompareCounter settlementowner_Palmyra != 16

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra pastoralism
end_if


if I_SettlementOwner Chersonesos = parthia
and I_CompareCounter settlementowner_Chersonesos != 16

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos pastoralism
end_if


if I_SettlementOwner Diospolis_Megale = parthia
and I_CompareCounter settlementowner_Diospolis_Megale != 16

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale govnomad
end_if


if I_SettlementOwner Demetrias = parthia
and I_CompareCounter settlementowner_Demetrias != 16

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias govnomad
end_if


if I_SettlementOwner Naissos = parthia
and I_CompareCounter settlementowner_Naissos != 16

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos pastoralism
end_if


if I_SettlementOwner Ascaucalis = parthia
and I_CompareCounter settlementowner_Ascaucalis != 16

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis pastoralism
end_if


if I_SettlementOwner Pselkis = parthia
and I_CompareCounter settlementowner_Pselkis != 16

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis govnomad
end_if


if I_SettlementOwner Syracuse = parthia
and I_CompareCounter settlementowner_Syracuse != 16

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse govnomad
end_if


if I_SettlementOwner Lepki = parthia
and I_CompareCounter settlementowner_Lepki != 16

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki pastoralism
end_if


if I_SettlementOwner Gader = parthia
and I_CompareCounter settlementowner_Gader != 16

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader govnomad
end_if


if I_SettlementOwner Sucum-Murgi = parthia
and I_CompareCounter settlementowner_Sucum-Murgi != 16

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi govnomad
end_if


if I_SettlementOwner Ariminum = parthia
and I_CompareCounter settlementowner_Ariminum != 16

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum govnomad
end_if


if I_SettlementOwner Patavium = parthia
and I_CompareCounter settlementowner_Patavium != 16

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium govnomad
end_if


if I_SettlementOwner Vindelicoppidos = parthia
and I_CompareCounter settlementowner_Vindelicoppidos != 16

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos govnomad
end_if


if I_SettlementOwner Tolosa = parthia
and I_CompareCounter settlementowner_Tolosa != 16

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa govnomad
end_if


if I_SettlementOwner Chighu = parthia
and I_CompareCounter settlementowner_Chighu != 16

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu pastoralism
end_if


if I_SettlementOwner Sulek = parthia
and I_CompareCounter settlementowner_Sulek != 16

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek nomadism
end_if


if I_SettlementOwner Kart_Hadast = parthia
and I_CompareCounter settlementowner_Kart_Hadast != 16

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast govnomad
end_if


if I_SettlementOwner Ubar = parthia
and I_CompareCounter settlementowner_Ubar != 16

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar govnomad
end_if
end_monitor

monitor_event FactionTurnEnd FactionType numidia
and not FactionIsLocal

if I_SettlementOwner Arbela = numidia
and I_CompareCounter settlementowner_Arbela != 17

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov2
end_if


if I_SettlementOwner Phraaspa = numidia
and I_CompareCounter settlementowner_Phraaspa != 17

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = numidia
and I_CompareCounter settlementowner_Bononia != 17

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = numidia
and I_CompareCounter settlementowner_Kabalaka != 17

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = numidia
and I_CompareCounter settlementowner_Thermon != 17

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = numidia
and I_CompareCounter settlementowner_Arpi != 17

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = numidia
and I_CompareCounter settlementowner_Burdigala != 17

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = numidia
and I_CompareCounter settlementowner_Babylon != 17

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov2
end_if


if I_SettlementOwner Alexandropolis = numidia
and I_CompareCounter settlementowner_Alexandropolis != 17

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov2
end_if


if I_SettlementOwner Alexandreia_Ariana = numidia
and I_CompareCounter settlementowner_Alexandreia_Ariana != 17

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov2
end_if


if I_SettlementOwner Darioritum = numidia
and I_CompareCounter settlementowner_Darioritum != 17

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = numidia
and I_CompareCounter settlementowner_Gergovia != 17

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = numidia
and I_CompareCounter settlementowner_Edessa != 17

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov2
end_if


if I_SettlementOwner Asaak = numidia
and I_CompareCounter settlementowner_Asaak != 17

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = numidia
and I_CompareCounter settlementowner_Pallantia != 17

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = numidia
and I_CompareCounter settlementowner_Athenai != 17

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = numidia
and I_CompareCounter settlementowner_Augila_settlement != 17

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = numidia
and I_CompareCounter settlementowner_Seleukeia != 17

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov2
end_if


if I_SettlementOwner Baktra = numidia
and I_CompareCounter settlementowner_Baktra != 17

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov2
end_if


if I_SettlementOwner Bocchoris = numidia
and I_CompareCounter settlementowner_Bocchoris != 17

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = numidia
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 17

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = numidia
and I_CompareCounter settlementowner_Mastia != 17

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = numidia
and I_CompareCounter settlementowner_Avaricum != 17

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = numidia
and I_CompareCounter settlementowner_Bratosporios != 17

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = numidia
and I_CompareCounter settlementowner_Nikaia != 17

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = numidia
and I_CompareCounter settlementowner_Pantikapaion != 17

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = numidia
and I_CompareCounter settlementowner_Rhegion != 17

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = numidia
and I_CompareCounter settlementowner_Caern_Brigantae != 17

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = numidia
and I_CompareCounter settlementowner_Gelonus != 17

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = numidia
and I_CompareCounter settlementowner_Adrumeto != 17

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = numidia
and I_CompareCounter settlementowner_Attuaca != 17

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = numidia
and I_CompareCounter settlementowner_Capua != 17

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = numidia
and I_CompareCounter settlementowner_Vellika != 17

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = numidia
and I_CompareCounter settlementowner_Baikor != 17

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = numidia
and I_CompareCounter settlementowner_Camulosadae != 17

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = numidia
and I_CompareCounter settlementowner_Numantia != 17

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = numidia
and I_CompareCounter settlementowner_Charax != 17

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov2
end_if


if I_SettlementOwner Byzantion = numidia
and I_CompareCounter settlementowner_Byzantion != 17

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = numidia
and I_CompareCounter settlementowner_Ptolemais_Theron != 17

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov3
end_if


if I_SettlementOwner Ratae = numidia
and I_CompareCounter settlementowner_Ratae != 17

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = numidia
and I_CompareCounter settlementowner_Ictis != 17

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = numidia
and I_CompareCounter settlementowner_Lucarottea != 17

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = numidia
and I_CompareCounter settlementowner_Emain_Macha != 17

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = numidia
and I_CompareCounter settlementowner_Atiqa != 17

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = numidia
and I_CompareCounter settlementowner_Ynys_Mon != 17

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = numidia
and I_CompareCounter settlementowner_Gava_Alanna != 17

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = numidia
and I_CompareCounter settlementowner_Gava_Aursa != 17

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = numidia
and I_CompareCounter settlementowner_Nisa != 17

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = numidia
and I_CompareCounter settlementowner_Gava_Haomavarga != 17

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = numidia
and I_CompareCounter settlementowner_Gava_Mazsakata != 17

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = numidia
and I_CompareCounter settlementowner_Gava_Roxsalanna != 17

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = numidia
and I_CompareCounter settlementowner_Uspe != 17

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = numidia
and I_CompareCounter settlementowner_Gava_Thissakata != 17

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = numidia
and I_CompareCounter settlementowner_Gava_Yazyga != 17

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = numidia
and I_CompareCounter settlementowner_Gava_Yugra != 17

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = numidia
and I_CompareCounter settlementowner_Dalminion != 17

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = numidia
and I_CompareCounter settlementowner_Serdike != 17

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = numidia
and I_CompareCounter settlementowner_Alexandreia_Eschate != 17

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov2
end_if


if I_SettlementOwner Alexandreia = numidia
and I_CompareCounter settlementowner_Alexandreia != 17

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov1
end_if


if I_SettlementOwner Axum = numidia
and I_CompareCounter settlementowner_Axum != 17

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov3
end_if


if I_SettlementOwner Prophthasia = numidia
and I_CompareCounter settlementowner_Prophthasia != 17

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov2
end_if


if I_SettlementOwner Arse = numidia
and I_CompareCounter settlementowner_Arse != 17

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = numidia
and I_CompareCounter settlementowner_Kotais != 17

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = numidia
and I_CompareCounter settlementowner_Lilibeo != 17

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = numidia
and I_CompareCounter settlementowner_Susa != 17

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov2
end_if


if I_SettlementOwner Apollonia = numidia
and I_CompareCounter settlementowner_Apollonia != 17

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov2
end_if


if I_SettlementOwner Ivernis = numidia
and I_CompareCounter settlementowner_Ivernis != 17

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = numidia
and I_CompareCounter settlementowner_Ak_Ink != 17

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = numidia
and I_CompareCounter settlementowner_Arretium != 17

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = numidia
and I_CompareCounter settlementowner_Chalkis != 17

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = numidia
and I_CompareCounter settlementowner_Gabai != 17

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = numidia
and I_CompareCounter settlementowner_Tuat != 17

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = numidia
and I_CompareCounter settlementowner_Tyde != 17

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = numidia
and I_CompareCounter settlementowner_Ankyra != 17

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = numidia
and I_CompareCounter settlementowner_Taksashila != 17

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = numidia
and I_CompareCounter settlementowner_Pura != 17

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = numidia
and I_CompareCounter settlementowner_Gerrha != 17

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov3
end_if


if I_SettlementOwner Buridava = numidia
and I_CompareCounter settlementowner_Buridava != 17

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = numidia
and I_CompareCounter settlementowner_Sarmiszegethusa != 17

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = numidia
and I_CompareCounter settlementowner_Massalia != 17

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = numidia
and I_CompareCounter settlementowner_Gawjam_Habukoz != 17

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = numidia
and I_CompareCounter settlementowner_Sabata != 17

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov3
end_if


if I_SettlementOwner Arctaunon = numidia
and I_CompareCounter settlementowner_Arctaunon != 17

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = numidia
and I_CompareCounter settlementowner_Armavir != 17

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = numidia
and I_CompareCounter settlementowner_Aventicos != 17

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = numidia
and I_CompareCounter settlementowner_Memphis != 17

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov1
end_if


if I_SettlementOwner Gawjam_Heruskoz = numidia
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 17

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = numidia
and I_CompareCounter settlementowner_Zadrakata != 17

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = numidia
and I_CompareCounter settlementowner_Epidamnos != 17

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = numidia
and I_CompareCounter settlementowner_Mediolanum != 17

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = numidia
and I_CompareCounter settlementowner_Hierosolyma != 17

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = numidia
and I_CompareCounter settlementowner_Taras != 17

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = numidia
and I_CompareCounter settlementowner_Chach != 17

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = numidia
and I_CompareCounter settlementowner_Mazaka != 17

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = numidia
and I_CompareCounter settlementowner_Amaseia != 17

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = numidia
and I_CompareCounter settlementowner_Halikarnassos != 17

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = numidia
and I_CompareCounter settlementowner_Karmana != 17

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = numidia
and I_CompareCounter settlementowner_Mtskheta != 17

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = numidia
and I_CompareCounter settlementowner_Apameia != 17

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov2
end_if


if I_SettlementOwner Khiva = numidia
and I_CompareCounter settlementowner_Khiva != 17

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = numidia
and I_CompareCounter settlementowner_Tarsos != 17

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov2
end_if


if I_SettlementOwner Gawjam_Kimbroz = numidia
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 17

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = numidia
and I_CompareCounter settlementowner_Alalia != 17

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = numidia
and I_CompareCounter settlementowner_Kydonia != 17

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = numidia
and I_CompareCounter settlementowner_Meroe != 17

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = numidia
and I_CompareCounter settlementowner_Salamis != 17

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov2
end_if


if I_SettlementOwner Kyrene = numidia
and I_CompareCounter settlementowner_Kyrene != 17

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov2
end_if


if I_SettlementOwner Emporion = numidia
and I_CompareCounter settlementowner_Emporion != 17

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = numidia
and I_CompareCounter settlementowner_Sparte != 17

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = numidia
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 17

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = numidia
and I_CompareCounter settlementowner_Rome != 17

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = numidia
and I_CompareCounter settlementowner_Lemonum != 17

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = numidia
and I_CompareCounter settlementowner_Mytilene != 17

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = numidia
and I_CompareCounter settlementowner_Ammonion != 17

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov2
end_if


if I_SettlementOwner Segesta = numidia
and I_CompareCounter settlementowner_Segesta != 17

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = numidia
and I_CompareCounter settlementowner_Viennos != 17

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = numidia
and I_CompareCounter settlementowner_Carrodunum != 17

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = numidia
and I_CompareCounter settlementowner_Oxtraca != 17

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = numidia
and I_CompareCounter settlementowner_Sardis != 17

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov2
end_if


if I_SettlementOwner Tanais = numidia
and I_CompareCounter settlementowner_Tanais != 17

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = numidia
and I_CompareCounter settlementowner_Carna != 17

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov3
end_if


if I_SettlementOwner Pella = numidia
and I_CompareCounter settlementowner_Pella != 17

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov2
end_if


if I_SettlementOwner Homna = numidia
and I_CompareCounter settlementowner_Homna != 17

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov3
end_if


if I_SettlementOwner Antiocheia_Margiane = numidia
and I_CompareCounter settlementowner_Antiocheia_Margiane != 17

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = numidia
and I_CompareCounter settlementowner_Paraitonion != 17

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov2
end_if


if I_SettlementOwner Ippone = numidia
and I_CompareCounter settlementowner_Ippone != 17

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = numidia
and I_CompareCounter settlementowner_Sala != 17

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = numidia
and I_CompareCounter settlementowner_Siga != 17

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = numidia
and I_CompareCounter settlementowner_Lixus != 17

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = numidia
and I_CompareCounter settlementowner_Ekbatana != 17

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov2
end_if


if I_SettlementOwner Kallatis = numidia
and I_CompareCounter settlementowner_Kallatis != 17

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = numidia
and I_CompareCounter settlementowner_Bibracte != 17

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = numidia
and I_CompareCounter settlementowner_Cenabum != 17

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = numidia
and I_CompareCounter settlementowner_Eburonum != 17

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = numidia
and I_CompareCounter settlementowner_Pergamon != 17

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = numidia
and I_CompareCounter settlementowner_Bostra != 17

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov3
end_if


if I_SettlementOwner Bagacos = numidia
and I_CompareCounter settlementowner_Bagacos != 17

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = numidia
and I_CompareCounter settlementowner_Gordu_Neuriji != 17

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = numidia
and I_CompareCounter settlementowner_Iuvavoaeta != 17

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = numidia
and I_CompareCounter settlementowner_Kirtan != 17

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = numidia
and I_CompareCounter settlementowner_Hibis != 17

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov2
end_if


if I_SettlementOwner Tylis = numidia
and I_CompareCounter settlementowner_Tylis != 17

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = numidia
and I_CompareCounter settlementowner_Side != 17

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = numidia
and I_CompareCounter settlementowner_Vindobona != 17

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = numidia
and I_CompareCounter settlementowner_Segestica != 17

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = numidia
and I_CompareCounter settlementowner_Sinope != 17

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = numidia
and I_CompareCounter settlementowner_Kophen != 17

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = numidia
and I_CompareCounter settlementowner_Hekatompylos != 17

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov2
end_if


if I_SettlementOwner Korinthos = numidia
and I_CompareCounter settlementowner_Korinthos != 17

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = numidia
and I_CompareCounter settlementowner_Persepolis != 17

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov2
end_if


if I_SettlementOwner Garama = numidia
and I_CompareCounter settlementowner_Garama != 17

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = numidia
and I_CompareCounter settlementowner_Sidon != 17

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov2
end_if


if I_SettlementOwner Ipsos = numidia
and I_CompareCounter settlementowner_Ipsos != 17

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov2
end_if


if I_SettlementOwner Ani-Kamah = numidia
and I_CompareCounter settlementowner_Ani-Kamah != 17

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = numidia
and I_CompareCounter settlementowner_Trapezous != 17

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = numidia
and I_CompareCounter settlementowner_Tamane != 17

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov3
end_if


if I_SettlementOwner Veldideno = numidia
and I_CompareCounter settlementowner_Veldideno != 17

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = numidia
and I_CompareCounter settlementowner_Rhodos != 17

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = numidia
and I_CompareCounter settlementowner_Gawjam_Rugoz != 17

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = numidia
and I_CompareCounter settlementowner_Maryab != 17

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov3
end_if


if I_SettlementOwner Terhazza = numidia
and I_CompareCounter settlementowner_Terhazza != 17

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = numidia
and I_CompareCounter settlementowner_Gava_Saka != 17

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = numidia
and I_CompareCounter settlementowner_Asodat != 17

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = numidia
and I_CompareCounter settlementowner_Karali != 17

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = numidia
and I_CompareCounter settlementowner_Opiana != 17

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = numidia
and I_CompareCounter settlementowner_Singidunum != 17

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = numidia
and I_CompareCounter settlementowner_Seliun_Pilis != 17

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = numidia
and I_CompareCounter settlementowner_Gintaras_Ostan != 17

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = numidia
and I_CompareCounter settlementowner_Vesontio != 17

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = numidia
and I_CompareCounter settlementowner_Messana != 17

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = numidia
and I_CompareCounter settlementowner_Gawjam_Silengoz != 17

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = numidia
and I_CompareCounter settlementowner_Petra != 17

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov3
end_if


if I_SettlementOwner Patala = numidia
and I_CompareCounter settlementowner_Patala != 17

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = numidia
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 17

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = numidia
and I_CompareCounter settlementowner_Olbia != 17

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = numidia
and I_CompareCounter settlementowner_Marakanda != 17

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = numidia
and I_CompareCounter settlementowner_Karkathiokerta != 17

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov2
end_if


if I_SettlementOwner Swebotraustastamnoz = numidia
and I_CompareCounter settlementowner_Swebotraustastamnoz != 17

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = numidia
and I_CompareCounter settlementowner_Antiocheia != 17

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov2
end_if


if I_SettlementOwner Damaskos = numidia
and I_CompareCounter settlementowner_Damaskos != 17

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov2
end_if


if I_SettlementOwner Palmyra = numidia
and I_CompareCounter settlementowner_Palmyra != 17

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = numidia
and I_CompareCounter settlementowner_Chersonesos != 17

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = numidia
and I_CompareCounter settlementowner_Diospolis_Megale != 17

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov2
end_if


if I_SettlementOwner Demetrias = numidia
and I_CompareCounter settlementowner_Demetrias != 17

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = numidia
and I_CompareCounter settlementowner_Naissos != 17

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = numidia
and I_CompareCounter settlementowner_Ascaucalis != 17

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = numidia
and I_CompareCounter settlementowner_Pselkis != 17

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov2
end_if


if I_SettlementOwner Syracuse = numidia
and I_CompareCounter settlementowner_Syracuse != 17

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = numidia
and I_CompareCounter settlementowner_Lepki != 17

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = numidia
and I_CompareCounter settlementowner_Gader != 17

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = numidia
and I_CompareCounter settlementowner_Sucum-Murgi != 17

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = numidia
and I_CompareCounter settlementowner_Ariminum != 17

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = numidia
and I_CompareCounter settlementowner_Patavium != 17

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = numidia
and I_CompareCounter settlementowner_Vindelicoppidos != 17

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = numidia
and I_CompareCounter settlementowner_Tolosa != 17

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = numidia
and I_CompareCounter settlementowner_Chighu != 17

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = numidia
and I_CompareCounter settlementowner_Sulek != 17

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = numidia
and I_CompareCounter settlementowner_Kart_Hadast != 17

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = numidia
and I_CompareCounter settlementowner_Ubar != 17

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov3
end_if
end_monitor

monitor_event FactionTurnEnd FactionType saba
and not FactionIsLocal

if I_SettlementOwner Arbela = saba
and I_CompareCounter settlementowner_Arbela != 18

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela gov3
end_if


if I_SettlementOwner Phraaspa = saba
and I_CompareCounter settlementowner_Phraaspa != 18

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa gov3
end_if


if I_SettlementOwner Bononia = saba
and I_CompareCounter settlementowner_Bononia != 18

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia gov3
end_if


if I_SettlementOwner Kabalaka = saba
and I_CompareCounter settlementowner_Kabalaka != 18

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka gov3
end_if


if I_SettlementOwner Thermon = saba
and I_CompareCounter settlementowner_Thermon != 18

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon gov3
end_if


if I_SettlementOwner Arpi = saba
and I_CompareCounter settlementowner_Arpi != 18

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi gov3
end_if


if I_SettlementOwner Burdigala = saba
and I_CompareCounter settlementowner_Burdigala != 18

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala gov3
end_if


if I_SettlementOwner Babylon = saba
and I_CompareCounter settlementowner_Babylon != 18

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon gov3
end_if


if I_SettlementOwner Alexandropolis = saba
and I_CompareCounter settlementowner_Alexandropolis != 18

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis gov3
end_if


if I_SettlementOwner Alexandreia_Ariana = saba
and I_CompareCounter settlementowner_Alexandreia_Ariana != 18

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana gov3
end_if


if I_SettlementOwner Darioritum = saba
and I_CompareCounter settlementowner_Darioritum != 18

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum gov3
end_if


if I_SettlementOwner Gergovia = saba
and I_CompareCounter settlementowner_Gergovia != 18

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia gov3
end_if


if I_SettlementOwner Edessa = saba
and I_CompareCounter settlementowner_Edessa != 18

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa gov3
end_if


if I_SettlementOwner Asaak = saba
and I_CompareCounter settlementowner_Asaak != 18

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak gov3
end_if


if I_SettlementOwner Pallantia = saba
and I_CompareCounter settlementowner_Pallantia != 18

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia gov3
end_if


if I_SettlementOwner Athenai = saba
and I_CompareCounter settlementowner_Athenai != 18

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai gov3
end_if


if I_SettlementOwner Augila_settlement = saba
and I_CompareCounter settlementowner_Augila_settlement != 18

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement gov3
end_if


if I_SettlementOwner Seleukeia = saba
and I_CompareCounter settlementowner_Seleukeia != 18

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia gov3
end_if


if I_SettlementOwner Baktra = saba
and I_CompareCounter settlementowner_Baktra != 18

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra gov3
end_if


if I_SettlementOwner Bocchoris = saba
and I_CompareCounter settlementowner_Bocchoris != 18

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris gov3
end_if


if I_SettlementOwner Gawjam_Bastarnoz = saba
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 18

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz gov3
end_if


if I_SettlementOwner Mastia = saba
and I_CompareCounter settlementowner_Mastia != 18

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia gov3
end_if


if I_SettlementOwner Avaricum = saba
and I_CompareCounter settlementowner_Avaricum != 18

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum gov3
end_if


if I_SettlementOwner Bratosporios = saba
and I_CompareCounter settlementowner_Bratosporios != 18

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios gov3
end_if


if I_SettlementOwner Nikaia = saba
and I_CompareCounter settlementowner_Nikaia != 18

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia gov3
end_if


if I_SettlementOwner Pantikapaion = saba
and I_CompareCounter settlementowner_Pantikapaion != 18

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion gov3
end_if


if I_SettlementOwner Rhegion = saba
and I_CompareCounter settlementowner_Rhegion != 18

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion gov3
end_if


if I_SettlementOwner Caern_Brigantae = saba
and I_CompareCounter settlementowner_Caern_Brigantae != 18

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae gov3
end_if


if I_SettlementOwner Gelonus = saba
and I_CompareCounter settlementowner_Gelonus != 18

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus gov3
end_if


if I_SettlementOwner Adrumeto = saba
and I_CompareCounter settlementowner_Adrumeto != 18

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto gov3
end_if


if I_SettlementOwner Attuaca = saba
and I_CompareCounter settlementowner_Attuaca != 18

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca gov3
end_if


if I_SettlementOwner Capua = saba
and I_CompareCounter settlementowner_Capua != 18

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua gov3
end_if


if I_SettlementOwner Vellika = saba
and I_CompareCounter settlementowner_Vellika != 18

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika gov3
end_if


if I_SettlementOwner Baikor = saba
and I_CompareCounter settlementowner_Baikor != 18

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor gov3
end_if


if I_SettlementOwner Camulosadae = saba
and I_CompareCounter settlementowner_Camulosadae != 18

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae gov3
end_if


if I_SettlementOwner Numantia = saba
and I_CompareCounter settlementowner_Numantia != 18

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia gov3
end_if


if I_SettlementOwner Charax = saba
and I_CompareCounter settlementowner_Charax != 18

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax gov3
end_if


if I_SettlementOwner Byzantion = saba
and I_CompareCounter settlementowner_Byzantion != 18

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion gov3
end_if


if I_SettlementOwner Ptolemais_Theron = saba
and I_CompareCounter settlementowner_Ptolemais_Theron != 18

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron gov2
end_if


if I_SettlementOwner Ratae = saba
and I_CompareCounter settlementowner_Ratae != 18

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae gov3
end_if


if I_SettlementOwner Ictis = saba
and I_CompareCounter settlementowner_Ictis != 18

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis gov3
end_if


if I_SettlementOwner Lucarottea = saba
and I_CompareCounter settlementowner_Lucarottea != 18

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea gov3
end_if


if I_SettlementOwner Emain_Macha = saba
and I_CompareCounter settlementowner_Emain_Macha != 18

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha gov3
end_if


if I_SettlementOwner Atiqa = saba
and I_CompareCounter settlementowner_Atiqa != 18

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa gov3
end_if


if I_SettlementOwner Ynys_Mon = saba
and I_CompareCounter settlementowner_Ynys_Mon != 18

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon gov3
end_if


if I_SettlementOwner Gava_Alanna = saba
and I_CompareCounter settlementowner_Gava_Alanna != 18

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna gov3
end_if


if I_SettlementOwner Gava_Aursa = saba
and I_CompareCounter settlementowner_Gava_Aursa != 18

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa gov3
end_if


if I_SettlementOwner Nisa = saba
and I_CompareCounter settlementowner_Nisa != 18

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa gov3
end_if


if I_SettlementOwner Gava_Haomavarga = saba
and I_CompareCounter settlementowner_Gava_Haomavarga != 18

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga gov3
end_if


if I_SettlementOwner Gava_Mazsakata = saba
and I_CompareCounter settlementowner_Gava_Mazsakata != 18

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata gov3
end_if


if I_SettlementOwner Gava_Roxsalanna = saba
and I_CompareCounter settlementowner_Gava_Roxsalanna != 18

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna gov3
end_if


if I_SettlementOwner Uspe = saba
and I_CompareCounter settlementowner_Uspe != 18

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe gov3
end_if


if I_SettlementOwner Gava_Thissakata = saba
and I_CompareCounter settlementowner_Gava_Thissakata != 18

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata gov3
end_if


if I_SettlementOwner Gava_Yazyga = saba
and I_CompareCounter settlementowner_Gava_Yazyga != 18

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga gov3
end_if


if I_SettlementOwner Gava_Yugra = saba
and I_CompareCounter settlementowner_Gava_Yugra != 18

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra gov3
end_if


if I_SettlementOwner Dalminion = saba
and I_CompareCounter settlementowner_Dalminion != 18

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion gov3
end_if


if I_SettlementOwner Serdike = saba
and I_CompareCounter settlementowner_Serdike != 18

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike gov3
end_if


if I_SettlementOwner Alexandreia_Eschate = saba
and I_CompareCounter settlementowner_Alexandreia_Eschate != 18

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate gov3
end_if


if I_SettlementOwner Alexandreia = saba
and I_CompareCounter settlementowner_Alexandreia != 18

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia gov3
end_if


if I_SettlementOwner Axum = saba
and I_CompareCounter settlementowner_Axum != 18

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum gov1
end_if


if I_SettlementOwner Prophthasia = saba
and I_CompareCounter settlementowner_Prophthasia != 18

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia gov3
end_if


if I_SettlementOwner Arse = saba
and I_CompareCounter settlementowner_Arse != 18

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse gov3
end_if


if I_SettlementOwner Kotais = saba
and I_CompareCounter settlementowner_Kotais != 18

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais gov3
end_if


if I_SettlementOwner Lilibeo = saba
and I_CompareCounter settlementowner_Lilibeo != 18

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo gov3
end_if


if I_SettlementOwner Susa = saba
and I_CompareCounter settlementowner_Susa != 18

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa gov3
end_if


if I_SettlementOwner Apollonia = saba
and I_CompareCounter settlementowner_Apollonia != 18

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia gov3
end_if


if I_SettlementOwner Ivernis = saba
and I_CompareCounter settlementowner_Ivernis != 18

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis gov3
end_if


if I_SettlementOwner Ak_Ink = saba
and I_CompareCounter settlementowner_Ak_Ink != 18

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink gov3
end_if


if I_SettlementOwner Arretium = saba
and I_CompareCounter settlementowner_Arretium != 18

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium gov3
end_if


if I_SettlementOwner Chalkis = saba
and I_CompareCounter settlementowner_Chalkis != 18

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis gov3
end_if


if I_SettlementOwner Gabai = saba
and I_CompareCounter settlementowner_Gabai != 18

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai gov3
end_if


if I_SettlementOwner Tuat = saba
and I_CompareCounter settlementowner_Tuat != 18

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat gov3
end_if


if I_SettlementOwner Tyde = saba
and I_CompareCounter settlementowner_Tyde != 18

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde gov3
end_if


if I_SettlementOwner Ankyra = saba
and I_CompareCounter settlementowner_Ankyra != 18

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra gov3
end_if


if I_SettlementOwner Taksashila = saba
and I_CompareCounter settlementowner_Taksashila != 18

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila gov3
end_if


if I_SettlementOwner Pura = saba
and I_CompareCounter settlementowner_Pura != 18

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura gov3
end_if


if I_SettlementOwner Gerrha = saba
and I_CompareCounter settlementowner_Gerrha != 18

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha gov2
end_if


if I_SettlementOwner Buridava = saba
and I_CompareCounter settlementowner_Buridava != 18

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava gov3
end_if


if I_SettlementOwner Sarmiszegethusa = saba
and I_CompareCounter settlementowner_Sarmiszegethusa != 18

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa gov3
end_if


if I_SettlementOwner Massalia = saba
and I_CompareCounter settlementowner_Massalia != 18

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia gov3
end_if


if I_SettlementOwner Gawjam_Habukoz = saba
and I_CompareCounter settlementowner_Gawjam_Habukoz != 18

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz gov3
end_if


if I_SettlementOwner Sabata = saba
and I_CompareCounter settlementowner_Sabata != 18

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata gov1
end_if


if I_SettlementOwner Arctaunon = saba
and I_CompareCounter settlementowner_Arctaunon != 18

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon gov3
end_if


if I_SettlementOwner Armavir = saba
and I_CompareCounter settlementowner_Armavir != 18

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir gov3
end_if


if I_SettlementOwner Aventicos = saba
and I_CompareCounter settlementowner_Aventicos != 18

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos gov3
end_if


if I_SettlementOwner Memphis = saba
and I_CompareCounter settlementowner_Memphis != 18

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis gov3
end_if


if I_SettlementOwner Gawjam_Heruskoz = saba
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 18

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz gov3
end_if


if I_SettlementOwner Zadrakata = saba
and I_CompareCounter settlementowner_Zadrakata != 18

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata gov3
end_if


if I_SettlementOwner Epidamnos = saba
and I_CompareCounter settlementowner_Epidamnos != 18

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos gov3
end_if


if I_SettlementOwner Mediolanum = saba
and I_CompareCounter settlementowner_Mediolanum != 18

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum gov3
end_if


if I_SettlementOwner Hierosolyma = saba
and I_CompareCounter settlementowner_Hierosolyma != 18

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma gov3
end_if


if I_SettlementOwner Taras = saba
and I_CompareCounter settlementowner_Taras != 18

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras gov3
end_if


if I_SettlementOwner Chach = saba
and I_CompareCounter settlementowner_Chach != 18

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach gov3
end_if


if I_SettlementOwner Mazaka = saba
and I_CompareCounter settlementowner_Mazaka != 18

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka gov3
end_if


if I_SettlementOwner Amaseia = saba
and I_CompareCounter settlementowner_Amaseia != 18

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia gov3
end_if


if I_SettlementOwner Halikarnassos = saba
and I_CompareCounter settlementowner_Halikarnassos != 18

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos gov3
end_if


if I_SettlementOwner Karmana = saba
and I_CompareCounter settlementowner_Karmana != 18

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana gov3
end_if


if I_SettlementOwner Mtskheta = saba
and I_CompareCounter settlementowner_Mtskheta != 18

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta gov3
end_if


if I_SettlementOwner Apameia = saba
and I_CompareCounter settlementowner_Apameia != 18

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia gov3
end_if


if I_SettlementOwner Khiva = saba
and I_CompareCounter settlementowner_Khiva != 18

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva gov3
end_if


if I_SettlementOwner Tarsos = saba
and I_CompareCounter settlementowner_Tarsos != 18

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos gov3
end_if


if I_SettlementOwner Gawjam_Kimbroz = saba
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 18

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz gov3
end_if


if I_SettlementOwner Alalia = saba
and I_CompareCounter settlementowner_Alalia != 18

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia gov3
end_if


if I_SettlementOwner Kydonia = saba
and I_CompareCounter settlementowner_Kydonia != 18

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia gov3
end_if


if I_SettlementOwner Meroe = saba
and I_CompareCounter settlementowner_Meroe != 18

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe gov3
end_if


if I_SettlementOwner Salamis = saba
and I_CompareCounter settlementowner_Salamis != 18

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis gov3
end_if


if I_SettlementOwner Kyrene = saba
and I_CompareCounter settlementowner_Kyrene != 18

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene gov3
end_if


if I_SettlementOwner Emporion = saba
and I_CompareCounter settlementowner_Emporion != 18

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion gov3
end_if


if I_SettlementOwner Sparte = saba
and I_CompareCounter settlementowner_Sparte != 18

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte gov3
end_if


if I_SettlementOwner Gawjam_Gotanoz = saba
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 18

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz gov3
end_if


if I_SettlementOwner Rome = saba
and I_CompareCounter settlementowner_Rome != 18

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome gov3
end_if


if I_SettlementOwner Lemonum = saba
and I_CompareCounter settlementowner_Lemonum != 18

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum gov3
end_if


if I_SettlementOwner Mytilene = saba
and I_CompareCounter settlementowner_Mytilene != 18

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene gov3
end_if


if I_SettlementOwner Ammonion = saba
and I_CompareCounter settlementowner_Ammonion != 18

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion gov3
end_if


if I_SettlementOwner Segesta = saba
and I_CompareCounter settlementowner_Segesta != 18

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta gov3
end_if


if I_SettlementOwner Viennos = saba
and I_CompareCounter settlementowner_Viennos != 18

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos gov3
end_if


if I_SettlementOwner Carrodunum = saba
and I_CompareCounter settlementowner_Carrodunum != 18

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum gov3
end_if


if I_SettlementOwner Oxtraca = saba
and I_CompareCounter settlementowner_Oxtraca != 18

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca gov3
end_if


if I_SettlementOwner Sardis = saba
and I_CompareCounter settlementowner_Sardis != 18

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis gov3
end_if


if I_SettlementOwner Tanais = saba
and I_CompareCounter settlementowner_Tanais != 18

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais gov3
end_if


if I_SettlementOwner Carna = saba
and I_CompareCounter settlementowner_Carna != 18

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna gov1
end_if


if I_SettlementOwner Pella = saba
and I_CompareCounter settlementowner_Pella != 18

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella gov3
end_if


if I_SettlementOwner Homna = saba
and I_CompareCounter settlementowner_Homna != 18

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna gov2
end_if


if I_SettlementOwner Antiocheia_Margiane = saba
and I_CompareCounter settlementowner_Antiocheia_Margiane != 18

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane gov3
end_if


if I_SettlementOwner Paraitonion = saba
and I_CompareCounter settlementowner_Paraitonion != 18

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion gov3
end_if


if I_SettlementOwner Ippone = saba
and I_CompareCounter settlementowner_Ippone != 18

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone gov3
end_if


if I_SettlementOwner Sala = saba
and I_CompareCounter settlementowner_Sala != 18

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala gov3
end_if


if I_SettlementOwner Siga = saba
and I_CompareCounter settlementowner_Siga != 18

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga gov3
end_if


if I_SettlementOwner Lixus = saba
and I_CompareCounter settlementowner_Lixus != 18

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus gov3
end_if


if I_SettlementOwner Ekbatana = saba
and I_CompareCounter settlementowner_Ekbatana != 18

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana gov3
end_if


if I_SettlementOwner Kallatis = saba
and I_CompareCounter settlementowner_Kallatis != 18

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis gov3
end_if


if I_SettlementOwner Bibracte = saba
and I_CompareCounter settlementowner_Bibracte != 18

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte gov3
end_if


if I_SettlementOwner Cenabum = saba
and I_CompareCounter settlementowner_Cenabum != 18

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum gov3
end_if


if I_SettlementOwner Eburonum = saba
and I_CompareCounter settlementowner_Eburonum != 18

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum gov3
end_if


if I_SettlementOwner Pergamon = saba
and I_CompareCounter settlementowner_Pergamon != 18

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon gov3
end_if


if I_SettlementOwner Bostra = saba
and I_CompareCounter settlementowner_Bostra != 18

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra gov2
end_if


if I_SettlementOwner Bagacos = saba
and I_CompareCounter settlementowner_Bagacos != 18

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos gov3
end_if


if I_SettlementOwner Gordu_Neuriji = saba
and I_CompareCounter settlementowner_Gordu_Neuriji != 18

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji gov3
end_if


if I_SettlementOwner Iuvavoaeta = saba
and I_CompareCounter settlementowner_Iuvavoaeta != 18

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta gov3
end_if


if I_SettlementOwner Kirtan = saba
and I_CompareCounter settlementowner_Kirtan != 18

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan gov3
end_if


if I_SettlementOwner Hibis = saba
and I_CompareCounter settlementowner_Hibis != 18

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis gov3
end_if


if I_SettlementOwner Tylis = saba
and I_CompareCounter settlementowner_Tylis != 18

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis gov3
end_if


if I_SettlementOwner Side = saba
and I_CompareCounter settlementowner_Side != 18

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side gov3
end_if


if I_SettlementOwner Vindobona = saba
and I_CompareCounter settlementowner_Vindobona != 18

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona gov3
end_if


if I_SettlementOwner Segestica = saba
and I_CompareCounter settlementowner_Segestica != 18

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica gov3
end_if


if I_SettlementOwner Sinope = saba
and I_CompareCounter settlementowner_Sinope != 18

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope gov3
end_if


if I_SettlementOwner Kophen = saba
and I_CompareCounter settlementowner_Kophen != 18

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen gov3
end_if


if I_SettlementOwner Hekatompylos = saba
and I_CompareCounter settlementowner_Hekatompylos != 18

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos gov3
end_if


if I_SettlementOwner Korinthos = saba
and I_CompareCounter settlementowner_Korinthos != 18

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos gov3
end_if


if I_SettlementOwner Persepolis = saba
and I_CompareCounter settlementowner_Persepolis != 18

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis gov3
end_if


if I_SettlementOwner Garama = saba
and I_CompareCounter settlementowner_Garama != 18

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama gov3
end_if


if I_SettlementOwner Sidon = saba
and I_CompareCounter settlementowner_Sidon != 18

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon gov3
end_if


if I_SettlementOwner Ipsos = saba
and I_CompareCounter settlementowner_Ipsos != 18

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos gov3
end_if


if I_SettlementOwner Ani-Kamah = saba
and I_CompareCounter settlementowner_Ani-Kamah != 18

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah gov3
end_if


if I_SettlementOwner Trapezous = saba
and I_CompareCounter settlementowner_Trapezous != 18

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous gov3
end_if


if I_SettlementOwner Tamane = saba
and I_CompareCounter settlementowner_Tamane != 18

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane gov1
end_if


if I_SettlementOwner Veldideno = saba
and I_CompareCounter settlementowner_Veldideno != 18

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno gov3
end_if


if I_SettlementOwner Rhodos = saba
and I_CompareCounter settlementowner_Rhodos != 18

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos gov3
end_if


if I_SettlementOwner Gawjam_Rugoz = saba
and I_CompareCounter settlementowner_Gawjam_Rugoz != 18

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz gov3
end_if


if I_SettlementOwner Maryab = saba
and I_CompareCounter settlementowner_Maryab != 18

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab gov1
end_if


if I_SettlementOwner Terhazza = saba
and I_CompareCounter settlementowner_Terhazza != 18

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza gov3
end_if


if I_SettlementOwner Gava_Saka = saba
and I_CompareCounter settlementowner_Gava_Saka != 18

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka gov3
end_if


if I_SettlementOwner Asodat = saba
and I_CompareCounter settlementowner_Asodat != 18

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat gov3
end_if


if I_SettlementOwner Karali = saba
and I_CompareCounter settlementowner_Karali != 18

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali gov3
end_if


if I_SettlementOwner Opiana = saba
and I_CompareCounter settlementowner_Opiana != 18

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana gov3
end_if


if I_SettlementOwner Singidunum = saba
and I_CompareCounter settlementowner_Singidunum != 18

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum gov3
end_if


if I_SettlementOwner Seliun_Pilis = saba
and I_CompareCounter settlementowner_Seliun_Pilis != 18

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis gov3
end_if


if I_SettlementOwner Gintaras_Ostan = saba
and I_CompareCounter settlementowner_Gintaras_Ostan != 18

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan gov3
end_if


if I_SettlementOwner Vesontio = saba
and I_CompareCounter settlementowner_Vesontio != 18

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio gov3
end_if


if I_SettlementOwner Messana = saba
and I_CompareCounter settlementowner_Messana != 18

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana gov3
end_if


if I_SettlementOwner Gawjam_Silengoz = saba
and I_CompareCounter settlementowner_Gawjam_Silengoz != 18

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz gov3
end_if


if I_SettlementOwner Petra = saba
and I_CompareCounter settlementowner_Petra != 18

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra gov2
end_if


if I_SettlementOwner Patala = saba
and I_CompareCounter settlementowner_Patala != 18

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala gov3
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = saba
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 18

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz gov3
end_if


if I_SettlementOwner Olbia = saba
and I_CompareCounter settlementowner_Olbia != 18

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia gov3
end_if


if I_SettlementOwner Marakanda = saba
and I_CompareCounter settlementowner_Marakanda != 18

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda gov3
end_if


if I_SettlementOwner Karkathiokerta = saba
and I_CompareCounter settlementowner_Karkathiokerta != 18

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta gov3
end_if


if I_SettlementOwner Swebotraustastamnoz = saba
and I_CompareCounter settlementowner_Swebotraustastamnoz != 18

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz gov3
end_if


if I_SettlementOwner Antiocheia = saba
and I_CompareCounter settlementowner_Antiocheia != 18

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia gov3
end_if


if I_SettlementOwner Damaskos = saba
and I_CompareCounter settlementowner_Damaskos != 18

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos gov3
end_if


if I_SettlementOwner Palmyra = saba
and I_CompareCounter settlementowner_Palmyra != 18

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra gov3
end_if


if I_SettlementOwner Chersonesos = saba
and I_CompareCounter settlementowner_Chersonesos != 18

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos gov3
end_if


if I_SettlementOwner Diospolis_Megale = saba
and I_CompareCounter settlementowner_Diospolis_Megale != 18

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale gov3
end_if


if I_SettlementOwner Demetrias = saba
and I_CompareCounter settlementowner_Demetrias != 18

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias gov3
end_if


if I_SettlementOwner Naissos = saba
and I_CompareCounter settlementowner_Naissos != 18

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos gov3
end_if


if I_SettlementOwner Ascaucalis = saba
and I_CompareCounter settlementowner_Ascaucalis != 18

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis gov3
end_if


if I_SettlementOwner Pselkis = saba
and I_CompareCounter settlementowner_Pselkis != 18

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis gov3
end_if


if I_SettlementOwner Syracuse = saba
and I_CompareCounter settlementowner_Syracuse != 18

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse gov3
end_if


if I_SettlementOwner Lepki = saba
and I_CompareCounter settlementowner_Lepki != 18

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki gov3
end_if


if I_SettlementOwner Gader = saba
and I_CompareCounter settlementowner_Gader != 18

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader gov3
end_if


if I_SettlementOwner Sucum-Murgi = saba
and I_CompareCounter settlementowner_Sucum-Murgi != 18

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi gov3
end_if


if I_SettlementOwner Ariminum = saba
and I_CompareCounter settlementowner_Ariminum != 18

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum gov3
end_if


if I_SettlementOwner Patavium = saba
and I_CompareCounter settlementowner_Patavium != 18

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium gov3
end_if


if I_SettlementOwner Vindelicoppidos = saba
and I_CompareCounter settlementowner_Vindelicoppidos != 18

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos gov3
end_if


if I_SettlementOwner Tolosa = saba
and I_CompareCounter settlementowner_Tolosa != 18

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa gov3
end_if


if I_SettlementOwner Chighu = saba
and I_CompareCounter settlementowner_Chighu != 18

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu gov3
end_if


if I_SettlementOwner Sulek = saba
and I_CompareCounter settlementowner_Sulek != 18

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek gov3
end_if


if I_SettlementOwner Kart_Hadast = saba
and I_CompareCounter settlementowner_Kart_Hadast != 18

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast gov3
end_if


if I_SettlementOwner Ubar = saba
and I_CompareCounter settlementowner_Ubar != 18

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar gov2
end_if
end_monitor

monitor_event FactionTurnEnd FactionType armenia
and not FactionIsLocal

if I_SettlementOwner Arbela = armenia
and I_CompareCounter settlementowner_Arbela != 19

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela pastoralism
end_if


if I_SettlementOwner Phraaspa = armenia
and I_CompareCounter settlementowner_Phraaspa != 19

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa pastoralism
end_if


if I_SettlementOwner Bononia = armenia
and I_CompareCounter settlementowner_Bononia != 19

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia govnomad
end_if


if I_SettlementOwner Kabalaka = armenia
and I_CompareCounter settlementowner_Kabalaka != 19

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka pastoralism
end_if


if I_SettlementOwner Thermon = armenia
and I_CompareCounter settlementowner_Thermon != 19

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon govnomad
end_if


if I_SettlementOwner Arpi = armenia
and I_CompareCounter settlementowner_Arpi != 19

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi govnomad
end_if


if I_SettlementOwner Burdigala = armenia
and I_CompareCounter settlementowner_Burdigala != 19

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala govnomad
end_if


if I_SettlementOwner Babylon = armenia
and I_CompareCounter settlementowner_Babylon != 19

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon pastoralism
end_if


if I_SettlementOwner Alexandropolis = armenia
and I_CompareCounter settlementowner_Alexandropolis != 19

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis pastoralism
end_if


if I_SettlementOwner Alexandreia_Ariana = armenia
and I_CompareCounter settlementowner_Alexandreia_Ariana != 19

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana pastoralism
end_if


if I_SettlementOwner Darioritum = armenia
and I_CompareCounter settlementowner_Darioritum != 19

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum govnomad
end_if


if I_SettlementOwner Gergovia = armenia
and I_CompareCounter settlementowner_Gergovia != 19

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia govnomad
end_if


if I_SettlementOwner Edessa = armenia
and I_CompareCounter settlementowner_Edessa != 19

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa pastoralism
end_if


if I_SettlementOwner Asaak = armenia
and I_CompareCounter settlementowner_Asaak != 19

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak pastoralism
end_if


if I_SettlementOwner Pallantia = armenia
and I_CompareCounter settlementowner_Pallantia != 19

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia govnomad
end_if


if I_SettlementOwner Athenai = armenia
and I_CompareCounter settlementowner_Athenai != 19

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai govnomad
end_if


if I_SettlementOwner Augila_settlement = armenia
and I_CompareCounter settlementowner_Augila_settlement != 19

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement govnomad
end_if


if I_SettlementOwner Seleukeia = armenia
and I_CompareCounter settlementowner_Seleukeia != 19

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia pastoralism
end_if


if I_SettlementOwner Baktra = armenia
and I_CompareCounter settlementowner_Baktra != 19

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra govnomad
end_if


if I_SettlementOwner Bocchoris = armenia
and I_CompareCounter settlementowner_Bocchoris != 19

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris govnomad
end_if


if I_SettlementOwner Gawjam_Bastarnoz = armenia
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 19

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz govnomad
end_if


if I_SettlementOwner Mastia = armenia
and I_CompareCounter settlementowner_Mastia != 19

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia govnomad
end_if


if I_SettlementOwner Avaricum = armenia
and I_CompareCounter settlementowner_Avaricum != 19

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum govnomad
end_if


if I_SettlementOwner Bratosporios = armenia
and I_CompareCounter settlementowner_Bratosporios != 19

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios govnomad
end_if


if I_SettlementOwner Nikaia = armenia
and I_CompareCounter settlementowner_Nikaia != 19

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia pastoralism
end_if


if I_SettlementOwner Pantikapaion = armenia
and I_CompareCounter settlementowner_Pantikapaion != 19

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion pastoralism
end_if


if I_SettlementOwner Rhegion = armenia
and I_CompareCounter settlementowner_Rhegion != 19

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion govnomad
end_if


if I_SettlementOwner Caern_Brigantae = armenia
and I_CompareCounter settlementowner_Caern_Brigantae != 19

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae govnomad
end_if


if I_SettlementOwner Gelonus = armenia
and I_CompareCounter settlementowner_Gelonus != 19

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus pastoralism
end_if


if I_SettlementOwner Adrumeto = armenia
and I_CompareCounter settlementowner_Adrumeto != 19

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto govnomad
end_if


if I_SettlementOwner Attuaca = armenia
and I_CompareCounter settlementowner_Attuaca != 19

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca govnomad
end_if


if I_SettlementOwner Capua = armenia
and I_CompareCounter settlementowner_Capua != 19

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua govnomad
end_if


if I_SettlementOwner Vellika = armenia
and I_CompareCounter settlementowner_Vellika != 19

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika govnomad
end_if


if I_SettlementOwner Baikor = armenia
and I_CompareCounter settlementowner_Baikor != 19

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor govnomad
end_if


if I_SettlementOwner Camulosadae = armenia
and I_CompareCounter settlementowner_Camulosadae != 19

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae govnomad
end_if


if I_SettlementOwner Numantia = armenia
and I_CompareCounter settlementowner_Numantia != 19

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia pastoralism
end_if


if I_SettlementOwner Charax = armenia
and I_CompareCounter settlementowner_Charax != 19

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax pastoralism
end_if


if I_SettlementOwner Byzantion = armenia
and I_CompareCounter settlementowner_Byzantion != 19

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion govnomad
end_if


if I_SettlementOwner Ptolemais_Theron = armenia
and I_CompareCounter settlementowner_Ptolemais_Theron != 19

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron govnomad
end_if


if I_SettlementOwner Ratae = armenia
and I_CompareCounter settlementowner_Ratae != 19

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae govnomad
end_if


if I_SettlementOwner Ictis = armenia
and I_CompareCounter settlementowner_Ictis != 19

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis govnomad
end_if


if I_SettlementOwner Lucarottea = armenia
and I_CompareCounter settlementowner_Lucarottea != 19

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea pastoralism
end_if


if I_SettlementOwner Emain_Macha = armenia
and I_CompareCounter settlementowner_Emain_Macha != 19

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha govnomad
end_if


if I_SettlementOwner Atiqa = armenia
and I_CompareCounter settlementowner_Atiqa != 19

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa govnomad
end_if


if I_SettlementOwner Ynys_Mon = armenia
and I_CompareCounter settlementowner_Ynys_Mon != 19

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon govnomad
end_if


if I_SettlementOwner Gava_Alanna = armenia
and I_CompareCounter settlementowner_Gava_Alanna != 19

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna nomadism
end_if


if I_SettlementOwner Gava_Aursa = armenia
and I_CompareCounter settlementowner_Gava_Aursa != 19

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa nomadism
end_if


if I_SettlementOwner Nisa = armenia
and I_CompareCounter settlementowner_Nisa != 19

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa pastoralism
end_if


if I_SettlementOwner Gava_Haomavarga = armenia
and I_CompareCounter settlementowner_Gava_Haomavarga != 19

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga pastoralism
end_if


if I_SettlementOwner Gava_Mazsakata = armenia
and I_CompareCounter settlementowner_Gava_Mazsakata != 19

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata nomadism
end_if


if I_SettlementOwner Gava_Roxsalanna = armenia
and I_CompareCounter settlementowner_Gava_Roxsalanna != 19

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna nomadism
end_if


if I_SettlementOwner Uspe = armenia
and I_CompareCounter settlementowner_Uspe != 19

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe pastoralism
end_if


if I_SettlementOwner Gava_Thissakata = armenia
and I_CompareCounter settlementowner_Gava_Thissakata != 19

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata pastoralism
end_if


if I_SettlementOwner Gava_Yazyga = armenia
and I_CompareCounter settlementowner_Gava_Yazyga != 19

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga nomadism
end_if


if I_SettlementOwner Gava_Yugra = armenia
and I_CompareCounter settlementowner_Gava_Yugra != 19

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra pastoralism
end_if


if I_SettlementOwner Dalminion = armenia
and I_CompareCounter settlementowner_Dalminion != 19

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion govnomad
end_if


if I_SettlementOwner Serdike = armenia
and I_CompareCounter settlementowner_Serdike != 19

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike pastoralism
end_if


if I_SettlementOwner Alexandreia_Eschate = armenia
and I_CompareCounter settlementowner_Alexandreia_Eschate != 19

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate pastoralism
end_if


if I_SettlementOwner Alexandreia = armenia
and I_CompareCounter settlementowner_Alexandreia != 19

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia govnomad
end_if


if I_SettlementOwner Axum = armenia
and I_CompareCounter settlementowner_Axum != 19

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum govnomad
end_if


if I_SettlementOwner Prophthasia = armenia
and I_CompareCounter settlementowner_Prophthasia != 19

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia pastoralism
end_if


if I_SettlementOwner Arse = armenia
and I_CompareCounter settlementowner_Arse != 19

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse govnomad
end_if


if I_SettlementOwner Kotais = armenia
and I_CompareCounter settlementowner_Kotais != 19

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais pastoralism
end_if


if I_SettlementOwner Lilibeo = armenia
and I_CompareCounter settlementowner_Lilibeo != 19

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo govnomad
end_if


if I_SettlementOwner Susa = armenia
and I_CompareCounter settlementowner_Susa != 19

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa pastoralism
end_if


if I_SettlementOwner Apollonia = armenia
and I_CompareCounter settlementowner_Apollonia != 19

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia govnomad
end_if


if I_SettlementOwner Ivernis = armenia
and I_CompareCounter settlementowner_Ivernis != 19

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis govnomad
end_if


if I_SettlementOwner Ak_Ink = armenia
and I_CompareCounter settlementowner_Ak_Ink != 19

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink pastoralism
end_if


if I_SettlementOwner Arretium = armenia
and I_CompareCounter settlementowner_Arretium != 19

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium govnomad
end_if


if I_SettlementOwner Chalkis = armenia
and I_CompareCounter settlementowner_Chalkis != 19

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis govnomad
end_if


if I_SettlementOwner Gabai = armenia
and I_CompareCounter settlementowner_Gabai != 19

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai pastoralism
end_if


if I_SettlementOwner Tuat = armenia
and I_CompareCounter settlementowner_Tuat != 19

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat govnomad
end_if


if I_SettlementOwner Tyde = armenia
and I_CompareCounter settlementowner_Tyde != 19

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde govnomad
end_if


if I_SettlementOwner Ankyra = armenia
and I_CompareCounter settlementowner_Ankyra != 19

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra pastoralism
end_if


if I_SettlementOwner Taksashila = armenia
and I_CompareCounter settlementowner_Taksashila != 19

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila govnomad
end_if


if I_SettlementOwner Pura = armenia
and I_CompareCounter settlementowner_Pura != 19

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura pastoralism
end_if


if I_SettlementOwner Gerrha = armenia
and I_CompareCounter settlementowner_Gerrha != 19

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha govnomad
end_if


if I_SettlementOwner Buridava = armenia
and I_CompareCounter settlementowner_Buridava != 19

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava pastoralism
end_if


if I_SettlementOwner Sarmiszegethusa = armenia
and I_CompareCounter settlementowner_Sarmiszegethusa != 19

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa pastoralism
end_if


if I_SettlementOwner Massalia = armenia
and I_CompareCounter settlementowner_Massalia != 19

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia govnomad
end_if


if I_SettlementOwner Gawjam_Habukoz = armenia
and I_CompareCounter settlementowner_Gawjam_Habukoz != 19

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz govnomad
end_if


if I_SettlementOwner Sabata = armenia
and I_CompareCounter settlementowner_Sabata != 19

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata govnomad
end_if


if I_SettlementOwner Arctaunon = armenia
and I_CompareCounter settlementowner_Arctaunon != 19

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon govnomad
end_if


if I_SettlementOwner Armavir = armenia
and I_CompareCounter settlementowner_Armavir != 19

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir pastoralism
end_if


if I_SettlementOwner Aventicos = armenia
and I_CompareCounter settlementowner_Aventicos != 19

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos govnomad
end_if


if I_SettlementOwner Memphis = armenia
and I_CompareCounter settlementowner_Memphis != 19

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis govnomad
end_if


if I_SettlementOwner Gawjam_Heruskoz = armenia
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 19

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz govnomad
end_if


if I_SettlementOwner Zadrakata = armenia
and I_CompareCounter settlementowner_Zadrakata != 19

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata pastoralism
end_if


if I_SettlementOwner Epidamnos = armenia
and I_CompareCounter settlementowner_Epidamnos != 19

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos govnomad
end_if


if I_SettlementOwner Mediolanum = armenia
and I_CompareCounter settlementowner_Mediolanum != 19

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum govnomad
end_if


if I_SettlementOwner Hierosolyma = armenia
and I_CompareCounter settlementowner_Hierosolyma != 19

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma govnomad
end_if


if I_SettlementOwner Taras = armenia
and I_CompareCounter settlementowner_Taras != 19

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras govnomad
end_if


if I_SettlementOwner Chach = armenia
and I_CompareCounter settlementowner_Chach != 19

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach pastoralism
end_if


if I_SettlementOwner Mazaka = armenia
and I_CompareCounter settlementowner_Mazaka != 19

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka pastoralism
end_if


if I_SettlementOwner Amaseia = armenia
and I_CompareCounter settlementowner_Amaseia != 19

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia pastoralism
end_if


if I_SettlementOwner Halikarnassos = armenia
and I_CompareCounter settlementowner_Halikarnassos != 19

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos pastoralism
end_if


if I_SettlementOwner Karmana = armenia
and I_CompareCounter settlementowner_Karmana != 19

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana pastoralism
end_if


if I_SettlementOwner Mtskheta = armenia
and I_CompareCounter settlementowner_Mtskheta != 19

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta pastoralism
end_if


if I_SettlementOwner Apameia = armenia
and I_CompareCounter settlementowner_Apameia != 19

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia pastoralism
end_if


if I_SettlementOwner Khiva = armenia
and I_CompareCounter settlementowner_Khiva != 19

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva pastoralism
end_if


if I_SettlementOwner Tarsos = armenia
and I_CompareCounter settlementowner_Tarsos != 19

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos pastoralism
end_if


if I_SettlementOwner Gawjam_Kimbroz = armenia
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 19

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz govnomad
end_if


if I_SettlementOwner Alalia = armenia
and I_CompareCounter settlementowner_Alalia != 19

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia govnomad
end_if


if I_SettlementOwner Kydonia = armenia
and I_CompareCounter settlementowner_Kydonia != 19

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia govnomad
end_if


if I_SettlementOwner Meroe = armenia
and I_CompareCounter settlementowner_Meroe != 19

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe govnomad
end_if


if I_SettlementOwner Salamis = armenia
and I_CompareCounter settlementowner_Salamis != 19

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis govnomad
end_if


if I_SettlementOwner Kyrene = armenia
and I_CompareCounter settlementowner_Kyrene != 19

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene govnomad
end_if


if I_SettlementOwner Emporion = armenia
and I_CompareCounter settlementowner_Emporion != 19

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion govnomad
end_if


if I_SettlementOwner Sparte = armenia
and I_CompareCounter settlementowner_Sparte != 19

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte govnomad
end_if


if I_SettlementOwner Gawjam_Gotanoz = armenia
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 19

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz govnomad
end_if


if I_SettlementOwner Rome = armenia
and I_CompareCounter settlementowner_Rome != 19

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome govnomad
end_if


if I_SettlementOwner Lemonum = armenia
and I_CompareCounter settlementowner_Lemonum != 19

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum govnomad
end_if


if I_SettlementOwner Mytilene = armenia
and I_CompareCounter settlementowner_Mytilene != 19

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene govnomad
end_if


if I_SettlementOwner Ammonion = armenia
and I_CompareCounter settlementowner_Ammonion != 19

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion govnomad
end_if


if I_SettlementOwner Segesta = armenia
and I_CompareCounter settlementowner_Segesta != 19

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta govnomad
end_if


if I_SettlementOwner Viennos = armenia
and I_CompareCounter settlementowner_Viennos != 19

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos govnomad
end_if


if I_SettlementOwner Carrodunum = armenia
and I_CompareCounter settlementowner_Carrodunum != 19

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum pastoralism
end_if


if I_SettlementOwner Oxtraca = armenia
and I_CompareCounter settlementowner_Oxtraca != 19

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca pastoralism
end_if


if I_SettlementOwner Sardis = armenia
and I_CompareCounter settlementowner_Sardis != 19

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis pastoralism
end_if


if I_SettlementOwner Tanais = armenia
and I_CompareCounter settlementowner_Tanais != 19

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais pastoralism
end_if


if I_SettlementOwner Carna = armenia
and I_CompareCounter settlementowner_Carna != 19

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna govnomad
end_if


if I_SettlementOwner Pella = armenia
and I_CompareCounter settlementowner_Pella != 19

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella govnomad
end_if


if I_SettlementOwner Homna = armenia
and I_CompareCounter settlementowner_Homna != 19

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna govnomad
end_if


if I_SettlementOwner Antiocheia_Margiane = armenia
and I_CompareCounter settlementowner_Antiocheia_Margiane != 19

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane pastoralism
end_if


if I_SettlementOwner Paraitonion = armenia
and I_CompareCounter settlementowner_Paraitonion != 19

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion govnomad
end_if


if I_SettlementOwner Ippone = armenia
and I_CompareCounter settlementowner_Ippone != 19

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone pastoralism
end_if


if I_SettlementOwner Sala = armenia
and I_CompareCounter settlementowner_Sala != 19

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala govnomad
end_if


if I_SettlementOwner Siga = armenia
and I_CompareCounter settlementowner_Siga != 19

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga pastoralism
end_if


if I_SettlementOwner Lixus = armenia
and I_CompareCounter settlementowner_Lixus != 19

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus pastoralism
end_if


if I_SettlementOwner Ekbatana = armenia
and I_CompareCounter settlementowner_Ekbatana != 19

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana pastoralism
end_if


if I_SettlementOwner Kallatis = armenia
and I_CompareCounter settlementowner_Kallatis != 19

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis pastoralism
end_if


if I_SettlementOwner Bibracte = armenia
and I_CompareCounter settlementowner_Bibracte != 19

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte govnomad
end_if


if I_SettlementOwner Cenabum = armenia
and I_CompareCounter settlementowner_Cenabum != 19

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum govnomad
end_if


if I_SettlementOwner Eburonum = armenia
and I_CompareCounter settlementowner_Eburonum != 19

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum govnomad
end_if


if I_SettlementOwner Pergamon = armenia
and I_CompareCounter settlementowner_Pergamon != 19

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon pastoralism
end_if


if I_SettlementOwner Bostra = armenia
and I_CompareCounter settlementowner_Bostra != 19

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra govnomad
end_if


if I_SettlementOwner Bagacos = armenia
and I_CompareCounter settlementowner_Bagacos != 19

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos govnomad
end_if


if I_SettlementOwner Gordu_Neuriji = armenia
and I_CompareCounter settlementowner_Gordu_Neuriji != 19

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji pastoralism
end_if


if I_SettlementOwner Iuvavoaeta = armenia
and I_CompareCounter settlementowner_Iuvavoaeta != 19

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta govnomad
end_if


if I_SettlementOwner Kirtan = armenia
and I_CompareCounter settlementowner_Kirtan != 19

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan govnomad
end_if


if I_SettlementOwner Hibis = armenia
and I_CompareCounter settlementowner_Hibis != 19

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis govnomad
end_if


if I_SettlementOwner Tylis = armenia
and I_CompareCounter settlementowner_Tylis != 19

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis govnomad
end_if


if I_SettlementOwner Side = armenia
and I_CompareCounter settlementowner_Side != 19

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side govnomad
end_if


if I_SettlementOwner Vindobona = armenia
and I_CompareCounter settlementowner_Vindobona != 19

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona pastoralism
end_if


if I_SettlementOwner Segestica = armenia
and I_CompareCounter settlementowner_Segestica != 19

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica pastoralism
end_if


if I_SettlementOwner Sinope = armenia
and I_CompareCounter settlementowner_Sinope != 19

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope pastoralism
end_if


if I_SettlementOwner Kophen = armenia
and I_CompareCounter settlementowner_Kophen != 19

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen pastoralism
end_if


if I_SettlementOwner Hekatompylos = armenia
and I_CompareCounter settlementowner_Hekatompylos != 19

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos pastoralism
end_if


if I_SettlementOwner Korinthos = armenia
and I_CompareCounter settlementowner_Korinthos != 19

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos govnomad
end_if


if I_SettlementOwner Persepolis = armenia
and I_CompareCounter settlementowner_Persepolis != 19

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis pastoralism
end_if


if I_SettlementOwner Garama = armenia
and I_CompareCounter settlementowner_Garama != 19

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama govnomad
end_if


if I_SettlementOwner Sidon = armenia
and I_CompareCounter settlementowner_Sidon != 19

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon govnomad
end_if


if I_SettlementOwner Ipsos = armenia
and I_CompareCounter settlementowner_Ipsos != 19

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos pastoralism
end_if


if I_SettlementOwner Ani-Kamah = armenia
and I_CompareCounter settlementowner_Ani-Kamah != 19

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah pastoralism
end_if


if I_SettlementOwner Trapezous = armenia
and I_CompareCounter settlementowner_Trapezous != 19

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous pastoralism
end_if


if I_SettlementOwner Tamane = armenia
and I_CompareCounter settlementowner_Tamane != 19

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane govnomad
end_if


if I_SettlementOwner Veldideno = armenia
and I_CompareCounter settlementowner_Veldideno != 19

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno govnomad
end_if


if I_SettlementOwner Rhodos = armenia
and I_CompareCounter settlementowner_Rhodos != 19

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos govnomad
end_if


if I_SettlementOwner Gawjam_Rugoz = armenia
and I_CompareCounter settlementowner_Gawjam_Rugoz != 19

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz govnomad
end_if


if I_SettlementOwner Maryab = armenia
and I_CompareCounter settlementowner_Maryab != 19

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab govnomad
end_if


if I_SettlementOwner Terhazza = armenia
and I_CompareCounter settlementowner_Terhazza != 19

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza govnomad
end_if


if I_SettlementOwner Gava_Saka = armenia
and I_CompareCounter settlementowner_Gava_Saka != 19

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka nomadism
end_if


if I_SettlementOwner Asodat = armenia
and I_CompareCounter settlementowner_Asodat != 19

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat pastoralism
end_if


if I_SettlementOwner Karali = armenia
and I_CompareCounter settlementowner_Karali != 19

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali govnomad
end_if


if I_SettlementOwner Opiana = armenia
and I_CompareCounter settlementowner_Opiana != 19

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana govnomad
end_if


if I_SettlementOwner Singidunum = armenia
and I_CompareCounter settlementowner_Singidunum != 19

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum pastoralism
end_if


if I_SettlementOwner Seliun_Pilis = armenia
and I_CompareCounter settlementowner_Seliun_Pilis != 19

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis pastoralism
end_if


if I_SettlementOwner Gintaras_Ostan = armenia
and I_CompareCounter settlementowner_Gintaras_Ostan != 19

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan pastoralism
end_if


if I_SettlementOwner Vesontio = armenia
and I_CompareCounter settlementowner_Vesontio != 19

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio govnomad
end_if


if I_SettlementOwner Messana = armenia
and I_CompareCounter settlementowner_Messana != 19

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana govnomad
end_if


if I_SettlementOwner Gawjam_Silengoz = armenia
and I_CompareCounter settlementowner_Gawjam_Silengoz != 19

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz pastoralism
end_if


if I_SettlementOwner Petra = armenia
and I_CompareCounter settlementowner_Petra != 19

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra govnomad
end_if


if I_SettlementOwner Patala = armenia
and I_CompareCounter settlementowner_Patala != 19

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala govnomad
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = armenia
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 19

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz govnomad
end_if


if I_SettlementOwner Olbia = armenia
and I_CompareCounter settlementowner_Olbia != 19

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia pastoralism
end_if


if I_SettlementOwner Marakanda = armenia
and I_CompareCounter settlementowner_Marakanda != 19

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda pastoralism
end_if


if I_SettlementOwner Karkathiokerta = armenia
and I_CompareCounter settlementowner_Karkathiokerta != 19

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta pastoralism
end_if


if I_SettlementOwner Swebotraustastamnoz = armenia
and I_CompareCounter settlementowner_Swebotraustastamnoz != 19

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz govnomad
end_if


if I_SettlementOwner Antiocheia = armenia
and I_CompareCounter settlementowner_Antiocheia != 19

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia govnomad
end_if


if I_SettlementOwner Damaskos = armenia
and I_CompareCounter settlementowner_Damaskos != 19

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos govnomad
end_if


if I_SettlementOwner Palmyra = armenia
and I_CompareCounter settlementowner_Palmyra != 19

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra pastoralism
end_if


if I_SettlementOwner Chersonesos = armenia
and I_CompareCounter settlementowner_Chersonesos != 19

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos pastoralism
end_if


if I_SettlementOwner Diospolis_Megale = armenia
and I_CompareCounter settlementowner_Diospolis_Megale != 19

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale govnomad
end_if


if I_SettlementOwner Demetrias = armenia
and I_CompareCounter settlementowner_Demetrias != 19

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias govnomad
end_if


if I_SettlementOwner Naissos = armenia
and I_CompareCounter settlementowner_Naissos != 19

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos pastoralism
end_if


if I_SettlementOwner Ascaucalis = armenia
and I_CompareCounter settlementowner_Ascaucalis != 19

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis pastoralism
end_if


if I_SettlementOwner Pselkis = armenia
and I_CompareCounter settlementowner_Pselkis != 19

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis govnomad
end_if


if I_SettlementOwner Syracuse = armenia
and I_CompareCounter settlementowner_Syracuse != 19

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse govnomad
end_if


if I_SettlementOwner Lepki = armenia
and I_CompareCounter settlementowner_Lepki != 19

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki pastoralism
end_if


if I_SettlementOwner Gader = armenia
and I_CompareCounter settlementowner_Gader != 19

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader govnomad
end_if


if I_SettlementOwner Sucum-Murgi = armenia
and I_CompareCounter settlementowner_Sucum-Murgi != 19

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi govnomad
end_if


if I_SettlementOwner Ariminum = armenia
and I_CompareCounter settlementowner_Ariminum != 19

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum govnomad
end_if


if I_SettlementOwner Patavium = armenia
and I_CompareCounter settlementowner_Patavium != 19

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium govnomad
end_if


if I_SettlementOwner Vindelicoppidos = armenia
and I_CompareCounter settlementowner_Vindelicoppidos != 19

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos govnomad
end_if


if I_SettlementOwner Tolosa = armenia
and I_CompareCounter settlementowner_Tolosa != 19

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa govnomad
end_if


if I_SettlementOwner Chighu = armenia
and I_CompareCounter settlementowner_Chighu != 19

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu pastoralism
end_if


if I_SettlementOwner Sulek = armenia
and I_CompareCounter settlementowner_Sulek != 19

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek nomadism
end_if


if I_SettlementOwner Kart_Hadast = armenia
and I_CompareCounter settlementowner_Kart_Hadast != 19

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast govnomad
end_if


if I_SettlementOwner Ubar = armenia
and I_CompareCounter settlementowner_Ubar != 19

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar govnomad
end_if
end_monitor

monitor_event FactionTurnEnd FactionType pontus
and not FactionIsLocal

if I_SettlementOwner Arbela = pontus
and I_CompareCounter settlementowner_Arbela != 20

console_command set_building_health Arbela government 0
console_command set_building_health Arbela minimumbuilding 0
console_command create_building Arbela pastoralism
end_if


if I_SettlementOwner Phraaspa = pontus
and I_CompareCounter settlementowner_Phraaspa != 20

console_command set_building_health Phraaspa government 0
console_command set_building_health Phraaspa minimumbuilding 0
console_command create_building Phraaspa pastoralism
end_if


if I_SettlementOwner Bononia = pontus
and I_CompareCounter settlementowner_Bononia != 20

console_command set_building_health Bononia government 0
console_command set_building_health Bononia minimumbuilding 0
console_command create_building Bononia govnomad
end_if


if I_SettlementOwner Kabalaka = pontus
and I_CompareCounter settlementowner_Kabalaka != 20

console_command set_building_health Kabalaka government 0
console_command set_building_health Kabalaka minimumbuilding 0
console_command create_building Kabalaka pastoralism
end_if


if I_SettlementOwner Thermon = pontus
and I_CompareCounter settlementowner_Thermon != 20

console_command set_building_health Thermon government 0
console_command set_building_health Thermon minimumbuilding 0
console_command create_building Thermon govnomad
end_if


if I_SettlementOwner Arpi = pontus
and I_CompareCounter settlementowner_Arpi != 20

console_command set_building_health Arpi government 0
console_command set_building_health Arpi minimumbuilding 0
console_command create_building Arpi govnomad
end_if


if I_SettlementOwner Burdigala = pontus
and I_CompareCounter settlementowner_Burdigala != 20

console_command set_building_health Burdigala government 0
console_command set_building_health Burdigala minimumbuilding 0
console_command create_building Burdigala govnomad
end_if


if I_SettlementOwner Babylon = pontus
and I_CompareCounter settlementowner_Babylon != 20

console_command set_building_health Babylon government 0
console_command set_building_health Babylon minimumbuilding 0
console_command create_building Babylon pastoralism
end_if


if I_SettlementOwner Alexandropolis = pontus
and I_CompareCounter settlementowner_Alexandropolis != 20

console_command set_building_health Alexandropolis government 0
console_command set_building_health Alexandropolis minimumbuilding 0
console_command create_building Alexandropolis pastoralism
end_if


if I_SettlementOwner Alexandreia_Ariana = pontus
and I_CompareCounter settlementowner_Alexandreia_Ariana != 20

console_command set_building_health Alexandreia_Ariana government 0
console_command set_building_health Alexandreia_Ariana minimumbuilding 0
console_command create_building Alexandreia_Ariana pastoralism
end_if


if I_SettlementOwner Darioritum = pontus
and I_CompareCounter settlementowner_Darioritum != 20

console_command set_building_health Darioritum government 0
console_command set_building_health Darioritum minimumbuilding 0
console_command create_building Darioritum govnomad
end_if


if I_SettlementOwner Gergovia = pontus
and I_CompareCounter settlementowner_Gergovia != 20

console_command set_building_health Gergovia government 0
console_command set_building_health Gergovia minimumbuilding 0
console_command create_building Gergovia govnomad
end_if


if I_SettlementOwner Edessa = pontus
and I_CompareCounter settlementowner_Edessa != 20

console_command set_building_health Edessa government 0
console_command set_building_health Edessa minimumbuilding 0
console_command create_building Edessa pastoralism
end_if


if I_SettlementOwner Asaak = pontus
and I_CompareCounter settlementowner_Asaak != 20

console_command set_building_health Asaak government 0
console_command set_building_health Asaak minimumbuilding 0
console_command create_building Asaak pastoralism
end_if


if I_SettlementOwner Pallantia = pontus
and I_CompareCounter settlementowner_Pallantia != 20

console_command set_building_health Pallantia government 0
console_command set_building_health Pallantia minimumbuilding 0
console_command create_building Pallantia govnomad
end_if


if I_SettlementOwner Athenai = pontus
and I_CompareCounter settlementowner_Athenai != 20

console_command set_building_health Athenai government 0
console_command set_building_health Athenai minimumbuilding 0
console_command create_building Athenai govnomad
end_if


if I_SettlementOwner Augila_settlement = pontus
and I_CompareCounter settlementowner_Augila_settlement != 20

console_command set_building_health Augila_settlement government 0
console_command set_building_health Augila_settlement minimumbuilding 0
console_command create_building Augila_settlement govnomad
end_if


if I_SettlementOwner Seleukeia = pontus
and I_CompareCounter settlementowner_Seleukeia != 20

console_command set_building_health Seleukeia government 0
console_command set_building_health Seleukeia minimumbuilding 0
console_command create_building Seleukeia pastoralism
end_if


if I_SettlementOwner Baktra = pontus
and I_CompareCounter settlementowner_Baktra != 20

console_command set_building_health Baktra government 0
console_command set_building_health Baktra minimumbuilding 0
console_command create_building Baktra govnomad
end_if


if I_SettlementOwner Bocchoris = pontus
and I_CompareCounter settlementowner_Bocchoris != 20

console_command set_building_health Bocchoris government 0
console_command set_building_health Bocchoris minimumbuilding 0
console_command create_building Bocchoris govnomad
end_if


if I_SettlementOwner Gawjam_Bastarnoz = pontus
and I_CompareCounter settlementowner_Gawjam_Bastarnoz != 20

console_command set_building_health Gawjam_Bastarnoz government 0
console_command set_building_health Gawjam_Bastarnoz minimumbuilding 0
console_command create_building Gawjam_Bastarnoz govnomad
end_if


if I_SettlementOwner Mastia = pontus
and I_CompareCounter settlementowner_Mastia != 20

console_command set_building_health Mastia government 0
console_command set_building_health Mastia minimumbuilding 0
console_command create_building Mastia govnomad
end_if


if I_SettlementOwner Avaricum = pontus
and I_CompareCounter settlementowner_Avaricum != 20

console_command set_building_health Avaricum government 0
console_command set_building_health Avaricum minimumbuilding 0
console_command create_building Avaricum govnomad
end_if


if I_SettlementOwner Bratosporios = pontus
and I_CompareCounter settlementowner_Bratosporios != 20

console_command set_building_health Bratosporios government 0
console_command set_building_health Bratosporios minimumbuilding 0
console_command create_building Bratosporios govnomad
end_if


if I_SettlementOwner Nikaia = pontus
and I_CompareCounter settlementowner_Nikaia != 20

console_command set_building_health Nikaia government 0
console_command set_building_health Nikaia minimumbuilding 0
console_command create_building Nikaia pastoralism
end_if


if I_SettlementOwner Pantikapaion = pontus
and I_CompareCounter settlementowner_Pantikapaion != 20

console_command set_building_health Pantikapaion government 0
console_command set_building_health Pantikapaion minimumbuilding 0
console_command create_building Pantikapaion pastoralism
end_if


if I_SettlementOwner Rhegion = pontus
and I_CompareCounter settlementowner_Rhegion != 20

console_command set_building_health Rhegion government 0
console_command set_building_health Rhegion minimumbuilding 0
console_command create_building Rhegion govnomad
end_if


if I_SettlementOwner Caern_Brigantae = pontus
and I_CompareCounter settlementowner_Caern_Brigantae != 20

console_command set_building_health Caern_Brigantae government 0
console_command set_building_health Caern_Brigantae minimumbuilding 0
console_command create_building Caern_Brigantae govnomad
end_if


if I_SettlementOwner Gelonus = pontus
and I_CompareCounter settlementowner_Gelonus != 20

console_command set_building_health Gelonus government 0
console_command set_building_health Gelonus minimumbuilding 0
console_command create_building Gelonus pastoralism
end_if


if I_SettlementOwner Adrumeto = pontus
and I_CompareCounter settlementowner_Adrumeto != 20

console_command set_building_health Adrumeto government 0
console_command set_building_health Adrumeto minimumbuilding 0
console_command create_building Adrumeto govnomad
end_if


if I_SettlementOwner Attuaca = pontus
and I_CompareCounter settlementowner_Attuaca != 20

console_command set_building_health Attuaca government 0
console_command set_building_health Attuaca minimumbuilding 0
console_command create_building Attuaca govnomad
end_if


if I_SettlementOwner Capua = pontus
and I_CompareCounter settlementowner_Capua != 20

console_command set_building_health Capua government 0
console_command set_building_health Capua minimumbuilding 0
console_command create_building Capua govnomad
end_if


if I_SettlementOwner Vellika = pontus
and I_CompareCounter settlementowner_Vellika != 20

console_command set_building_health Vellika government 0
console_command set_building_health Vellika minimumbuilding 0
console_command create_building Vellika govnomad
end_if


if I_SettlementOwner Baikor = pontus
and I_CompareCounter settlementowner_Baikor != 20

console_command set_building_health Baikor government 0
console_command set_building_health Baikor minimumbuilding 0
console_command create_building Baikor govnomad
end_if


if I_SettlementOwner Camulosadae = pontus
and I_CompareCounter settlementowner_Camulosadae != 20

console_command set_building_health Camulosadae government 0
console_command set_building_health Camulosadae minimumbuilding 0
console_command create_building Camulosadae govnomad
end_if


if I_SettlementOwner Numantia = pontus
and I_CompareCounter settlementowner_Numantia != 20

console_command set_building_health Numantia government 0
console_command set_building_health Numantia minimumbuilding 0
console_command create_building Numantia pastoralism
end_if


if I_SettlementOwner Charax = pontus
and I_CompareCounter settlementowner_Charax != 20

console_command set_building_health Charax government 0
console_command set_building_health Charax minimumbuilding 0
console_command create_building Charax pastoralism
end_if


if I_SettlementOwner Byzantion = pontus
and I_CompareCounter settlementowner_Byzantion != 20

console_command set_building_health Byzantion government 0
console_command set_building_health Byzantion minimumbuilding 0
console_command create_building Byzantion govnomad
end_if


if I_SettlementOwner Ptolemais_Theron = pontus
and I_CompareCounter settlementowner_Ptolemais_Theron != 20

console_command set_building_health Ptolemais_Theron government 0
console_command set_building_health Ptolemais_Theron minimumbuilding 0
console_command create_building Ptolemais_Theron govnomad
end_if


if I_SettlementOwner Ratae = pontus
and I_CompareCounter settlementowner_Ratae != 20

console_command set_building_health Ratae government 0
console_command set_building_health Ratae minimumbuilding 0
console_command create_building Ratae govnomad
end_if


if I_SettlementOwner Ictis = pontus
and I_CompareCounter settlementowner_Ictis != 20

console_command set_building_health Ictis government 0
console_command set_building_health Ictis minimumbuilding 0
console_command create_building Ictis govnomad
end_if


if I_SettlementOwner Lucarottea = pontus
and I_CompareCounter settlementowner_Lucarottea != 20

console_command set_building_health Lucarottea government 0
console_command set_building_health Lucarottea minimumbuilding 0
console_command create_building Lucarottea pastoralism
end_if


if I_SettlementOwner Emain_Macha = pontus
and I_CompareCounter settlementowner_Emain_Macha != 20

console_command set_building_health Emain_Macha government 0
console_command set_building_health Emain_Macha minimumbuilding 0
console_command create_building Emain_Macha govnomad
end_if


if I_SettlementOwner Atiqa = pontus
and I_CompareCounter settlementowner_Atiqa != 20

console_command set_building_health Atiqa government 0
console_command set_building_health Atiqa minimumbuilding 0
console_command create_building Atiqa govnomad
end_if


if I_SettlementOwner Ynys_Mon = pontus
and I_CompareCounter settlementowner_Ynys_Mon != 20

console_command set_building_health Ynys_Mon government 0
console_command set_building_health Ynys_Mon minimumbuilding 0
console_command create_building Ynys_Mon govnomad
end_if


if I_SettlementOwner Gava_Alanna = pontus
and I_CompareCounter settlementowner_Gava_Alanna != 20

console_command set_building_health Gava_Alanna government 0
console_command set_building_health Gava_Alanna minimumbuilding 0
console_command create_building Gava_Alanna nomadism
end_if


if I_SettlementOwner Gava_Aursa = pontus
and I_CompareCounter settlementowner_Gava_Aursa != 20

console_command set_building_health Gava_Aursa government 0
console_command set_building_health Gava_Aursa minimumbuilding 0
console_command create_building Gava_Aursa nomadism
end_if


if I_SettlementOwner Nisa = pontus
and I_CompareCounter settlementowner_Nisa != 20

console_command set_building_health Nisa government 0
console_command set_building_health Nisa minimumbuilding 0
console_command create_building Nisa pastoralism
end_if


if I_SettlementOwner Gava_Haomavarga = pontus
and I_CompareCounter settlementowner_Gava_Haomavarga != 20

console_command set_building_health Gava_Haomavarga government 0
console_command set_building_health Gava_Haomavarga minimumbuilding 0
console_command create_building Gava_Haomavarga pastoralism
end_if


if I_SettlementOwner Gava_Mazsakata = pontus
and I_CompareCounter settlementowner_Gava_Mazsakata != 20

console_command set_building_health Gava_Mazsakata government 0
console_command set_building_health Gava_Mazsakata minimumbuilding 0
console_command create_building Gava_Mazsakata nomadism
end_if


if I_SettlementOwner Gava_Roxsalanna = pontus
and I_CompareCounter settlementowner_Gava_Roxsalanna != 20

console_command set_building_health Gava_Roxsalanna government 0
console_command set_building_health Gava_Roxsalanna minimumbuilding 0
console_command create_building Gava_Roxsalanna nomadism
end_if


if I_SettlementOwner Uspe = pontus
and I_CompareCounter settlementowner_Uspe != 20

console_command set_building_health Uspe government 0
console_command set_building_health Uspe minimumbuilding 0
console_command create_building Uspe pastoralism
end_if


if I_SettlementOwner Gava_Thissakata = pontus
and I_CompareCounter settlementowner_Gava_Thissakata != 20

console_command set_building_health Gava_Thissakata government 0
console_command set_building_health Gava_Thissakata minimumbuilding 0
console_command create_building Gava_Thissakata pastoralism
end_if


if I_SettlementOwner Gava_Yazyga = pontus
and I_CompareCounter settlementowner_Gava_Yazyga != 20

console_command set_building_health Gava_Yazyga government 0
console_command set_building_health Gava_Yazyga minimumbuilding 0
console_command create_building Gava_Yazyga nomadism
end_if


if I_SettlementOwner Gava_Yugra = pontus
and I_CompareCounter settlementowner_Gava_Yugra != 20

console_command set_building_health Gava_Yugra government 0
console_command set_building_health Gava_Yugra minimumbuilding 0
console_command create_building Gava_Yugra pastoralism
end_if


if I_SettlementOwner Dalminion = pontus
and I_CompareCounter settlementowner_Dalminion != 20

console_command set_building_health Dalminion government 0
console_command set_building_health Dalminion minimumbuilding 0
console_command create_building Dalminion govnomad
end_if


if I_SettlementOwner Serdike = pontus
and I_CompareCounter settlementowner_Serdike != 20

console_command set_building_health Serdike government 0
console_command set_building_health Serdike minimumbuilding 0
console_command create_building Serdike pastoralism
end_if


if I_SettlementOwner Alexandreia_Eschate = pontus
and I_CompareCounter settlementowner_Alexandreia_Eschate != 20

console_command set_building_health Alexandreia_Eschate government 0
console_command set_building_health Alexandreia_Eschate minimumbuilding 0
console_command create_building Alexandreia_Eschate pastoralism
end_if


if I_SettlementOwner Alexandreia = pontus
and I_CompareCounter settlementowner_Alexandreia != 20

console_command set_building_health Alexandreia government 0
console_command set_building_health Alexandreia minimumbuilding 0
console_command create_building Alexandreia govnomad
end_if


if I_SettlementOwner Axum = pontus
and I_CompareCounter settlementowner_Axum != 20

console_command set_building_health Axum government 0
console_command set_building_health Axum minimumbuilding 0
console_command create_building Axum govnomad
end_if


if I_SettlementOwner Prophthasia = pontus
and I_CompareCounter settlementowner_Prophthasia != 20

console_command set_building_health Prophthasia government 0
console_command set_building_health Prophthasia minimumbuilding 0
console_command create_building Prophthasia pastoralism
end_if


if I_SettlementOwner Arse = pontus
and I_CompareCounter settlementowner_Arse != 20

console_command set_building_health Arse government 0
console_command set_building_health Arse minimumbuilding 0
console_command create_building Arse govnomad
end_if


if I_SettlementOwner Kotais = pontus
and I_CompareCounter settlementowner_Kotais != 20

console_command set_building_health Kotais government 0
console_command set_building_health Kotais minimumbuilding 0
console_command create_building Kotais pastoralism
end_if


if I_SettlementOwner Lilibeo = pontus
and I_CompareCounter settlementowner_Lilibeo != 20

console_command set_building_health Lilibeo government 0
console_command set_building_health Lilibeo minimumbuilding 0
console_command create_building Lilibeo govnomad
end_if


if I_SettlementOwner Susa = pontus
and I_CompareCounter settlementowner_Susa != 20

console_command set_building_health Susa government 0
console_command set_building_health Susa minimumbuilding 0
console_command create_building Susa pastoralism
end_if


if I_SettlementOwner Apollonia = pontus
and I_CompareCounter settlementowner_Apollonia != 20

console_command set_building_health Apollonia government 0
console_command set_building_health Apollonia minimumbuilding 0
console_command create_building Apollonia govnomad
end_if


if I_SettlementOwner Ivernis = pontus
and I_CompareCounter settlementowner_Ivernis != 20

console_command set_building_health Ivernis government 0
console_command set_building_health Ivernis minimumbuilding 0
console_command create_building Ivernis govnomad
end_if


if I_SettlementOwner Ak_Ink = pontus
and I_CompareCounter settlementowner_Ak_Ink != 20

console_command set_building_health Ak_Ink government 0
console_command set_building_health Ak_Ink minimumbuilding 0
console_command create_building Ak_Ink pastoralism
end_if


if I_SettlementOwner Arretium = pontus
and I_CompareCounter settlementowner_Arretium != 20

console_command set_building_health Arretium government 0
console_command set_building_health Arretium minimumbuilding 0
console_command create_building Arretium govnomad
end_if


if I_SettlementOwner Chalkis = pontus
and I_CompareCounter settlementowner_Chalkis != 20

console_command set_building_health Chalkis government 0
console_command set_building_health Chalkis minimumbuilding 0
console_command create_building Chalkis govnomad
end_if


if I_SettlementOwner Gabai = pontus
and I_CompareCounter settlementowner_Gabai != 20

console_command set_building_health Gabai government 0
console_command set_building_health Gabai minimumbuilding 0
console_command create_building Gabai pastoralism
end_if


if I_SettlementOwner Tuat = pontus
and I_CompareCounter settlementowner_Tuat != 20

console_command set_building_health Tuat government 0
console_command set_building_health Tuat minimumbuilding 0
console_command create_building Tuat govnomad
end_if


if I_SettlementOwner Tyde = pontus
and I_CompareCounter settlementowner_Tyde != 20

console_command set_building_health Tyde government 0
console_command set_building_health Tyde minimumbuilding 0
console_command create_building Tyde govnomad
end_if


if I_SettlementOwner Ankyra = pontus
and I_CompareCounter settlementowner_Ankyra != 20

console_command set_building_health Ankyra government 0
console_command set_building_health Ankyra minimumbuilding 0
console_command create_building Ankyra pastoralism
end_if


if I_SettlementOwner Taksashila = pontus
and I_CompareCounter settlementowner_Taksashila != 20

console_command set_building_health Taksashila government 0
console_command set_building_health Taksashila minimumbuilding 0
console_command create_building Taksashila govnomad
end_if


if I_SettlementOwner Pura = pontus
and I_CompareCounter settlementowner_Pura != 20

console_command set_building_health Pura government 0
console_command set_building_health Pura minimumbuilding 0
console_command create_building Pura pastoralism
end_if


if I_SettlementOwner Gerrha = pontus
and I_CompareCounter settlementowner_Gerrha != 20

console_command set_building_health Gerrha government 0
console_command set_building_health Gerrha minimumbuilding 0
console_command create_building Gerrha govnomad
end_if


if I_SettlementOwner Buridava = pontus
and I_CompareCounter settlementowner_Buridava != 20

console_command set_building_health Buridava government 0
console_command set_building_health Buridava minimumbuilding 0
console_command create_building Buridava pastoralism
end_if


if I_SettlementOwner Sarmiszegethusa = pontus
and I_CompareCounter settlementowner_Sarmiszegethusa != 20

console_command set_building_health Sarmiszegethusa government 0
console_command set_building_health Sarmiszegethusa minimumbuilding 0
console_command create_building Sarmiszegethusa pastoralism
end_if


if I_SettlementOwner Massalia = pontus
and I_CompareCounter settlementowner_Massalia != 20

console_command set_building_health Massalia government 0
console_command set_building_health Massalia minimumbuilding 0
console_command create_building Massalia govnomad
end_if


if I_SettlementOwner Gawjam_Habukoz = pontus
and I_CompareCounter settlementowner_Gawjam_Habukoz != 20

console_command set_building_health Gawjam_Habukoz government 0
console_command set_building_health Gawjam_Habukoz minimumbuilding 0
console_command create_building Gawjam_Habukoz govnomad
end_if


if I_SettlementOwner Sabata = pontus
and I_CompareCounter settlementowner_Sabata != 20

console_command set_building_health Sabata government 0
console_command set_building_health Sabata minimumbuilding 0
console_command create_building Sabata govnomad
end_if


if I_SettlementOwner Arctaunon = pontus
and I_CompareCounter settlementowner_Arctaunon != 20

console_command set_building_health Arctaunon government 0
console_command set_building_health Arctaunon minimumbuilding 0
console_command create_building Arctaunon govnomad
end_if


if I_SettlementOwner Armavir = pontus
and I_CompareCounter settlementowner_Armavir != 20

console_command set_building_health Armavir government 0
console_command set_building_health Armavir minimumbuilding 0
console_command create_building Armavir pastoralism
end_if


if I_SettlementOwner Aventicos = pontus
and I_CompareCounter settlementowner_Aventicos != 20

console_command set_building_health Aventicos government 0
console_command set_building_health Aventicos minimumbuilding 0
console_command create_building Aventicos govnomad
end_if


if I_SettlementOwner Memphis = pontus
and I_CompareCounter settlementowner_Memphis != 20

console_command set_building_health Memphis government 0
console_command set_building_health Memphis minimumbuilding 0
console_command create_building Memphis govnomad
end_if


if I_SettlementOwner Gawjam_Heruskoz = pontus
and I_CompareCounter settlementowner_Gawjam_Heruskoz != 20

console_command set_building_health Gawjam_Heruskoz government 0
console_command set_building_health Gawjam_Heruskoz minimumbuilding 0
console_command create_building Gawjam_Heruskoz govnomad
end_if


if I_SettlementOwner Zadrakata = pontus
and I_CompareCounter settlementowner_Zadrakata != 20

console_command set_building_health Zadrakata government 0
console_command set_building_health Zadrakata minimumbuilding 0
console_command create_building Zadrakata pastoralism
end_if


if I_SettlementOwner Epidamnos = pontus
and I_CompareCounter settlementowner_Epidamnos != 20

console_command set_building_health Epidamnos government 0
console_command set_building_health Epidamnos minimumbuilding 0
console_command create_building Epidamnos govnomad
end_if


if I_SettlementOwner Mediolanum = pontus
and I_CompareCounter settlementowner_Mediolanum != 20

console_command set_building_health Mediolanum government 0
console_command set_building_health Mediolanum minimumbuilding 0
console_command create_building Mediolanum govnomad
end_if


if I_SettlementOwner Hierosolyma = pontus
and I_CompareCounter settlementowner_Hierosolyma != 20

console_command set_building_health Hierosolyma government 0
console_command set_building_health Hierosolyma minimumbuilding 0
console_command create_building Hierosolyma govnomad
end_if


if I_SettlementOwner Taras = pontus
and I_CompareCounter settlementowner_Taras != 20

console_command set_building_health Taras government 0
console_command set_building_health Taras minimumbuilding 0
console_command create_building Taras govnomad
end_if


if I_SettlementOwner Chach = pontus
and I_CompareCounter settlementowner_Chach != 20

console_command set_building_health Chach government 0
console_command set_building_health Chach minimumbuilding 0
console_command create_building Chach pastoralism
end_if


if I_SettlementOwner Mazaka = pontus
and I_CompareCounter settlementowner_Mazaka != 20

console_command set_building_health Mazaka government 0
console_command set_building_health Mazaka minimumbuilding 0
console_command create_building Mazaka pastoralism
end_if


if I_SettlementOwner Amaseia = pontus
and I_CompareCounter settlementowner_Amaseia != 20

console_command set_building_health Amaseia government 0
console_command set_building_health Amaseia minimumbuilding 0
console_command create_building Amaseia pastoralism
end_if


if I_SettlementOwner Halikarnassos = pontus
and I_CompareCounter settlementowner_Halikarnassos != 20

console_command set_building_health Halikarnassos government 0
console_command set_building_health Halikarnassos minimumbuilding 0
console_command create_building Halikarnassos pastoralism
end_if


if I_SettlementOwner Karmana = pontus
and I_CompareCounter settlementowner_Karmana != 20

console_command set_building_health Karmana government 0
console_command set_building_health Karmana minimumbuilding 0
console_command create_building Karmana pastoralism
end_if


if I_SettlementOwner Mtskheta = pontus
and I_CompareCounter settlementowner_Mtskheta != 20

console_command set_building_health Mtskheta government 0
console_command set_building_health Mtskheta minimumbuilding 0
console_command create_building Mtskheta pastoralism
end_if


if I_SettlementOwner Apameia = pontus
and I_CompareCounter settlementowner_Apameia != 20

console_command set_building_health Apameia government 0
console_command set_building_health Apameia minimumbuilding 0
console_command create_building Apameia pastoralism
end_if


if I_SettlementOwner Khiva = pontus
and I_CompareCounter settlementowner_Khiva != 20

console_command set_building_health Khiva government 0
console_command set_building_health Khiva minimumbuilding 0
console_command create_building Khiva pastoralism
end_if


if I_SettlementOwner Tarsos = pontus
and I_CompareCounter settlementowner_Tarsos != 20

console_command set_building_health Tarsos government 0
console_command set_building_health Tarsos minimumbuilding 0
console_command create_building Tarsos pastoralism
end_if


if I_SettlementOwner Gawjam_Kimbroz = pontus
and I_CompareCounter settlementowner_Gawjam_Kimbroz != 20

console_command set_building_health Gawjam_Kimbroz government 0
console_command set_building_health Gawjam_Kimbroz minimumbuilding 0
console_command create_building Gawjam_Kimbroz govnomad
end_if


if I_SettlementOwner Alalia = pontus
and I_CompareCounter settlementowner_Alalia != 20

console_command set_building_health Alalia government 0
console_command set_building_health Alalia minimumbuilding 0
console_command create_building Alalia govnomad
end_if


if I_SettlementOwner Kydonia = pontus
and I_CompareCounter settlementowner_Kydonia != 20

console_command set_building_health Kydonia government 0
console_command set_building_health Kydonia minimumbuilding 0
console_command create_building Kydonia govnomad
end_if


if I_SettlementOwner Meroe = pontus
and I_CompareCounter settlementowner_Meroe != 20

console_command set_building_health Meroe government 0
console_command set_building_health Meroe minimumbuilding 0
console_command create_building Meroe govnomad
end_if


if I_SettlementOwner Salamis = pontus
and I_CompareCounter settlementowner_Salamis != 20

console_command set_building_health Salamis government 0
console_command set_building_health Salamis minimumbuilding 0
console_command create_building Salamis govnomad
end_if


if I_SettlementOwner Kyrene = pontus
and I_CompareCounter settlementowner_Kyrene != 20

console_command set_building_health Kyrene government 0
console_command set_building_health Kyrene minimumbuilding 0
console_command create_building Kyrene govnomad
end_if


if I_SettlementOwner Emporion = pontus
and I_CompareCounter settlementowner_Emporion != 20

console_command set_building_health Emporion government 0
console_command set_building_health Emporion minimumbuilding 0
console_command create_building Emporion govnomad
end_if


if I_SettlementOwner Sparte = pontus
and I_CompareCounter settlementowner_Sparte != 20

console_command set_building_health Sparte government 0
console_command set_building_health Sparte minimumbuilding 0
console_command create_building Sparte govnomad
end_if


if I_SettlementOwner Gawjam_Gotanoz = pontus
and I_CompareCounter settlementowner_Gawjam_Gotanoz != 20

console_command set_building_health Gawjam_Gotanoz government 0
console_command set_building_health Gawjam_Gotanoz minimumbuilding 0
console_command create_building Gawjam_Gotanoz govnomad
end_if


if I_SettlementOwner Rome = pontus
and I_CompareCounter settlementowner_Rome != 20

console_command set_building_health Rome government 0
console_command set_building_health Rome minimumbuilding 0
console_command create_building Rome govnomad
end_if


if I_SettlementOwner Lemonum = pontus
and I_CompareCounter settlementowner_Lemonum != 20

console_command set_building_health Lemonum government 0
console_command set_building_health Lemonum minimumbuilding 0
console_command create_building Lemonum govnomad
end_if


if I_SettlementOwner Mytilene = pontus
and I_CompareCounter settlementowner_Mytilene != 20

console_command set_building_health Mytilene government 0
console_command set_building_health Mytilene minimumbuilding 0
console_command create_building Mytilene govnomad
end_if


if I_SettlementOwner Ammonion = pontus
and I_CompareCounter settlementowner_Ammonion != 20

console_command set_building_health Ammonion government 0
console_command set_building_health Ammonion minimumbuilding 0
console_command create_building Ammonion govnomad
end_if


if I_SettlementOwner Segesta = pontus
and I_CompareCounter settlementowner_Segesta != 20

console_command set_building_health Segesta government 0
console_command set_building_health Segesta minimumbuilding 0
console_command create_building Segesta govnomad
end_if


if I_SettlementOwner Viennos = pontus
and I_CompareCounter settlementowner_Viennos != 20

console_command set_building_health Viennos government 0
console_command set_building_health Viennos minimumbuilding 0
console_command create_building Viennos govnomad
end_if


if I_SettlementOwner Carrodunum = pontus
and I_CompareCounter settlementowner_Carrodunum != 20

console_command set_building_health Carrodunum government 0
console_command set_building_health Carrodunum minimumbuilding 0
console_command create_building Carrodunum pastoralism
end_if


if I_SettlementOwner Oxtraca = pontus
and I_CompareCounter settlementowner_Oxtraca != 20

console_command set_building_health Oxtraca government 0
console_command set_building_health Oxtraca minimumbuilding 0
console_command create_building Oxtraca pastoralism
end_if


if I_SettlementOwner Sardis = pontus
and I_CompareCounter settlementowner_Sardis != 20

console_command set_building_health Sardis government 0
console_command set_building_health Sardis minimumbuilding 0
console_command create_building Sardis pastoralism
end_if


if I_SettlementOwner Tanais = pontus
and I_CompareCounter settlementowner_Tanais != 20

console_command set_building_health Tanais government 0
console_command set_building_health Tanais minimumbuilding 0
console_command create_building Tanais pastoralism
end_if


if I_SettlementOwner Carna = pontus
and I_CompareCounter settlementowner_Carna != 20

console_command set_building_health Carna government 0
console_command set_building_health Carna minimumbuilding 0
console_command create_building Carna govnomad
end_if


if I_SettlementOwner Pella = pontus
and I_CompareCounter settlementowner_Pella != 20

console_command set_building_health Pella government 0
console_command set_building_health Pella minimumbuilding 0
console_command create_building Pella govnomad
end_if


if I_SettlementOwner Homna = pontus
and I_CompareCounter settlementowner_Homna != 20

console_command set_building_health Homna government 0
console_command set_building_health Homna minimumbuilding 0
console_command create_building Homna govnomad
end_if


if I_SettlementOwner Antiocheia_Margiane = pontus
and I_CompareCounter settlementowner_Antiocheia_Margiane != 20

console_command set_building_health Antiocheia_Margiane government 0
console_command set_building_health Antiocheia_Margiane minimumbuilding 0
console_command create_building Antiocheia_Margiane pastoralism
end_if


if I_SettlementOwner Paraitonion = pontus
and I_CompareCounter settlementowner_Paraitonion != 20

console_command set_building_health Paraitonion government 0
console_command set_building_health Paraitonion minimumbuilding 0
console_command create_building Paraitonion govnomad
end_if


if I_SettlementOwner Ippone = pontus
and I_CompareCounter settlementowner_Ippone != 20

console_command set_building_health Ippone government 0
console_command set_building_health Ippone minimumbuilding 0
console_command create_building Ippone pastoralism
end_if


if I_SettlementOwner Sala = pontus
and I_CompareCounter settlementowner_Sala != 20

console_command set_building_health Sala government 0
console_command set_building_health Sala minimumbuilding 0
console_command create_building Sala govnomad
end_if


if I_SettlementOwner Siga = pontus
and I_CompareCounter settlementowner_Siga != 20

console_command set_building_health Siga government 0
console_command set_building_health Siga minimumbuilding 0
console_command create_building Siga pastoralism
end_if


if I_SettlementOwner Lixus = pontus
and I_CompareCounter settlementowner_Lixus != 20

console_command set_building_health Lixus government 0
console_command set_building_health Lixus minimumbuilding 0
console_command create_building Lixus pastoralism
end_if


if I_SettlementOwner Ekbatana = pontus
and I_CompareCounter settlementowner_Ekbatana != 20

console_command set_building_health Ekbatana government 0
console_command set_building_health Ekbatana minimumbuilding 0
console_command create_building Ekbatana pastoralism
end_if


if I_SettlementOwner Kallatis = pontus
and I_CompareCounter settlementowner_Kallatis != 20

console_command set_building_health Kallatis government 0
console_command set_building_health Kallatis minimumbuilding 0
console_command create_building Kallatis pastoralism
end_if


if I_SettlementOwner Bibracte = pontus
and I_CompareCounter settlementowner_Bibracte != 20

console_command set_building_health Bibracte government 0
console_command set_building_health Bibracte minimumbuilding 0
console_command create_building Bibracte govnomad
end_if


if I_SettlementOwner Cenabum = pontus
and I_CompareCounter settlementowner_Cenabum != 20

console_command set_building_health Cenabum government 0
console_command set_building_health Cenabum minimumbuilding 0
console_command create_building Cenabum govnomad
end_if


if I_SettlementOwner Eburonum = pontus
and I_CompareCounter settlementowner_Eburonum != 20

console_command set_building_health Eburonum government 0
console_command set_building_health Eburonum minimumbuilding 0
console_command create_building Eburonum govnomad
end_if


if I_SettlementOwner Pergamon = pontus
and I_CompareCounter settlementowner_Pergamon != 20

console_command set_building_health Pergamon government 0
console_command set_building_health Pergamon minimumbuilding 0
console_command create_building Pergamon pastoralism
end_if


if I_SettlementOwner Bostra = pontus
and I_CompareCounter settlementowner_Bostra != 20

console_command set_building_health Bostra government 0
console_command set_building_health Bostra minimumbuilding 0
console_command create_building Bostra govnomad
end_if


if I_SettlementOwner Bagacos = pontus
and I_CompareCounter settlementowner_Bagacos != 20

console_command set_building_health Bagacos government 0
console_command set_building_health Bagacos minimumbuilding 0
console_command create_building Bagacos govnomad
end_if


if I_SettlementOwner Gordu_Neuriji = pontus
and I_CompareCounter settlementowner_Gordu_Neuriji != 20

console_command set_building_health Gordu_Neuriji government 0
console_command set_building_health Gordu_Neuriji minimumbuilding 0
console_command create_building Gordu_Neuriji pastoralism
end_if


if I_SettlementOwner Iuvavoaeta = pontus
and I_CompareCounter settlementowner_Iuvavoaeta != 20

console_command set_building_health Iuvavoaeta government 0
console_command set_building_health Iuvavoaeta minimumbuilding 0
console_command create_building Iuvavoaeta govnomad
end_if


if I_SettlementOwner Kirtan = pontus
and I_CompareCounter settlementowner_Kirtan != 20

console_command set_building_health Kirtan government 0
console_command set_building_health Kirtan minimumbuilding 0
console_command create_building Kirtan govnomad
end_if


if I_SettlementOwner Hibis = pontus
and I_CompareCounter settlementowner_Hibis != 20

console_command set_building_health Hibis government 0
console_command set_building_health Hibis minimumbuilding 0
console_command create_building Hibis govnomad
end_if


if I_SettlementOwner Tylis = pontus
and I_CompareCounter settlementowner_Tylis != 20

console_command set_building_health Tylis government 0
console_command set_building_health Tylis minimumbuilding 0
console_command create_building Tylis govnomad
end_if


if I_SettlementOwner Side = pontus
and I_CompareCounter settlementowner_Side != 20

console_command set_building_health Side government 0
console_command set_building_health Side minimumbuilding 0
console_command create_building Side govnomad
end_if


if I_SettlementOwner Vindobona = pontus
and I_CompareCounter settlementowner_Vindobona != 20

console_command set_building_health Vindobona government 0
console_command set_building_health Vindobona minimumbuilding 0
console_command create_building Vindobona pastoralism
end_if


if I_SettlementOwner Segestica = pontus
and I_CompareCounter settlementowner_Segestica != 20

console_command set_building_health Segestica government 0
console_command set_building_health Segestica minimumbuilding 0
console_command create_building Segestica pastoralism
end_if


if I_SettlementOwner Sinope = pontus
and I_CompareCounter settlementowner_Sinope != 20

console_command set_building_health Sinope government 0
console_command set_building_health Sinope minimumbuilding 0
console_command create_building Sinope pastoralism
end_if


if I_SettlementOwner Kophen = pontus
and I_CompareCounter settlementowner_Kophen != 20

console_command set_building_health Kophen government 0
console_command set_building_health Kophen minimumbuilding 0
console_command create_building Kophen pastoralism
end_if


if I_SettlementOwner Hekatompylos = pontus
and I_CompareCounter settlementowner_Hekatompylos != 20

console_command set_building_health Hekatompylos government 0
console_command set_building_health Hekatompylos minimumbuilding 0
console_command create_building Hekatompylos pastoralism
end_if


if I_SettlementOwner Korinthos = pontus
and I_CompareCounter settlementowner_Korinthos != 20

console_command set_building_health Korinthos government 0
console_command set_building_health Korinthos minimumbuilding 0
console_command create_building Korinthos govnomad
end_if


if I_SettlementOwner Persepolis = pontus
and I_CompareCounter settlementowner_Persepolis != 20

console_command set_building_health Persepolis government 0
console_command set_building_health Persepolis minimumbuilding 0
console_command create_building Persepolis pastoralism
end_if


if I_SettlementOwner Garama = pontus
and I_CompareCounter settlementowner_Garama != 20

console_command set_building_health Garama government 0
console_command set_building_health Garama minimumbuilding 0
console_command create_building Garama govnomad
end_if


if I_SettlementOwner Sidon = pontus
and I_CompareCounter settlementowner_Sidon != 20

console_command set_building_health Sidon government 0
console_command set_building_health Sidon minimumbuilding 0
console_command create_building Sidon govnomad
end_if


if I_SettlementOwner Ipsos = pontus
and I_CompareCounter settlementowner_Ipsos != 20

console_command set_building_health Ipsos government 0
console_command set_building_health Ipsos minimumbuilding 0
console_command create_building Ipsos pastoralism
end_if


if I_SettlementOwner Ani-Kamah = pontus
and I_CompareCounter settlementowner_Ani-Kamah != 20

console_command set_building_health Ani-Kamah government 0
console_command set_building_health Ani-Kamah minimumbuilding 0
console_command create_building Ani-Kamah pastoralism
end_if


if I_SettlementOwner Trapezous = pontus
and I_CompareCounter settlementowner_Trapezous != 20

console_command set_building_health Trapezous government 0
console_command set_building_health Trapezous minimumbuilding 0
console_command create_building Trapezous pastoralism
end_if


if I_SettlementOwner Tamane = pontus
and I_CompareCounter settlementowner_Tamane != 20

console_command set_building_health Tamane government 0
console_command set_building_health Tamane minimumbuilding 0
console_command create_building Tamane govnomad
end_if


if I_SettlementOwner Veldideno = pontus
and I_CompareCounter settlementowner_Veldideno != 20

console_command set_building_health Veldideno government 0
console_command set_building_health Veldideno minimumbuilding 0
console_command create_building Veldideno govnomad
end_if


if I_SettlementOwner Rhodos = pontus
and I_CompareCounter settlementowner_Rhodos != 20

console_command set_building_health Rhodos government 0
console_command set_building_health Rhodos minimumbuilding 0
console_command create_building Rhodos govnomad
end_if


if I_SettlementOwner Gawjam_Rugoz = pontus
and I_CompareCounter settlementowner_Gawjam_Rugoz != 20

console_command set_building_health Gawjam_Rugoz government 0
console_command set_building_health Gawjam_Rugoz minimumbuilding 0
console_command create_building Gawjam_Rugoz govnomad
end_if


if I_SettlementOwner Maryab = pontus
and I_CompareCounter settlementowner_Maryab != 20

console_command set_building_health Maryab government 0
console_command set_building_health Maryab minimumbuilding 0
console_command create_building Maryab govnomad
end_if


if I_SettlementOwner Terhazza = pontus
and I_CompareCounter settlementowner_Terhazza != 20

console_command set_building_health Terhazza government 0
console_command set_building_health Terhazza minimumbuilding 0
console_command create_building Terhazza govnomad
end_if


if I_SettlementOwner Gava_Saka = pontus
and I_CompareCounter settlementowner_Gava_Saka != 20

console_command set_building_health Gava_Saka government 0
console_command set_building_health Gava_Saka minimumbuilding 0
console_command create_building Gava_Saka nomadism
end_if


if I_SettlementOwner Asodat = pontus
and I_CompareCounter settlementowner_Asodat != 20

console_command set_building_health Asodat government 0
console_command set_building_health Asodat minimumbuilding 0
console_command create_building Asodat pastoralism
end_if


if I_SettlementOwner Karali = pontus
and I_CompareCounter settlementowner_Karali != 20

console_command set_building_health Karali government 0
console_command set_building_health Karali minimumbuilding 0
console_command create_building Karali govnomad
end_if


if I_SettlementOwner Opiana = pontus
and I_CompareCounter settlementowner_Opiana != 20

console_command set_building_health Opiana government 0
console_command set_building_health Opiana minimumbuilding 0
console_command create_building Opiana govnomad
end_if


if I_SettlementOwner Singidunum = pontus
and I_CompareCounter settlementowner_Singidunum != 20

console_command set_building_health Singidunum government 0
console_command set_building_health Singidunum minimumbuilding 0
console_command create_building Singidunum pastoralism
end_if


if I_SettlementOwner Seliun_Pilis = pontus
and I_CompareCounter settlementowner_Seliun_Pilis != 20

console_command set_building_health Seliun_Pilis government 0
console_command set_building_health Seliun_Pilis minimumbuilding 0
console_command create_building Seliun_Pilis pastoralism
end_if


if I_SettlementOwner Gintaras_Ostan = pontus
and I_CompareCounter settlementowner_Gintaras_Ostan != 20

console_command set_building_health Gintaras_Ostan government 0
console_command set_building_health Gintaras_Ostan minimumbuilding 0
console_command create_building Gintaras_Ostan pastoralism
end_if


if I_SettlementOwner Vesontio = pontus
and I_CompareCounter settlementowner_Vesontio != 20

console_command set_building_health Vesontio government 0
console_command set_building_health Vesontio minimumbuilding 0
console_command create_building Vesontio govnomad
end_if


if I_SettlementOwner Messana = pontus
and I_CompareCounter settlementowner_Messana != 20

console_command set_building_health Messana government 0
console_command set_building_health Messana minimumbuilding 0
console_command create_building Messana govnomad
end_if


if I_SettlementOwner Gawjam_Silengoz = pontus
and I_CompareCounter settlementowner_Gawjam_Silengoz != 20

console_command set_building_health Gawjam_Silengoz government 0
console_command set_building_health Gawjam_Silengoz minimumbuilding 0
console_command create_building Gawjam_Silengoz pastoralism
end_if


if I_SettlementOwner Petra = pontus
and I_CompareCounter settlementowner_Petra != 20

console_command set_building_health Petra government 0
console_command set_building_health Petra minimumbuilding 0
console_command create_building Petra govnomad
end_if


if I_SettlementOwner Patala = pontus
and I_CompareCounter settlementowner_Patala != 20

console_command set_building_health Patala government 0
console_command set_building_health Patala minimumbuilding 0
console_command create_building Patala govnomad
end_if


if I_SettlementOwner Gawjam_Skandzawarjoz = pontus
and I_CompareCounter settlementowner_Gawjam_Skandzawarjoz != 20

console_command set_building_health Gawjam_Skandzawarjoz government 0
console_command set_building_health Gawjam_Skandzawarjoz minimumbuilding 0
console_command create_building Gawjam_Skandzawarjoz govnomad
end_if


if I_SettlementOwner Olbia = pontus
and I_CompareCounter settlementowner_Olbia != 20

console_command set_building_health Olbia government 0
console_command set_building_health Olbia minimumbuilding 0
console_command create_building Olbia pastoralism
end_if


if I_SettlementOwner Marakanda = pontus
and I_CompareCounter settlementowner_Marakanda != 20

console_command set_building_health Marakanda government 0
console_command set_building_health Marakanda minimumbuilding 0
console_command create_building Marakanda pastoralism
end_if


if I_SettlementOwner Karkathiokerta = pontus
and I_CompareCounter settlementowner_Karkathiokerta != 20

console_command set_building_health Karkathiokerta government 0
console_command set_building_health Karkathiokerta minimumbuilding 0
console_command create_building Karkathiokerta pastoralism
end_if


if I_SettlementOwner Swebotraustastamnoz = pontus
and I_CompareCounter settlementowner_Swebotraustastamnoz != 20

console_command set_building_health Swebotraustastamnoz government 0
console_command set_building_health Swebotraustastamnoz minimumbuilding 0
console_command create_building Swebotraustastamnoz govnomad
end_if


if I_SettlementOwner Antiocheia = pontus
and I_CompareCounter settlementowner_Antiocheia != 20

console_command set_building_health Antiocheia government 0
console_command set_building_health Antiocheia minimumbuilding 0
console_command create_building Antiocheia govnomad
end_if


if I_SettlementOwner Damaskos = pontus
and I_CompareCounter settlementowner_Damaskos != 20

console_command set_building_health Damaskos government 0
console_command set_building_health Damaskos minimumbuilding 0
console_command create_building Damaskos govnomad
end_if


if I_SettlementOwner Palmyra = pontus
and I_CompareCounter settlementowner_Palmyra != 20

console_command set_building_health Palmyra government 0
console_command set_building_health Palmyra minimumbuilding 0
console_command create_building Palmyra pastoralism
end_if


if I_SettlementOwner Chersonesos = pontus
and I_CompareCounter settlementowner_Chersonesos != 20

console_command set_building_health Chersonesos government 0
console_command set_building_health Chersonesos minimumbuilding 0
console_command create_building Chersonesos pastoralism
end_if


if I_SettlementOwner Diospolis_Megale = pontus
and I_CompareCounter settlementowner_Diospolis_Megale != 20

console_command set_building_health Diospolis_Megale government 0
console_command set_building_health Diospolis_Megale minimumbuilding 0
console_command create_building Diospolis_Megale govnomad
end_if


if I_SettlementOwner Demetrias = pontus
and I_CompareCounter settlementowner_Demetrias != 20

console_command set_building_health Demetrias government 0
console_command set_building_health Demetrias minimumbuilding 0
console_command create_building Demetrias govnomad
end_if


if I_SettlementOwner Naissos = pontus
and I_CompareCounter settlementowner_Naissos != 20

console_command set_building_health Naissos government 0
console_command set_building_health Naissos minimumbuilding 0
console_command create_building Naissos pastoralism
end_if


if I_SettlementOwner Ascaucalis = pontus
and I_CompareCounter settlementowner_Ascaucalis != 20

console_command set_building_health Ascaucalis government 0
console_command set_building_health Ascaucalis minimumbuilding 0
console_command create_building Ascaucalis pastoralism
end_if


if I_SettlementOwner Pselkis = pontus
and I_CompareCounter settlementowner_Pselkis != 20

console_command set_building_health Pselkis government 0
console_command set_building_health Pselkis minimumbuilding 0
console_command create_building Pselkis govnomad
end_if


if I_SettlementOwner Syracuse = pontus
and I_CompareCounter settlementowner_Syracuse != 20

console_command set_building_health Syracuse government 0
console_command set_building_health Syracuse minimumbuilding 0
console_command create_building Syracuse govnomad
end_if


if I_SettlementOwner Lepki = pontus
and I_CompareCounter settlementowner_Lepki != 20

console_command set_building_health Lepki government 0
console_command set_building_health Lepki minimumbuilding 0
console_command create_building Lepki pastoralism
end_if


if I_SettlementOwner Gader = pontus
and I_CompareCounter settlementowner_Gader != 20

console_command set_building_health Gader government 0
console_command set_building_health Gader minimumbuilding 0
console_command create_building Gader govnomad
end_if


if I_SettlementOwner Sucum-Murgi = pontus
and I_CompareCounter settlementowner_Sucum-Murgi != 20

console_command set_building_health Sucum-Murgi government 0
console_command set_building_health Sucum-Murgi minimumbuilding 0
console_command create_building Sucum-Murgi govnomad
end_if


if I_SettlementOwner Ariminum = pontus
and I_CompareCounter settlementowner_Ariminum != 20

console_command set_building_health Ariminum government 0
console_command set_building_health Ariminum minimumbuilding 0
console_command create_building Ariminum govnomad
end_if


if I_SettlementOwner Patavium = pontus
and I_CompareCounter settlementowner_Patavium != 20

console_command set_building_health Patavium government 0
console_command set_building_health Patavium minimumbuilding 0
console_command create_building Patavium govnomad
end_if


if I_SettlementOwner Vindelicoppidos = pontus
and I_CompareCounter settlementowner_Vindelicoppidos != 20

console_command set_building_health Vindelicoppidos government 0
console_command set_building_health Vindelicoppidos minimumbuilding 0
console_command create_building Vindelicoppidos govnomad
end_if


if I_SettlementOwner Tolosa = pontus
and I_CompareCounter settlementowner_Tolosa != 20

console_command set_building_health Tolosa government 0
console_command set_building_health Tolosa minimumbuilding 0
console_command create_building Tolosa govnomad
end_if


if I_SettlementOwner Chighu = pontus
and I_CompareCounter settlementowner_Chighu != 20

console_command set_building_health Chighu government 0
console_command set_building_health Chighu minimumbuilding 0
console_command create_building Chighu pastoralism
end_if


if I_SettlementOwner Sulek = pontus
and I_CompareCounter settlementowner_Sulek != 20

console_command set_building_health Sulek government 0
console_command set_building_health Sulek minimumbuilding 0
console_command create_building Sulek nomadism
end_if


if I_SettlementOwner Kart_Hadast = pontus
and I_CompareCounter settlementowner_Kart_Hadast != 20

console_command set_building_health Kart_Hadast government 0
console_command set_building_health Kart_Hadast minimumbuilding 0
console_command create_building Kart_Hadast govnomad
end_if


if I_SettlementOwner Ubar = pontus
and I_CompareCounter settlementowner_Ubar != 20

console_command set_building_health Ubar government 0
console_command set_building_health Ubar minimumbuilding 0
console_command create_building Ubar govnomad
end_if
end_monitor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 4: Population Replenishment
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter popsize

monitor_event CharacterTurnStart Trait UnitSize = 1
set_counter popsize 1
terminate_monitor
end_monitor
monitor_event CharacterTurnStart Trait UnitSize = 2
set_counter popsize 2
terminate_monitor
end_monitor
monitor_event CharacterTurnStart Trait UnitSize = 3
set_counter popsize 3
terminate_monitor
end_monitor
monitor_event CharacterTurnStart Trait UnitSize = 4
;console_command puppify_my_love
set_counter popsize 4
terminate_monitor
end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Arbela
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arbela 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Arbela 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Arbela 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Arbela 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Phraaspa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Phraaspa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Phraaspa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Phraaspa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Phraaspa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Bononia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bononia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Bononia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Bononia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Bononia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kabalaka
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kabalaka 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kabalaka 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kabalaka 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kabalaka 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Thermon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Thermon 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Thermon 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Thermon 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Thermon 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Arpi
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arpi 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Arpi 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Arpi 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Arpi 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Burdigala
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Burdigala 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Burdigala 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Burdigala 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Burdigala 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Babylon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Babylon 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Babylon 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Babylon 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Babylon 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Alexandropolis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandropolis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandropolis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandropolis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandropolis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Alexandreia-Ariana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandreia-Ariana 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandreia-Ariana 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandreia-Ariana 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandreia-Ariana 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Darioritum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Darioritum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Darioritum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Darioritum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Darioritum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gergovia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gergovia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gergovia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gergovia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gergovia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Edessa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Edessa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Edessa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Edessa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Edessa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Asaak
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Asaak 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Asaak 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Asaak 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Asaak 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Pallantia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pallantia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Pallantia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Pallantia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Pallantia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Athenai
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Athenai 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Athenai 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Athenai 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Athenai 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Augila
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Augila 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Augila 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Augila 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Augila 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Seleukeia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Seleukeia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Seleukeia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Seleukeia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Seleukeia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Baktra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Baktra 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Baktra 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Baktra 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Baktra 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Bocchoris
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bocchoris 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Bocchoris 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Bocchoris 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Bocchoris 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Bastarnoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Bastarnoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Bastarnoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Bastarnoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Bastarnoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Mastia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mastia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Mastia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Mastia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Mastia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Avaricum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Avaricum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Avaricum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Avaricum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Avaricum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Bratosporios
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bratosporios 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Bratosporios 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Bratosporios 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Bratosporios 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Nikaia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Nikaia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Nikaia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Nikaia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Nikaia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Pantikapaion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pantikapaion 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Pantikapaion 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Pantikapaion 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Pantikapaion 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Rhegion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Rhegion 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Rhegion 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Rhegion 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Rhegion 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Caern-Brigantae
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Caern-Brigantae 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Caern-Brigantae 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Caern-Brigantae 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Caern-Brigantae 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gelonus
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gelonus 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gelonus 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gelonus 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gelonus 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Adrumeto
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Adrumeto 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Adrumeto 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Adrumeto 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Adrumeto 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Attuaca
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Attuaca 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Attuaca 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Attuaca 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Attuaca 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Capua
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Capua 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Capua 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Capua 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Capua 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Vellika
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vellika 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Vellika 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Vellika 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Vellika 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Baikor
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Baikor 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Baikor 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Baikor 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Baikor 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Camulosadae
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Camulosadae 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Camulosadae 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Camulosadae 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Camulosadae 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Numantia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Numantia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Numantia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Numantia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Numantia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Charax
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Charax 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Charax 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Charax 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Charax 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Byzantion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Byzantion 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Byzantion 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Byzantion 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Byzantion 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ptolemais-Theron
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ptolemais-Theron 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ptolemais-Theron 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ptolemais-Theron 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ptolemais-Theron 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ratae
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ratae 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ratae 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ratae 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ratae 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ictis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ictis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ictis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ictis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ictis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Lucarottea
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lucarottea 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Lucarottea 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Lucarottea 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Lucarottea 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Emain-Macha
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Emain-Macha 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Emain-Macha 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Emain-Macha 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Emain-Macha 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Atiqa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Atiqa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Atiqa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Atiqa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Atiqa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ynys-Mon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ynys-Mon 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ynys-Mon 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ynys-Mon 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ynys-Mon 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Alanna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Alanna 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Alanna 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Alanna 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Alanna 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Aursa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Aursa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Aursa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Aursa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Aursa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Nisa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Nisa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Nisa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Nisa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Nisa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Haomavarga
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Haomavarga 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Haomavarga 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Haomavarga 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Haomavarga 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Mazsakata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Mazsakata 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Mazsakata 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Mazsakata 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Mazsakata 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Roxsalanna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Roxsalanna 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Roxsalanna 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Roxsalanna 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Roxsalanna 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Uspe
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Uspe 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Uspe 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Uspe 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Uspe 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Thissakata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Thissakata 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Thissakata 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Thissakata 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Thissakata 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Yazyga
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Yazyga 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Yazyga 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Yazyga 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Yazyga 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Yugra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Yugra 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Yugra 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Yugra 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Yugra 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Dalminion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Dalminion 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Dalminion 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Dalminion 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Dalminion 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Serdike
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Serdike 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Serdike 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Serdike 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Serdike 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Alexandreia-Eschate
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandreia-Eschate 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandreia-Eschate 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandreia-Eschate 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandreia-Eschate 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Alexandreia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandreia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandreia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandreia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandreia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Axum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Axum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Axum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Axum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Axum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Prophthasia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Prophthasia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Prophthasia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Prophthasia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Prophthasia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ars
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ars 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ars 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ars 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ars 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kotais
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kotais 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kotais 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kotais 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kotais 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Lilibeo
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lilibeo 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Lilibeo 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Lilibeo 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Lilibeo 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Susa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Susa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Susa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Susa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Susa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ambrakia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ambrakia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ambrakia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ambrakia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ambrakia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ivernis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ivernis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ivernis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ivernis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ivernis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ak-Ink
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ak-Ink 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ak-Ink 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ak-Ink 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ak-Ink 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Arretium
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arretium 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Arretium 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Arretium 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Arretium 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Chalkis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chalkis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Chalkis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Chalkis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Chalkis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gabai
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gabai 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gabai 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gabai 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gabai 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Tuat
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tuat 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Tuat 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Tuat 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Tuat 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Tyde
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tyde 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Tyde 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Tyde 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Tyde 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ankyra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ankyra 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ankyra 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ankyra 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ankyra 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Taksashila
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Taksashila 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Taksashila 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Taksashila 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Taksashila 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Pura
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pura 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Pura 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Pura 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Pura 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gerrha
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gerrha 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gerrha 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gerrha 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gerrha 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Buridava
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Buridava 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Buridava 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Buridava 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Buridava 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sarmiszegethusa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sarmiszegethusa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sarmiszegethusa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sarmiszegethusa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sarmiszegethusa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Massalia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Massalia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Massalia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Massalia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Massalia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Hbukoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Hbukoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Hbukoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Hbukoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Hbukoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sabata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sabata 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sabata 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sabata 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sabata 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Arctaunon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arctaunon 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Arctaunon 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Arctaunon 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Arctaunon 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Armavir
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Armavir 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Armavir 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Armavir 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Armavir 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Aventicos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Aventicos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Aventicos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Aventicos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Aventicos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Memphis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Memphis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Memphis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Memphis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Memphis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Heruskoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Heruskoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Heruskoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Heruskoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Heruskoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Zadrakata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Zadrakata 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Zadrakata 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Zadrakata 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Zadrakata 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Epidamnos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Epidamnos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Epidamnos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Epidamnos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Epidamnos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Mediolanum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mediolanum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Mediolanum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Mediolanum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Mediolanum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Hierosolyma
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Hierosolyma 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Hierosolyma 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Hierosolyma 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Hierosolyma 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Taras
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Taras 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Taras 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Taras 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Taras 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Chach
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chach 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Chach 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Chach 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Chach 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Mazaka
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mazaka 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Mazaka 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Mazaka 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Mazaka 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Amaseia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Amaseia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Amaseia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Amaseia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Amaseia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Halikarnassos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Halikarnassos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Halikarnassos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Halikarnassos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Halikarnassos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Karmana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Karmana 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Karmana 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Karmana 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Karmana 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Mtskheta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mtskheta 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Mtskheta 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Mtskheta 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Mtskheta 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Apameia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Apameia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Apameia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Apameia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Apameia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Khiva
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Khiva 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Khiva 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Khiva 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Khiva 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Tarsos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tarsos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Tarsos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Tarsos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Tarsos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Kimbroz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Kimbroz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Kimbroz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Kimbroz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Kimbroz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Alalia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alalia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Alalia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Alalia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Alalia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kydonia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kydonia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kydonia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kydonia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kydonia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Meroe
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Meroe 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Meroe 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Meroe 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Meroe 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Salamis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Salamis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Salamis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Salamis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Salamis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kyrene
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kyrene 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kyrene 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kyrene 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kyrene 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Emporion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Emporion 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Emporion 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Emporion 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Emporion 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sparte
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sparte 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sparte 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sparte 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sparte 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Gotnoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Gotnoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Gotnoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Gotnoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Gotnoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Roma
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Roma 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Roma 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Roma 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Roma 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Lemonum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lemonum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Lemonum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Lemonum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Lemonum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Mytilene
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mytilene 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Mytilene 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Mytilene 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Mytilene 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ammonion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ammonion 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ammonion 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ammonion 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ammonion 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Segesta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Segesta 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Segesta 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Segesta 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Segesta 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Viennos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Viennos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Viennos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Viennos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Viennos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Carrodunum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Carrodunum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Carrodunum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Carrodunum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Carrodunum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Oxtraca
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Oxtraca 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Oxtraca 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Oxtraca 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Oxtraca 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sardis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sardis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sardis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sardis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sardis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Tanais
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tanais 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Tanais 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Tanais 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Tanais 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Carna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Carna 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Carna 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Carna 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Carna 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Pella
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pella 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Pella 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Pella 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Pella 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Homna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Homna 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Homna 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Homna 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Homna 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Antiocheia-Margiane
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Antiocheia-Margiane 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Antiocheia-Margiane 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Antiocheia-Margiane 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Antiocheia-Margiane 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Paraitonion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Paraitonion 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Paraitonion 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Paraitonion 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Paraitonion 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ippone
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ippone 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ippone 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ippone 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ippone 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sala
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sala 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sala 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sala 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sala 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Siga
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Siga 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Siga 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Siga 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Siga 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Lixus
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lixus 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Lixus 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Lixus 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Lixus 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ekbatana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ekbatana 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ekbatana 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ekbatana 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ekbatana 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kallatis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kallatis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kallatis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kallatis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kallatis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Bibracte
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bibracte 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Bibracte 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Bibracte 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Bibracte 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Cenabum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Cenabum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Cenabum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Cenabum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Cenabum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Eburonum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Eburonum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Eburonum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Eburonum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Eburonum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Pergamon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pergamon 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Pergamon 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Pergamon 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Pergamon 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Bostra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bostra 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Bostra 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Bostra 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Bostra 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Bagacos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bagacos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Bagacos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Bagacos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Bagacos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gordu-Neuriji
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gordu-Neuriji 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gordu-Neuriji 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gordu-Neuriji 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gordu-Neuriji 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Iuvavoaeta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Iuvavoaeta 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Iuvavoaeta 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Iuvavoaeta 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Iuvavoaeta 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kirtan
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kirtan 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kirtan 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kirtan 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kirtan 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Hibis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Hibis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Hibis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Hibis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Hibis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Tylis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tylis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Tylis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Tylis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Tylis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Side
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Side 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Side 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Side 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Side 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Vindobona
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vindobona 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Vindobona 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Vindobona 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Vindobona 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Segestica
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Segestica 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Segestica 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Segestica 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Segestica 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sinope
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sinope 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sinope 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sinope 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sinope 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kophen
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kophen 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kophen 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kophen 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kophen 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Hekatompylos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Hekatompylos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Hekatompylos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Hekatompylos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Hekatompylos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Korinthos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Korinthos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Korinthos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Korinthos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Korinthos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Persepolis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Persepolis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Persepolis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Persepolis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Persepolis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Garama
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Garama 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Garama 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Garama 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Garama 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sidon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sidon 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sidon 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sidon 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sidon 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ipsos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ipsos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ipsos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ipsos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ipsos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ani-Kamah
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ani-Kamah 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ani-Kamah 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ani-Kamah 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ani-Kamah 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Trapezous
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Trapezous 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Trapezous 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Trapezous 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Trapezous 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Tamane
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tamane 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Tamane 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Tamane 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Tamane 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Veldideno
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Veldideno 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Veldideno 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Veldideno 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Veldideno 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Rhodos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Rhodos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Rhodos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Rhodos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Rhodos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Rugoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Rugoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Rugoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Rugoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Rugoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Maryab
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Maryab 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Maryab 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Maryab 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Maryab 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Terhazza
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Terhazza 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Terhazza 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Terhazza 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Terhazza 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gava-Saka
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Saka 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Saka 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Saka 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Saka 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Asodt
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Asodt 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Asodt 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Asodt 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Asodt 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Karali
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Karali 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Karali 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Karali 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Karali 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Opiana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Opiana 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Opiana 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Opiana 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Opiana 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Singidunum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Singidunum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Singidunum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Singidunum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Singidunum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Seliun-Pilis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Seliun-Pilis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Seliun-Pilis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Seliun-Pilis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Seliun-Pilis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gintaras-Ostan
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gintaras-Ostan 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gintaras-Ostan 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gintaras-Ostan 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gintaras-Ostan 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Vesontio
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vesontio 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Vesontio 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Vesontio 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Vesontio 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Messana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Messana 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Messana 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Messana 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Messana 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Silengoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Silengoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Silengoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Silengoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Silengoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Petra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Petra 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Petra 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Petra 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Petra 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Patala
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Patala 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Patala 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Patala 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Patala 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gwjm~Skndzwrjoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Skndzwrjoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Skndzwrjoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Skndzwrjoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Skndzwrjoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Olbia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Olbia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Olbia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Olbia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Olbia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Marakanda
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Marakanda 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Marakanda 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Marakanda 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Marakanda 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Karkathiokerta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Karkathiokerta 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Karkathiokerta 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Karkathiokerta 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Karkathiokerta 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Swebotruststmnoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Swebotruststmnoz 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Swebotruststmnoz 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Swebotruststmnoz 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Swebotruststmnoz 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Antiocheia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Antiocheia 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Antiocheia 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Antiocheia 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Antiocheia 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Damaskos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Damaskos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Damaskos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Damaskos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Damaskos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Palmyra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Palmyra 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Palmyra 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Palmyra 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Palmyra 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Chersonesos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chersonesos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Chersonesos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Chersonesos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Chersonesos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Diospolis-Megale
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Diospolis-Megale 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Diospolis-Megale 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Diospolis-Megale 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Diospolis-Megale 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Demetrias
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Demetrias 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Demetrias 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Demetrias 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Demetrias 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Naissos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Naissos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Naissos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Naissos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Naissos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ascaucalis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ascaucalis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ascaucalis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ascaucalis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ascaucalis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Pselkis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pselkis 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Pselkis 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Pselkis 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Pselkis 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Syrakousai
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Syrakousai 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Syrakousai 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Syrakousai 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Syrakousai 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Lepki
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lepki 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Lepki 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Lepki 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Lepki 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Gader
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gader 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Gader 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Gader 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Gader 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sucum-Murgi
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sucum-Murgi 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sucum-Murgi 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sucum-Murgi 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sucum-Murgi 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ariminum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ariminum 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ariminum 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ariminum 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ariminum 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Patavium
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Patavium 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Patavium 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Patavium 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Patavium 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Vindelicoppidos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vindelicoppidos 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Vindelicoppidos 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Vindelicoppidos 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Vindelicoppidos 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Tolosa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tolosa 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Tolosa 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Tolosa 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Tolosa 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Chighu
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chighu 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Chighu 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Chighu 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Chighu 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Sulek
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sulek 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Sulek 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Sulek 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Sulek 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Kart-Hadast
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kart-Hadast 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Kart-Hadast 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Kart-Hadast 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Kart-Hadast 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory cavalry
and SettlementName Ubar
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ubar 12
end_if
if I_CompareCounter popsize = 2
console_command add_population Ubar 25
end_if
if I_CompareCounter popsize = 3
console_command add_population Ubar 50
end_if
if I_CompareCounter popsize = 4
console_command add_population Ubar 100
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Arbela
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arbela 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Arbela 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Arbela 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Arbela 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Phraaspa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Phraaspa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Phraaspa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Phraaspa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Phraaspa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Bononia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bononia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Bononia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Bononia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Bononia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kabalaka
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kabalaka 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kabalaka 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kabalaka 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kabalaka 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Thermon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Thermon 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Thermon 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Thermon 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Thermon 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Arpi
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arpi 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Arpi 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Arpi 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Arpi 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Burdigala
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Burdigala 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Burdigala 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Burdigala 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Burdigala 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Babylon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Babylon 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Babylon 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Babylon 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Babylon 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Alexandropolis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandropolis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandropolis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandropolis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandropolis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Alexandreia-Ariana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandreia-Ariana 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandreia-Ariana 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandreia-Ariana 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandreia-Ariana 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Darioritum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Darioritum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Darioritum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Darioritum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Darioritum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gergovia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gergovia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gergovia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gergovia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gergovia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Edessa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Edessa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Edessa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Edessa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Edessa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Asaak
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Asaak 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Asaak 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Asaak 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Asaak 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Pallantia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pallantia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Pallantia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Pallantia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Pallantia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Athenai
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Athenai 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Athenai 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Athenai 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Athenai 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Augila
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Augila 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Augila 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Augila 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Augila 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Seleukeia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Seleukeia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Seleukeia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Seleukeia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Seleukeia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Baktra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Baktra 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Baktra 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Baktra 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Baktra 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Bocchoris
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bocchoris 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Bocchoris 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Bocchoris 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Bocchoris 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Bastarnoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Bastarnoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Bastarnoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Bastarnoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Bastarnoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Mastia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mastia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Mastia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Mastia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Mastia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Avaricum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Avaricum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Avaricum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Avaricum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Avaricum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Bratosporios
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bratosporios 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Bratosporios 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Bratosporios 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Bratosporios 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Nikaia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Nikaia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Nikaia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Nikaia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Nikaia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Pantikapaion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pantikapaion 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Pantikapaion 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Pantikapaion 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Pantikapaion 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Rhegion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Rhegion 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Rhegion 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Rhegion 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Rhegion 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Caern-Brigantae
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Caern-Brigantae 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Caern-Brigantae 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Caern-Brigantae 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Caern-Brigantae 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gelonus
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gelonus 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gelonus 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gelonus 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gelonus 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Adrumeto
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Adrumeto 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Adrumeto 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Adrumeto 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Adrumeto 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Attuaca
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Attuaca 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Attuaca 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Attuaca 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Attuaca 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Capua
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Capua 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Capua 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Capua 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Capua 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Vellika
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vellika 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Vellika 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Vellika 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Vellika 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Baikor
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Baikor 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Baikor 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Baikor 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Baikor 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Camulosadae
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Camulosadae 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Camulosadae 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Camulosadae 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Camulosadae 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Numantia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Numantia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Numantia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Numantia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Numantia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Charax
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Charax 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Charax 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Charax 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Charax 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Byzantion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Byzantion 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Byzantion 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Byzantion 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Byzantion 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ptolemais-Theron
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ptolemais-Theron 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ptolemais-Theron 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ptolemais-Theron 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ptolemais-Theron 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ratae
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ratae 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ratae 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ratae 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ratae 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ictis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ictis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ictis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ictis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ictis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Lucarottea
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lucarottea 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Lucarottea 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Lucarottea 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Lucarottea 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Emain-Macha
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Emain-Macha 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Emain-Macha 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Emain-Macha 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Emain-Macha 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Atiqa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Atiqa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Atiqa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Atiqa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Atiqa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ynys-Mon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ynys-Mon 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ynys-Mon 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ynys-Mon 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ynys-Mon 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Alanna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Alanna 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Alanna 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Alanna 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Alanna 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Aursa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Aursa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Aursa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Aursa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Aursa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Nisa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Nisa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Nisa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Nisa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Nisa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Haomavarga
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Haomavarga 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Haomavarga 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Haomavarga 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Haomavarga 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Mazsakata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Mazsakata 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Mazsakata 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Mazsakata 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Mazsakata 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Roxsalanna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Roxsalanna 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Roxsalanna 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Roxsalanna 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Roxsalanna 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Uspe
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Uspe 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Uspe 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Uspe 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Uspe 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Thissakata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Thissakata 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Thissakata 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Thissakata 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Thissakata 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Yazyga
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Yazyga 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Yazyga 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Yazyga 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Yazyga 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Yugra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Yugra 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Yugra 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Yugra 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Yugra 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Dalminion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Dalminion 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Dalminion 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Dalminion 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Dalminion 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Serdike
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Serdike 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Serdike 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Serdike 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Serdike 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Alexandreia-Eschate
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandreia-Eschate 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandreia-Eschate 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandreia-Eschate 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandreia-Eschate 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Alexandreia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alexandreia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Alexandreia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Alexandreia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Alexandreia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Axum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Axum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Axum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Axum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Axum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Prophthasia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Prophthasia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Prophthasia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Prophthasia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Prophthasia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ars
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ars 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ars 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ars 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ars 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kotais
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kotais 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kotais 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kotais 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kotais 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Lilibeo
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lilibeo 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Lilibeo 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Lilibeo 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Lilibeo 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Susa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Susa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Susa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Susa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Susa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ambrakia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ambrakia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ambrakia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ambrakia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ambrakia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ivernis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ivernis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ivernis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ivernis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ivernis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ak-Ink
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ak-Ink 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ak-Ink 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ak-Ink 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ak-Ink 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Arretium
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arretium 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Arretium 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Arretium 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Arretium 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Chalkis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chalkis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Chalkis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Chalkis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Chalkis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gabai
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gabai 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gabai 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gabai 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gabai 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Tuat
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tuat 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Tuat 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Tuat 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Tuat 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Tyde
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tyde 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Tyde 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Tyde 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Tyde 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ankyra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ankyra 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ankyra 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ankyra 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ankyra 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Taksashila
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Taksashila 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Taksashila 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Taksashila 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Taksashila 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Pura
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pura 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Pura 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Pura 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Pura 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gerrha
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gerrha 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gerrha 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gerrha 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gerrha 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Buridava
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Buridava 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Buridava 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Buridava 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Buridava 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sarmiszegethusa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sarmiszegethusa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sarmiszegethusa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sarmiszegethusa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sarmiszegethusa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Massalia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Massalia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Massalia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Massalia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Massalia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Hbukoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Hbukoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Hbukoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Hbukoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Hbukoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sabata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sabata 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sabata 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sabata 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sabata 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Arctaunon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Arctaunon 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Arctaunon 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Arctaunon 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Arctaunon 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Armavir
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Armavir 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Armavir 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Armavir 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Armavir 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Aventicos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Aventicos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Aventicos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Aventicos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Aventicos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Memphis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Memphis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Memphis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Memphis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Memphis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Heruskoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Heruskoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Heruskoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Heruskoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Heruskoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Zadrakata
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Zadrakata 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Zadrakata 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Zadrakata 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Zadrakata 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Epidamnos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Epidamnos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Epidamnos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Epidamnos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Epidamnos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Mediolanum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mediolanum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Mediolanum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Mediolanum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Mediolanum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Hierosolyma
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Hierosolyma 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Hierosolyma 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Hierosolyma 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Hierosolyma 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Taras
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Taras 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Taras 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Taras 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Taras 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Chach
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chach 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Chach 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Chach 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Chach 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Mazaka
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mazaka 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Mazaka 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Mazaka 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Mazaka 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Amaseia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Amaseia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Amaseia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Amaseia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Amaseia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Halikarnassos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Halikarnassos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Halikarnassos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Halikarnassos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Halikarnassos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Karmana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Karmana 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Karmana 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Karmana 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Karmana 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Mtskheta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mtskheta 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Mtskheta 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Mtskheta 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Mtskheta 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Apameia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Apameia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Apameia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Apameia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Apameia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Khiva
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Khiva 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Khiva 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Khiva 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Khiva 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Tarsos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tarsos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Tarsos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Tarsos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Tarsos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Kimbroz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Kimbroz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Kimbroz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Kimbroz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Kimbroz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Alalia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Alalia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Alalia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Alalia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Alalia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kydonia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kydonia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kydonia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kydonia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kydonia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Meroe
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Meroe 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Meroe 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Meroe 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Meroe 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Salamis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Salamis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Salamis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Salamis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Salamis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kyrene
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kyrene 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kyrene 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kyrene 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kyrene 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Emporion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Emporion 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Emporion 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Emporion 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Emporion 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sparte
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sparte 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sparte 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sparte 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sparte 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Gotnoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Gotnoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Gotnoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Gotnoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Gotnoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Roma
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Roma 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Roma 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Roma 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Roma 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Lemonum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lemonum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Lemonum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Lemonum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Lemonum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Mytilene
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Mytilene 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Mytilene 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Mytilene 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Mytilene 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ammonion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ammonion 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ammonion 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ammonion 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ammonion 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Segesta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Segesta 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Segesta 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Segesta 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Segesta 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Viennos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Viennos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Viennos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Viennos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Viennos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Carrodunum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Carrodunum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Carrodunum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Carrodunum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Carrodunum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Oxtraca
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Oxtraca 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Oxtraca 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Oxtraca 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Oxtraca 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sardis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sardis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sardis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sardis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sardis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Tanais
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tanais 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Tanais 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Tanais 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Tanais 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Carna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Carna 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Carna 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Carna 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Carna 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Pella
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pella 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Pella 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Pella 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Pella 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Homna
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Homna 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Homna 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Homna 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Homna 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Antiocheia-Margiane
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Antiocheia-Margiane 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Antiocheia-Margiane 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Antiocheia-Margiane 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Antiocheia-Margiane 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Paraitonion
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Paraitonion 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Paraitonion 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Paraitonion 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Paraitonion 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ippone
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ippone 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ippone 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ippone 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ippone 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sala
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sala 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sala 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sala 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sala 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Siga
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Siga 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Siga 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Siga 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Siga 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Lixus
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lixus 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Lixus 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Lixus 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Lixus 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ekbatana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ekbatana 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ekbatana 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ekbatana 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ekbatana 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kallatis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kallatis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kallatis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kallatis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kallatis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Bibracte
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bibracte 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Bibracte 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Bibracte 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Bibracte 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Cenabum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Cenabum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Cenabum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Cenabum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Cenabum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Eburonum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Eburonum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Eburonum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Eburonum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Eburonum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Pergamon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pergamon 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Pergamon 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Pergamon 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Pergamon 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Bostra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bostra 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Bostra 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Bostra 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Bostra 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Bagacos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Bagacos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Bagacos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Bagacos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Bagacos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gordu-Neuriji
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gordu-Neuriji 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gordu-Neuriji 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gordu-Neuriji 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gordu-Neuriji 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Iuvavoaeta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Iuvavoaeta 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Iuvavoaeta 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Iuvavoaeta 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Iuvavoaeta 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kirtan
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kirtan 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kirtan 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kirtan 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kirtan 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Hibis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Hibis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Hibis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Hibis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Hibis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Tylis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tylis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Tylis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Tylis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Tylis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Side
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Side 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Side 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Side 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Side 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Vindobona
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vindobona 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Vindobona 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Vindobona 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Vindobona 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Segestica
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Segestica 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Segestica 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Segestica 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Segestica 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sinope
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sinope 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sinope 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sinope 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sinope 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kophen
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kophen 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kophen 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kophen 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kophen 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Hekatompylos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Hekatompylos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Hekatompylos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Hekatompylos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Hekatompylos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Korinthos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Korinthos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Korinthos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Korinthos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Korinthos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Persepolis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Persepolis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Persepolis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Persepolis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Persepolis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Garama
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Garama 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Garama 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Garama 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Garama 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sidon
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sidon 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sidon 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sidon 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sidon 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ipsos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ipsos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ipsos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ipsos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ipsos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ani-Kamah
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ani-Kamah 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ani-Kamah 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ani-Kamah 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ani-Kamah 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Trapezous
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Trapezous 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Trapezous 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Trapezous 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Trapezous 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Tamane
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tamane 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Tamane 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Tamane 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Tamane 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Veldideno
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Veldideno 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Veldideno 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Veldideno 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Veldideno 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Rhodos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Rhodos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Rhodos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Rhodos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Rhodos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Rugoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Rugoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Rugoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Rugoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Rugoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Maryab
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Maryab 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Maryab 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Maryab 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Maryab 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Terhazza
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Terhazza 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Terhazza 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Terhazza 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Terhazza 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gava-Saka
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gava-Saka 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gava-Saka 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gava-Saka 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gava-Saka 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Asodt
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Asodt 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Asodt 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Asodt 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Asodt 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Karali
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Karali 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Karali 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Karali 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Karali 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Opiana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Opiana 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Opiana 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Opiana 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Opiana 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Singidunum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Singidunum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Singidunum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Singidunum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Singidunum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Seliun-Pilis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Seliun-Pilis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Seliun-Pilis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Seliun-Pilis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Seliun-Pilis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gintaras-Ostan
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gintaras-Ostan 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gintaras-Ostan 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gintaras-Ostan 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gintaras-Ostan 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Vesontio
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vesontio 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Vesontio 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Vesontio 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Vesontio 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Messana
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Messana 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Messana 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Messana 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Messana 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Silengoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Silengoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Silengoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Silengoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Silengoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Petra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Petra 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Petra 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Petra 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Petra 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Patala
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Patala 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Patala 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Patala 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Patala 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gwjm~Skndzwrjoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gwjm~Skndzwrjoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gwjm~Skndzwrjoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gwjm~Skndzwrjoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gwjm~Skndzwrjoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Olbia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Olbia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Olbia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Olbia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Olbia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Marakanda
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Marakanda 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Marakanda 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Marakanda 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Marakanda 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Karkathiokerta
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Karkathiokerta 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Karkathiokerta 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Karkathiokerta 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Karkathiokerta 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Swebotruststmnoz
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Swebotruststmnoz 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Swebotruststmnoz 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Swebotruststmnoz 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Swebotruststmnoz 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Antiocheia
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Antiocheia 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Antiocheia 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Antiocheia 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Antiocheia 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Damaskos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Damaskos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Damaskos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Damaskos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Damaskos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Palmyra
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Palmyra 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Palmyra 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Palmyra 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Palmyra 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Chersonesos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chersonesos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Chersonesos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Chersonesos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Chersonesos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Diospolis-Megale
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Diospolis-Megale 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Diospolis-Megale 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Diospolis-Megale 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Diospolis-Megale 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Demetrias
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Demetrias 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Demetrias 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Demetrias 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Demetrias 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Naissos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Naissos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Naissos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Naissos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Naissos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ascaucalis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ascaucalis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ascaucalis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ascaucalis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ascaucalis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Pselkis
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Pselkis 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Pselkis 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Pselkis 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Pselkis 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Syrakousai
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Syrakousai 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Syrakousai 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Syrakousai 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Syrakousai 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Lepki
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Lepki 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Lepki 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Lepki 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Lepki 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Gader
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Gader 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Gader 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Gader 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Gader 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sucum-Murgi
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sucum-Murgi 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sucum-Murgi 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sucum-Murgi 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sucum-Murgi 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ariminum
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ariminum 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ariminum 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ariminum 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ariminum 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Patavium
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Patavium 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Patavium 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Patavium 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Patavium 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Vindelicoppidos
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Vindelicoppidos 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Vindelicoppidos 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Vindelicoppidos 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Vindelicoppidos 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Tolosa
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Tolosa 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Tolosa 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Tolosa 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Tolosa 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Chighu
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Chighu 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Chighu 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Chighu 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Chighu 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Sulek
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Sulek 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Sulek 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Sulek 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Sulek 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Kart-Hadast
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Kart-Hadast 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Kart-Hadast 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Kart-Hadast 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Kart-Hadast 200
end_if

end_monitor

monitor_event UnitTrained TrainedUnitCategory infantry
and SettlementName Ubar
and not FactionIsLocal

if I_CompareCounter popsize = 1
console_command add_population Ubar 25
end_if
if I_CompareCounter popsize = 2
console_command add_population Ubar 50
end_if
if I_CompareCounter popsize = 3
console_command add_population Ubar 100
end_if
if I_CompareCounter popsize = 4
console_command add_population Ubar 200
end_if

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 5: Money Assistance
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 5a: Difficult Start Help
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType romans_julii
and not FactionIsLocal
    and Treasury < 5000
    and I_CompareCounter seasonCounter = 4
     console_command add_money romans_julii, 20000
end_monitor 

monitor_event FactionTurnStart FactionType romans_scipii
and not FactionIsLocal 
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money romans_scipii, 20000
end_monitor 

monitor_event FactionTurnStart FactionType romans_brutii
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money romans_brutii, 20000
end_monitor 

monitor_event FactionTurnStart FactionType egypt
and not FactionIsLocal 
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money egypt, 20000
end_monitor 

monitor_event FactionTurnStart FactionType seleucid
and not FactionIsLocal 
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money seleucid, 20000
end_monitor 

monitor_event FactionTurnStart FactionType carthage
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money carthage, 20000
end_monitor 

monitor_event FactionTurnStart FactionType parthia
and not FactionIsLocal  
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money parthia, 20000
end_monitor 

monitor_event FactionTurnStart FactionType gauls
and not FactionIsLocal 
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money gauls, 20000
end_monitor 

monitor_event FactionTurnStart FactionType germans
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money germans, 20000
end_monitor 

monitor_event FactionTurnStart FactionType britons
and not FactionIsLocal 
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money britons, 20000
end_monitor 

monitor_event FactionTurnStart FactionType greek_cities
and not FactionIsLocal 
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money greek_cities, 20000
end_monitor 

monitor_event FactionTurnStart FactionType macedon
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money macedon, 20000
end_monitor 

monitor_event FactionTurnStart FactionType pontus
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money pontus, 20000
end_monitor 

monitor_event FactionTurnStart FactionType armenia
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money armenia, 20000
end_monitor 

monitor_event FactionTurnStart FactionType dacia
and not FactionIsLocal  
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money dacia, 20000
end_monitor 

monitor_event FactionTurnStart FactionType scythia
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
	console_command add_money scythia, 20000
end_monitor 

monitor_event FactionTurnStart FactionType spain
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money spain, 20000
end_monitor 

monitor_event FactionTurnStart FactionType thrace
and not FactionIsLocal 
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money thrace, 20000
end_monitor 

monitor_event FactionTurnStart FactionType numidia
and not FactionIsLocal   
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money numidia, 20000
end_monitor 

monitor_event FactionTurnStart FactionType saba
and not FactionIsLocal
    and Treasury < 5000
	and I_CompareCounter seasonCounter = 4
     console_command add_money saba, 20000
end_monitor 

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 5b: City Income Bonus
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Calculate the number of settlements the human player has for tweaking assistance
declare_counter numPlayerSettlements
monitor_event SettlementTurnEnd FactionIsLocal
    inc_counter numPlayerSettlements 1
end_monitor

monitor_event FactionTurnEnd FactionType slave
    set_counter numPlayerSettlements 0
end_monitor

;Carthie fleet discount
monitor_event CharacterTurnStart FactionType egypt
and AgentType = admiral
and not FactionIsLocal
and Treasury < 100000
  console_command add_money egypt, 600
end_monitor


;Rome

;Cap treasury
monitor_event FactionTurnStart FactionType seleucid
and not FactionIsLocal
and Treasury > 300000
  console_command add_money seleucid, -40000
  console_command add_money seleucid, -40000
end_monitor

;first 12 years
monitor_event SettlementTurnStart FactionType seleucid
and not FactionIsLocal
and I_TurnNumber  < 49
and Treasury < 100000
  console_command add_money seleucid, 1200
  if I_NumberOfSettlements seleucid < 25
    console_command add_money seleucid, 300
  end_if
  if I_NumberOfSettlements seleucid < 16
    console_command add_money seleucid, 300
  end_if
end_monitor

;after 12 years
monitor_event SettlementTurnStart FactionType seleucid
and not FactionIsLocal
and I_TurnNumber  > 48
and Treasury < 100000
  if I_NumberOfSettlements seleucid < 3
    console_command add_money seleucid, 900
  end_if

  if I_NumberOfSettlements seleucid < 6
    console_command add_money seleucid, 300
  end_if

  if I_NumberOfSettlements seleucid < 9
    console_command add_money seleucid, 300
  end_if

  if I_NumberOfSettlements seleucid < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money seleucid, 300
  end_if

  if I_NumberOfSettlements seleucid < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money seleucid, 300
  end_if

  if I_NumberOfSettlements seleucid < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money seleucid, 300
  end_if
  console_command add_money seleucid, 600
end_monitor


;Saka

;Cap treasury
monitor_event FactionTurnStart FactionType pontus
and not FactionIsLocal
and Treasury > 300000
  console_command add_money pontus, -40000
  console_command add_money pontus, -40000
end_monitor

;Saka specific help to give them teeth
monitor_event SettlementTurnStart FactionType pontus
and not FactionIsLocal
and Treasury < 100000
and I_NumberOfSettlements pontus < 6
  console_command add_money pontus, 500
end_monitor

;first 12 years
monitor_event SettlementTurnStart FactionType pontus
and not FactionIsLocal
and I_TurnNumber  < 49
and Treasury < 100000
  console_command add_money pontus, 1200
  if I_NumberOfSettlements pontus < 25
    console_command add_money pontus, 300
  end_if
  if I_NumberOfSettlements pontus < 16
    console_command add_money pontus, 300
  end_if
end_monitor

;after 12 years
monitor_event SettlementTurnStart FactionType pontus
and not FactionIsLocal
and I_TurnNumber  > 48
and Treasury < 100000
  if I_NumberOfSettlements pontus < 3
    console_command add_money pontus, 900
  end_if

  if I_NumberOfSettlements pontus < 6
    console_command add_money pontus, 300
  end_if

  if I_NumberOfSettlements pontus < 9
    console_command add_money pontus, 300
  end_if

  if I_NumberOfSettlements pontus < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money pontus, 300
  end_if

  if I_NumberOfSettlements pontus < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money pontus, 300
  end_if

  if I_NumberOfSettlements pontus < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money pontus, 300
  end_if
  console_command add_money pontus, 600
end_monitor



;Arverni

;Cap treasury
monitor_event FactionTurnStart FactionType scythia
and not FactionIsLocal
and Treasury > 300000
  console_command add_money scythia, -40000
  console_command add_money scythia, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType scythia
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money scythia, 1200
  if I_NumberOfSettlements scythia < 25
    console_command add_money scythia, 300
  end_if
  if I_NumberOfSettlements scythia < 16
    console_command add_money scythia, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType scythia
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements scythia < 3
    console_command add_money scythia, 900
  end_if

  if I_NumberOfSettlements scythia < 6
    console_command add_money scythia, 300
  end_if

  if I_NumberOfSettlements scythia < 9
    console_command add_money scythia, 300
  end_if

  if I_NumberOfSettlements scythia < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money scythia, 300
  end_if

  if I_NumberOfSettlements scythia < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money scythia, 300
  end_if

  if I_NumberOfSettlements scythia < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money scythia, 300
  end_if

  console_command add_money scythia, 600
end_monitor



;Saba

;Cap treasury
monitor_event FactionTurnStart FactionType saba
and not FactionIsLocal
and Treasury > 300000
  console_command add_money saba, -40000
  console_command add_money saba, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType saba
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money saba, 1200
  if I_NumberOfSettlements saba < 25
    console_command add_money saba, 300
  end_if
  if I_NumberOfSettlements saba < 16
    console_command add_money saba, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType saba
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements saba < 3
    console_command add_money saba, 900
  end_if

  if I_NumberOfSettlements saba < 6
    console_command add_money saba, 300
  end_if

  if I_NumberOfSettlements saba < 9
    console_command add_money saba, 300
  end_if

  if I_NumberOfSettlements saba < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money saba, 300
  end_if

  if I_NumberOfSettlements saba < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money saba, 300
  end_if

  if I_NumberOfSettlements saba < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money saba, 300
  end_if

  console_command add_money saba, 600
end_monitor


;Makedon

;Cap treasury
monitor_event FactionTurnStart FactionType macedon
and not FactionIsLocal
and Treasury > 300000
  console_command add_money macedon, -40000
  console_command add_money macedon, -40000
end_monitor

;first 12 years
monitor_event SettlementTurnStart FactionType macedon
and not FactionIsLocal
and I_TurnNumber  < 49
and Treasury < 100000
  console_command add_money macedon, 1200
  if I_NumberOfSettlements macedon < 25
    console_command add_money macedon, 300
  end_if
  if I_NumberOfSettlements macedon < 16
    console_command add_money macedon, 300
  end_if
end_monitor



;after 12 years
monitor_event SettlementTurnStart FactionType macedon
and not FactionIsLocal
and I_TurnNumber  > 48
and Treasury < 100000
  if I_NumberOfSettlements macedon < 3
    console_command add_money macedon, 900
  end_if

  if I_NumberOfSettlements macedon < 6
    console_command add_money macedon, 300
  end_if

  if I_NumberOfSettlements macedon < 9
    console_command add_money macedon, 300
  end_if

  if I_NumberOfSettlements macedon < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money macedon, 300
  end_if

  if I_NumberOfSettlements macedon < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money macedon, 300
  end_if

  if I_NumberOfSettlements macedon < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money macedon, 300
  end_if

  console_command add_money macedon, 600
end_monitor


;Ptolemies

;Cap treasury
monitor_event FactionTurnStart FactionType numidia
and not FactionIsLocal
and Treasury > 300000
  console_command add_money numidia, -40000
  console_command add_money numidia, -40000
end_monitor

;first 7 years
monitor_event SettlementTurnStart FactionType numidia
and not FactionIsLocal
and I_TurnNumber  < 29
and Treasury < 100000
  console_command add_money numidia, 1200
  if I_NumberOfSettlements numidia < 25
    console_command add_money numidia, 300
  end_if
  if I_NumberOfSettlements numidia < 16
    console_command add_money numidia, 300
  end_if
end_monitor

;after 7 years
monitor_event SettlementTurnStart FactionType numidia
and not FactionIsLocal
and I_TurnNumber  > 28
and Treasury < 100000
  if I_NumberOfSettlements numidia < 3
    console_command add_money numidia, 600
  end_if

  if I_NumberOfSettlements numidia < 6
    console_command add_money numidia, 300
  end_if

  if I_NumberOfSettlements numidia < 9
    console_command add_money numidia, 300
  end_if

  if I_NumberOfSettlements numidia < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money numidia, 300
  end_if

  if I_NumberOfSettlements numidia < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money numidia, 300
  end_if

  if I_NumberOfSettlements numidia < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money numidia, 300
  end_if

  console_command add_money numidia, 600
end_monitor


;Seleukids

;Cap treasury
monitor_event FactionTurnStart FactionType romans_julii
and not FactionIsLocal
and Treasury > 300000
  console_command add_money romans_julii, -40000
  console_command add_money romans_julii, -40000
end_monitor

;first 12 years
monitor_event SettlementTurnStart FactionType romans_julii
and not FactionIsLocal
and I_TurnNumber  < 49
and Treasury < 100000
  console_command add_money romans_julii, 1200
  if I_NumberOfSettlements romans_julii < 25
    console_command add_money romans_julii, 300
  end_if
  if I_NumberOfSettlements romans_julii < 16
    console_command add_money romans_julii, 300
  end_if
end_monitor

;after 12 years
monitor_event SettlementTurnStart FactionType romans_julii
and not FactionIsLocal
and I_TurnNumber  > 48
and Treasury < 100000
  if I_NumberOfSettlements romans_julii < 3
    console_command add_money romans_julii, 900
  end_if
  if I_NumberOfSettlements romans_julii < 6
    console_command add_money romans_julii, 300
  end_if

  if I_NumberOfSettlements romans_julii < 9
    console_command add_money romans_julii, 300
  end_if

  if I_NumberOfSettlements romans_julii < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money romans_julii, 300
  end_if

  if I_NumberOfSettlements romans_julii < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money romans_julii, 300
  end_if

  if I_NumberOfSettlements romans_julii < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money romans_julii, 300
  end_if

  console_command add_money romans_julii, 600
end_monitor


;Carthage

;Cap treasury
monitor_event FactionTurnStart FactionType egypt
and not FactionIsLocal
and Treasury > 300000
  console_command add_money egypt, -40000
  console_command add_money egypt, -40000
end_monitor

;first 7 years
monitor_event SettlementTurnStart FactionType egypt
and not FactionIsLocal
and I_TurnNumber  < 29
and Treasury < 100000
  console_command add_money egypt, 1200
  if I_NumberOfSettlements egypt < 25
    console_command add_money egypt, 300
  end_if
  if I_NumberOfSettlements egypt < 16
    console_command add_money egypt, 300
  end_if
end_monitor

;after 7 years
monitor_event SettlementTurnStart FactionType egypt
and not FactionIsLocal
and I_TurnNumber  > 28
and Treasury < 100000
  if I_NumberOfSettlements egypt < 3
    console_command add_money egypt, 900
  end_if

  if I_NumberOfSettlements egypt < 6
    console_command add_money egypt, 300
  end_if

  if I_NumberOfSettlements egypt < 9
    console_command add_money egypt, 300
  end_if

  if I_NumberOfSettlements egypt < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money egypt, 300
  end_if

  if I_NumberOfSettlements egypt < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money egypt, 300
  end_if

  if I_NumberOfSettlements egypt < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money egypt, 300
  end_if

  console_command add_money egypt, 600
end_monitor


;Parthians

;Cap treasury
monitor_event FactionTurnStart FactionType parthia
and not FactionIsLocal
and Treasury > 300000
  console_command add_money parthia, -40000
  console_command add_money parthia, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType parthia
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money parthia, 1200
  if I_NumberOfSettlements parthia < 25
    console_command add_money parthia, 300
  end_if
  if I_NumberOfSettlements parthia < 16
    console_command add_money parthia, 300
  end_if
end_monitor


;after 15 years
monitor_event SettlementTurnStart FactionType parthia
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements parthia < 3
    console_command add_money parthia, 900
  end_if

  if I_NumberOfSettlements parthia < 6
    console_command add_money parthia, 300
  end_if

  if I_NumberOfSettlements parthia < 9
    console_command add_money parthia, 300
  end_if

  if I_NumberOfSettlements parthia < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money parthia, 300
  end_if

  if I_NumberOfSettlements parthia < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money parthia, 300
  end_if

  if I_NumberOfSettlements parthia < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money parthia, 300
  end_if

  console_command add_money parthia, 600
end_monitor


;Pontus

;Cap treasury
monitor_event FactionTurnStart FactionType carthage
and not FactionIsLocal
and Treasury > 300000
  console_command add_money carthage, -40000
  console_command add_money carthage, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType carthage
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money carthage, 1200
  if I_NumberOfSettlements carthage < 25
    console_command add_money carthage, 300
  end_if
  if I_NumberOfSettlements carthage < 16
    console_command add_money carthage, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType carthage
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements carthage < 3
    console_command add_money carthage, 900
  end_if

  if I_NumberOfSettlements carthage < 6
    console_command add_money carthage, 300
  end_if

  if I_NumberOfSettlements carthage < 9
    console_command add_money carthage, 300
  end_if

  if I_NumberOfSettlements carthage < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money carthage, 300
  end_if

  if I_NumberOfSettlements carthage < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money carthage, 300
  end_if

  if I_NumberOfSettlements carthage < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money carthage, 300
  end_if

  console_command add_money carthage, 600
end_monitor


;Aedui

;Cap treasury
monitor_event FactionTurnStart FactionType gauls
and not FactionIsLocal
and Treasury > 300000
  console_command add_money gauls, -40000
  console_command add_money gauls, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType gauls
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money gauls, 1200
  if I_NumberOfSettlements gauls < 25
    console_command add_money gauls, 300
  end_if
  if I_NumberOfSettlements gauls < 16
    console_command add_money gauls, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType gauls
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements gauls < 3
    console_command add_money gauls, 900
  end_if

  if I_NumberOfSettlements gauls < 6
    console_command add_money gauls, 300
  end_if

  if I_NumberOfSettlements gauls < 9
    console_command add_money gauls, 300
  end_if

  if I_NumberOfSettlements gauls < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money gauls, 300
  end_if

  if I_NumberOfSettlements gauls < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money gauls, 300
  end_if

  if I_NumberOfSettlements gauls < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money gauls, 300
  end_if

  console_command add_money gauls, 600
end_monitor


;Sweboz

;Cap treasury
monitor_event FactionTurnStart FactionType germans
and not FactionIsLocal
and Treasury > 300000
  console_command add_money germans, -40000
  console_command add_money germans, -40000
end_monitor

;first 12 years
monitor_event SettlementTurnStart FactionType germans
and not FactionIsLocal
and I_TurnNumber  < 49
and Treasury < 100000
  console_command add_money germans, 1200
  if I_NumberOfSettlements germans < 25
    console_command add_money germans, 300
  end_if
  if I_NumberOfSettlements germans < 16
    console_command add_money germans, 300
  end_if
end_monitor


;after 12 years
monitor_event SettlementTurnStart FactionType germans
and not FactionIsLocal
and I_TurnNumber  > 48
and Treasury < 100000
  if I_NumberOfSettlements germans < 3
    console_command add_money germans, 900
  end_if

  if I_NumberOfSettlements germans < 6
    console_command add_money germans, 300
  end_if

  if I_NumberOfSettlements germans < 9
    console_command add_money germans, 300
  end_if

  if I_NumberOfSettlements germans < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money germans, 300
  end_if

  if I_NumberOfSettlements germans < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money germans, 300
  end_if

  if I_NumberOfSettlements germans < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money germans, 300
  end_if

  console_command add_money germans, 600
end_monitor


;Casse

;Cap treasury
monitor_event FactionTurnStart FactionType britons
and not FactionIsLocal
and Treasury > 300000
  console_command add_money britons, -40000
  console_command add_money britons, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType britons
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money britons, 1200
  if I_NumberOfSettlements britons < 25
    console_command add_money britons, 300
  end_if
  if I_NumberOfSettlements britons < 16
    console_command add_money britons, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType britons
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements britons < 3
    console_command add_money britons, 900
  end_if

  if I_NumberOfSettlements britons < 6
    console_command add_money britons, 300
  end_if

  if I_NumberOfSettlements britons < 9
    console_command add_money britons, 300
  end_if

  if I_NumberOfSettlements britons < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money britons, 300
  end_if

  if I_NumberOfSettlements britons < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money britons, 300
  end_if

  if I_NumberOfSettlements britons < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money britons, 300
  end_if

  console_command add_money britons, 600
end_monitor


;Armenia

;Cap treasury
monitor_event FactionTurnStart FactionType romans_scipii
and not FactionIsLocal
and Treasury > 300000
  console_command add_money romans_scipii, -40000
  console_command add_money romans_scipii, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType romans_scipii
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money romans_scipii, 1200
  if I_NumberOfSettlements romans_scipii < 25
    console_command add_money romans_scipii, 300
  end_if
  if I_NumberOfSettlements romans_scipii < 16
    console_command add_money romans_scipii, 300
  end_if
end_monitor


;after 15 years
monitor_event SettlementTurnStart FactionType romans_scipii
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements romans_scipii < 3
    console_command add_money romans_scipii, 900
  end_if

  if I_NumberOfSettlements romans_scipii < 6
    console_command add_money romans_scipii, 300
  end_if

  if I_NumberOfSettlements romans_scipii < 9
    console_command add_money romans_scipii, 300
  end_if

  if I_NumberOfSettlements romans_scipii < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money romans_scipii, 300
  end_if

  if I_NumberOfSettlements romans_scipii < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money romans_scipii, 300
  end_if

  if I_NumberOfSettlements romans_scipii < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money romans_scipii, 300
  end_if

  console_command add_money romans_scipii, 600
end_monitor


;Getai

;Cap treasury
monitor_event FactionTurnStart FactionType dacia
and not FactionIsLocal
and Treasury > 300000
  console_command add_money dacia, -40000
  console_command add_money dacia, -40000
end_monitor

;first 12 years
monitor_event SettlementTurnStart FactionType dacia
and not FactionIsLocal
and I_TurnNumber  < 49
and Treasury < 100000
  console_command add_money dacia, 1200
  if I_NumberOfSettlements dacia < 25
    console_command add_money dacia, 300
  end_if
  if I_NumberOfSettlements dacia < 16
    console_command add_money dacia, 300
  end_if
end_monitor


;after 12 years
monitor_event SettlementTurnStart FactionType dacia
and not FactionIsLocal
and I_TurnNumber  > 48
and Treasury < 100000
  if I_NumberOfSettlements dacia < 3
    console_command add_money dacia, 900
  end_if

  if I_NumberOfSettlements dacia < 6
    console_command add_money dacia, 300
  end_if

  if I_NumberOfSettlements dacia < 9
    console_command add_money dacia, 300
  end_if

  if I_NumberOfSettlements dacia < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money dacia, 300
  end_if

  if I_NumberOfSettlements dacia < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money dacia, 300
  end_if

  if I_NumberOfSettlements dacia < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money dacia, 300
  end_if

  console_command add_money dacia, 600
end_monitor



;Greeks

;Cap treasury
monitor_event FactionTurnStart FactionType greek_cities
and not FactionIsLocal
and Treasury > 300000
  console_command add_money greek_cities, -40000
  console_command add_money greek_cities, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType greek_cities
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money greek_cities, 1200
  if I_NumberOfSettlements greek_cities < 25
    console_command add_money greek_cities, 300
  end_if
  if I_NumberOfSettlements greek_cities < 16
    console_command add_money greek_cities, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType greek_cities
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements greek_cities < 3
    console_command add_money greek_cities, 900
  end_if

  if I_NumberOfSettlements greek_cities < 6
    console_command add_money greek_cities, 300
  end_if

  if I_NumberOfSettlements greek_cities < 9
    console_command add_money greek_cities, 300
  end_if

  if I_NumberOfSettlements greek_cities < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money greek_cities, 300
  end_if

  if I_NumberOfSettlements greek_cities < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money greek_cities, 300
  end_if

  if I_NumberOfSettlements greek_cities < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money greek_cities, 300
  end_if

  console_command add_money greek_cities, 600
end_monitor


;Baktria

;Cap treasury
monitor_event FactionTurnStart FactionType romans_brutii
and not FactionIsLocal
and Treasury > 300000
  console_command add_money romans_brutii, -40000
  console_command add_money romans_brutii, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType romans_brutii
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money romans_brutii, 1200
  if I_NumberOfSettlements romans_brutii < 25
    console_command add_money romans_brutii, 300
  end_if
  if I_NumberOfSettlements romans_brutii < 16
    console_command add_money romans_brutii, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType romans_brutii
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements romans_brutii < 3
    console_command add_money romans_brutii, 900
  end_if

  if I_NumberOfSettlements romans_brutii < 6
    console_command add_money romans_brutii, 300
  end_if

  if I_NumberOfSettlements romans_brutii < 9
    console_command add_money romans_brutii, 300
  end_if

  if I_NumberOfSettlements romans_brutii < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money romans_brutii, 300
  end_if

  if I_NumberOfSettlements romans_brutii < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money romans_brutii, 300
  end_if

  if I_NumberOfSettlements romans_brutii < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money romans_brutii, 300
  end_if

  console_command add_money romans_brutii, 600
end_monitor


;Sarmatians

;Cap treasury
monitor_event FactionTurnStart FactionType armenia
and not FactionIsLocal
and Treasury > 300000
  console_command add_money armenia, -40000
  console_command add_money armenia, -40000
end_monitor

;Sauromatae specific help to give them teeth
monitor_event SettlementTurnStart FactionType armenia
and not FactionIsLocal
and Treasury < 100000
and I_NumberOfSettlements armenia < 7
  console_command add_money armenia, 1000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType armenia
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money armenia, 1200
  if I_NumberOfSettlements armenia < 25
    console_command add_money armenia, 300
  end_if
  if I_NumberOfSettlements armenia < 16
    console_command add_money armenia, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType armenia
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements armenia < 3
    console_command add_money armenia, 900
  end_if

  if I_NumberOfSettlements armenia < 6
    console_command add_money armenia, 300
  end_if

  if I_NumberOfSettlements armenia < 9
    console_command add_money armenia, 300
  end_if

  if I_NumberOfSettlements armenia < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money armenia, 300
  end_if

  if I_NumberOfSettlements armenia < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money armenia, 300
  end_if

  if I_NumberOfSettlements armenia < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money armenia, 300
  end_if

  console_command add_money armenia, 600
end_monitor



;Lusotanians

;Cap treasury
monitor_event FactionTurnStart FactionType spain
and not FactionIsLocal
and Treasury > 300000
  console_command add_money spain, -40000
  console_command add_money spain, -40000
end_monitor

;first 15 years
monitor_event SettlementTurnStart FactionType spain
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money spain, 1200
  if I_NumberOfSettlements spain < 25
    console_command add_money spain, 300
  end_if
  if I_NumberOfSettlements spain < 16
    console_command add_money spain, 300
  end_if
end_monitor

;after 15 years
monitor_event SettlementTurnStart FactionType spain
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements spain < 3
    console_command add_money spain, 900
  end_if

  if I_NumberOfSettlements spain < 6
    console_command add_money spain, 300
  end_if

  if I_NumberOfSettlements spain < 9
    console_command add_money spain, 300
  end_if

  if I_NumberOfSettlements spain < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money spain, 300
  end_if

  if I_NumberOfSettlements spain < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money spain, 300
  end_if

  if I_NumberOfSettlements spain < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money spain, 300
  end_if

  console_command add_money spain, 600
end_monitor



;Epirus

;Cap treasury
monitor_event FactionTurnStart FactionType thrace
and not FactionIsLocal
and Treasury > 300000
  console_command add_money thrace, -40000
  console_command add_money thrace, -40000
end_monitor


;first 12 years
monitor_event SettlementTurnStart FactionType thrace
and not FactionIsLocal
and I_TurnNumber  < 61
and Treasury < 100000
  console_command add_money thrace, 1200
  if I_NumberOfSettlements thrace < 25
    console_command add_money thrace, 300
  end_if
  if I_NumberOfSettlements thrace < 16
    console_command add_money thrace, 300
  end_if
end_monitor


;after 12 years
monitor_event SettlementTurnStart FactionType thrace
and not FactionIsLocal
and I_TurnNumber  > 60
and Treasury < 100000
  if I_NumberOfSettlements thrace < 3
    console_command add_money thrace, 900
  end_if

  if I_NumberOfSettlements thrace < 6
    console_command add_money thrace, 300
  end_if

  if I_NumberOfSettlements thrace < 9
    console_command add_money thrace, 300
  end_if

  if I_NumberOfSettlements thrace < 16
  and I_CompareCounter numPlayerSettlements > 10
    console_command add_money thrace, 300
  end_if

  if I_NumberOfSettlements thrace < 25
  and I_CompareCounter numPlayerSettlements > 18
    console_command add_money thrace, 300
  end_if

  if I_NumberOfSettlements thrace < 35
  and I_CompareCounter numPlayerSettlements > 30
    console_command add_money thrace, 300
  end_if

  console_command add_money thrace, 600
end_monitor

;Slave
declare_counter rebelAssistanceBase

;Make sure rebels are never in dire debt, it might unbalance the other aid
monitor_event SettlementTurnStart FactionType slave
and Treasury < -8000
and not FactionIsLocal
  console_command add_money slave, 4000
end_monitor

;Get treasury to 0 for the payday.
monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 0
and not FactionIsLocal
  console_command add_money slave, 4001
end_monitor

;Take away any excessive unspent money when it's not payday
monitor_event SettlementTurnStart FactionType slave
and Treasury > 25000
and I_CompareCounter seasonCounter < 4
and I_TurnNumber > 4
  console_command add_money slave, -1000
end_monitor

;Reset payout amount counter
monitor_event FactionTurnEnd FactionType slave
  set_counter rebelAssistanceBase 0
end_monitor

;Determine the payout amount with loaded dice
monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter rebelAssistanceBase = 0
and I_CompareCounter seasonCounter = 4
and not FactionIsLocal
  ;Game start, give no great assistance yet.
  if I_TurnNumber < 20
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 50
      set_counter rebelAssistanceBase 1 ;50%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
      set_counter rebelAssistanceBase 2 ;50%
    end_if
  end_if

  ;Early game, reasonable chance of low yield, high chance of mediocre.
  if I_TurnNumber > 19
  and I_TurnNumber < 41
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 3
      set_counter rebelAssistanceBase 1 ;3%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 20
      set_counter rebelAssistanceBase 2 ;19%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 30
      set_counter rebelAssistanceBase 3 ;24%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 60
      set_counter rebelAssistanceBase 4 ;32%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 45
      set_counter rebelAssistanceBase 5 ;10%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 70
      set_counter rebelAssistanceBase 6 ;8%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
      set_counter rebelAssistanceBase 7 ;4%
    end_if
  end_if

  ;Should have mines and the other economic crap the AI loves, and most importantly MICs by now.
  ;Time to fortify and hopefully get some big payouts to facilitate MIC upgrades in addition to
  ;the unfortunate mass recruitment of poor troops.
  if I_TurnNumber > 40
  and I_TurnNumber < 91
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 4
      set_counter rebelAssistanceBase 1 ;4%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 8
      set_counter rebelAssistanceBase 2 ;8%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 16
      set_counter rebelAssistanceBase 3 ;15%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 30
      set_counter rebelAssistanceBase 4 ;22%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 30
      set_counter rebelAssistanceBase 5 ;15%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 70
      set_counter rebelAssistanceBase 6 ;25%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
      set_counter rebelAssistanceBase 7 ;11%
    end_if
  end_if

  ;Hopefully most or at least some MICs are upgraded by now, and most settlements have half stacks of poor troops.
  ;High payouts become more rare and huge ones nonexistent, so they will stall their development and concentrate on troops.
  if I_TurnNumber > 90
  and I_TurnNumber < 171
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 15
      set_counter rebelAssistanceBase 1 ;15%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 25
      set_counter rebelAssistanceBase 2 ;21%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 35
      set_counter rebelAssistanceBase 3 ;22%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 60
      set_counter rebelAssistanceBase 4 ;25%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
      set_counter rebelAssistanceBase 5 ;17%
    end_if
  end_if

  ;Game over for most eleutheroi as their generals die off and their garrison walks out,
  ;no longer any reason to give them much more than is needed to retrain their garrison.
  ;A high payout is highly unlikely but possible.
  if I_TurnNumber > 170
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 40
      set_counter rebelAssistanceBase 1 ;40%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 50
      set_counter rebelAssistanceBase 2 ;30%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 40
      set_counter rebelAssistanceBase 3 ;12%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 40
      set_counter rebelAssistanceBase 4 ;7%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 40
      set_counter rebelAssistanceBase 5 ;4%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
    and RandomPercent < 50
      set_counter rebelAssistanceBase 6 ;4%
    end_if
    if I_CompareCounter rebelAssistanceBase = 0
      set_counter rebelAssistanceBase 7 ;3%
    end_if
  end_if
end_monitor

;Give rebels an allowance on payday
;Must be several monitors as treasury cannot be used in if statements
monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 70000
and not FactionIsLocal
  if I_CompareCounter rebelAssistanceBase = 1
    console_command add_money slave, 250
  end_if
end_monitor

monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 100000
and not FactionIsLocal
  if I_CompareCounter rebelAssistanceBase = 2
    console_command add_money slave, 600
  end_if
end_monitor

monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 120000
and not FactionIsLocal
  if I_CompareCounter rebelAssistanceBase = 3
    console_command add_money slave, 1000
  end_if
end_monitor

monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 150000
and not FactionIsLocal
  if I_CompareCounter rebelAssistanceBase = 4
    console_command add_money slave, 1500
  end_if
end_monitor

monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 250000
and not FactionIsLocal
  if I_CompareCounter rebelAssistanceBase = 5
    console_command add_money slave, 2000
  end_if
end_monitor

monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 350000
and not FactionIsLocal
  if I_CompareCounter rebelAssistanceBase = 6
    console_command add_money slave, 3000
  end_if
end_monitor

monitor_event SettlementTurnStart FactionType slave
and I_CompareCounter seasonCounter = 4
and Treasury < 500000
and not FactionIsLocal
  if I_CompareCounter rebelAssistanceBase = 7
    console_command add_money slave, 5000
  end_if
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 5c: Building Upkeep (disabled until decent balancing is done)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 6: Victory Conditions
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter gaulsConqueredRome

monitor_event CharacterTurnStart FactionType gauls
and Trait ConqueredRome > 0
set_counter gaulsConqueredRome 1
end_monitor

declare_counter scythiaConqueredRome

monitor_event CharacterTurnStart FactionType scythia
and Trait ConqueredRome > 0
set_counter scythiaConqueredRome 1
end_monitor

declare_counter daciaConqueredAthenai

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredAthenai > 0
set_counter daciaConqueredAthenai 1
end_monitor

declare_counter daciaConqueredKorinthos

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredKorinthos > 0
set_counter daciaConqueredKorinthos 1
end_monitor

declare_counter daciaConqueredThermon

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredThermon > 0
set_counter daciaConqueredThermon 1
end_monitor

declare_counter daciaConqueredSinope

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredSinope > 0
set_counter daciaConqueredSinope 1
end_monitor

declare_counter daciaConqueredPergamon

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredPergamon > 0
set_counter daciaConqueredPergamon 1
end_monitor

declare_counter daciaConqueredDalminion

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredDalminion > 0
set_counter daciaConqueredDalminion 1
end_monitor

declare_counter daciaConqueredSparte

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredSparte > 0
set_counter daciaConqueredSparte 1
end_monitor

declare_counter daciaConqueredChalkis

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredChalkis > 0
set_counter daciaConqueredChalkis 1
end_monitor

declare_counter daciaConqueredPatavium

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredPatavium > 0
set_counter daciaConqueredPatavium 1
end_monitor

declare_counter daciaConqueredGorduNeuriji

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredGorduNeuriji > 0
set_counter daciaConqueredGorduNeuriji 1
end_monitor

declare_counter daciaConqueredMediolanum

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredMediolanum > 0
set_counter daciaConqueredMediolanum 1
end_monitor

declare_counter daciaConqueredRome

monitor_event CharacterTurnStart FactionType dacia
and Trait ConqueredRome > 0
set_counter daciaConqueredRome 1
end_monitor

declare_counter hayasdanConqueredNisa

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredNisa > 0
set_counter hayasdanConqueredNisa = 1
end_monitor

declare_counter hayasdanConqueredByzantion

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredByzantion > 0
set_counter hayasdanConqueredByzantion = 1
end_monitor

declare_counter hayasdanConqueredChersonesos

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredChersonesos > 0
set_counter hayasdanConqueredChersonesos = 1
end_monitor

declare_counter hayasdanConqueredPantikapaion

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredPantikapaion > 0
set_counter hayasdanConqueredPantikapaion = 1
end_monitor

declare_counter hayasdanConqueredAlexandreia

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredAlexandreia > 0
set_counter hayasdanConqueredAlexandreia = 1
end_monitor

declare_counter hayasdanConqueredSalamis

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredSalamis > 0
set_counter hayasdanConqueredSalamis = 1
end_monitor

declare_counter hayasdanConqueredPella

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredPella > 0
set_counter hayasdanConqueredPella = 1
end_monitor

declare_counter hayasdanConqueredAthenai

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredAthenai > 0
set_counter hayasdanConqueredAthenai = 1
end_monitor

declare_counter hayasdanConqueredSparte

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredSparte > 0
set_counter hayasdanConqueredSparte = 1
end_monitor

declare_counter hayasdanConqueredSidon

monitor_event CharacterTurnStart FactionType romans_scipii
and Trait ConqueredSidon > 0
set_counter hayasdanConqueredSidon = 1
end_monitor

declare_counter armeniaConqueredSusa

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredSusa > 0
set_counter armeniaConqueredSusa 1
end_monitor

declare_counter armeniaConqueredPersepolis

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredPersepolis > 0
set_counter armeniaConqueredPersepolis 1
end_monitor

declare_counter armeniaConqueredSeleukeia

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredSeleukeia > 0
set_counter armeniaConqueredSeleukeia 1
end_monitor

declare_counter armeniaConqueredBabylon

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredBabylon > 0
set_counter armeniaConqueredBabylon 1
end_monitor

declare_counter armeniaConqueredAntiocheia

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredAntiocheia > 0
set_counter armeniaConqueredAntiocheia 1
end_monitor

declare_counter armeniaConqueredPella

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredPella > 0
set_counter armeniaConqueredPella 1
end_monitor

declare_counter armeniaConqueredDemetrias

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredDemetrias > 0
set_counter armeniaConqueredDemetrias 1
end_monitor

declare_counter armeniaConqueredSegestica

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredSegestica > 0
set_counter armeniaConqueredSegestica 1
end_monitor

declare_counter armeniaConqueredPatavium

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredPatavium > 0
set_counter armeniaConqueredPatavium 1
end_monitor

declare_counter armeniaConqueredBononia

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredBononia > 0
set_counter armeniaConqueredBononia 1
end_monitor

declare_counter armeniaConqueredArctaunon

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredArctaunon > 0
set_counter armeniaConqueredArctaunon 1
end_monitor

declare_counter armeniaConqueredVesontio

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredVesontio > 0
set_counter armeniaConqueredVesontio 1
end_monitor

declare_counter armeniaConqueredSwebotraustastamnoz

monitor_event CharacterTurnStart FactionType armenia
and Trait ConqueredSwebotraustastamnoz > 0
set_counter armeniaConqueredSwebotraustastamnoz 1
end_monitor

declare_counter germansConqueredAventicos

monitor_event CharacterTurnStart FactionType germans
and Trait ConqueredAventicos > 0
set_counter germansConqueredAventicos 1
end_monitor

declare_counter germansConqueredVeldideno

monitor_event CharacterTurnStart FactionType germans
and Trait ConqueredVeldideno > 0
set_counter germansConqueredVeldideno 1
end_monitor

declare_counter germansConqueredIuvavoaeta

monitor_event CharacterTurnStart FactionType germans
and Trait ConqueredIuvavoaeta > 0
set_counter germansConqueredIuvavoaeta 1
end_monitor

declare_counter germansConqueredCarrodunum

monitor_event CharacterTurnStart FactionType germans
and Trait ConqueredCarrodunum > 0
set_counter germansConqueredCarrodunum 1
end_monitor

declare_counter germansConqueredViennos

monitor_event CharacterTurnStart FactionType germans
and Trait ConqueredViennos > 0
set_counter germansConqueredViennos 1
end_monitor

declare_counter germansConqueredPatavium

monitor_event CharacterTurnStart FactionType germans
and Trait ConqueredPatavium > 0
set_counter germansConqueredPatavium 1
end_monitor

declare_counter germansConqueredAscaucalis

monitor_event CharacterTurnStart FactionType germans
and Trait ConqueredAscaucalis > 0
set_counter germansConqueredAscaucalis 1
end_monitor

declare_counter carthageConqueredKirtan

monitor_event CharacterTurnStart FactionType egypt
and Trait ConqueredKirtan > 0
set_counter carthageConqueredKirtan 1
end_monitor

declare_counter carthageConqueredSiga

monitor_event CharacterTurnStart FactionType egypt
and Trait ConqueredSiga > 0
set_counter carthageConqueredSiga 1
end_monitor

declare_counter carthageConqueredLixus

monitor_event CharacterTurnStart FactionType egypt
and Trait ConqueredLixus > 0
set_counter carthageConqueredLixus 1
end_monitor

declare_counter seleucidConqueredGarama

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredGarama > 0
set_counter seleucidConqueredGarama 1
end_monitor

declare_counter seleucidConqueredMaryab

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredMaryab > 0
set_counter seleucidConqueredMaryab 1
end_monitor

declare_counter seleucidConqueredEburonum

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredEburonum > 0
set_counter seleucidConqueredEburonum 1
end_monitor

declare_counter seleucidConqueredSeleukeia

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredSeleukeia > 0
set_counter seleucidConqueredSeleukeia 1
end_monitor

declare_counter seleucidConqueredBabylon

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredBabylon > 0
set_counter seleucidConqueredBabylon 1
end_monitor

declare_counter seleucidConqueredCamulosadae

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredCamulosadae > 0
set_counter seleucidConqueredCamulosadae 1
end_monitor

declare_counter seleucidConqueredPhraaspa

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredPhraaspa > 0
set_counter seleucidConqueredPhraaspa 1
end_monitor

declare_counter seleucidConqueredArmavir

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredArmavir > 0
set_counter seleucidConqueredArmavir 1
end_monitor

declare_counter seleucidConqueredMeroe

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredMeroe > 0
set_counter seleucidConqueredMeroe 1
end_monitor

declare_counter seleucidConqueredSwebotraustastamnoz

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredSwebotraustastamnoz > 0
set_counter seleucidConqueredSwebotraustastamnoz 1
end_monitor

declare_counter seleucidConqueredSarmiszegethusa

monitor_event CharacterTurnStart FactionType seleucid
and Trait ConqueredSarmiszegethusa > 0
set_counter seleucidConqueredSarmiszegethusa 1
end_monitor

declare_counter spainConqueredLemonum

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredLemonum > 0
set_counter spainConqueredLemonum 1
end_monitor

declare_counter spainConqueredAvaricum

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredAvaricum > 0
set_counter spainConqueredAvaricum 1
end_monitor

declare_counter spainConqueredGergovia

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredGergovia > 0
set_counter spainConqueredGergovia 1
end_monitor

declare_counter spainConqueredMassalia

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredMassalia > 0
set_counter spainConqueredMassalia 1
end_monitor

declare_counter spainConqueredSegesta

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredSegesta > 0
set_counter spainConqueredSegesta 1
end_monitor

declare_counter spainConqueredArretium

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredArretium > 0
set_counter spainConqueredArretium 1
end_monitor

declare_counter spainConqueredRome

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredRome > 0
set_counter spainConqueredRome 1
end_monitor

declare_counter spainConqueredLixus

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredLixus > 0
set_counter spainConqueredLixus 1
end_monitor

declare_counter spainConqueredSiga

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredSiga > 0
set_counter spainConqueredSiga 1
end_monitor

declare_counter spainConqueredIppone

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredIppone > 0
set_counter spainConqueredIppone 1
end_monitor

declare_counter spainConqueredAtiqa

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredAtiqa > 0
set_counter spainConqueredAtiqa 1
end_monitor

declare_counter spainConqueredKart_Hadast

monitor_event CharacterTurnStart FactionType spain
and Trait ConqueredKart_Hadast > 0
set_counter spainConqueredKart_Hadast 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 6a: Flash VCs Script
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
declare_counter show_victory_conditions

monitor_event ScrollAdviceRequested faction_summary_scroll
inc_counter show_victory_conditions 1

if I_CompareCounter show_victory_conditions = 1

if I_LocalFaction gauls
advance_advice_thread Aedui_vc_Thread
if not I_SettlementOwner Tyde = gauls
settlement_flash_start Tyde
end_if

if not I_SettlementOwner Pallantia = gauls
settlement_flash_start Pallantia
end_if

if not I_SettlementOwner Numantia = gauls
settlement_flash_start Numantia
end_if

if not I_SettlementOwner Emporion = gauls
settlement_flash_start Emporion
end_if

if not I_SettlementOwner Tolosa = gauls
settlement_flash_start Tolosa
end_if

if not I_SettlementOwner Burdigala = gauls
settlement_flash_start Burdigala
end_if

if not I_SettlementOwner Gergovia = gauls
settlement_flash_start Gergovia
end_if

if not I_SettlementOwner Lemonum = gauls
settlement_flash_start Lemonum
end_if

if not I_SettlementOwner Darioritum = gauls
settlement_flash_start Darioritum
end_if

if not I_SettlementOwner Cenabum = gauls
settlement_flash_start Cenabum
end_if

if not I_SettlementOwner Avaricum = gauls
settlement_flash_start Avaricum
end_if

if not I_SettlementOwner Bibracte = gauls
settlement_flash_start Bibracte
end_if

if not I_SettlementOwner Bratosporios = gauls
settlement_flash_start Bratosporios
end_if

if not I_SettlementOwner Vesontio = gauls
settlement_flash_start Vesontio
end_if

if not I_SettlementOwner Vindelicoppidos = gauls
settlement_flash_start Vindelicoppidos
end_if

if not I_SettlementOwner Aventicos = gauls
settlement_flash_start Aventicos
end_if

if not I_SettlementOwner Viennos = gauls
settlement_flash_start Viennos
end_if

if not I_SettlementOwner Massalia = gauls
settlement_flash_start Massalia
end_if

if not I_SettlementOwner Mediolanum = gauls
settlement_flash_start Mediolanum
end_if

if not I_SettlementOwner Patavium = gauls
settlement_flash_start Patavium
end_if

if not I_SettlementOwner Veldideno = gauls
settlement_flash_start Veldideno
end_if

if not I_SettlementOwner Bagacos = gauls
settlement_flash_start Bagacos
end_if

if not I_SettlementOwner Camulosadae = gauls
settlement_flash_start Camulosadae
end_if

if not I_SettlementOwner Ictis = gauls
settlement_flash_start Ictis
end_if

if not I_SettlementOwner Iuvavoaeta = gauls
settlement_flash_start Iuvavoaeta
end_if

if not I_SettlementOwner Eburonum = gauls
settlement_flash_start Eburonum
end_if

if not I_SettlementOwner Vindobona = gauls
settlement_flash_start Vindobona
end_if

if not I_SettlementOwner Bononia = gauls
settlement_flash_start Bononia
end_if

end_if
;----------------------------------------
if I_LocalFaction scythia
advance_advice_thread Arverni_vc_Thread
if not I_SettlementOwner Emporion = scythia
settlement_flash_start Emporion
end_if

if not I_SettlementOwner Tolosa = scythia
settlement_flash_start Tolosa
end_if

if not I_SettlementOwner Burdigala = scythia
settlement_flash_start Burdigala
end_if

if not I_SettlementOwner Gergovia = scythia
settlement_flash_start Gergovia
end_if

if not I_SettlementOwner Lemonum = scythia
settlement_flash_start Lemonum
end_if

if not I_SettlementOwner Darioritum = scythia
settlement_flash_start Darioritum
end_if

if not I_SettlementOwner Cenabum = scythia
settlement_flash_start Cenabum
end_if

if not I_SettlementOwner Avaricum = scythia
settlement_flash_start Avaricum
end_if

if not I_SettlementOwner Bibracte = scythia
settlement_flash_start Bibracte
end_if

if not I_SettlementOwner Bratosporios = scythia
settlement_flash_start Bratosporios
end_if

if not I_SettlementOwner Vesontio = scythia
settlement_flash_start Vesontio
end_if

if not I_SettlementOwner Vindelicoppidos = scythia
settlement_flash_start Vindelicoppidos
end_if

if not I_SettlementOwner Aventicos = scythia
settlement_flash_start Aventicos
end_if

if not I_SettlementOwner Viennos = scythia
settlement_flash_start Viennos
end_if

if not I_SettlementOwner Massalia = scythia
settlement_flash_start Massalia
end_if

if not I_SettlementOwner Mediolanum = scythia
settlement_flash_start Mediolanum
end_if

if not I_SettlementOwner Patavium = scythia
settlement_flash_start Patavium
end_if

if not I_SettlementOwner Veldideno = scythia
settlement_flash_start Veldideno
end_if

if not I_SettlementOwner Bagacos = scythia
settlement_flash_start Bagacos
end_if

if not I_SettlementOwner Iuvavoaeta = scythia
settlement_flash_start Iuvavoaeta
end_if

if not I_SettlementOwner Vindobona = scythia
settlement_flash_start Vindobona
end_if

if not I_SettlementOwner Lucarottea = scythia
settlement_flash_start Lucarottea
end_if

if not I_SettlementOwner Ak_Ink = scythia
settlement_flash_start Ak_Ink
end_if

if not I_SettlementOwner Singidunum = scythia
settlement_flash_start Singidunum
end_if

if not I_SettlementOwner Naissos = scythia
settlement_flash_start Naissos
end_if

if not I_SettlementOwner Segesta = scythia
settlement_flash_start Segesta
end_if

end_if
;----------------------------------------
if I_LocalFaction britons
advance_advice_thread Casse_vc_Thread
if not I_SettlementOwner Attuaca = britons
settlement_flash_start Attuaca
end_if

if not I_SettlementOwner Emain_Macha = britons
settlement_flash_start Emain_Macha
end_if

if not I_SettlementOwner Ivernis = britons
settlement_flash_start Ivernis
end_if

if not I_SettlementOwner Caern_Brigantae = britons
settlement_flash_start Caern_Brigantae
end_if

if not I_SettlementOwner Ynys_Mon = britons
settlement_flash_start Ynys_Mon
end_if

if not I_SettlementOwner Ratae = britons
settlement_flash_start Ratae
end_if

if not I_SettlementOwner Ictis = britons
settlement_flash_start Ictis
end_if

if not I_SettlementOwner Camulosadae = britons
settlement_flash_start Camulosadae
end_if

if not I_SettlementOwner Bratosporios = britons
settlement_flash_start Bratosporios
end_if

if not I_SettlementOwner Bagacos = britons
settlement_flash_start Bagacos
end_if

if not I_SettlementOwner Darioritum = britons
settlement_flash_start Darioritum
end_if

if not I_SettlementOwner Cenabum = britons
settlement_flash_start Cenabum
end_if

if not I_SettlementOwner Lemonum = britons
settlement_flash_start Lemonum
end_if

if not I_SettlementOwner Avaricum = britons
settlement_flash_start Avaricum
end_if

if not I_SettlementOwner Bibracte = britons
settlement_flash_start Bibracte
end_if

if not I_SettlementOwner Vesontio = britons
settlement_flash_start Vesontio
end_if

if not I_SettlementOwner Burdigala = britons
settlement_flash_start Burdigala
end_if

if not I_SettlementOwner Gergovia = britons
settlement_flash_start Gergovia
end_if

if not I_SettlementOwner Viennos = britons
settlement_flash_start Viennos
end_if

if not I_SettlementOwner Tolosa = britons
settlement_flash_start Tolosa
end_if

if not I_SettlementOwner Tyde = britons
settlement_flash_start Tyde
end_if

if not I_SettlementOwner Pallantia = britons
settlement_flash_start Pallantia
end_if

if not I_SettlementOwner Vellika = britons
settlement_flash_start Vellika
end_if

end_if
;----------------------------------------
if I_LocalFaction dacia
advance_advice_thread Getai_vc_Thread
if not I_SettlementOwner Buridava = dacia
settlement_flash_start Buridava
end_if

if not I_SettlementOwner Kallatis = dacia
settlement_flash_start Kallatis
end_if

if not I_SettlementOwner Naissos = dacia
settlement_flash_start Naissos
end_if

if not I_SettlementOwner Singidunum = dacia
settlement_flash_start Singidunum
end_if

if not I_SettlementOwner Sarmiszegethusa = dacia
settlement_flash_start Sarmiszegethusa
end_if

if not I_SettlementOwner Olbia = dacia
settlement_flash_start Olbia
end_if

if not I_SettlementOwner Gawjam_Bastarnoz = dacia
settlement_flash_start Gawjam_Bastarnoz
end_if

if not I_SettlementOwner Carrodunum = dacia
settlement_flash_start Carrodunum
end_if

if not I_SettlementOwner Lucarottea = dacia
settlement_flash_start Lucarottea
end_if

if not I_SettlementOwner Vindobona = dacia
settlement_flash_start Vindobona
end_if

if not I_SettlementOwner Serdike = dacia
settlement_flash_start Serdike
end_if

if not I_SettlementOwner Tylis = dacia
settlement_flash_start Tylis
end_if

if not I_SettlementOwner Byzantion = dacia
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Segestica = dacia
settlement_flash_start Segestica
end_if

if not I_SettlementOwner Pella = dacia
settlement_flash_start Pella
end_if

if not I_SettlementOwner Nikaia = dacia
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Eburonum = dacia
settlement_flash_start Eburonum
end_if

if not I_SettlementOwner Demetrias = dacia
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Epidamnos = dacia
settlement_flash_start Epidamnos
end_if

if not I_SettlementOwner Apollonia = dacia
settlement_flash_start Apollonia
end_if

if not I_SettlementOwner Ak_Ink = dacia
settlement_flash_start Ak_Ink
end_if

if not I_SettlementOwner Iuvavoaeta = dacia
settlement_flash_start Iuvavoaeta
end_if

if not I_SettlementOwner Chersonesos = dacia
settlement_flash_start Chersonesos
end_if

if not I_SettlementOwner Pantikapaion = dacia
settlement_flash_start Pantikapaion
end_if

end_if
;----------------------------------------
if I_LocalFaction romans_scipii
advance_advice_thread Hayasdan_vc_Thread

if not I_SettlementOwner Arbela = romans_scipii
settlement_flash_start Arbela
end_if

if not I_SettlementOwner Kabalaka = romans_scipii
settlement_flash_start Kabalaka
end_if

if not I_SettlementOwner Armavir = romans_scipii
settlement_flash_start Armavir
end_if

if not I_SettlementOwner Ani-Kamah = romans_scipii
settlement_flash_start Ani-Kamah
end_if

if not I_SettlementOwner Edessa = romans_scipii
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Phraaspa = romans_scipii
settlement_flash_start Phraaspa
end_if

if not I_SettlementOwner Seleukeia = romans_scipii
settlement_flash_start Seleukeia
end_if

if not I_SettlementOwner Babylon = romans_scipii
settlement_flash_start Babylon
end_if

if not I_SettlementOwner Charax = romans_scipii
settlement_flash_start Charax
end_if

if not I_SettlementOwner Susa = romans_scipii
settlement_flash_start Susa
end_if

if not I_SettlementOwner Ankyra = romans_scipii
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Mtskheta = romans_scipii
settlement_flash_start Mtskheta
end_if

if not I_SettlementOwner Mazaka = romans_scipii
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Halikarnassos = romans_scipii
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Tarsos = romans_scipii
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Kotais = romans_scipii
settlement_flash_start Kotais
end_if

if not I_SettlementOwner Sardis = romans_scipii
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Ekbatana = romans_scipii
settlement_flash_start Ekbatana
end_if

if not I_SettlementOwner Pergamon = romans_scipii
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Side = romans_scipii
settlement_flash_start Side
end_if

if not I_SettlementOwner Sinope = romans_scipii
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Persepolis = romans_scipii
settlement_flash_start Persepolis
end_if

if not I_SettlementOwner Ipsos = romans_scipii
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Trapezous = romans_scipii
settlement_flash_start Trapezous
end_if

if not I_SettlementOwner Palmyra = romans_scipii
settlement_flash_start Palmyra
end_if

if not I_SettlementOwner Karkathiokerta = romans_scipii
settlement_flash_start Karkathiokerta
end_if

if not I_SettlementOwner Antiocheia = romans_scipii
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Damaskos = romans_scipii
settlement_flash_start Damaskos
end_if

if not I_SettlementOwner Nikaia = romans_scipii
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Apameia = romans_scipii
settlement_flash_start Apameia
end_if

if not I_SettlementOwner Zadrakata = romans_scipii
settlement_flash_start Zadrakata
end_if

if not I_SettlementOwner Asaak = romans_scipii
settlement_flash_start Asaak
end_if

if not I_SettlementOwner Hekatompylos = romans_scipii
settlement_flash_start Hekatompylos
end_if

if not I_SettlementOwner Gabai = romans_scipii
settlement_flash_start Gabai
end_if

end_if
;----------------------------------------
if I_LocalFaction parthia
advance_advice_thread Pahlava_vc_Thread
if not I_SettlementOwner Arbela = parthia
settlement_flash_start Arbela
end_if

if not I_SettlementOwner Kabalaka = parthia
settlement_flash_start Kabalaka
end_if

if not I_SettlementOwner Alexandropolis = parthia
settlement_flash_start Alexandropolis
end_if

if not I_SettlementOwner Alexandreia_Ariana = parthia
settlement_flash_start Alexandreia_Ariana
end_if

if not I_SettlementOwner Armavir = parthia
settlement_flash_start Armavir
end_if

if not I_SettlementOwner Ani-Kamah = parthia
settlement_flash_start Ani-Kamah
end_if

if not I_SettlementOwner Edessa = parthia
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Asaak = parthia
settlement_flash_start Asaak
end_if

if not I_SettlementOwner Phraaspa = parthia
settlement_flash_start Phraaspa
end_if

if not I_SettlementOwner Seleukeia = parthia
settlement_flash_start Seleukeia
end_if

if not I_SettlementOwner Babylon = parthia
settlement_flash_start Babylon
end_if

if not I_SettlementOwner Baktra = parthia
settlement_flash_start Baktra
end_if

if not I_SettlementOwner Chach = parthia
settlement_flash_start Chach
end_if

if not I_SettlementOwner Charax = parthia
settlement_flash_start Charax
end_if

if not I_SettlementOwner Apameia = parthia
settlement_flash_start Apameia
end_if

if not I_SettlementOwner Khiva = parthia
settlement_flash_start Khiva
end_if

if not I_SettlementOwner Mazaka = parthia
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Karmana = parthia
settlement_flash_start Karmana
end_if

if not I_SettlementOwner Prophthasia = parthia
settlement_flash_start Prophthasia
end_if

if not I_SettlementOwner Susa = parthia
settlement_flash_start Susa
end_if

if not I_SettlementOwner Alexandreia_Eschate = parthia
settlement_flash_start Alexandreia_Eschate
end_if

if not I_SettlementOwner Gabai = parthia
settlement_flash_start Gabai
end_if

if not I_SettlementOwner Ankyra = parthia
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Pura = parthia
settlement_flash_start Pura
end_if

if not I_SettlementOwner Zadrakata = parthia
settlement_flash_start Zadrakata
end_if

if not I_SettlementOwner Hierosolyma = parthia
settlement_flash_start Hierosolyma
end_if

if not I_SettlementOwner Mytilene = parthia
settlement_flash_start Mytilene
end_if

if not I_SettlementOwner Tarsos = parthia
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Antiocheia_Margiane = parthia
settlement_flash_start Antiocheia_Margiane
end_if

if not I_SettlementOwner Ekbatana = parthia
settlement_flash_start Ekbatana
end_if

if not I_SettlementOwner Gava_Haomavarga = parthia
settlement_flash_start Gava_Haomavarga
end_if

if not I_SettlementOwner Side = parthia
settlement_flash_start Side
end_if

if not I_SettlementOwner Kophen = parthia
settlement_flash_start Kophen
end_if

if not I_SettlementOwner Hekatompylos = parthia
settlement_flash_start Hekatompylos
end_if

if not I_SettlementOwner Persepolis = parthia
settlement_flash_start Persepolis
end_if

if not I_SettlementOwner Sidon = parthia
settlement_flash_start Sidon
end_if

if not I_SettlementOwner Ipsos = parthia
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Palmyra = parthia
settlement_flash_start Palmyra
end_if

if not I_SettlementOwner Marakanda = parthia
settlement_flash_start Marakanda
end_if

if not I_SettlementOwner Karkathiokerta = parthia
settlement_flash_start Karkathiokerta
end_if

if not I_SettlementOwner Antiocheia = parthia
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Damaskos = parthia
settlement_flash_start Damaskos
end_if

if not I_SettlementOwner Nisa = parthia
settlement_flash_start Nisa
end_if

if not I_SettlementOwner Gava_Mazsakata = parthia
settlement_flash_start Gava_Mazsakata
end_if

if not I_SettlementOwner Gerrha = parthia
settlement_flash_start Gerrha
end_if

if not I_SettlementOwner Mtskheta = parthia
settlement_flash_start Mtskheta
end_if

if not I_SettlementOwner Taksashila = parthia
settlement_flash_start Taksashila
end_if

if not I_SettlementOwner Opiana = parthia
settlement_flash_start Opiana
end_if

if not I_SettlementOwner Patala = parthia
settlement_flash_start Patala
end_if

if not I_SettlementOwner Homna = parthia
settlement_flash_start Homna
end_if

if not I_SettlementOwner Ubar = parthia
settlement_flash_start Ubar
end_if

if not I_SettlementOwner Petra = parthia
settlement_flash_start Petra
end_if

if not I_SettlementOwner Bostra = parthia
settlement_flash_start Bostra
end_if

if not I_SettlementOwner Trapezous = parthia
settlement_flash_start Trapezous
end_if

if not I_SettlementOwner Kotais = parthia
settlement_flash_start Kotais
end_if

if not I_SettlementOwner Sinope = parthia
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Amaseia = parthia
settlement_flash_start Amaseia
end_if

if not I_SettlementOwner Halikarnassos = parthia
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Sardis = parthia
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Pergamon = parthia
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Nikaia = parthia
settlement_flash_start Nikaia
end_if

end_if
;----------------------------------------
if I_LocalFaction carthage
advance_advice_thread Pontos_vc_Thread
if not I_SettlementOwner Korinthos = carthage
settlement_flash_start Korinthos
end_if

if not I_SettlementOwner Arbela = carthage
settlement_flash_start Arbela
end_if

if not I_SettlementOwner Thermon = carthage
settlement_flash_start Thermon
end_if

if not I_SettlementOwner Kabalaka = carthage
settlement_flash_start Kabalaka
end_if

if not I_SettlementOwner Armavir = carthage
settlement_flash_start Armavir
end_if

if not I_SettlementOwner Ani-Kamah = carthage
settlement_flash_start Ani-Kamah
end_if

if not I_SettlementOwner Edessa = carthage
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Phraaspa = carthage
settlement_flash_start Phraaspa
end_if

if not I_SettlementOwner Athenai = carthage
settlement_flash_start Athenai
end_if

if not I_SettlementOwner Nikaia = carthage
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Pantikapaion = carthage
settlement_flash_start Pantikapaion
end_if

if not I_SettlementOwner Byzantion = carthage
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Sarmiszegethusa = carthage
settlement_flash_start Sarmiszegethusa
end_if

if not I_SettlementOwner Epidamnos = carthage
settlement_flash_start Epidamnos
end_if

if not I_SettlementOwner Serdike = carthage
settlement_flash_start Serdike
end_if

if not I_SettlementOwner Apollonia = carthage
settlement_flash_start Apollonia
end_if

if not I_SettlementOwner Ankyra = carthage
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Buridava = carthage
settlement_flash_start Buridava
end_if

if not I_SettlementOwner Mtskheta = carthage
settlement_flash_start Mtskheta
end_if

if not I_SettlementOwner Segestica = carthage
settlement_flash_start Segestica
end_if

if not I_SettlementOwner Hierosolyma = carthage
settlement_flash_start Hierosolyma
end_if

if not I_SettlementOwner Mazaka = carthage
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Amaseia = carthage
settlement_flash_start Amaseia
end_if

if not I_SettlementOwner Halikarnassos = carthage
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Tarsos = carthage
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Kotais = carthage
settlement_flash_start Kotais
end_if

if not I_SettlementOwner Sparte = carthage
settlement_flash_start Sparte
end_if

if not I_SettlementOwner Sardis = carthage
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Tanais = carthage
settlement_flash_start Tanais
end_if

if not I_SettlementOwner Pella = carthage
settlement_flash_start Pella
end_if

if not I_SettlementOwner Kallatis = carthage
settlement_flash_start Kallatis
end_if

if not I_SettlementOwner Pergamon = carthage
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Tylis = carthage
settlement_flash_start Tylis
end_if

if not I_SettlementOwner Side = carthage
settlement_flash_start Side
end_if

if not I_SettlementOwner Vindobona = carthage
settlement_flash_start Vindobona
end_if

if not I_SettlementOwner Sinope = carthage
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Sidon = carthage
settlement_flash_start Sidon
end_if

if not I_SettlementOwner Ipsos = carthage
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Trapezous = carthage
settlement_flash_start Trapezous
end_if

if not I_SettlementOwner Palmyra = carthage
settlement_flash_start Palmyra
end_if

if not I_SettlementOwner Olbia = carthage
settlement_flash_start Olbia
end_if

if not I_SettlementOwner Karkathiokerta = carthage
settlement_flash_start Karkathiokerta
end_if

if not I_SettlementOwner Antiocheia = carthage
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Damaskos = carthage
settlement_flash_start Damaskos
end_if

if not I_SettlementOwner Chersonesos = carthage
settlement_flash_start Chersonesos
end_if

if not I_SettlementOwner Demetrias = carthage
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Naissos = carthage
settlement_flash_start Naissos
end_if

if not I_SettlementOwner Gawjam_Bastarnoz = carthage
settlement_flash_start Gawjam_Bastarnoz
end_if

if not I_SettlementOwner Ak_Ink = carthage
settlement_flash_start Ak_Ink
end_if

if not I_SettlementOwner Singidunum = carthage
settlement_flash_start Singidunum
end_if

end_if
;----------------------------------------
if I_LocalFaction armenia
advance_advice_thread Sauromatae_vc_Thread
if not I_SettlementOwner Gava_Yazyga = armenia
settlement_flash_start Gava_Yazyga
end_if

if not I_SettlementOwner Gava_Roxsalanna = armenia
settlement_flash_start Gava_Roxsalanna
end_if

if not I_SettlementOwner Gava_Aursa = armenia
settlement_flash_start Gava_Aursa
end_if

if not I_SettlementOwner Uspe = armenia
settlement_flash_start Uspe
end_if

if not I_SettlementOwner Tanais = armenia
settlement_flash_start Tanais
end_if

if not I_SettlementOwner Gelonus = armenia
settlement_flash_start Gelonus
end_if

if not I_SettlementOwner Olbia = armenia
settlement_flash_start Olbia
end_if

if not I_SettlementOwner Chersonesos = armenia
settlement_flash_start Chersonesos
end_if

if not I_SettlementOwner Pantikapaion = armenia
settlement_flash_start Pantikapaion
end_if

if not I_SettlementOwner Kallatis = armenia
settlement_flash_start Kallatis
end_if

if not I_SettlementOwner Gordu_Neuriji = armenia
settlement_flash_start Gordu_Neuriji
end_if

if not I_SettlementOwner Gawjam_Bastarnoz = armenia
settlement_flash_start Gawjam_Bastarnoz
end_if

if not I_SettlementOwner Lucarottea = armenia
settlement_flash_start Lucarottea
end_if

if not I_SettlementOwner Ascaucalis = armenia
settlement_flash_start Ascaucalis
end_if

if not I_SettlementOwner Gava_Thissakata = armenia
settlement_flash_start Gava_Thissakata
end_if

if not I_SettlementOwner Ak_Ink = armenia
settlement_flash_start Ak_Ink
end_if

if not I_SettlementOwner Vindobona = armenia
settlement_flash_start Vindobona
end_if

if not I_SettlementOwner Singidunum = armenia
settlement_flash_start Singidunum
end_if

if not I_SettlementOwner Gava_Alanna = armenia
settlement_flash_start Gava_Alanna
end_if

if not I_SettlementOwner Gava_Yugra = armenia
settlement_flash_start Gava_Yugra
end_if

if not I_SettlementOwner Gava_Mazsakata = armenia
settlement_flash_start Gava_Mazsakata
end_if

if not I_SettlementOwner Nisa = armenia
settlement_flash_start Nisa
end_if

if not I_SettlementOwner Khiva = armenia
settlement_flash_start Khiva
end_if

if not I_SettlementOwner Marakanda = armenia
settlement_flash_start Marakanda
end_if

if not I_SettlementOwner Antiocheia_Margiane = armenia
settlement_flash_start Antiocheia_Margiane
end_if

if not I_SettlementOwner Gava_Saka = armenia
settlement_flash_start Gava_Saka
end_if

if not I_SettlementOwner Chighu = armenia
settlement_flash_start Chighu
end_if

if not I_SettlementOwner Gava_Haomavarga = armenia
settlement_flash_start Gava_Haomavarga
end_if

if not I_SettlementOwner Kotais = armenia
settlement_flash_start Kotais
end_if

if not I_SettlementOwner Kabalaka = armenia
settlement_flash_start Kabalaka
end_if

if not I_SettlementOwner Mtskheta = armenia
settlement_flash_start Mtskheta
end_if

if not I_SettlementOwner Armavir = armenia
settlement_flash_start Armavir
end_if

if not I_SettlementOwner Phraaspa = armenia
settlement_flash_start Phraaspa
end_if

if not I_SettlementOwner Mazaka = armenia
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Ankyra = armenia
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Ani-Kamah = armenia
settlement_flash_start Ani-Kamah
end_if

if not I_SettlementOwner Zadrakata = armenia
settlement_flash_start Zadrakata
end_if

if not I_SettlementOwner Asaak = armenia
settlement_flash_start Asaak
end_if

if not I_SettlementOwner Hekatompylos = armenia
settlement_flash_start Hekatompylos
end_if

if not I_SettlementOwner Alexandreia_Ariana = armenia
settlement_flash_start Alexandreia_Ariana
end_if

if not I_SettlementOwner Baktra = armenia
settlement_flash_start Baktra
end_if

if not I_SettlementOwner Ekbatana = armenia
settlement_flash_start Ekbatana
end_if

if not I_SettlementOwner Naissos = armenia
settlement_flash_start Naissos
end_if

if not I_SettlementOwner Tanais = armenia
settlement_flash_start Tanais
end_if

if not I_SettlementOwner Tylis = armenia
settlement_flash_start Tylis
end_if

if not I_SettlementOwner Byzantion = armenia
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Alexandreia_Eschate = armenia
settlement_flash_start Alexandreia_Eschate
end_if

if not I_SettlementOwner Chach = armenia
settlement_flash_start Chach
end_if

if not I_SettlementOwner Sulek = armenia
settlement_flash_start Sulek
end_if

if not I_SettlementOwner Taksashila = armenia
settlement_flash_start Taksashila
end_if

end_if
;----------------------------------------
if I_LocalFaction germans
advance_advice_thread Sweboz_vc_Thread
if not I_SettlementOwner Swebotraustastamnoz = germans
settlement_flash_start Swebotraustastamnoz
end_if

if not I_SettlementOwner Gawjam_Heruskoz = germans
settlement_flash_start Gawjam_Heruskoz
end_if

if not I_SettlementOwner Gawjam_Habukoz = germans
settlement_flash_start Gawjam_Habukoz
end_if

if not I_SettlementOwner Arctaunon = germans
settlement_flash_start Arctaunon
end_if

if not I_SettlementOwner Gawjam_Kimbroz = germans
settlement_flash_start Gawjam_Kimbroz
end_if

if not I_SettlementOwner Gawjam_Rugoz = germans
settlement_flash_start Gawjam_Rugoz
end_if

if not I_SettlementOwner Gawjam_Skandzawarjoz = germans
settlement_flash_start Gawjam_Skandzawarjoz
end_if

if not I_SettlementOwner Gawjam_Gotanoz = germans
settlement_flash_start Gawjam_Gotanoz
end_if

if not I_SettlementOwner Eburonum = germans
settlement_flash_start Eburonum
end_if

if not I_SettlementOwner Gawjam_Silengoz = germans
settlement_flash_start Gawjam_Silengoz
end_if

if not I_SettlementOwner Bibracte = germans
settlement_flash_start Bibracte
end_if

if not I_SettlementOwner Vindelicoppidos = germans
settlement_flash_start Vindelicoppidos
end_if

if not I_SettlementOwner Vesontio = germans
settlement_flash_start Vesontio
end_if

if not I_SettlementOwner Bagacos = germans
settlement_flash_start Bagacos
end_if

if not I_SettlementOwner Bratosporios = germans
settlement_flash_start Bratosporios
end_if

if not I_SettlementOwner Gawjam_Bastarnoz = germans
settlement_flash_start Gawjam_Bastarnoz
end_if

end_if
;----------------------------------------
if I_LocalFaction egypt
advance_advice_thread Tsorim_vc_Thread
if not I_SettlementOwner Tyde = egypt
settlement_flash_start Tyde
end_if

if not I_SettlementOwner Pallantia = egypt
settlement_flash_start Pallantia
end_if

if not I_SettlementOwner Vellika = egypt
settlement_flash_start Vellika
end_if

if not I_SettlementOwner Numantia = egypt
settlement_flash_start Numantia
end_if

if not I_SettlementOwner Emporion = egypt
settlement_flash_start Emporion
end_if

if not I_SettlementOwner Oxtraca = egypt
settlement_flash_start Oxtraca
end_if

if not I_SettlementOwner Baikor = egypt
settlement_flash_start Baikor
end_if

if not I_SettlementOwner Arse = egypt
settlement_flash_start Arse
end_if

if not I_SettlementOwner Gader = egypt
settlement_flash_start Gader
end_if

if not I_SettlementOwner Mastia = egypt
settlement_flash_start Mastia
end_if

if not I_SettlementOwner Massalia = egypt
settlement_flash_start Massalia
end_if

if not I_SettlementOwner Segesta = egypt
settlement_flash_start Segesta
end_if

if not I_SettlementOwner Bononia = egypt
settlement_flash_start Bononia
end_if

if not I_SettlementOwner Arretium = egypt
settlement_flash_start Arretium
end_if

if not I_SettlementOwner Ariminum = egypt
settlement_flash_start Ariminum
end_if

if not I_SettlementOwner Rome = egypt
settlement_flash_start Rome
end_if

if not I_SettlementOwner Capua = egypt
settlement_flash_start Capua
end_if

if not I_SettlementOwner Arpi = egypt
settlement_flash_start Arpi
end_if

if not I_SettlementOwner Taras = egypt
settlement_flash_start Taras
end_if

if not I_SettlementOwner Rhegion = egypt
settlement_flash_start Rhegion
end_if

if not I_SettlementOwner Lilibeo = egypt
settlement_flash_start Lilibeo
end_if

if not I_SettlementOwner Messana = egypt
settlement_flash_start Messana
end_if

if not I_SettlementOwner Syracuse = egypt
settlement_flash_start Syracuse
end_if

if not I_SettlementOwner Sidon = egypt
settlement_flash_start Sidon
end_if

if not I_SettlementOwner Bocchoris = egypt
settlement_flash_start Bocchoris
end_if

if not I_SettlementOwner Ippone = egypt
settlement_flash_start Ippone
end_if

if not I_SettlementOwner Alalia = egypt
settlement_flash_start Alalia
end_if

if not I_SettlementOwner Karali = egypt
settlement_flash_start Karali
end_if

if not I_SettlementOwner Atiqa = egypt
settlement_flash_start Atiqa
end_if

if not I_SettlementOwner Kart_Hadast = egypt
settlement_flash_start Kart_Hadast
end_if

if not I_SettlementOwner Adrumeto = egypt
settlement_flash_start Adrumeto
end_if

if not I_SettlementOwner Lepki = egypt
settlement_flash_start Lepki
end_if

if not I_SettlementOwner Kyrene = egypt
settlement_flash_start Kyrene
end_if

if not I_SettlementOwner Sucum-Murgi = egypt
settlement_flash_start Sucum-Murgi
end_if

end_if
;----------------------------------------
if I_LocalFaction romans_brutii
advance_advice_thread Baktria_vc_Thread
if not I_SettlementOwner Chighu = romans_brutii
settlement_flash_start Chighu
end_if

if not I_SettlementOwner Sulek = romans_brutii
settlement_flash_start Sulek
end_if

if not I_SettlementOwner Chach = romans_brutii
settlement_flash_start Chach
end_if

if not I_SettlementOwner Alexandreia_Eschate = romans_brutii
settlement_flash_start Alexandreia_Eschate
end_if

if not I_SettlementOwner Gava_Haomavarga = romans_brutii
settlement_flash_start Gava_Haomavarga
end_if

if not I_SettlementOwner Taksashila = romans_brutii
settlement_flash_start Taksashila
end_if

if not I_SettlementOwner Marakanda = romans_brutii
settlement_flash_start Marakanda
end_if

if not I_SettlementOwner Khiva = romans_brutii
settlement_flash_start Khiva
end_if

if not I_SettlementOwner Nisa = romans_brutii
settlement_flash_start Nisa
end_if

if not I_SettlementOwner Antiocheia_Margiane = romans_brutii
settlement_flash_start Antiocheia_Margiane
end_if

if not I_SettlementOwner Baktra = romans_brutii
settlement_flash_start Baktra
end_if

if not I_SettlementOwner Kophen = romans_brutii
settlement_flash_start Kophen
end_if

if not I_SettlementOwner Asaak = romans_brutii
settlement_flash_start Asaak
end_if

if not I_SettlementOwner Hekatompylos = romans_brutii
settlement_flash_start Hekatompylos
end_if

if not I_SettlementOwner Alexandreia_Ariana = romans_brutii
settlement_flash_start Alexandreia_Ariana
end_if

if not I_SettlementOwner Prophthasia = romans_brutii
settlement_flash_start Prophthasia
end_if

if not I_SettlementOwner Alexandropolis = romans_brutii
settlement_flash_start Alexandropolis
end_if

if not I_SettlementOwner Opiana = romans_brutii
settlement_flash_start Opiana
end_if

if not I_SettlementOwner Gabai = romans_brutii
settlement_flash_start Gabai
end_if

if not I_SettlementOwner Karmana = romans_brutii
settlement_flash_start Karmana
end_if

if not I_SettlementOwner Pura = romans_brutii
settlement_flash_start Pura
end_if

if not I_SettlementOwner Patala = romans_brutii
settlement_flash_start Patala
end_if

end_if
;----------------------------------------
if I_LocalFaction numidia
advance_advice_thread Ptolemaioi_vc_Thread
if not I_SettlementOwner Pella = numidia
settlement_flash_start Pella
end_if

if not I_SettlementOwner Demetrias = numidia
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Thermon = numidia
settlement_flash_start Thermon
end_if

if not I_SettlementOwner Korinthos = numidia
settlement_flash_start Korinthos
end_if

if not I_SettlementOwner Sparte = numidia
settlement_flash_start Sparte
end_if

if not I_SettlementOwner Athenai = numidia
settlement_flash_start Athenai
end_if

if not I_SettlementOwner Chalkis = numidia
settlement_flash_start Chalkis
end_if

if not I_SettlementOwner Byzantion = numidia
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Kydonia = numidia
settlement_flash_start Kydonia
end_if

if not I_SettlementOwner Rhodos = numidia
settlement_flash_start Rhodos
end_if

if not I_SettlementOwner Trapezous = numidia
settlement_flash_start Trapezous
end_if

if not I_SettlementOwner Sinope = numidia
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Amaseia = numidia
settlement_flash_start Amaseia
end_if

if not I_SettlementOwner Nikaia = numidia
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Ankyra = numidia
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Pergamon = numidia
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Ipsos = numidia
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Mazaka = numidia
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Sardis = numidia
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Mytilene = numidia
settlement_flash_start Mytilene
end_if

if not I_SettlementOwner Halikarnassos = numidia
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Side = numidia
settlement_flash_start Side
end_if

if not I_SettlementOwner Tarsos = numidia
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Salamis = numidia
settlement_flash_start Salamis
end_if

if not I_SettlementOwner Antiocheia = numidia
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Edessa = numidia
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Seleukeia = numidia
settlement_flash_start Seleukeia
end_if

if not I_SettlementOwner Babylon = numidia
settlement_flash_start Babylon
end_if

if not I_SettlementOwner Palmyra = numidia
settlement_flash_start Palmyra
end_if

if not I_SettlementOwner Damaskos = numidia
settlement_flash_start Damaskos
end_if

if not I_SettlementOwner Sidon = numidia
settlement_flash_start Sidon
end_if

if not I_SettlementOwner Bostra = numidia
settlement_flash_start Bostra
end_if

if not I_SettlementOwner Hierosolyma = numidia
settlement_flash_start Hierosolyma
end_if

if not I_SettlementOwner Petra = numidia
settlement_flash_start Petra
end_if

if not I_SettlementOwner Carna = numidia
settlement_flash_start Carna
end_if

if not I_SettlementOwner Maryab = numidia
settlement_flash_start Maryab
end_if

if not I_SettlementOwner Tamane = numidia
settlement_flash_start Tamane
end_if

if not I_SettlementOwner Sabata = numidia
settlement_flash_start Sabata
end_if

if not I_SettlementOwner Ubar = numidia
settlement_flash_start Ubar
end_if

if not I_SettlementOwner Alexandreia = numidia
settlement_flash_start Alexandreia
end_if

if not I_SettlementOwner Paraitonion = numidia
settlement_flash_start Paraitonion
end_if

if not I_SettlementOwner Kyrene = numidia
settlement_flash_start Kyrene
end_if

if not I_SettlementOwner Ammonion = numidia
settlement_flash_start Ammonion
end_if

if not I_SettlementOwner Hibis = numidia
settlement_flash_start Hibis
end_if

if not I_SettlementOwner Memphis = numidia
settlement_flash_start Memphis
end_if

if not I_SettlementOwner Diospolis_Megale = numidia
settlement_flash_start Diospolis_Megale
end_if

if not I_SettlementOwner Pselkis = numidia
settlement_flash_start Pselkis
end_if

if not I_SettlementOwner Meroe = numidia
settlement_flash_start Meroe
end_if

if not I_SettlementOwner Ptolemais_Theron = numidia
settlement_flash_start Ptolemais_Theron
end_if

if not I_SettlementOwner Axum = numidia
settlement_flash_start Axum
end_if

end_if
;----------------------------------------
if I_LocalFaction romans_julii
advance_advice_thread Seleukid_vc_Thread
if not I_SettlementOwner Pella = romans_julii
settlement_flash_start Pella
end_if

if not I_SettlementOwner Demetrias = romans_julii
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Thermon = romans_julii
settlement_flash_start Thermon
end_if

if not I_SettlementOwner Korinthos = romans_julii
settlement_flash_start Korinthos
end_if

if not I_SettlementOwner Sparte = romans_julii
settlement_flash_start Sparte
end_if

if not I_SettlementOwner Athenai = romans_julii
settlement_flash_start Athenai
end_if

if not I_SettlementOwner Chalkis = romans_julii
settlement_flash_start Chalkis
end_if

if not I_SettlementOwner Byzantion = romans_julii
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Kydonia = romans_julii
settlement_flash_start Kydonia
end_if

if not I_SettlementOwner Rhodos = romans_julii
settlement_flash_start Rhodos
end_if

if not I_SettlementOwner Trapezous = romans_julii
settlement_flash_start Trapezous
end_if

if not I_SettlementOwner Ani-Kamah = romans_julii
settlement_flash_start Ani-Kamah
end_if

if not I_SettlementOwner Sinope = romans_julii
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Amaseia = romans_julii
settlement_flash_start Amaseia
end_if

if not I_SettlementOwner Nikaia = romans_julii
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Ankyra = romans_julii
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Pergamon = romans_julii
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Ipsos = romans_julii
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Mazaka = romans_julii
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Sardis = romans_julii
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Mytilene = romans_julii
settlement_flash_start Mytilene
end_if

if not I_SettlementOwner Halikarnassos = romans_julii
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Side = romans_julii
settlement_flash_start Side
end_if

if not I_SettlementOwner Tarsos = romans_julii
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Salamis = romans_julii
settlement_flash_start Salamis
end_if

if not I_SettlementOwner Antiocheia = romans_julii
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Karkathiokerta = romans_julii
settlement_flash_start Karkathiokerta
end_if

if not I_SettlementOwner Armavir = romans_julii
settlement_flash_start Armavir
end_if

if not I_SettlementOwner Arbela = romans_julii
settlement_flash_start Arbela
end_if

if not I_SettlementOwner Edessa = romans_julii
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Seleukeia = romans_julii
settlement_flash_start Seleukeia
end_if

if not I_SettlementOwner Babylon = romans_julii
settlement_flash_start Babylon
end_if

if not I_SettlementOwner Palmyra = romans_julii
settlement_flash_start Palmyra
end_if

if not I_SettlementOwner Damaskos = romans_julii
settlement_flash_start Damaskos
end_if

if not I_SettlementOwner Sidon = romans_julii
settlement_flash_start Sidon
end_if

if not I_SettlementOwner Bostra = romans_julii
settlement_flash_start Bostra
end_if

if not I_SettlementOwner Hierosolyma = romans_julii
settlement_flash_start Hierosolyma
end_if

if not I_SettlementOwner Petra = romans_julii
settlement_flash_start Petra
end_if

if not I_SettlementOwner Sulek = romans_julii
settlement_flash_start Sulek
end_if

if not I_SettlementOwner Chach = romans_julii
settlement_flash_start Chach
end_if

if not I_SettlementOwner Alexandreia_Eschate = romans_julii
settlement_flash_start Alexandreia_Eschate
end_if

if not I_SettlementOwner Gava_Haomavarga = romans_julii
settlement_flash_start Gava_Haomavarga
end_if

if not I_SettlementOwner Taksashila = romans_julii
settlement_flash_start Taksashila
end_if

if not I_SettlementOwner Marakanda = romans_julii
settlement_flash_start Marakanda
end_if

if not I_SettlementOwner Khiva = romans_julii
settlement_flash_start Khiva
end_if

if not I_SettlementOwner Nisa = romans_julii
settlement_flash_start Nisa
end_if

if not I_SettlementOwner Antiocheia_Margiane = romans_julii
settlement_flash_start Antiocheia_Margiane
end_if

if not I_SettlementOwner Baktra = romans_julii
settlement_flash_start Baktra
end_if

if not I_SettlementOwner Kophen = romans_julii
settlement_flash_start Kophen
end_if

if not I_SettlementOwner Asaak = romans_julii
settlement_flash_start Asaak
end_if

if not I_SettlementOwner Hekatompylos = romans_julii
settlement_flash_start Hekatompylos
end_if

if not I_SettlementOwner Alexandreia_Ariana = romans_julii
settlement_flash_start Alexandreia_Ariana
end_if

if not I_SettlementOwner Prophthasia = romans_julii
settlement_flash_start Prophthasia
end_if

if not I_SettlementOwner Alexandropolis = romans_julii
settlement_flash_start Alexandropolis
end_if

if not I_SettlementOwner Opiana = romans_julii
settlement_flash_start Opiana
end_if

if not I_SettlementOwner Gabai = romans_julii
settlement_flash_start Gabai
end_if

if not I_SettlementOwner Karmana = romans_julii
settlement_flash_start Karmana
end_if

if not I_SettlementOwner Pura = romans_julii
settlement_flash_start Pura
end_if

if not I_SettlementOwner Patala = romans_julii
settlement_flash_start Patala
end_if

if not I_SettlementOwner Persepolis = romans_julii
settlement_flash_start Persepolis
end_if

if not I_SettlementOwner Zadrakata = romans_julii
settlement_flash_start Zadrakata
end_if

if not I_SettlementOwner Apameia = romans_julii
settlement_flash_start Apameia
end_if

if not I_SettlementOwner Susa = romans_julii
settlement_flash_start Susa
end_if

if not I_SettlementOwner Charax = romans_julii
settlement_flash_start Charax
end_if

if not I_SettlementOwner Ekbatana = romans_julii
settlement_flash_start Ekbatana
end_if

if not I_SettlementOwner Phraaspa = romans_julii
settlement_flash_start Phraaspa
end_if

if not I_SettlementOwner Gerrha = romans_julii
settlement_flash_start Gerrha
end_if

if not I_SettlementOwner Homna = romans_julii
settlement_flash_start Homna
end_if

if not I_SettlementOwner Alexandreia = romans_julii
settlement_flash_start Alexandreia
end_if

if not I_SettlementOwner Paraitonion = romans_julii
settlement_flash_start Paraitonion
end_if

if not I_SettlementOwner Kyrene = romans_julii
settlement_flash_start Kyrene
end_if

if not I_SettlementOwner Ammonion = romans_julii
settlement_flash_start Ammonion
end_if

if not I_SettlementOwner Hibis = romans_julii
settlement_flash_start Hibis
end_if

if not I_SettlementOwner Memphis = romans_julii
settlement_flash_start Memphis
end_if

if not I_SettlementOwner Diospolis_Megale = romans_julii
settlement_flash_start Diospolis_Megale
end_if

if not I_SettlementOwner Pselkis = romans_julii
settlement_flash_start Pselkis
end_if

end_if
;----------------------------------------
if I_LocalFaction macedon
advance_advice_thread Makedon_vc_Thread
if not I_SettlementOwner Rome = macedon
settlement_flash_start Rome
end_if

if not I_SettlementOwner Capua = macedon
settlement_flash_start Capua
end_if

if not I_SettlementOwner Arpi = macedon
settlement_flash_start Arpi
end_if

if not I_SettlementOwner Taras = macedon
settlement_flash_start Taras
end_if

if not I_SettlementOwner Rhegion = macedon
settlement_flash_start Rhegion
end_if

if not I_SettlementOwner Messana = macedon
settlement_flash_start Messana
end_if

if not I_SettlementOwner Lilibeo = macedon
settlement_flash_start Lilibeo
end_if

if not I_SettlementOwner Syracuse = macedon
settlement_flash_start Syracuse
end_if

if not I_SettlementOwner Epidamnos = macedon
settlement_flash_start Epidamnos
end_if

if not I_SettlementOwner Apollonia = macedon
settlement_flash_start Apollonia
end_if

if not I_SettlementOwner Serdike = macedon
settlement_flash_start Serdike
end_if

if not I_SettlementOwner Tylis = macedon
settlement_flash_start Tylis
end_if

if not I_SettlementOwner Kallatis = macedon
settlement_flash_start Kallatis
end_if

if not I_SettlementOwner Pella = macedon
settlement_flash_start Pella
end_if

if not I_SettlementOwner Demetrias = macedon
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Thermon = macedon
settlement_flash_start Thermon
end_if

if not I_SettlementOwner Korinthos = macedon
settlement_flash_start Korinthos
end_if

if not I_SettlementOwner Sparte = macedon
settlement_flash_start Sparte
end_if

if not I_SettlementOwner Athenai = macedon
settlement_flash_start Athenai
end_if

if not I_SettlementOwner Chalkis = macedon
settlement_flash_start Chalkis
end_if

if not I_SettlementOwner Byzantion = macedon
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Kydonia = macedon
settlement_flash_start Kydonia
end_if

if not I_SettlementOwner Rhodos = macedon
settlement_flash_start Rhodos
end_if

if not I_SettlementOwner Amaseia = macedon
settlement_flash_start Amaseia
end_if

if not I_SettlementOwner Nikaia = macedon
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Ankyra = macedon
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Pergamon = macedon
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Ipsos = macedon
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Mazaka = macedon
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Sardis = macedon
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Mytilene = macedon
settlement_flash_start Mytilene
end_if

if not I_SettlementOwner Halikarnassos = macedon
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Side = macedon
settlement_flash_start Side
end_if

if not I_SettlementOwner Tarsos = macedon
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Salamis = macedon
settlement_flash_start Salamis
end_if

if not I_SettlementOwner Antiocheia = macedon
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Edessa = macedon
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Seleukeia = macedon
settlement_flash_start Seleukeia
end_if

if not I_SettlementOwner Babylon = macedon
settlement_flash_start Babylon
end_if

if not I_SettlementOwner Damaskos = macedon
settlement_flash_start Damaskos
end_if

if not I_SettlementOwner Sidon = macedon
settlement_flash_start Sidon
end_if

if not I_SettlementOwner Hierosolyma = macedon
settlement_flash_start Hierosolyma
end_if

if not I_SettlementOwner Alexandreia = macedon
settlement_flash_start Alexandreia
end_if

end_if
;----------------------------------------
if I_LocalFaction greek_cities
advance_advice_thread Koinon_vc_Thread

if not I_SettlementOwner Arse = greek_cities
settlement_flash_start Arse
end_if

if not I_SettlementOwner Emporion = greek_cities
settlement_flash_start Emporion
end_if

if not I_SettlementOwner Massalia = greek_cities
settlement_flash_start Massalia
end_if

if not I_SettlementOwner Karali = greek_cities
settlement_flash_start Karali
end_if

if not I_SettlementOwner Lilibeo = greek_cities
settlement_flash_start Lilibeo
end_if

if not I_SettlementOwner Messana = greek_cities
settlement_flash_start Messana
end_if

if not I_SettlementOwner Syracuse = greek_cities
settlement_flash_start Syracuse
end_if

if not I_SettlementOwner Arpi = greek_cities
settlement_flash_start Arpi
end_if

if not I_SettlementOwner Capua = greek_cities
settlement_flash_start Capua
end_if

if not I_SettlementOwner Taras = greek_cities
settlement_flash_start Taras
end_if

if not I_SettlementOwner Rhegion = greek_cities
settlement_flash_start Rhegion
end_if

if not I_SettlementOwner Apollonia = greek_cities
settlement_flash_start Apollonia
end_if

if not I_SettlementOwner Pella = greek_cities
settlement_flash_start Pella
end_if

if not I_SettlementOwner Demetrias = greek_cities
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Thermon = greek_cities
settlement_flash_start Thermon
end_if

if not I_SettlementOwner Athenai = greek_cities
settlement_flash_start Athenai
end_if

if not I_SettlementOwner Chalkis = greek_cities
settlement_flash_start Chalkis
end_if

if not I_SettlementOwner Mytilene = greek_cities
settlement_flash_start Mytilene
end_if

if not I_SettlementOwner Korinthos = greek_cities
settlement_flash_start Korinthos
end_if

if not I_SettlementOwner Sparte = greek_cities
settlement_flash_start Sparte
end_if

if not I_SettlementOwner Kydonia = greek_cities
settlement_flash_start Kydonia
end_if

if not I_SettlementOwner Rhodos = greek_cities
settlement_flash_start Rhodos
end_if

if not I_SettlementOwner Salamis = greek_cities
settlement_flash_start Salamis
end_if

if not I_SettlementOwner Byzantion = greek_cities
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Pergamon = greek_cities
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Sardis = greek_cities
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Halikarnassos = greek_cities
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Kyrene = greek_cities
settlement_flash_start Kyrene
end_if

if not I_SettlementOwner Chersonesos = greek_cities
settlement_flash_start Chersonesos
end_if

if not I_SettlementOwner Pantikapaion = greek_cities
settlement_flash_start Pantikapaion
end_if

if not I_SettlementOwner Sinope = greek_cities
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Trapezous = greek_cities
settlement_flash_start Trapezous
end_if

end_if
;----------------------------------------
if I_LocalFaction thrace
advance_advice_thread Epeiros_vc_Thread
if not I_SettlementOwner Massalia = thrace
settlement_flash_start Massalia
end_if

if not I_SettlementOwner Segesta = thrace
settlement_flash_start Segesta
end_if

if not I_SettlementOwner Alalia = thrace
settlement_flash_start Alalia
end_if

if not I_SettlementOwner Karali = thrace
settlement_flash_start Karali
end_if

if not I_SettlementOwner Bononia = thrace
settlement_flash_start Bononia
end_if

if not I_SettlementOwner Patavium = thrace
settlement_flash_start Patavium
end_if

if not I_SettlementOwner Arretium = thrace
settlement_flash_start Arretium
end_if

if not I_SettlementOwner Ariminum = thrace
settlement_flash_start Ariminum
end_if

if not I_SettlementOwner Rome = thrace
settlement_flash_start Rome
end_if

if not I_SettlementOwner Capua = thrace
settlement_flash_start Capua
end_if

if not I_SettlementOwner Arpi = thrace
settlement_flash_start Arpi
end_if

if not I_SettlementOwner Taras = thrace
settlement_flash_start Taras
end_if

if not I_SettlementOwner Rhegion = thrace
settlement_flash_start Rhegion
end_if

if not I_SettlementOwner Messana = thrace
settlement_flash_start Messana
end_if

if not I_SettlementOwner Lilibeo = thrace
settlement_flash_start Lilibeo
end_if

if not I_SettlementOwner Syracuse = thrace
settlement_flash_start Syracuse
end_if

if not I_SettlementOwner Segestica = thrace
settlement_flash_start Segestica
end_if

if not I_SettlementOwner Vindobona = thrace
settlement_flash_start Vindobona
end_if

if not I_SettlementOwner Singidunum = thrace
settlement_flash_start Singidunum
end_if

if not I_SettlementOwner Naissos = thrace
settlement_flash_start Naissos
end_if

if not I_SettlementOwner Serdike = thrace
settlement_flash_start Serdike
end_if

if not I_SettlementOwner Epidamnos = thrace
settlement_flash_start Epidamnos
end_if

if not I_SettlementOwner Apollonia = thrace
settlement_flash_start Apollonia
end_if

if not I_SettlementOwner Tylis = thrace
settlement_flash_start Tylis
end_if

if not I_SettlementOwner Kallatis = thrace
settlement_flash_start Kallatis
end_if

if not I_SettlementOwner Pella = thrace
settlement_flash_start Pella
end_if

if not I_SettlementOwner Demetrias = thrace
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Thermon = thrace
settlement_flash_start Thermon
end_if

if not I_SettlementOwner Korinthos = thrace
settlement_flash_start Korinthos
end_if

if not I_SettlementOwner Sparte = thrace
settlement_flash_start Sparte
end_if

if not I_SettlementOwner Athenai = thrace
settlement_flash_start Athenai
end_if

if not I_SettlementOwner Chalkis = thrace
settlement_flash_start Chalkis
end_if

if not I_SettlementOwner Byzantion = thrace
settlement_flash_start Byzantion
end_if

if not I_SettlementOwner Kydonia = thrace
settlement_flash_start Kydonia
end_if

if not I_SettlementOwner Rhodos = thrace
settlement_flash_start Rhodos
end_if

if not I_SettlementOwner Trapezous = thrace
settlement_flash_start Trapezous
end_if

if not I_SettlementOwner Sinope = thrace
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Amaseia = thrace
settlement_flash_start Amaseia
end_if

if not I_SettlementOwner Nikaia = thrace
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Ankyra = thrace
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Pergamon = thrace
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Ipsos = thrace
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Sardis = thrace
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Mytilene = thrace
settlement_flash_start Mytilene
end_if

if not I_SettlementOwner Halikarnassos = thrace
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Side = thrace
settlement_flash_start Side
end_if

if not I_SettlementOwner Tarsos = thrace
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Mazaka = thrace
settlement_flash_start Mazaka
end_if

if not I_SettlementOwner Antiocheia = thrace
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Edessa = thrace
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Karkathiokerta = thrace
settlement_flash_start Karkathiokerta
end_if

if not I_SettlementOwner Arbela = thrace
settlement_flash_start Arbela
end_if

if not I_SettlementOwner Seleukeia = thrace
settlement_flash_start Seleukeia
end_if

if not I_SettlementOwner Babylon = thrace
settlement_flash_start Babylon
end_if

if not I_SettlementOwner Ekbatana = thrace
settlement_flash_start Ekbatana
end_if

if not I_SettlementOwner Susa = thrace
settlement_flash_start Susa
end_if

if not I_SettlementOwner Charax = thrace
settlement_flash_start Charax
end_if

if not I_SettlementOwner Persepolis = thrace
settlement_flash_start Persepolis
end_if

if not I_SettlementOwner Dalminion = thrace
settlement_flash_start Dalminion
end_if

end_if
;----------------------------------------
if I_LocalFaction seleucid
advance_advice_thread Romani_vc_Thread
if not I_SettlementOwner Oxtraca = seleucid
settlement_flash_start Oxtraca
end_if

if not I_SettlementOwner Tyde = seleucid
settlement_flash_start Tyde
end_if

if not I_SettlementOwner Baikor = seleucid
settlement_flash_start Baikor
end_if

if not I_SettlementOwner Gader = seleucid
settlement_flash_start Gader
end_if

if not I_SettlementOwner Pallantia = seleucid
settlement_flash_start Pallantia
end_if

if not I_SettlementOwner Numantia = seleucid
settlement_flash_start Numantia
end_if

if not I_SettlementOwner Mastia = seleucid
settlement_flash_start Mastia
end_if

if not I_SettlementOwner Vellika = seleucid
settlement_flash_start Vellika
end_if

if not I_SettlementOwner Arse = seleucid
settlement_flash_start Arse
end_if

if not I_SettlementOwner Burdigala = seleucid
settlement_flash_start Burdigala
end_if

if not I_SettlementOwner Lemonum = seleucid
settlement_flash_start Lemonum
end_if

if not I_SettlementOwner Darioritum = seleucid
settlement_flash_start Darioritum
end_if

if not I_SettlementOwner Cenabum = seleucid
settlement_flash_start Cenabum
end_if

if not I_SettlementOwner Avaricum = seleucid
settlement_flash_start Avaricum
end_if

if not I_SettlementOwner Gergovia = seleucid
settlement_flash_start Gergovia
end_if

if not I_SettlementOwner Tolosa = seleucid
settlement_flash_start Tolosa
end_if

if not I_SettlementOwner Emporion = seleucid
settlement_flash_start Emporion
end_if

if not I_SettlementOwner Bocchoris = seleucid
settlement_flash_start Bocchoris
end_if

if not I_SettlementOwner Ippone = seleucid
settlement_flash_start Ippone
end_if

if not I_SettlementOwner Bratosporios = seleucid
settlement_flash_start Bratosporios
end_if

if not I_SettlementOwner Bibracte = seleucid
settlement_flash_start Bibracte
end_if

if not I_SettlementOwner Viennos = seleucid
settlement_flash_start Viennos
end_if

if not I_SettlementOwner Massalia = seleucid
settlement_flash_start Massalia
end_if

if not I_SettlementOwner Bagacos = seleucid
settlement_flash_start Bagacos
end_if

if not I_SettlementOwner Vesontio = seleucid
settlement_flash_start Vesontio
end_if

if not I_SettlementOwner Aventicos = seleucid
settlement_flash_start Aventicos
end_if

if not I_SettlementOwner Mediolanum = seleucid
settlement_flash_start Mediolanum
end_if

if not I_SettlementOwner Segesta = seleucid
settlement_flash_start Segesta
end_if

if not I_SettlementOwner Alalia = seleucid
settlement_flash_start Alalia
end_if

if not I_SettlementOwner Karali = seleucid
settlement_flash_start Karali
end_if

if not I_SettlementOwner Atiqa = seleucid
settlement_flash_start Atiqa
end_if

if not I_SettlementOwner Kart_Hadast = seleucid
settlement_flash_start Kart_Hadast
end_if

if not I_SettlementOwner Adrumeto = seleucid
settlement_flash_start Adrumeto
end_if

if not I_SettlementOwner Veldideno = seleucid
settlement_flash_start Veldideno
end_if

if not I_SettlementOwner Patavium = seleucid
settlement_flash_start Patavium
end_if

if not I_SettlementOwner Iuvavoaeta = seleucid
settlement_flash_start Iuvavoaeta
end_if

if not I_SettlementOwner Bononia = seleucid
settlement_flash_start Bononia
end_if

if not I_SettlementOwner Arretium = seleucid
settlement_flash_start Arretium
end_if

if not I_SettlementOwner Lepki = seleucid
settlement_flash_start Lepki
end_if

if not I_SettlementOwner Ariminum = seleucid
settlement_flash_start Ariminum
end_if

if not I_SettlementOwner Rome = seleucid
settlement_flash_start Rome
end_if

if not I_SettlementOwner Lilibeo = seleucid
settlement_flash_start Lilibeo
end_if

if not I_SettlementOwner Vindobona = seleucid
settlement_flash_start Vindobona
end_if

if not I_SettlementOwner Segestica = seleucid
settlement_flash_start Segestica
end_if

if not I_SettlementOwner Arpi = seleucid
settlement_flash_start Arpi
end_if

if not I_SettlementOwner Capua = seleucid
settlement_flash_start Capua
end_if

if not I_SettlementOwner Messana = seleucid
settlement_flash_start Messana
end_if

if not I_SettlementOwner Syracuse = seleucid
settlement_flash_start Syracuse
end_if

if not I_SettlementOwner Taras = seleucid
settlement_flash_start Taras
end_if

if not I_SettlementOwner Rhegion = seleucid
settlement_flash_start Rhegion
end_if

if not I_SettlementOwner Epidamnos = seleucid
settlement_flash_start Epidamnos
end_if

if not I_SettlementOwner Apollonia = seleucid
settlement_flash_start Apollonia
end_if

if not I_SettlementOwner Thermon = seleucid
settlement_flash_start Thermon
end_if

if not I_SettlementOwner Korinthos = seleucid
settlement_flash_start Korinthos
end_if

if not I_SettlementOwner Sparte = seleucid
settlement_flash_start Sparte
end_if

if not I_SettlementOwner Kyrene = seleucid
settlement_flash_start Kyrene
end_if

if not I_SettlementOwner Serdike = seleucid
settlement_flash_start Serdike
end_if

if not I_SettlementOwner Pella = seleucid
settlement_flash_start Pella
end_if

if not I_SettlementOwner Demetrias = seleucid
settlement_flash_start Demetrias
end_if

if not I_SettlementOwner Athenai = seleucid
settlement_flash_start Athenai
end_if

if not I_SettlementOwner Kydonia = seleucid
settlement_flash_start Kydonia
end_if

if not I_SettlementOwner Paraitonion = seleucid
settlement_flash_start Paraitonion
end_if

if not I_SettlementOwner Chalkis = seleucid
settlement_flash_start Chalkis
end_if

if not I_SettlementOwner Pergamon = seleucid
settlement_flash_start Pergamon
end_if

if not I_SettlementOwner Sardis = seleucid
settlement_flash_start Sardis
end_if

if not I_SettlementOwner Halikarnassos = seleucid
settlement_flash_start Halikarnassos
end_if

if not I_SettlementOwner Rhodos = seleucid
settlement_flash_start Rhodos
end_if

if not I_SettlementOwner Nikaia = seleucid
settlement_flash_start Nikaia
end_if

if not I_SettlementOwner Ipsos = seleucid
settlement_flash_start Ipsos
end_if

if not I_SettlementOwner Side = seleucid
settlement_flash_start Side
end_if

if not I_SettlementOwner Salamis = seleucid
settlement_flash_start Salamis
end_if

if not I_SettlementOwner Alexandreia = seleucid
settlement_flash_start Alexandreia
end_if

if not I_SettlementOwner Memphis = seleucid
settlement_flash_start Memphis
end_if

if not I_SettlementOwner Pselkis = seleucid
settlement_flash_start Pselkis
end_if

if not I_SettlementOwner Sinope = seleucid
settlement_flash_start Sinope
end_if

if not I_SettlementOwner Amaseia = seleucid
settlement_flash_start Amaseia
end_if

if not I_SettlementOwner Tarsos = seleucid
settlement_flash_start Tarsos
end_if

if not I_SettlementOwner Antiocheia = seleucid
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Sidon = seleucid
settlement_flash_start Sidon
end_if

if not I_SettlementOwner Hierosolyma = seleucid
settlement_flash_start Hierosolyma
end_if

if not I_SettlementOwner Dalminion = seleucid
settlement_flash_start Dalminion
end_if

if not I_SettlementOwner Damaskos = seleucid
settlement_flash_start Damaskos
end_if

if not I_SettlementOwner Sucum-Murgi = seleucid
settlement_flash_start Sucum-Murgi
end_if

if not I_SettlementOwner Diospolis_Megale = seleucid
settlement_flash_start Diospolis_Megale
end_if

if not I_SettlementOwner Kirtan = seleucid
settlement_flash_start Kirtan
end_if

if not I_SettlementOwner Ankyra = seleucid
settlement_flash_start Ankyra
end_if

if not I_SettlementOwner Ammonion = seleucid
settlement_flash_start Ammonion
end_if

if not I_SettlementOwner Hibis = seleucid
settlement_flash_start Hibis
end_if

if not I_SettlementOwner Mytilene = seleucid
settlement_flash_start Mytilene
end_if

if not I_SettlementOwner Naissos = seleucid
settlement_flash_start Naissos
end_if

if not I_SettlementOwner Singidunum = seleucid
settlement_flash_start Singidunum
end_if

if not I_SettlementOwner Kallatis = seleucid
settlement_flash_start Kallatis
end_if

end_if
;----------------------------------------
if I_LocalFaction spain
advance_advice_thread Iberia_vc_Thread
if not I_SettlementOwner Emain_Macha = spain
settlement_flash_start Emain_Macha
end_if

if not I_SettlementOwner Ivernis = spain
settlement_flash_start Ivernis
end_if

if not I_SettlementOwner Burdigala = spain
settlement_flash_start Burdigala
end_if

if not I_SettlementOwner Tolosa = spain
settlement_flash_start Tolosa
end_if

if not I_SettlementOwner Tyde = spain
settlement_flash_start Tyde
end_if

if not I_SettlementOwner Pallantia = spain
settlement_flash_start Pallantia
end_if

if not I_SettlementOwner Vellika = spain
settlement_flash_start Vellika
end_if

if not I_SettlementOwner Emporion = spain
settlement_flash_start Emporion
end_if

if not I_SettlementOwner Numantia = spain
settlement_flash_start Numantia
end_if

if not I_SettlementOwner Oxtraca = spain
settlement_flash_start Oxtraca
end_if

if not I_SettlementOwner Arse = spain
settlement_flash_start Arse
end_if

if not I_SettlementOwner Bocchoris = spain
settlement_flash_start Bocchoris
end_if

if not I_SettlementOwner Sucum-Murgi = spain
settlement_flash_start Sucum-Murgi
end_if

if not I_SettlementOwner Baikor = spain
settlement_flash_start Baikor
end_if

if not I_SettlementOwner Mastia = spain
settlement_flash_start Mastia
end_if

if not I_SettlementOwner Gader = spain
settlement_flash_start Gader
end_if

end_if
;----------------------------------------
if I_LocalFaction saba
advance_advice_thread Saba_vc_Thread
if not I_SettlementOwner Maryab = saba
settlement_flash_start Maryab
end_if

if not I_SettlementOwner Tamane = saba
settlement_flash_start Tamane
end_if

if not I_SettlementOwner Carna = saba
settlement_flash_start Carna
end_if

if not I_SettlementOwner Babylon = saba
settlement_flash_start Babylon
end_if

if not I_SettlementOwner Sabata = saba
settlement_flash_start Sabata
end_if

if not I_SettlementOwner Ubar = saba
settlement_flash_start Ubar
end_if

if not I_SettlementOwner Homna = saba
settlement_flash_start Homna
end_if

if not I_SettlementOwner Gerrha = saba
settlement_flash_start Gerrha
end_if

if not I_SettlementOwner Bostra = saba
settlement_flash_start Bostra
end_if

if not I_SettlementOwner Petra = saba
settlement_flash_start Petra
end_if

if not I_SettlementOwner Hierosolyma = saba
settlement_flash_start Hierosolyma
end_if

if not I_SettlementOwner Alexandreia = saba
settlement_flash_start Alexandreia
end_if

if not I_SettlementOwner Memphis = saba
settlement_flash_start Memphis
end_if

if not I_SettlementOwner Diospolis_Megale = saba
settlement_flash_start Diospolis_Megale
end_if

if not I_SettlementOwner Pselkis = saba
settlement_flash_start Pselkis
end_if

if not I_SettlementOwner Meroe = saba
settlement_flash_start Meroe
end_if

if not I_SettlementOwner Axum = saba
settlement_flash_start Axum
end_if

if not I_SettlementOwner Ptolemais_Theron = saba
settlement_flash_start Ptolemais_Theron
end_if

if not I_SettlementOwner Salamis = saba
settlement_flash_start Salamis
end_if

if not I_SettlementOwner Antiocheia = saba
settlement_flash_start Antiocheia
end_if

if not I_SettlementOwner Edessa = saba
settlement_flash_start Edessa
end_if

if not I_SettlementOwner Seleukeia = saba
settlement_flash_start Seleukeia
end_if

if not I_SettlementOwner Charax = saba
settlement_flash_start Charax
end_if

if not I_SettlementOwner Alexandropolis = saba
settlement_flash_start Alexandropolis
end_if

if not I_SettlementOwner Pura = saba
settlement_flash_start Pura
end_if

if not I_SettlementOwner Patala = saba
settlement_flash_start Patala
end_if

if not I_SettlementOwner Opiana = saba
settlement_flash_start Opiana
end_if

end_if
;----------------------------------------
if I_LocalFaction pontus
advance_advice_thread Saka_vc_Thread
if not I_SettlementOwner Gava_Yugra = pontus
settlement_flash_start Gava_Yugra
end_if

if not I_SettlementOwner Gava_Aursa = pontus
settlement_flash_start Gava_Aursa
end_if

if not I_SettlementOwner Gava_Alanna = pontus
settlement_flash_start Gava_Alanna
end_if

if not I_SettlementOwner Gava_Mazsakata = pontus
settlement_flash_start Gava_Mazsakata
end_if

if not I_SettlementOwner Gava_Saka = pontus
settlement_flash_start Gava_Saka
end_if

if not I_SettlementOwner Chighu = pontus
settlement_flash_start Chighu
end_if

if not I_SettlementOwner Sulek = pontus
settlement_flash_start Sulek
end_if

if not I_SettlementOwner Chach = pontus
settlement_flash_start Chach
end_if

if not I_SettlementOwner Alexandreia_Eschate = pontus
settlement_flash_start Alexandreia_Eschate
end_if

if not I_SettlementOwner Gava_Haomavarga = pontus
settlement_flash_start Gava_Haomavarga
end_if

if not I_SettlementOwner Taksashila = pontus
settlement_flash_start Taksashila
end_if

if not I_SettlementOwner Marakanda = pontus
settlement_flash_start Marakanda
end_if

if not I_SettlementOwner Khiva = pontus
settlement_flash_start Khiva
end_if

if not I_SettlementOwner Nisa = pontus
settlement_flash_start Nisa
end_if

if not I_SettlementOwner Antiocheia_Margiane = pontus
settlement_flash_start Antiocheia_Margiane
end_if

if not I_SettlementOwner Baktra = pontus
settlement_flash_start Baktra
end_if

if not I_SettlementOwner Kophen = pontus
settlement_flash_start Kophen
end_if

if not I_SettlementOwner Asaak = pontus
settlement_flash_start Asaak
end_if

if not I_SettlementOwner Hekatompylos = pontus
settlement_flash_start Hekatompylos
end_if

if not I_SettlementOwner Alexandreia_Ariana = pontus
settlement_flash_start Alexandreia_Ariana
end_if

if not I_SettlementOwner Prophthasia = pontus
settlement_flash_start Prophthasia
end_if

if not I_SettlementOwner Alexandropolis = pontus
settlement_flash_start Alexandropolis
end_if

if not I_SettlementOwner Opiana = pontus
settlement_flash_start Opiana
end_if

if not I_SettlementOwner Gabai = pontus
settlement_flash_start Gabai
end_if

if not I_SettlementOwner Karmana = pontus
settlement_flash_start Karmana
end_if

if not I_SettlementOwner Pura = pontus
settlement_flash_start Pura
end_if

if not I_SettlementOwner Patala = pontus
settlement_flash_start Patala
end_if

end_if
;----------------------------------------
end_if

if I_CompareCounter show_victory_conditions = 2

settlement_flash_stop Arbela

settlement_flash_stop Phraaspa

settlement_flash_stop Bononia

settlement_flash_stop Kabalaka

settlement_flash_stop Thermon

settlement_flash_stop Arpi

settlement_flash_stop Burdigala

settlement_flash_stop Babylon

settlement_flash_stop Alexandropolis

settlement_flash_stop Alexandreia_Ariana

settlement_flash_stop Darioritum

settlement_flash_stop Gergovia

settlement_flash_stop Edessa

settlement_flash_stop Asaak

settlement_flash_stop Pallantia

settlement_flash_stop Athenai

settlement_flash_stop Augila_settlement

settlement_flash_stop Seleukeia

settlement_flash_stop Baktra

settlement_flash_stop Bocchoris

settlement_flash_stop Gawjam_Bastarnoz

settlement_flash_stop Mastia

settlement_flash_stop Avaricum

settlement_flash_stop Bratosporios

settlement_flash_stop Nikaia

settlement_flash_stop Pantikapaion

settlement_flash_stop Rhegion

settlement_flash_stop Caern_Brigantae

settlement_flash_stop Gelonus

settlement_flash_stop Adrumeto

settlement_flash_stop Attuaca

settlement_flash_stop Capua

settlement_flash_stop Vellika

settlement_flash_stop Baikor

settlement_flash_stop Camulosadae

settlement_flash_stop Numantia

settlement_flash_stop Charax

settlement_flash_stop Byzantion

settlement_flash_stop Ptolemais_Theron

settlement_flash_stop Ratae

settlement_flash_stop Ictis

settlement_flash_stop Lucarottea

settlement_flash_stop Emain_Macha

settlement_flash_stop Atiqa

settlement_flash_stop Ynys_Mon

settlement_flash_stop Gava_Alanna

settlement_flash_stop Gava_Aursa

settlement_flash_stop Nisa

settlement_flash_stop Gava_Haomavarga

settlement_flash_stop Gava_Mazsakata

settlement_flash_stop Gava_Roxsalanna

settlement_flash_stop Uspe

settlement_flash_stop Gava_Thissakata

settlement_flash_stop Gava_Yazyga

settlement_flash_stop Gava_Yugra

settlement_flash_stop Dalminion

settlement_flash_stop Serdike

settlement_flash_stop Alexandreia_Eschate

settlement_flash_stop Alexandreia

settlement_flash_stop Axum

settlement_flash_stop Prophthasia

settlement_flash_stop Arse

settlement_flash_stop Kotais

settlement_flash_stop Lilibeo

settlement_flash_stop Susa

settlement_flash_stop Apollonia

settlement_flash_stop Ivernis

settlement_flash_stop Ak_Ink

settlement_flash_stop Arretium

settlement_flash_stop Chalkis

settlement_flash_stop Gabai

settlement_flash_stop Tuat

settlement_flash_stop Tyde

settlement_flash_stop Ankyra

settlement_flash_stop Taksashila

settlement_flash_stop Pura

settlement_flash_stop Gerrha

settlement_flash_stop Buridava

settlement_flash_stop Sarmiszegethusa

settlement_flash_stop Massalia

settlement_flash_stop Gawjam_Habukoz

settlement_flash_stop Sabata

settlement_flash_stop Arctaunon

settlement_flash_stop Armavir

settlement_flash_stop Aventicos

settlement_flash_stop Memphis

settlement_flash_stop Gawjam_Heruskoz

settlement_flash_stop Zadrakata

settlement_flash_stop Epidamnos

settlement_flash_stop Mediolanum

settlement_flash_stop Hierosolyma

settlement_flash_stop Taras

settlement_flash_stop Chach

settlement_flash_stop Mazaka

settlement_flash_stop Amaseia

settlement_flash_stop Halikarnassos

settlement_flash_stop Karmana

settlement_flash_stop Mtskheta

settlement_flash_stop Apameia

settlement_flash_stop Khiva

settlement_flash_stop Tarsos

settlement_flash_stop Gawjam_Kimbroz

settlement_flash_stop Alalia

settlement_flash_stop Kydonia

settlement_flash_stop Meroe

settlement_flash_stop Salamis

settlement_flash_stop Kyrene

settlement_flash_stop Emporion

settlement_flash_stop Sparte

settlement_flash_stop Gawjam_Gotanoz

settlement_flash_stop Rome

settlement_flash_stop Lemonum

settlement_flash_stop Mytilene

settlement_flash_stop Ammonion

settlement_flash_stop Segesta

settlement_flash_stop Viennos

settlement_flash_stop Carrodunum

settlement_flash_stop Oxtraca

settlement_flash_stop Sardis

settlement_flash_stop Tanais

settlement_flash_stop Carna

settlement_flash_stop Pella

settlement_flash_stop Homna

settlement_flash_stop Antiocheia_Margiane

settlement_flash_stop Paraitonion

settlement_flash_stop Ippone

settlement_flash_stop Sala

settlement_flash_stop Siga

settlement_flash_stop Lixus

settlement_flash_stop Ekbatana

settlement_flash_stop Kallatis

settlement_flash_stop Bibracte

settlement_flash_stop Cenabum

settlement_flash_stop Eburonum

settlement_flash_stop Pergamon

settlement_flash_stop Bostra

settlement_flash_stop Bagacos

settlement_flash_stop Gordu_Neuriji

settlement_flash_stop Iuvavoaeta

settlement_flash_stop Kirtan

settlement_flash_stop Hibis

settlement_flash_stop Tylis

settlement_flash_stop Side

settlement_flash_stop Vindobona

settlement_flash_stop Segestica

settlement_flash_stop Sinope

settlement_flash_stop Kophen

settlement_flash_stop Hekatompylos

settlement_flash_stop Korinthos

settlement_flash_stop Persepolis

settlement_flash_stop Garama

settlement_flash_stop Sidon

settlement_flash_stop Ipsos

settlement_flash_stop Ani-Kamah

settlement_flash_stop Trapezous

settlement_flash_stop Tamane

settlement_flash_stop Veldideno

settlement_flash_stop Rhodos

settlement_flash_stop Gawjam_Rugoz

settlement_flash_stop Maryab

settlement_flash_stop Terhazza

settlement_flash_stop Gava_Saka

settlement_flash_stop Asodat

settlement_flash_stop Karali

settlement_flash_stop Opiana

settlement_flash_stop Singidunum

settlement_flash_stop Seliun_Pilis

settlement_flash_stop Gintaras_Ostan

settlement_flash_stop Vesontio

settlement_flash_stop Messana

settlement_flash_stop Gawjam_Silengoz

settlement_flash_stop Petra

settlement_flash_stop Patala

settlement_flash_stop Gawjam_Skandzawarjoz

settlement_flash_stop Olbia

settlement_flash_stop Marakanda

settlement_flash_stop Karkathiokerta

settlement_flash_stop Swebotraustastamnoz

settlement_flash_stop Antiocheia

settlement_flash_stop Damaskos

settlement_flash_stop Palmyra

settlement_flash_stop Chersonesos

settlement_flash_stop Diospolis_Megale

settlement_flash_stop Demetrias

settlement_flash_stop Naissos

settlement_flash_stop Ascaucalis

settlement_flash_stop Pselkis

settlement_flash_stop Syracuse

settlement_flash_stop Lepki

settlement_flash_stop Gader

settlement_flash_stop Sucum-Murgi

settlement_flash_stop Ariminum

settlement_flash_stop Patavium

settlement_flash_stop Vindelicoppidos

settlement_flash_stop Tolosa

settlement_flash_stop Chighu

settlement_flash_stop Sulek

settlement_flash_stop Kart_Hadast

settlement_flash_stop Ubar


select_ui_element advisor_portrait_button
simulate_mouse_click lclick down
simulate_mouse_click lclick up


if I_LocalFaction gauls
advance_advice_thread Aedui_raid_Thread
if I_CompareCounter gaulsConqueredRome = 0
settlement_flash_start Rome
end_if

end_if
if I_LocalFaction scythia
advance_advice_thread Arverni_raid_Thread
if I_CompareCounter scythiaConqueredRome = 0
settlement_flash_start Rome
end_if

end_if
if I_LocalFaction dacia
advance_advice_thread Getai_raid_Thread
if I_CompareCounter daciaConqueredAthenai = 0
settlement_flash_start Athenai
end_if

if I_CompareCounter daciaConqueredKorinthos = 0
settlement_flash_start Korinthos
end_if

if I_CompareCounter daciaConqueredThermon = 0
settlement_flash_start Thermon
end_if

if I_CompareCounter daciaConqueredSinope = 0
settlement_flash_start Sinope
end_if

if I_CompareCounter daciaConqueredPergamon = 0
settlement_flash_start Pergamon
end_if

if I_CompareCounter daciaConqueredDalminion = 0
settlement_flash_start Dalminion
end_if

if I_CompareCounter daciaConqueredSparte = 0
settlement_flash_start Sparte
end_if

if I_CompareCounter daciaConqueredChalkis = 0
settlement_flash_start Chalkis
end_if

if I_CompareCounter daciaConqueredPatavium = 0
settlement_flash_start Patavium
end_if

if I_CompareCounter daciaConqueredGorduNeuriji = 0
settlement_flash_start Gordu_Neuriji
end_if

if I_CompareCounter daciaConqueredMediolanum = 0
settlement_flash_start Mediolanum
end_if

if I_CompareCounter daciaConqueredRome = 0
settlement_flash_start Rome
end_if

end_if

if I_LocalFaction romans_scipii
advance_advice_thread Hayasdan_raid_Thread

if I_CompareCounter hayasdanConqueredNisa = 0
settlement_flash_start Nisa
end_if

if I_CompareCounter hayasdanConqueredByzantion = 0
settlement_flash_start Byzantion
end_if

if I_CompareCounter hayasdanConqueredChersonesos = 0
settlement_flash_start Chersonesos
end_if

if I_CompareCounter hayasdanConqueredPantikapaion = 0
settlement_flash_start Pantikapaion
end_if

if I_CompareCounter hayasdanConqueredAlexandreia = 0
settlement_flash_start Alexandreia
end_if

if I_CompareCounter hayasdanConqueredSalamis = 0
settlement_flash_start Salamis
end_if

if I_CompareCounter hayasdanConqueredPella = 0
settlement_flash_start Pella
end_if

if I_CompareCounter hayasdanConqueredAthenai = 0
settlement_flash_start Athenai
end_if

if I_CompareCounter hayasdanConqueredSparte = 0
settlement_flash_start Sparte
end_if

if I_CompareCounter hayasdanConqueredSidon = 0
settlement_flash_start Sidon
end_if

end_if

if I_LocalFaction armenia
advance_advice_thread Sauromatae_raid_Thread
if I_CompareCounter armeniaConqueredSusa = 0
settlement_flash_start Susa
end_if

if I_CompareCounter armeniaConqueredPersepolis = 0
settlement_flash_start Persepolis
end_if

if I_CompareCounter armeniaConqueredSeleukeia = 0
settlement_flash_start Seleukeia
end_if

if I_CompareCounter armeniaConqueredBabylon = 0
settlement_flash_start Babylon
end_if

if I_CompareCounter armeniaConqueredAntiocheia = 0
settlement_flash_start Antiocheia
end_if

if I_CompareCounter armeniaConqueredPella = 0
settlement_flash_start Pella
end_if

if I_CompareCounter armeniaConqueredDemetrias = 0
settlement_flash_start Demetrias
end_if

if I_CompareCounter armeniaConqueredSegestica = 0
settlement_flash_start Segestica
end_if

if I_CompareCounter armeniaConqueredPatavium = 0
settlement_flash_start Patavium
end_if

if I_CompareCounter armeniaConqueredBononia = 0
settlement_flash_start Bononia
end_if

if I_CompareCounter armeniaConqueredArctaunon = 0
settlement_flash_start Arctaunon
end_if

if I_CompareCounter armeniaConqueredVesontio = 0
settlement_flash_start Vesontio
end_if

if I_CompareCounter armeniaConqueredSwebotraustastamnoz = 0
settlement_flash_start Swebotraustastamnoz
end_if

end_if
if I_LocalFaction germans
advance_advice_thread Sweboz_raid_Thread
if I_CompareCounter germansConqueredAventicos = 0
settlement_flash_start Aventicos
end_if

if I_CompareCounter germansConqueredVeldideno = 0
settlement_flash_start Veldideno
end_if

if I_CompareCounter germansConqueredIuvavoaeta = 0
settlement_flash_start Iuvavoaeta
end_if

if I_CompareCounter germansConqueredCarrodunum = 0
settlement_flash_start Carrodunum
end_if

if I_CompareCounter germansConqueredViennos = 0
settlement_flash_start Viennos
end_if

if I_CompareCounter germansConqueredPatavium = 0
settlement_flash_start Patavium
end_if

if I_CompareCounter germansConqueredAscaucalis = 0
settlement_flash_start Ascaucalis
end_if

end_if

if I_LocalFaction egypt
advance_advice_thread Tsorim_raid_Thread
if I_CompareCounter carthageConqueredKirtan = 0
settlement_flash_start Kirtan
end_if

if I_CompareCounter carthageConqueredSiga = 0
settlement_flash_start Siga
end_if

if I_CompareCounter carthageConqueredLixus = 0
settlement_flash_start Lixus
end_if

end_if

if I_LocalFaction seleucid
advance_advice_thread Romani_raid_Thread
if I_CompareCounter seleucidConqueredGarama = 0
settlement_flash_start Garama
end_if

if I_CompareCounter seleucidConqueredMaryab = 0
settlement_flash_start Maryab
end_if

if I_CompareCounter seleucidConqueredEburonum = 0
settlement_flash_start Eburonum
end_if

if I_CompareCounter seleucidConqueredSeleukeia = 0
settlement_flash_start Seleukeia
end_if

if I_CompareCounter seleucidConqueredBabylon = 0
settlement_flash_start Babylon
end_if

if I_CompareCounter seleucidConqueredCamulosadae = 0
settlement_flash_start Camulosadae
end_if

if I_CompareCounter seleucidConqueredPhraaspa = 0
settlement_flash_start Phraaspa
end_if

if I_CompareCounter seleucidConqueredArmavir = 0
settlement_flash_start Armavir
end_if

if I_CompareCounter seleucidConqueredMeroe = 0
settlement_flash_start Meroe
end_if

if I_CompareCounter seleucidConqueredSwebotraustastamnoz = 0
settlement_flash_start Swebotraustastamnoz
end_if

if I_CompareCounter seleucidConqueredSarmiszegethusa = 0
settlement_flash_start Sarmiszegethusa
end_if

end_if

if I_LocalFaction spain
advance_advice_thread Iberia_raid_Thread

if I_CompareCounter spainConqueredLemonum = 0
settlement_flash_start Lemonum
end_if

if I_CompareCounter spainConqueredAvaricum = 0
settlement_flash_start Avaricum
end_if

if I_CompareCounter spainConqueredGergovia = 0
settlement_flash_start Gergovia
end_if

if I_CompareCounter spainConqueredMassalia = 0
settlement_flash_start Massalia
end_if

if I_CompareCounter spainConqueredSegesta = 0
settlement_flash_start Segesta
end_if

if I_CompareCounter spainConqueredArretium = 0
settlement_flash_start Arretium
end_if

if I_CompareCounter spainConqueredRome = 0
settlement_flash_start Rome
end_if

if I_CompareCounter spainConqueredLixus = 0
settlement_flash_start Lixus
end_if

if I_CompareCounter spainConqueredSiga = 0
settlement_flash_start Siga
end_if

if I_CompareCounter spainConqueredIppone = 0
settlement_flash_start Ippone
end_if

if I_CompareCounter spainConqueredAtiqa = 0
settlement_flash_start Atiqa
end_if

if I_CompareCounter spainConqueredKart_Hadast = 0
settlement_flash_start Kart_Hadast
end_if

end_if

set_counter show_victory_conditions 0
end_if

wait 0.2
end_monitor

monitor_event ButtonPressed ButtonPressed advisor_dismiss_button


settlement_flash_stop Arbela

settlement_flash_stop Phraaspa

settlement_flash_stop Bononia

settlement_flash_stop Kabalaka

settlement_flash_stop Thermon

settlement_flash_stop Arpi

settlement_flash_stop Burdigala

settlement_flash_stop Babylon

settlement_flash_stop Alexandropolis

settlement_flash_stop Alexandreia_Ariana

settlement_flash_stop Darioritum

settlement_flash_stop Gergovia

settlement_flash_stop Edessa

settlement_flash_stop Asaak

settlement_flash_stop Pallantia

settlement_flash_stop Athenai

settlement_flash_stop Augila_settlement

settlement_flash_stop Seleukeia

settlement_flash_stop Baktra

settlement_flash_stop Bocchoris

settlement_flash_stop Gawjam_Bastarnoz

settlement_flash_stop Mastia

settlement_flash_stop Avaricum

settlement_flash_stop Bratosporios

settlement_flash_stop Nikaia

settlement_flash_stop Pantikapaion

settlement_flash_stop Rhegion

settlement_flash_stop Caern_Brigantae

settlement_flash_stop Gelonus

settlement_flash_stop Adrumeto

settlement_flash_stop Attuaca

settlement_flash_stop Capua

settlement_flash_stop Vellika

settlement_flash_stop Baikor

settlement_flash_stop Camulosadae

settlement_flash_stop Numantia

settlement_flash_stop Charax

settlement_flash_stop Byzantion

settlement_flash_stop Ptolemais_Theron

settlement_flash_stop Ratae

settlement_flash_stop Ictis

settlement_flash_stop Lucarottea

settlement_flash_stop Emain_Macha

settlement_flash_stop Atiqa

settlement_flash_stop Ynys_Mon

settlement_flash_stop Gava_Alanna

settlement_flash_stop Gava_Aursa

settlement_flash_stop Nisa

settlement_flash_stop Gava_Haomavarga

settlement_flash_stop Gava_Mazsakata

settlement_flash_stop Gava_Roxsalanna

settlement_flash_stop Uspe

settlement_flash_stop Gava_Thissakata

settlement_flash_stop Gava_Yazyga

settlement_flash_stop Gava_Yugra

settlement_flash_stop Dalminion

settlement_flash_stop Serdike

settlement_flash_stop Alexandreia_Eschate

settlement_flash_stop Alexandreia

settlement_flash_stop Axum

settlement_flash_stop Prophthasia

settlement_flash_stop Arse

settlement_flash_stop Kotais

settlement_flash_stop Lilibeo

settlement_flash_stop Susa

settlement_flash_stop Apollonia

settlement_flash_stop Ivernis

settlement_flash_stop Ak_Ink

settlement_flash_stop Arretium

settlement_flash_stop Chalkis

settlement_flash_stop Gabai

settlement_flash_stop Tuat

settlement_flash_stop Tyde

settlement_flash_stop Ankyra

settlement_flash_stop Taksashila

settlement_flash_stop Pura

settlement_flash_stop Gerrha

settlement_flash_stop Buridava

settlement_flash_stop Sarmiszegethusa

settlement_flash_stop Massalia

settlement_flash_stop Gawjam_Habukoz

settlement_flash_stop Sabata

settlement_flash_stop Arctaunon

settlement_flash_stop Armavir

settlement_flash_stop Aventicos

settlement_flash_stop Memphis

settlement_flash_stop Gawjam_Heruskoz

settlement_flash_stop Zadrakata

settlement_flash_stop Epidamnos

settlement_flash_stop Mediolanum

settlement_flash_stop Hierosolyma

settlement_flash_stop Taras

settlement_flash_stop Chach

settlement_flash_stop Mazaka

settlement_flash_stop Amaseia

settlement_flash_stop Halikarnassos

settlement_flash_stop Karmana

settlement_flash_stop Mtskheta

settlement_flash_stop Apameia

settlement_flash_stop Khiva

settlement_flash_stop Tarsos

settlement_flash_stop Gawjam_Kimbroz

settlement_flash_stop Alalia

settlement_flash_stop Kydonia

settlement_flash_stop Meroe

settlement_flash_stop Salamis

settlement_flash_stop Kyrene

settlement_flash_stop Emporion

settlement_flash_stop Sparte

settlement_flash_stop Gawjam_Gotanoz

settlement_flash_stop Rome

settlement_flash_stop Lemonum

settlement_flash_stop Mytilene

settlement_flash_stop Ammonion

settlement_flash_stop Segesta

settlement_flash_stop Viennos

settlement_flash_stop Carrodunum

settlement_flash_stop Oxtraca

settlement_flash_stop Sardis

settlement_flash_stop Tanais

settlement_flash_stop Carna

settlement_flash_stop Pella

settlement_flash_stop Homna

settlement_flash_stop Antiocheia_Margiane

settlement_flash_stop Paraitonion

settlement_flash_stop Ippone

settlement_flash_stop Sala

settlement_flash_stop Siga

settlement_flash_stop Lixus

settlement_flash_stop Ekbatana

settlement_flash_stop Kallatis

settlement_flash_stop Bibracte

settlement_flash_stop Cenabum

settlement_flash_stop Eburonum

settlement_flash_stop Pergamon

settlement_flash_stop Bostra

settlement_flash_stop Bagacos

settlement_flash_stop Gordu_Neuriji

settlement_flash_stop Iuvavoaeta

settlement_flash_stop Kirtan

settlement_flash_stop Hibis

settlement_flash_stop Tylis

settlement_flash_stop Side

settlement_flash_stop Vindobona

settlement_flash_stop Segestica

settlement_flash_stop Sinope

settlement_flash_stop Kophen

settlement_flash_stop Hekatompylos

settlement_flash_stop Korinthos

settlement_flash_stop Persepolis

settlement_flash_stop Garama

settlement_flash_stop Sidon

settlement_flash_stop Ipsos

settlement_flash_stop Ani-Kamah

settlement_flash_stop Trapezous

settlement_flash_stop Tamane

settlement_flash_stop Veldideno

settlement_flash_stop Rhodos

settlement_flash_stop Gawjam_Rugoz

settlement_flash_stop Maryab

settlement_flash_stop Terhazza

settlement_flash_stop Gava_Saka

settlement_flash_stop Asodat

settlement_flash_stop Karali

settlement_flash_stop Opiana

settlement_flash_stop Singidunum

settlement_flash_stop Seliun_Pilis

settlement_flash_stop Gintaras_Ostan

settlement_flash_stop Vesontio

settlement_flash_stop Messana

settlement_flash_stop Gawjam_Silengoz

settlement_flash_stop Petra

settlement_flash_stop Patala

settlement_flash_stop Gawjam_Skandzawarjoz

settlement_flash_stop Olbia

settlement_flash_stop Marakanda

settlement_flash_stop Karkathiokerta

settlement_flash_stop Swebotraustastamnoz

settlement_flash_stop Antiocheia

settlement_flash_stop Damaskos

settlement_flash_stop Palmyra

settlement_flash_stop Chersonesos

settlement_flash_stop Diospolis_Megale

settlement_flash_stop Demetrias

settlement_flash_stop Naissos

settlement_flash_stop Ascaucalis

settlement_flash_stop Pselkis

settlement_flash_stop Syracuse

settlement_flash_stop Lepki

settlement_flash_stop Gader

settlement_flash_stop Sucum-Murgi

settlement_flash_stop Ariminum

settlement_flash_stop Patavium

settlement_flash_stop Vindelicoppidos

settlement_flash_stop Tolosa

settlement_flash_stop Chighu

settlement_flash_stop Sulek

settlement_flash_stop Kart_Hadast

settlement_flash_stop Ubar

set_counter show_victory_conditions 0

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 6b: Victory Conditions Triggers - Including: Iberia, Aedui, Arverni, Casse, Getai, Hayasdan, Pahlava, Pontos, Sauromatae,
;Sweboz, Qarthadastim, Baktria, Ptolemaioi, Arche Seleukideia, Makedonia, Koinon Hellenon,
;Saka, Epeiros, Rome, Saba
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;--------------------------
; LUSOTANNAN victory conditions
;--------------------------

monitor_event CharacterTurnStart FactionType spain
and CharacterIsLocal
and I_NumberOfSettlements seleucid = 0
and I_NumberOfSettlements egypt = 0
and I_SettlementOwner Emain_Macha = spain
and I_SettlementOwner Ivernis = spain
and I_SettlementOwner Burdigala = spain
and I_SettlementOwner Tolosa = spain
and I_SettlementOwner Tyde = spain
and I_SettlementOwner Pallantia = spain
and I_SettlementOwner Vellika = spain
and I_SettlementOwner Emporion = spain
and I_SettlementOwner Numantia = spain
and I_SettlementOwner Oxtraca = spain
and I_SettlementOwner Arse = spain
and I_SettlementOwner Baikor = spain
and I_SettlementOwner Mastia = spain
and I_SettlementOwner Bocchoris = spain
and I_SettlementOwner Gader = spain
and I_SettlementOwner Sucum-Murgi = spain
and Trait ConqueredLemonum > 0
and Trait ConqueredAvaricum > 0
and Trait ConqueredGergovia > 0
and Trait ConqueredMassalia > 0
and Trait ConqueredSegesta > 0
and Trait ConqueredArretium > 0
and Trait ConqueredRome > 0
and Trait ConqueredLixus > 0
and Trait ConqueredSiga > 0
and Trait ConqueredIppone > 0
and Trait ConqueredAtiqa > 0
and Trait ConqueredKart_Hadast > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory spain

terminate_monitor
end_monitor
;--------------------------
; AEDUI Victory conditions
;--------------------------
monitor_event CharacterTurnStart FactionType gauls
and CharacterIsLocal
and I_NumberOfSettlements scythia = 0
and I_SettlementOwner Tyde = gauls
and I_SettlementOwner Pallantia = gauls
and I_SettlementOwner Numantia = gauls
and I_SettlementOwner Emporion = gauls
and I_SettlementOwner Tolosa = gauls
and I_SettlementOwner Burdigala = gauls
and I_SettlementOwner Gergovia = gauls
and I_SettlementOwner Lemonum = gauls
and I_SettlementOwner Darioritum = gauls
and I_SettlementOwner Cenabum = gauls
and I_SettlementOwner Avaricum = gauls
and I_SettlementOwner Bibracte = gauls
and I_SettlementOwner Bratosporios = gauls
and I_SettlementOwner Vesontio = gauls
and I_SettlementOwner Vindelicoppidos = gauls
and I_SettlementOwner Aventicos = gauls
and I_SettlementOwner Viennos = gauls
and I_SettlementOwner Massalia = gauls
and I_SettlementOwner Mediolanum = gauls
and I_SettlementOwner Patavium = gauls
and I_SettlementOwner Veldideno = gauls
and I_SettlementOwner Bagacos = gauls
and I_SettlementOwner Camulosadae = gauls
and I_SettlementOwner Ictis = gauls
and I_SettlementOwner Iuvavoaeta = gauls
and I_SettlementOwner Eburonum = gauls
and I_SettlementOwner Vindobona = gauls
and I_SettlementOwner Bononia = gauls
and Trait ConqueredRome > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory gauls

terminate_monitor
end_monitor

;--------------------------
; ARVERNI Victory conditions
;--------------------------

monitor_event CharacterTurnStart FactionType scythia
and CharacterIsLocal
and I_NumberOfSettlements gauls = 0
and I_SettlementOwner Emporion = scythia
and I_SettlementOwner Tolosa = scythia
and I_SettlementOwner Burdigala = scythia
and I_SettlementOwner Gergovia = scythia
and I_SettlementOwner Lemonum = scythia
and I_SettlementOwner Darioritum = scythia
and I_SettlementOwner Cenabum = scythia
and I_SettlementOwner Avaricum = scythia
and I_SettlementOwner Bibracte = scythia
and I_SettlementOwner Bratosporios = scythia
and I_SettlementOwner Vesontio = scythia
and I_SettlementOwner Vindelicoppidos = scythia
and I_SettlementOwner Aventicos = scythia
and I_SettlementOwner Viennos = scythia
and I_SettlementOwner Massalia = scythia
and I_SettlementOwner Mediolanum = scythia
and I_SettlementOwner Patavium = scythia
and I_SettlementOwner Veldideno = scythia
and I_SettlementOwner Bagacos = scythia
and I_SettlementOwner Iuvavoaeta = scythia
and I_SettlementOwner Vindobona = scythia
and I_SettlementOwner Lucarottea = scythia
and I_SettlementOwner Ak_Ink = scythia
and I_SettlementOwner Singidunum = scythia
and I_SettlementOwner Naissos = scythia
and I_SettlementOwner Segesta = scythia
and Trait ConqueredRome > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory scythia

terminate_monitor
end_monitor

;--------------------------
; CASSE Victory Conditions
;--------------------------
monitor_event CharacterTurnStart FactionType britons
and CharacterIsLocal
and I_SettlementOwner Attuaca = britons
and I_SettlementOwner Emain_Macha = britons
and I_SettlementOwner Ivernis = britons
and I_SettlementOwner Caern_Brigantae = britons
and I_SettlementOwner Ynys_Mon = britons
and I_SettlementOwner Ratae = britons
and I_SettlementOwner Ictis = britons
and I_SettlementOwner Camulosadae = britons
and I_SettlementOwner Bratosporios = britons
and I_SettlementOwner Bagacos = britons
and I_SettlementOwner Darioritum = britons
and I_SettlementOwner Cenabum = britons
and I_SettlementOwner Lemonum = britons
and I_SettlementOwner Avaricum = britons
and I_SettlementOwner Bibracte = britons
and I_SettlementOwner Vesontio = britons
and I_SettlementOwner Burdigala = britons
and I_SettlementOwner Gergovia = britons
and I_SettlementOwner Viennos = britons
and I_SettlementOwner Tolosa = britons
and I_SettlementOwner Tyde = britons
and I_SettlementOwner Pallantia = britons
and I_SettlementOwner Vellika = britons
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory britons

terminate_monitor
end_monitor


;--------------------------
; GETAI Victory conditions
;--------------------------
monitor_event CharacterTurnStart FactionType dacia
and CharacterIsLocal
and I_SettlementOwner Buridava = dacia
and I_SettlementOwner Kallatis = dacia
and I_SettlementOwner Naissos = dacia
and I_SettlementOwner Singidunum = dacia
and I_SettlementOwner Sarmiszegethusa = dacia
and I_SettlementOwner Olbia = dacia
and I_SettlementOwner Gawjam_Bastarnoz = dacia
and I_SettlementOwner Carrodunum = dacia
and I_SettlementOwner Lucarottea = dacia
and I_SettlementOwner Vindobona = dacia
and I_SettlementOwner Serdike = dacia
and I_SettlementOwner Tylis = dacia
and I_SettlementOwner Byzantion = dacia
and I_SettlementOwner Segestica = dacia
and I_SettlementOwner Pella = dacia
and I_SettlementOwner Nikaia = dacia
and I_SettlementOwner Eburonum = dacia
and I_SettlementOwner Demetrias = dacia
and I_SettlementOwner Epidamnos = dacia
and I_SettlementOwner Apollonia = dacia
and I_SettlementOwner Ak_Ink = dacia
and I_SettlementOwner Iuvavoaeta = dacia
and I_SettlementOwner Chersonesos = dacia
and I_SettlementOwner Pantikapaion = dacia
and Trait ConqueredAthenai > 0
and Trait ConqueredKorinthos > 0
and Trait ConqueredThermon > 0
and Trait ConqueredSinope > 0
and Trait ConqueredPergamon > 0
and Trait ConqueredDalminion > 0
and Trait ConqueredSparte > 0
and Trait ConqueredChalkis > 0
and Trait ConqueredPatavium > 0
and Trait ConqueredGorduNeuriji > 0
and Trait ConqueredMediolanum > 0
and Trait ConqueredRome > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory dacia

terminate_monitor
end_monitor

;--------------------------
; HAYASDAN Victory conditions
;--------------------------
monitor_event CharacterTurnStart FactionType romans_scipii
and CharacterIsLocal
and I_NumberOfSettlements romans_julii = 0
and I_SettlementOwner Arbela = romans_scipii
and I_SettlementOwner Kabalaka = romans_scipii
and I_SettlementOwner Armavir = romans_scipii
and I_SettlementOwner Ani-Kamah = romans_scipii
and I_SettlementOwner Edessa = romans_scipii
and I_SettlementOwner Phraaspa = romans_scipii
and I_SettlementOwner Seleukeia = romans_scipii
and I_SettlementOwner Babylon = romans_scipii
and I_SettlementOwner Charax = romans_scipii
and I_SettlementOwner Susa = romans_scipii
and I_SettlementOwner Ankyra = romans_scipii
and I_SettlementOwner Mtskheta = romans_scipii
and I_SettlementOwner Mazaka = romans_scipii
and I_SettlementOwner Halikarnassos = romans_scipii
and I_SettlementOwner Tarsos = romans_scipii
and I_SettlementOwner Kotais = romans_scipii
and I_SettlementOwner Sardis = romans_scipii
and I_SettlementOwner Ekbatana = romans_scipii
and I_SettlementOwner Pergamon = romans_scipii
and I_SettlementOwner Side = romans_scipii
and I_SettlementOwner Sinope = romans_scipii
and I_SettlementOwner Persepolis = romans_scipii
and I_SettlementOwner Ipsos = romans_scipii
and I_SettlementOwner Trapezous = romans_scipii
and I_SettlementOwner Palmyra = romans_scipii
and I_SettlementOwner Karkathiokerta = romans_scipii
and I_SettlementOwner Antiocheia = romans_scipii
and I_SettlementOwner Damaskos = romans_scipii
and I_SettlementOwner Nikaia = romans_scipii
and I_SettlementOwner Apameia = romans_scipii
and I_SettlementOwner Zadrakata = romans_scipii
and I_SettlementOwner Asaak = romans_scipii
and I_SettlementOwner Hekatompylos = romans_scipii
and I_SettlementOwner Gabai = romans_scipii
and Trait ConqueredNisa > 0
and Trait ConqueredByzantion > 0
and Trait ConqueredChersonesos > 0
and Trait ConqueredPantikapaion > 0
and Trait ConqueredAlexandreia > 0
and Trait ConqueredSalamis > 0
and Trait ConqueredPella > 0
and Trait ConqueredAthenai > 0
and Trait ConqueredSparte > 0
and Trait ConqueredSidon > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory romans_scipii

terminate_monitor
end_monitor


;--------------------------
; PAHLAVA Victory Conditions
;--------------------------
monitor_event CharacterTurnStart FactionType parthia
and CharacterIsLocal
and I_NumberOfSettlements romans_julii = 0
and I_NumberOfSettlements romans_brutii = 0
and I_NumberOfSettlements romans_scipii = 0
and I_SettlementOwner Arbela = parthia
and I_SettlementOwner Kabalaka = parthia
and I_SettlementOwner Alexandropolis = parthia
and I_SettlementOwner Alexandreia_Ariana = parthia
and I_SettlementOwner Armavir = parthia
and I_SettlementOwner Ani-Kamah = parthia
and I_SettlementOwner Edessa = parthia
and I_SettlementOwner Asaak = parthia
and I_SettlementOwner Phraaspa = parthia
and I_SettlementOwner Seleukeia = parthia
and I_SettlementOwner Babylon = parthia
and I_SettlementOwner Baktra = parthia
and I_SettlementOwner Chach = parthia
and I_SettlementOwner Charax = parthia
and I_SettlementOwner Apameia = parthia
and I_SettlementOwner Khiva = parthia
and I_SettlementOwner Mazaka = parthia
and I_SettlementOwner Karmana = parthia
and I_SettlementOwner Prophthasia = parthia
and I_SettlementOwner Susa = parthia
and I_SettlementOwner Alexandreia_Eschate = parthia
and I_SettlementOwner Gabai = parthia
and I_SettlementOwner Ankyra = parthia
and I_SettlementOwner Pura = parthia
and I_SettlementOwner Zadrakata = parthia
and I_SettlementOwner Hierosolyma = parthia
and I_SettlementOwner Mytilene = parthia
and I_SettlementOwner Tarsos = parthia
and I_SettlementOwner Antiocheia_Margiane = parthia
and I_SettlementOwner Ekbatana = parthia
and I_SettlementOwner Gava_Haomavarga = parthia
and I_SettlementOwner Side = parthia
and I_SettlementOwner Kophen = parthia
and I_SettlementOwner Hekatompylos = parthia
and I_SettlementOwner Persepolis = parthia
and I_SettlementOwner Sidon = parthia
and I_SettlementOwner Ipsos = parthia
and I_SettlementOwner Palmyra = parthia
and I_SettlementOwner Marakanda = parthia
and I_SettlementOwner Karkathiokerta = parthia
and I_SettlementOwner Antiocheia = parthia
and I_SettlementOwner Damaskos = parthia
and I_SettlementOwner Nisa = parthia
and I_SettlementOwner Gava_Mazsakata = parthia
and I_SettlementOwner Gerrha = parthia
and I_SettlementOwner Mtskheta = parthia
and I_SettlementOwner Taksashila = parthia
and I_SettlementOwner Opiana = parthia
and I_SettlementOwner Patala = parthia
and I_SettlementOwner Homna = parthia
and I_SettlementOwner Ubar = parthia
and I_SettlementOwner Petra = parthia
and I_SettlementOwner Bostra = parthia
and I_SettlementOwner Trapezous = parthia
and I_SettlementOwner Kotais = parthia
and I_SettlementOwner Sinope = parthia
and I_SettlementOwner Amaseia = parthia
and I_SettlementOwner Halikarnassos = parthia
and I_SettlementOwner Sardis = parthia
and I_SettlementOwner Pergamon = parthia
and I_SettlementOwner Nikaia = parthia
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory parthia

terminate_monitor
end_monitor

;--------------------------
; PONTOS Victory conditions
;--------------------------
monitor_event CharacterTurnStart FactionType carthage
and CharacterIsLocal
and I_SettlementOwner Korinthos = carthage
and I_SettlementOwner Arbela = carthage
and I_SettlementOwner Thermon = carthage
and I_SettlementOwner Kabalaka = carthage
and I_SettlementOwner Armavir = carthage
and I_SettlementOwner Ani-Kamah = carthage
and I_SettlementOwner Edessa = carthage
and I_SettlementOwner Phraaspa = carthage
and I_SettlementOwner Athenai = carthage
and I_SettlementOwner Nikaia = carthage
and I_SettlementOwner Pantikapaion = carthage
and I_SettlementOwner Byzantion = carthage
and I_SettlementOwner Sarmiszegethusa = carthage
and I_SettlementOwner Epidamnos = carthage
and I_SettlementOwner Serdike = carthage
and I_SettlementOwner Apollonia = carthage
and I_SettlementOwner Ankyra = carthage
and I_SettlementOwner Buridava = carthage
and I_SettlementOwner Mtskheta = carthage
and I_SettlementOwner Segestica = carthage
and I_SettlementOwner Hierosolyma = carthage
and I_SettlementOwner Mazaka = carthage
and I_SettlementOwner Amaseia = carthage
and I_SettlementOwner Halikarnassos = carthage
and I_SettlementOwner Tarsos = carthage
and I_SettlementOwner Kotais = carthage
and I_SettlementOwner Sparte = carthage
and I_SettlementOwner Sardis = carthage
and I_SettlementOwner Tanais = carthage
and I_SettlementOwner Pella = carthage
and I_SettlementOwner Kallatis = carthage
and I_SettlementOwner Pergamon = carthage
and I_SettlementOwner Tylis = carthage
and I_SettlementOwner Side = carthage
and I_SettlementOwner Vindobona = carthage
and I_SettlementOwner Sinope = carthage
and I_SettlementOwner Sidon = carthage
and I_SettlementOwner Ipsos = carthage
and I_SettlementOwner Trapezous = carthage
and I_SettlementOwner Palmyra = carthage
and I_SettlementOwner Olbia = carthage
and I_SettlementOwner Karkathiokerta = carthage
and I_SettlementOwner Antiocheia = carthage
and I_SettlementOwner Damaskos = carthage
and I_SettlementOwner Chersonesos = carthage
and I_SettlementOwner Demetrias = carthage
and I_SettlementOwner Naissos = carthage
and I_SettlementOwner Gawjam_Bastarnoz = carthage
and I_SettlementOwner Ak_Ink = carthage
and I_SettlementOwner Singidunum = carthage
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory carthage

terminate_monitor
end_monitor

;--------------------------
; SAUROMATAE Victory Conditions
;--------------------------
monitor_event CharacterTurnStart FactionType armenia
and CharacterIsLocal
and I_SettlementOwner Gava_Yazyga = armenia
and I_SettlementOwner Gava_Roxsalanna = armenia
and I_SettlementOwner Gava_Aursa = armenia
and I_SettlementOwner Uspe = armenia
and I_SettlementOwner Tanais = armenia
and I_SettlementOwner Gelonus = armenia
and I_SettlementOwner Olbia = armenia
and I_SettlementOwner Chersonesos = armenia
and I_SettlementOwner Pantikapaion = armenia
and I_SettlementOwner Kallatis = armenia
and I_SettlementOwner Gordu_Neuriji = armenia
and I_SettlementOwner Gawjam_Bastarnoz = armenia
and I_SettlementOwner Lucarottea = armenia
and I_SettlementOwner Ascaucalis = armenia
and I_SettlementOwner Gava_Thissakata = armenia
and I_SettlementOwner Ak_Ink = armenia
and I_SettlementOwner Vindobona = armenia
and I_SettlementOwner Singidunum = armenia
and I_SettlementOwner Gava_Alanna = armenia
and I_SettlementOwner Gava_Yugra = armenia
and I_SettlementOwner Gava_Mazsakata = armenia
and I_SettlementOwner Nisa = armenia
and I_SettlementOwner Khiva = armenia
and I_SettlementOwner Marakanda = armenia
and I_SettlementOwner Antiocheia_Margiane = armenia
and I_SettlementOwner Gava_Saka = armenia
and I_SettlementOwner Chighu = armenia
and I_SettlementOwner Gava_Haomavarga = armenia
and I_SettlementOwner Kotais = armenia
and I_SettlementOwner Kabalaka = armenia
and I_SettlementOwner Mtskheta = armenia
and I_SettlementOwner Armavir = armenia
and I_SettlementOwner Phraaspa = armenia
and I_SettlementOwner Mazaka = armenia
and I_SettlementOwner Ankyra = armenia
and I_SettlementOwner Ani-Kamah = armenia
and I_SettlementOwner Zadrakata = armenia
and I_SettlementOwner Asaak = armenia
and I_SettlementOwner Hekatompylos = armenia
and I_SettlementOwner Alexandreia_Ariana = armenia
and I_SettlementOwner Baktra = armenia
and I_SettlementOwner Ekbatana = armenia
and I_SettlementOwner Naissos = armenia
and I_SettlementOwner Tylis = armenia
and I_SettlementOwner Byzantion = armenia
and I_SettlementOwner Alexandreia_Eschate = armenia
and I_SettlementOwner Chach = armenia
and I_SettlementOwner Sulek = armenia
and I_SettlementOwner Taksashila = armenia
and Trait ConqueredSusa > 0
and Trait ConqueredPersepolis > 0
and Trait ConqueredSeleukeia > 0
and Trait ConqueredBabylon > 0
and Trait ConqueredAntiocheia > 0
and Trait ConqueredPella > 0
and Trait ConqueredDemetrias > 0
and Trait ConqueredSegestica > 0
and Trait ConqueredPatavium > 0
and Trait ConqueredBononia > 0
and Trait ConqueredArctaunon > 0
and Trait ConqueredVesontio > 0
and Trait ConqueredSwebotraustastamnoz > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory armenia

terminate_monitor
end_monitor

;--------------------------
; SWEBOZ Victory Conditions
;--------------------------
monitor_event CharacterTurnStart FactionType germans
and CharacterIsLocal
and I_SettlementOwner Swebotraustastamnoz = germans
and I_SettlementOwner Gawjam_Heruskoz = germans
and I_SettlementOwner Gawjam_Habukoz = germans
and I_SettlementOwner Arctaunon = germans
and I_SettlementOwner Gawjam_Kimbroz = germans
and I_SettlementOwner Gawjam_Rugoz = germans
and I_SettlementOwner Gawjam_Skandzawarjoz = germans
and I_SettlementOwner Gawjam_Gotanoz = germans
and I_SettlementOwner Eburonum = germans
and I_SettlementOwner Gawjam_Silengoz = germans
and I_SettlementOwner Bibracte = germans
and I_SettlementOwner Vindelicoppidos = germans
and I_SettlementOwner Vesontio = germans
and I_SettlementOwner Bagacos = germans
and I_SettlementOwner Bratosporios = germans
and I_SettlementOwner Gawjam_Bastarnoz = germans
and Trait ConqueredAventicos > 0
and Trait ConqueredVeldideno > 0
and Trait ConqueredIuvavoaeta > 0
and Trait ConqueredCarrodunum > 0
and Trait ConqueredViennos > 0
and Trait ConqueredPatavium > 0
and Trait ConqueredAscaucalis > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory germans

terminate_monitor
end_monitor

;--------------------------
; QARTHADASTIM Victory Conditions
;--------------------------
monitor_event CharacterTurnStart FactionType egypt
and CharacterIsLocal
and I_SettlementOwner Tyde = egypt
and I_SettlementOwner Pallantia = egypt
and I_SettlementOwner Vellika = egypt
and I_SettlementOwner Numantia = egypt
and I_SettlementOwner Emporion = egypt
and I_SettlementOwner Oxtraca = egypt
and I_SettlementOwner Baikor = egypt
and I_SettlementOwner Arse = egypt
and I_SettlementOwner Gader = egypt
and I_SettlementOwner Mastia = egypt
and I_SettlementOwner Massalia = egypt
and I_SettlementOwner Segesta = egypt
and I_SettlementOwner Bononia = egypt
and I_SettlementOwner Arretium = egypt
and I_SettlementOwner Ariminum = egypt
and I_SettlementOwner Rome = egypt
and I_SettlementOwner Capua = egypt
and I_SettlementOwner Arpi = egypt
and I_SettlementOwner Taras = egypt
and I_SettlementOwner Rhegion = egypt
and I_SettlementOwner Lilibeo = egypt
and I_SettlementOwner Messana = egypt
and I_SettlementOwner Syracuse = egypt
and I_SettlementOwner Sidon = egypt
and I_SettlementOwner Bocchoris = egypt
and I_SettlementOwner Ippone = egypt
and I_SettlementOwner Alalia = egypt
and I_SettlementOwner Karali = egypt
and I_SettlementOwner Atiqa = egypt
and I_SettlementOwner Kart_Hadast = egypt
and I_SettlementOwner Adrumeto = egypt
and I_SettlementOwner Lepki = egypt
and I_SettlementOwner Kyrene = egypt
and I_SettlementOwner Sucum-Murgi = egypt
and Trait ConqueredKirtan > 0
and Trait ConqueredSiga > 0
and Trait ConqueredLixus > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory egypt

terminate_monitor
end_monitor

;--------------------------
; BAKTRIA
;--------------------------
monitor_event CharacterTurnStart FactionType romans_brutii
and CharacterIsLocal
and I_NumberOfSettlements pontus = 0
and I_NumberOfSettlements parthia = 0
and I_SettlementOwner Chighu = romans_brutii
and I_SettlementOwner Sulek = romans_brutii
and I_SettlementOwner Chach = romans_brutii
and I_SettlementOwner Alexandreia_Eschate = romans_brutii
and I_SettlementOwner Gava_Haomavarga = romans_brutii
and I_SettlementOwner Taksashila = romans_brutii
and I_SettlementOwner Marakanda = romans_brutii
and I_SettlementOwner Khiva = romans_brutii
and I_SettlementOwner Nisa = romans_brutii
and I_SettlementOwner Antiocheia_Margiane = romans_brutii
and I_SettlementOwner Baktra = romans_brutii
and I_SettlementOwner Kophen = romans_brutii
and I_SettlementOwner Asaak = romans_brutii
and I_SettlementOwner Hekatompylos = romans_brutii
and I_SettlementOwner Alexandreia_Ariana = romans_brutii
and I_SettlementOwner Prophthasia = romans_brutii
and I_SettlementOwner Alexandropolis = romans_brutii
and I_SettlementOwner Opiana = romans_brutii
and I_SettlementOwner Gabai = romans_brutii
and I_SettlementOwner Karmana = romans_brutii
and I_SettlementOwner Pura = romans_brutii
and I_SettlementOwner Patala = romans_brutii
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory romans_brutii

terminate_monitor
end_monitor



;--------------------------
; PTOLEMAIOI
;--------------------------
monitor_event CharacterTurnStart FactionType numidia
and CharacterIsLocal
and I_NumberOfSettlements macedon = 0
and I_NumberOfSettlements romans_julii = 0
and I_SettlementOwner Pella = numidia
and I_SettlementOwner Demetrias = numidia
and I_SettlementOwner Thermon = numidia
and I_SettlementOwner Korinthos = numidia
and I_SettlementOwner Sparte = numidia
and I_SettlementOwner Athenai = numidia
and I_SettlementOwner Chalkis = numidia
and I_SettlementOwner Byzantion = numidia
and I_SettlementOwner Kydonia = numidia
and I_SettlementOwner Rhodos = numidia
and I_SettlementOwner Trapezous = numidia
and I_SettlementOwner Sinope = numidia
and I_SettlementOwner Amaseia = numidia
and I_SettlementOwner Nikaia = numidia
and I_SettlementOwner Ankyra = numidia
and I_SettlementOwner Pergamon = numidia
and I_SettlementOwner Ipsos = numidia
and I_SettlementOwner Mazaka = numidia
and I_SettlementOwner Sardis = numidia
and I_SettlementOwner Mytilene = numidia
and I_SettlementOwner Halikarnassos = numidia
and I_SettlementOwner Side = numidia
and I_SettlementOwner Tarsos = numidia
and I_SettlementOwner Salamis = numidia
and I_SettlementOwner Antiocheia = numidia
and I_SettlementOwner Edessa = numidia
and I_SettlementOwner Seleukeia = numidia
and I_SettlementOwner Babylon = numidia
and I_SettlementOwner Palmyra = numidia
and I_SettlementOwner Damaskos = numidia
and I_SettlementOwner Sidon = numidia
and I_SettlementOwner Bostra = numidia
and I_SettlementOwner Hierosolyma = numidia
and I_SettlementOwner Petra = numidia
and I_SettlementOwner Carna = numidia
and I_SettlementOwner Maryab = numidia
and I_SettlementOwner Tamane = numidia
and I_SettlementOwner Sabata = numidia
and I_SettlementOwner Ubar = numidia
and I_SettlementOwner Alexandreia = numidia
and I_SettlementOwner Paraitonion = numidia
and I_SettlementOwner Kyrene = numidia
and I_SettlementOwner Ammonion = numidia
and I_SettlementOwner Hibis = numidia
and I_SettlementOwner Memphis = numidia
and I_SettlementOwner Diospolis_Megale = numidia
and I_SettlementOwner Pselkis = numidia
and I_SettlementOwner Meroe = numidia
and I_SettlementOwner Ptolemais_Theron = numidia
and I_SettlementOwner Axum = numidia
and I_CompareCounter victory = 0


console_command create_building Terhazza hinterland_victory

console_command victory numidia

terminate_monitor
end_monitor


;--------------------------
; ARCHE Seleukeia
;--------------------------
monitor_event CharacterTurnStart FactionType romans_julii
and CharacterIsLocal
and I_NumberOfSettlements romans_brutii = 0
and I_NumberOfSettlements parthia = 0
and I_NumberOfSettlements romans_scipii = 0
and I_NumberOfSettlements numidia = 0
and I_SettlementOwner Pella = romans_julii
and I_SettlementOwner Demetrias = romans_julii
and I_SettlementOwner Thermon = romans_julii
and I_SettlementOwner Korinthos = romans_julii
and I_SettlementOwner Sparte = romans_julii
and I_SettlementOwner Athenai = romans_julii
and I_SettlementOwner Chalkis = romans_julii
and I_SettlementOwner Byzantion = romans_julii
and I_SettlementOwner Kydonia = romans_julii
and I_SettlementOwner Rhodos = romans_julii
and I_SettlementOwner Trapezous = romans_julii
and I_SettlementOwner Ani-Kamah = romans_julii
and I_SettlementOwner Sinope = romans_julii
and I_SettlementOwner Amaseia = romans_julii
and I_SettlementOwner Nikaia = romans_julii
and I_SettlementOwner Ankyra = romans_julii
and I_SettlementOwner Pergamon = romans_julii
and I_SettlementOwner Ipsos = romans_julii
and I_SettlementOwner Mazaka = romans_julii
and I_SettlementOwner Sardis = romans_julii
and I_SettlementOwner Mytilene = romans_julii
and I_SettlementOwner Halikarnassos = romans_julii
and I_SettlementOwner Side = romans_julii
and I_SettlementOwner Tarsos = romans_julii
and I_SettlementOwner Salamis = romans_julii
and I_SettlementOwner Antiocheia = romans_julii
and I_SettlementOwner Karkathiokerta = romans_julii
and I_SettlementOwner Armavir = romans_julii
and I_SettlementOwner Arbela = romans_julii
and I_SettlementOwner Edessa = romans_julii
and I_SettlementOwner Seleukeia = romans_julii
and I_SettlementOwner Babylon = romans_julii
and I_SettlementOwner Palmyra = romans_julii
and I_SettlementOwner Damaskos = romans_julii
and I_SettlementOwner Sidon = romans_julii
and I_SettlementOwner Bostra = romans_julii
and I_SettlementOwner Hierosolyma = romans_julii
and I_SettlementOwner Petra = romans_julii
and I_SettlementOwner Sulek = romans_julii
and I_SettlementOwner Chach = romans_julii
and I_SettlementOwner Alexandreia_Eschate = romans_julii
and I_SettlementOwner Gava_Haomavarga = romans_julii
and I_SettlementOwner Taksashila = romans_julii
and I_SettlementOwner Marakanda = romans_julii
and I_SettlementOwner Khiva = romans_julii
and I_SettlementOwner Nisa = romans_julii
and I_SettlementOwner Antiocheia_Margiane = romans_julii
and I_SettlementOwner Baktra = romans_julii
and I_SettlementOwner Kophen = romans_julii
and I_SettlementOwner Asaak = romans_julii
and I_SettlementOwner Hekatompylos = romans_julii
and I_SettlementOwner Alexandreia_Ariana = romans_julii
and I_SettlementOwner Prophthasia = romans_julii
and I_SettlementOwner Alexandropolis = romans_julii
and I_SettlementOwner Opiana = romans_julii
and I_SettlementOwner Gabai = romans_julii
and I_SettlementOwner Karmana = romans_julii
and I_SettlementOwner Pura = romans_julii
and I_SettlementOwner Patala = romans_julii
and I_SettlementOwner Persepolis = romans_julii
and I_SettlementOwner Zadrakata = romans_julii
and I_SettlementOwner Apameia = romans_julii
and I_SettlementOwner Susa = romans_julii
and I_SettlementOwner Charax = romans_julii
and I_SettlementOwner Ekbatana = romans_julii
and I_SettlementOwner Phraaspa = romans_julii
and I_SettlementOwner Gerrha = romans_julii
and I_SettlementOwner Homna = romans_julii
and I_SettlementOwner Alexandreia = romans_julii
and I_SettlementOwner Paraitonion = romans_julii
and I_SettlementOwner Kyrene = romans_julii
and I_SettlementOwner Ammonion = romans_julii
and I_SettlementOwner Hibis = romans_julii
and I_SettlementOwner Memphis = romans_julii
and I_SettlementOwner Diospolis_Megale = romans_julii
and I_SettlementOwner Pselkis = romans_julii
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory romans_julii

terminate_monitor
end_monitor


;--------------------------
; MAKEDON
;--------------------------
monitor_event CharacterTurnStart FactionType macedon
and CharacterIsLocal
and I_NumberOfSettlements greek_cities = 0
and I_NumberOfSettlements thrace = 0
and I_SettlementOwner Rome = macedon
and I_SettlementOwner Capua = macedon
and I_SettlementOwner Arpi = macedon
and I_SettlementOwner Taras = macedon
and I_SettlementOwner Rhegion = macedon
and I_SettlementOwner Messana = macedon
and I_SettlementOwner Lilibeo = macedon
and I_SettlementOwner Syracuse = macedon
and I_SettlementOwner Epidamnos = macedon
and I_SettlementOwner Apollonia = macedon
and I_SettlementOwner Serdike = macedon
and I_SettlementOwner Tylis = macedon
and I_SettlementOwner Kallatis = macedon
and I_SettlementOwner Pella = macedon
and I_SettlementOwner Demetrias = macedon
and I_SettlementOwner Thermon = macedon
and I_SettlementOwner Korinthos = macedon
and I_SettlementOwner Sparte = macedon
and I_SettlementOwner Athenai = macedon
and I_SettlementOwner Chalkis = macedon
and I_SettlementOwner Byzantion = macedon
and I_SettlementOwner Kydonia = macedon
and I_SettlementOwner Rhodos = macedon
and I_SettlementOwner Amaseia = macedon
and I_SettlementOwner Nikaia = macedon
and I_SettlementOwner Ankyra = macedon
and I_SettlementOwner Pergamon = macedon
and I_SettlementOwner Ipsos = macedon
and I_SettlementOwner Mazaka = macedon
and I_SettlementOwner Sardis = macedon
and I_SettlementOwner Mytilene = macedon
and I_SettlementOwner Halikarnassos = macedon
and I_SettlementOwner Side = macedon
and I_SettlementOwner Tarsos = macedon
and I_SettlementOwner Salamis = macedon
and I_SettlementOwner Antiocheia = macedon
and I_SettlementOwner Edessa = macedon
and I_SettlementOwner Seleukeia = macedon
and I_SettlementOwner Babylon = macedon
and I_SettlementOwner Damaskos = macedon
and I_SettlementOwner Sidon = macedon
and I_SettlementOwner Hierosolyma = macedon
and I_SettlementOwner Alexandreia = macedon
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory macedon

terminate_monitor
end_monitor



;--------------------------
; KOINON HELLENON
;--------------------------
monitor_event CharacterTurnStart FactionType greek_cities
and CharacterIsLocal
and I_NumberOfSettlements macedon = 0
and I_NumberOfSettlements thrace = 0
and I_SettlementOwner Arse = greek_cities
and I_SettlementOwner Emporion = greek_cities
and I_SettlementOwner Massalia = greek_cities
and I_SettlementOwner Karali = greek_cities
and I_SettlementOwner Lilibeo = greek_cities
and I_SettlementOwner Messana = greek_cities
and I_SettlementOwner Syracuse = greek_cities
and I_SettlementOwner Arpi = greek_cities
and I_SettlementOwner Capua = greek_cities
and I_SettlementOwner Taras = greek_cities
and I_SettlementOwner Rhegion = greek_cities
and I_SettlementOwner Apollonia = greek_cities
and I_SettlementOwner Pella = greek_cities
and I_SettlementOwner Demetrias = greek_cities
and I_SettlementOwner Thermon = greek_cities
and I_SettlementOwner Athenai = greek_cities
and I_SettlementOwner Chalkis = greek_cities
and I_SettlementOwner Mytilene = greek_cities
and I_SettlementOwner Korinthos = greek_cities
and I_SettlementOwner Sparte = greek_cities
and I_SettlementOwner Kydonia = greek_cities
and I_SettlementOwner Rhodos = greek_cities
and I_SettlementOwner Salamis = greek_cities
and I_SettlementOwner Byzantion = greek_cities
and I_SettlementOwner Pergamon = greek_cities
and I_SettlementOwner Sardis = greek_cities
and I_SettlementOwner Halikarnassos = greek_cities
and I_SettlementOwner Kyrene = greek_cities
and I_SettlementOwner Chersonesos = greek_cities
and I_SettlementOwner Pantikapaion = greek_cities
and I_SettlementOwner Sinope = greek_cities
and I_SettlementOwner Trapezous = greek_cities
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory greek_cities

terminate_monitor
end_monitor


;--------------------------
; EPEIROS
;--------------------------
monitor_event CharacterTurnStart FactionType thrace
and CharacterIsLocal
and I_SettlementOwner Massalia = thrace
and I_SettlementOwner Segesta = thrace
and I_SettlementOwner Alalia = thrace
and I_SettlementOwner Karali = thrace
and I_SettlementOwner Bononia = thrace
and I_SettlementOwner Patavium = thrace
and I_SettlementOwner Arretium = thrace
and I_SettlementOwner Ariminum = thrace
and I_SettlementOwner Rome = thrace
and I_SettlementOwner Capua = thrace
and I_SettlementOwner Arpi = thrace
and I_SettlementOwner Taras = thrace
and I_SettlementOwner Rhegion = thrace
and I_SettlementOwner Messana = thrace
and I_SettlementOwner Lilibeo = thrace
and I_SettlementOwner Syracuse = thrace
and I_SettlementOwner Segestica = thrace
and I_SettlementOwner Vindobona = thrace
and I_SettlementOwner Singidunum = thrace
and I_SettlementOwner Naissos = thrace
and I_SettlementOwner Serdike = thrace
and I_SettlementOwner Epidamnos = thrace
and I_SettlementOwner Apollonia = thrace
and I_SettlementOwner Tylis = thrace
and I_SettlementOwner Kallatis = thrace
and I_SettlementOwner Pella = thrace
and I_SettlementOwner Demetrias = thrace
and I_SettlementOwner Thermon = thrace
and I_SettlementOwner Korinthos = thrace
and I_SettlementOwner Sparte = thrace
and I_SettlementOwner Athenai = thrace
and I_SettlementOwner Chalkis = thrace
and I_SettlementOwner Byzantion = thrace
and I_SettlementOwner Kydonia = thrace
and I_SettlementOwner Rhodos = thrace
and I_SettlementOwner Trapezous = thrace
and I_SettlementOwner Sinope = thrace
and I_SettlementOwner Amaseia = thrace
and I_SettlementOwner Nikaia = thrace
and I_SettlementOwner Ankyra = thrace
and I_SettlementOwner Pergamon = thrace
and I_SettlementOwner Ipsos = thrace
and I_SettlementOwner Sardis = thrace
and I_SettlementOwner Mytilene = thrace
and I_SettlementOwner Halikarnassos = thrace
and I_SettlementOwner Side = thrace
and I_SettlementOwner Tarsos = thrace
and I_SettlementOwner Mazaka = thrace
and I_SettlementOwner Antiocheia = thrace
and I_SettlementOwner Edessa = thrace
and I_SettlementOwner Karkathiokerta = thrace
and I_SettlementOwner Arbela = thrace
and I_SettlementOwner Seleukeia = thrace
and I_SettlementOwner Babylon = thrace
and I_SettlementOwner Ekbatana = thrace
and I_SettlementOwner Susa = thrace
and I_SettlementOwner Charax = thrace
and I_SettlementOwner Persepolis = thrace
and I_SettlementOwner Dalminion = thrace
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory thrace

terminate_monitor
end_monitor


;--------------------------
; SAKA RAUKA
;--------------------------
monitor_event CharacterTurnStart FactionType pontus
and CharacterIsLocal
and I_SettlementOwner Gava_Yugra = pontus
and I_SettlementOwner Gava_Aursa = pontus
and I_SettlementOwner Gava_Alanna = pontus
and I_SettlementOwner Gava_Mazsakata = pontus
and I_SettlementOwner Gava_Saka = pontus
and I_SettlementOwner Chighu = pontus
and I_SettlementOwner Sulek = pontus
and I_SettlementOwner Chach = pontus
and I_SettlementOwner Alexandreia_Eschate = pontus
and I_SettlementOwner Gava_Haomavarga = pontus
and I_SettlementOwner Taksashila = pontus
and I_SettlementOwner Marakanda = pontus
and I_SettlementOwner Khiva = pontus
and I_SettlementOwner Nisa = pontus
and I_SettlementOwner Antiocheia_Margiane = pontus
and I_SettlementOwner Baktra = pontus
and I_SettlementOwner Kophen = pontus
and I_SettlementOwner Asaak = pontus
and I_SettlementOwner Hekatompylos = pontus
and I_SettlementOwner Alexandreia_Ariana = pontus
and I_SettlementOwner Prophthasia = pontus
and I_SettlementOwner Alexandropolis = pontus
and I_SettlementOwner Opiana = pontus
and I_SettlementOwner Gabai = pontus
and I_SettlementOwner Karmana = pontus
and I_SettlementOwner Pura = pontus
and I_SettlementOwner Patala = pontus
and Treasury > 500000
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory pontus

terminate_monitor
end_monitor


;----------------------------
; Romani victory conditions
;----------------------------
monitor_event CharacterTurnStart FactionType seleucid
and CharacterIsLocal
and I_NumberOfSettlements egypt = 0
and I_NumberOfSettlements thrace = 0
and I_NumberOfSettlements carthage = 0
and I_NumberOfSettlements numidia = 0
and I_NumberOfSettlements greek_cities = 0
and I_NumberOfSettlements macedon = 0
and I_NumberOfSettlements gauls = 0
and I_NumberOfSettlements scythia = 0
and I_NumberOfSettlements spain = 0
and I_SettlementOwner Oxtraca = seleucid
and I_SettlementOwner Tyde = seleucid
and I_SettlementOwner Baikor = seleucid
and I_SettlementOwner Gader = seleucid
and I_SettlementOwner Pallantia = seleucid
and I_SettlementOwner Numantia = seleucid
and I_SettlementOwner Mastia = seleucid
and I_SettlementOwner Vellika = seleucid
and I_SettlementOwner Arse = seleucid
and I_SettlementOwner Burdigala = seleucid
and I_SettlementOwner Lemonum = seleucid
and I_SettlementOwner Darioritum = seleucid
and I_SettlementOwner Cenabum = seleucid
and I_SettlementOwner Avaricum = seleucid
and I_SettlementOwner Gergovia = seleucid
and I_SettlementOwner Tolosa = seleucid
and I_SettlementOwner Emporion = seleucid
and I_SettlementOwner Bocchoris = seleucid
and I_SettlementOwner Ippone = seleucid
and I_SettlementOwner Bratosporios = seleucid
and I_SettlementOwner Bibracte = seleucid
and I_SettlementOwner Viennos = seleucid
and I_SettlementOwner Massalia = seleucid
and I_SettlementOwner Bagacos = seleucid
and I_SettlementOwner Vesontio = seleucid
and I_SettlementOwner Aventicos = seleucid
and I_SettlementOwner Mediolanum = seleucid
and I_SettlementOwner Segesta = seleucid
and I_SettlementOwner Alalia = seleucid
and I_SettlementOwner Karali = seleucid
and I_SettlementOwner Atiqa = seleucid
and I_SettlementOwner Kart_Hadast = seleucid
and I_SettlementOwner Adrumeto = seleucid
and I_SettlementOwner Veldideno = seleucid
and I_SettlementOwner Patavium = seleucid
and I_SettlementOwner Iuvavoaeta = seleucid
and I_SettlementOwner Bononia = seleucid
and I_SettlementOwner Arretium = seleucid
and I_SettlementOwner Lepki = seleucid
and I_SettlementOwner Ariminum = seleucid
and I_SettlementOwner Rome = seleucid
and I_SettlementOwner Lilibeo = seleucid
and I_SettlementOwner Vindobona = seleucid
and I_SettlementOwner Segestica = seleucid
and I_SettlementOwner Arpi = seleucid
and I_SettlementOwner Capua = seleucid
and I_SettlementOwner Messana = seleucid
and I_SettlementOwner Syracuse = seleucid
and I_SettlementOwner Taras = seleucid
and I_SettlementOwner Rhegion = seleucid
and I_SettlementOwner Epidamnos = seleucid
and I_SettlementOwner Apollonia = seleucid
and I_SettlementOwner Thermon = seleucid
and I_SettlementOwner Korinthos = seleucid
and I_SettlementOwner Sparte = seleucid
and I_SettlementOwner Kyrene = seleucid
and I_SettlementOwner Serdike = seleucid
and I_SettlementOwner Pella = seleucid
and I_SettlementOwner Demetrias = seleucid
and I_SettlementOwner Athenai = seleucid
and I_SettlementOwner Kydonia = seleucid
and I_SettlementOwner Paraitonion = seleucid
and I_SettlementOwner Chalkis = seleucid
and I_SettlementOwner Pergamon = seleucid
and I_SettlementOwner Sardis = seleucid
and I_SettlementOwner Halikarnassos = seleucid
and I_SettlementOwner Rhodos = seleucid
and I_SettlementOwner Nikaia = seleucid
and I_SettlementOwner Ipsos = seleucid
and I_SettlementOwner Side = seleucid
and I_SettlementOwner Salamis = seleucid
and I_SettlementOwner Alexandreia = seleucid
and I_SettlementOwner Memphis = seleucid
and I_SettlementOwner Pselkis = seleucid
and I_SettlementOwner Sinope = seleucid
and I_SettlementOwner Amaseia = seleucid
and I_SettlementOwner Tarsos = seleucid
and I_SettlementOwner Antiocheia = seleucid
and I_SettlementOwner Sidon = seleucid
and I_SettlementOwner Hierosolyma = seleucid
and I_SettlementOwner Dalminion = seleucid
and I_SettlementOwner Damaskos = seleucid
and I_SettlementOwner Sucum-Murgi = seleucid
and I_SettlementOwner Diospolis_Megale = seleucid
and I_SettlementOwner Kirtan = seleucid
and I_SettlementOwner Ankyra = seleucid
and I_SettlementOwner Ammonion = seleucid
and I_SettlementOwner Hibis = seleucid
and I_SettlementOwner Mytilene = seleucid
and I_SettlementOwner Naissos = seleucid
and I_SettlementOwner Singidunum = seleucid
and I_SettlementOwner Kallatis = seleucid
and Trait ConqueredGarama > 0
and Trait ConqueredMaryab > 0
and Trait ConqueredEburonum > 0
and Trait ConqueredSeleukeia > 0
and Trait ConqueredBabylon > 0
and Trait ConqueredCamulosadae > 0
and Trait ConqueredPhraaspa > 0
and Trait ConqueredArmavir > 0
and Trait ConqueredMeroe > 0
and Trait ConqueredSwebotraustastamnoz > 0
and Trait ConqueredSarmiszegethusa > 0
and I_CompareCounter victory = 0

console_command create_building Terhazza hinterland_victory

console_command victory seleucid

terminate_monitor
end_monitor


;----------------------------
; SABA victory conditions
;----------------------------
monitor_event CharacterTurnStart FactionType saba
and CharacterIsLocal
and I_SettlementOwner Maryab = saba
and I_SettlementOwner Tamane = saba
and I_SettlementOwner Carna = saba
and I_SettlementOwner Babylon = saba
and I_SettlementOwner Sabata = saba
and I_SettlementOwner Ubar = saba
and I_SettlementOwner Homna = saba
and I_SettlementOwner Gerrha = saba
and I_SettlementOwner Bostra = saba
and I_SettlementOwner Petra = saba
and I_SettlementOwner Hierosolyma = saba
and I_SettlementOwner Alexandreia = saba
and I_SettlementOwner Memphis = saba
and I_SettlementOwner Diospolis_Megale = saba
and I_SettlementOwner Pselkis = saba
and I_SettlementOwner Meroe = saba
and I_SettlementOwner Axum = saba
and I_SettlementOwner Ptolemais_Theron = saba
and I_SettlementOwner Salamis = saba
and I_SettlementOwner Antiocheia = saba
and I_SettlementOwner Edessa = saba
and I_SettlementOwner Seleukeia = saba
and I_SettlementOwner Charax = saba
and I_SettlementOwner Alexandropolis = saba
and I_SettlementOwner Pura = saba
and I_SettlementOwner Patala = saba
and I_SettlementOwner Opiana = saba

console_command create_building Terhazza hinterland_victory

console_command victory saba

terminate_monitor
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 7: Allied Cities Script
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;--------------------------------------------------
;Section 7a: Qarthadastim vs. Ptolemaioi (Ammonion)
;--------------------------------------------------

declare_counter PtolemiesrelationswithTsorim

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType numidia
and DiplomaticStanceFromFaction egypt = AtWar
set_counter PtolemiesrelationswithTsorim 1
end_monitor

monitor_event FactionTurnStart FactionType numidia
and not DiplomaticStanceFromFaction egypt = AtWar
set_counter PtolemiesrelationswithTsorim 0
end_monitor

;----------------Warning-----------------

declare_counter Ammonion_warningissued
monitor_conditions I_FactionNearTile egypt 5  155, 58
and I_SettlementOwner Ammonion = slave
and I_TurnNumber < 40
and I_LocalFaction egypt
and I_CompareCounter PtolemiesrelationswithTsorim = 0

if I_CharacterTypeNearTile egypt family, 5  155, 58
and I_CompareCounter Ammonion_warningissued = 0
advance_advice_thread Tsorim_Near_Ammonion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Ammonion_warningissued 1
end_if
if I_CharacterTypeNearTile egypt general, 5  155, 58
and I_CompareCounter Ammonion_warningissued = 0
advance_advice_thread Tsorim_Near_Ammonion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Ammonion_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Ammonion_warningissued 0
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile egypt general,  2  155, 58
and I_SettlementOwner Ammonion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithTsorim = 0
console_command diplomatic_stance numidia egypt war
set_counter PtolemiesrelationswithTsorim 1

if I_LocalFaction numidia
advance_advice_thread Tsorim_Attacks_Ammonion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile egypt family,  2  155, 58
and I_SettlementOwner Ammonion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithTsorim = 0
console_command diplomatic_stance numidia egypt war
set_counter PtolemiesrelationswithTsorim 1

if I_LocalFaction numidia
advance_advice_thread Tsorim_Attacks_Ammonion_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7b: Attacks on Chersonesos (KH)
;--------------------------------------------------
declare_counter GreeksrelationswithPontic
declare_counter GreeksrelationswithArmenia
declare_counter GreeksrelationswithSeleukids
declare_counter GreeksrelationswithMacedon
declare_counter GreeksrelationswithSarmatia
declare_counter GreeksrelationswithDacia

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GreeksrelationswithArmenia 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GreeksrelationswithArmenia 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction romans_julii = AtWar
set_counter GreeksrelationswithSeleukids 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction romans_julii = AtWar
set_counter GreeksrelationswithSeleukids 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction macedon = AtWar
set_counter GreeksrelationswithMacedon 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction macedon = AtWar
set_counter GreeksrelationswithMacedon 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction armenia = AtWar
set_counter GreeksrelationswithSarmatia 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction armenia = AtWar
set_counter GreeksrelationswithSarmatia 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction dacia = AtWar
set_counter GreeksrelationswithDacia 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction dacia = AtWar
set_counter GreeksrelationswithDacia 0
end_monitor

;----------------Worning-----------------

declare_counter Chersonesos_warningissued
monitor_conditions I_FactionNearTile carthage 5  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_LocalFaction carthage
and I_CompareCounter GreeksrelationswithPontic = 0

if I_CharacterTypeNearTile carthage family, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
if I_CharacterTypeNearTile carthage general, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Chersonesos_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile romans_scipii 5  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_LocalFaction romans_scipii
and I_CompareCounter GreeksrelationswithArmenia = 0

if I_CharacterTypeNearTile romans_scipii family, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
if I_CharacterTypeNearTile romans_scipii general, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile romans_julii 5  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_LocalFaction romans_julii
and I_CompareCounter GreeksrelationswithSeleukids = 0

if I_CharacterTypeNearTile romans_julii family, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
if I_CharacterTypeNearTile romans_julii general, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile macedon 5  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_LocalFaction macedon
and I_CompareCounter GreeksrelationswithMacedon = 0

if I_CharacterTypeNearTile macedon family, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
if I_CharacterTypeNearTile macedon general, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile armenia 5  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_LocalFaction armenia
and I_CompareCounter GreeksrelationswithSarmatia = 0

if I_CharacterTypeNearTile armenia family, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
if I_CharacterTypeNearTile armenia general, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile dacia 5  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_LocalFaction dacia
and I_CompareCounter GreeksrelationswithDacia = 0

if I_CharacterTypeNearTile dacia family, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
if I_CharacterTypeNearTile dacia general, 5  175, 151
and I_CompareCounter Chersonesos_warningissued = 0
advance_advice_thread Near_Chersonesos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonesos_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage general,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage family,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_scipii general,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithArmenia = 0
console_command diplomatic_stance greek_cities romans_scipii war
set_counter GreeksrelationswithArmenia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_scipii family,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithArmenia = 0
console_command diplomatic_stance greek_cities romans_scipii war
set_counter GreeksrelationswithArmenia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_julii general,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSeleukids = 0
console_command diplomatic_stance greek_cities romans_julii war
set_counter GreeksrelationswithSeleukids 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_julii family,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSeleukids = 0
console_command diplomatic_stance greek_cities romans_julii war
set_counter GreeksrelationswithSeleukids 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile macedon general,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithMacedon = 0
console_command diplomatic_stance greek_cities macedon war
set_counter GreeksrelationswithMacedon 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile macedon family,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithMacedon = 0
console_command diplomatic_stance greek_cities macedon war
set_counter GreeksrelationswithMacedon 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile armenia general,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSarmatia = 0
console_command diplomatic_stance greek_cities armenia war
set_counter GreeksrelationswithSarmatia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile armenia family,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSarmatia = 0
console_command diplomatic_stance greek_cities armenia war
set_counter GreeksrelationswithSarmatia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile dacia general,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithDacia = 0
console_command diplomatic_stance greek_cities dacia war
set_counter GreeksrelationswithDacia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile dacia family,  2  175, 151
and I_SettlementOwner Chersonesos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithDacia = 0
console_command diplomatic_stance greek_cities dacia war
set_counter GreeksrelationswithDacia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Chersonesos_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7c: Attacks on Byzantion (Pontos)
;--------------------------------------------------

declare_counter PonticrelationswithGreeks
declare_counter PonticrelationswithArmenia
declare_counter PonticrelationswithSeleukids
declare_counter PonticrelationswithMacedon
declare_counter PonticrelationswithPtolemies
declare_counter PonticrelationswithEpeiros
declare_counter PonticrelationswithDacia

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction greek_cities = AtWar
set_counter PonticrelationswithGreeks 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction greek_cities = AtWar
set_counter PonticrelationswithGreeks 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter PonticrelationswithArmenia 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter PonticrelationswithArmenia 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction romans_julii = AtWar
set_counter PonticrelationswithSeleukids 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction romans_julii = AtWar
set_counter PonticrelationswithSeleukids 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction macedon = AtWar
set_counter PonticrelationswithMacedon 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction macedon = AtWar
set_counter PonticrelationswithMacedon 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction numidia = AtWar
set_counter PonticrelationswithPtolemies 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction numidia = AtWar
set_counter PonticrelationswithPtolemies 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction thrace = AtWar
set_counter PonticrelationswithEpeiros 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction thrace = AtWar
set_counter PonticrelationswithEpeiros 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction dacia = AtWar
set_counter PonticrelationswithDacia 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction dacia = AtWar
set_counter PonticrelationswithDacia 0
end_monitor

;----------------Worning-----------------

declare_counter Chersonsesos_Thraikia_warningissued
monitor_conditions I_FactionNearTile greek_cities 5  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_LocalFaction greek_cities
and I_CompareCounter PonticrelationswithGreeks = 0

if I_CharacterTypeNearTile greek_cities family, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
if I_CharacterTypeNearTile greek_cities general, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Chersonsesos_Thraikia_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile romans_scipii 5  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_LocalFaction romans_scipii
and I_CompareCounter PonticrelationswithArmenia = 0

if I_CharacterTypeNearTile romans_scipii family, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
if I_CharacterTypeNearTile romans_scipii general, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile romans_julii 5  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_LocalFaction romans_julii
and I_CompareCounter PonticrelationswithSeleukids = 0

if I_CharacterTypeNearTile romans_julii family, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
if I_CharacterTypeNearTile romans_julii general, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile macedon 5  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_LocalFaction macedon
and I_CompareCounter PonticrelationswithMacedon = 0

if I_CharacterTypeNearTile macedon family, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
if I_CharacterTypeNearTile macedon general, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile numidia 5  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_LocalFaction numidia
and I_CompareCounter PonticrelationswithPtolemies = 0

if I_CharacterTypeNearTile numidia family, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
if I_CharacterTypeNearTile numidia general, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile thrace 5  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_LocalFaction thrace
and I_CompareCounter PonticrelationswithEpeiros = 0

if I_CharacterTypeNearTile thrace family, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
if I_CharacterTypeNearTile thrace general, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile dacia 5  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_LocalFaction dacia
and I_CompareCounter PonticrelationswithDacia = 0

if I_CharacterTypeNearTile dacia family, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
if I_CharacterTypeNearTile dacia general, 5  161, 129
and I_CompareCounter Chersonsesos_Thraikia_warningissued = 0
advance_advice_thread Near_Chersonsesos_Thraikia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Chersonsesos_Thraikia_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile greek_cities general,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithGreeks = 0
console_command diplomatic_stance carthage greek_cities war
set_counter PonticrelationswithGreeks 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile greek_cities family,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithGreeks = 0
console_command diplomatic_stance carthage greek_cities war
set_counter PonticrelationswithGreeks 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_scipii general,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithArmenia = 0
console_command diplomatic_stance carthage romans_scipii war
set_counter PonticrelationswithArmenia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_scipii family,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithArmenia = 0
console_command diplomatic_stance carthage romans_scipii war
set_counter PonticrelationswithArmenia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_julii general,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithSeleukids = 0
console_command diplomatic_stance carthage romans_julii war
set_counter PonticrelationswithSeleukids 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_julii family,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithSeleukids = 0
console_command diplomatic_stance carthage romans_julii war
set_counter PonticrelationswithSeleukids 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile macedon general,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithMacedon = 0
console_command diplomatic_stance carthage macedon war
set_counter PonticrelationswithMacedon 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile macedon family,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithMacedon = 0
console_command diplomatic_stance carthage macedon war
set_counter PonticrelationswithMacedon 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile numidia general,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithPtolemies = 0
console_command diplomatic_stance carthage numidia war
set_counter PonticrelationswithPtolemies 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile numidia family,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithPtolemies = 0
console_command diplomatic_stance carthage numidia war
set_counter PonticrelationswithPtolemies 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile thrace general,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithEpeiros = 0
console_command diplomatic_stance carthage thrace war
set_counter PonticrelationswithEpeiros 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile thrace family,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithEpeiros = 0
console_command diplomatic_stance carthage thrace war
set_counter PonticrelationswithEpeiros 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile dacia general,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithDacia = 0
console_command diplomatic_stance carthage dacia war
set_counter PonticrelationswithDacia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile dacia family,  2  161, 129
and I_SettlementOwner Byzantion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithDacia = 0
console_command diplomatic_stance carthage dacia war
set_counter PonticrelationswithDacia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Chersonsesos_Thraikia_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7d: Halikarnassos (Ptolemaioi)
;--------------------------------------------------

declare_counter PtolemiesrelationswithGreeks
declare_counter PtolemiesrelationswithPontic
declare_counter PtolemiesrelationswithArmenia
declare_counter PtolemiesrelationswithSeleukids
declare_counter PtolemiesrelationswithMacedon

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType numidia
and DiplomaticStanceFromFaction greek_cities = AtWar
set_counter PtolemiesrelationswithGreeks 1
end_monitor

monitor_event FactionTurnStart FactionType numidia
and not DiplomaticStanceFromFaction greek_cities = AtWar
set_counter PtolemiesrelationswithGreeks 0
end_monitor

monitor_event FactionTurnStart FactionType numidia
and DiplomaticStanceFromFaction carthage = AtWar
set_counter PtolemiesrelationswithPontic 1
end_monitor

monitor_event FactionTurnStart FactionType numidia
and not DiplomaticStanceFromFaction carthage = AtWar
set_counter PtolemiesrelationswithPontic 0
end_monitor

monitor_event FactionTurnStart FactionType numidia
and DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter PtolemiesrelationswithArmenia 1
end_monitor

monitor_event FactionTurnStart FactionType numidia
and not DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter PtolemiesrelationswithArmenia 0
end_monitor

monitor_event FactionTurnStart FactionType numidia
and DiplomaticStanceFromFaction romans_julii = AtWar
set_counter PtolemiesrelationswithSeleukids 1
end_monitor

monitor_event FactionTurnStart FactionType numidia
and not DiplomaticStanceFromFaction romans_julii = AtWar
set_counter PtolemiesrelationswithSeleukids 0
end_monitor

monitor_event FactionTurnStart FactionType numidia
and DiplomaticStanceFromFaction macedon = AtWar
set_counter PtolemiesrelationswithMacedon 1
end_monitor

monitor_event FactionTurnStart FactionType numidia
and not DiplomaticStanceFromFaction macedon = AtWar
set_counter PtolemiesrelationswithMacedon 0
end_monitor

;----------------Warning-----------------

declare_counter Halikarnassos_warningissued
monitor_conditions I_FactionNearTile greek_cities 3  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_LocalFaction greek_cities
and I_CompareCounter PtolemiesrelationswithGreeks = 0

if I_CharacterTypeNearTile greek_cities family, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Greeks_Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
if I_CharacterTypeNearTile greek_cities general, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Greeks_Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Halikarnassos_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile carthage 3  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_LocalFaction carthage
and I_CompareCounter PtolemiesrelationswithPontic = 0

if I_CharacterTypeNearTile carthage family, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
if I_CharacterTypeNearTile carthage general, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile romans_scipii 3  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_LocalFaction romans_scipii
and I_CompareCounter PtolemiesrelationswithArmenia = 0

if I_CharacterTypeNearTile romans_scipii family, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
if I_CharacterTypeNearTile romans_scipii general, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile romans_julii 3  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_LocalFaction romans_julii
and I_CompareCounter PtolemiesrelationswithSeleukids = 0

if I_CharacterTypeNearTile romans_julii family, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
if I_CharacterTypeNearTile romans_julii general, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile macedon 3  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_LocalFaction macedon
and I_CompareCounter PtolemiesrelationswithMacedon = 0

if I_CharacterTypeNearTile macedon family, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
if I_CharacterTypeNearTile macedon general, 3  158, 105
and I_CompareCounter Halikarnassos_warningissued = 0
advance_advice_thread Near_Halikarnassos_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Halikarnassos_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile greek_cities general,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithGreeks = 0
console_command diplomatic_stance numidia greek_cities war
set_counter PtolemiesrelationswithGreeks 1

if I_LocalFaction numidia
advance_advice_thread Greeks_Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile greek_cities family,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithGreeks = 0
console_command diplomatic_stance numidia greek_cities war
set_counter PtolemiesrelationswithGreeks 1

if I_LocalFaction numidia
advance_advice_thread Greeks_Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile carthage general,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithPontic = 0
console_command diplomatic_stance numidia carthage war
set_counter PtolemiesrelationswithPontic 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile carthage family,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithPontic = 0
console_command diplomatic_stance numidia carthage war
set_counter PtolemiesrelationswithPontic 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile romans_scipii general,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithArmenia = 0
console_command diplomatic_stance numidia romans_scipii war
set_counter PtolemiesrelationswithArmenia 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile romans_scipii family,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithArmenia = 0
console_command diplomatic_stance numidia romans_scipii war
set_counter PtolemiesrelationswithArmenia 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile romans_julii general,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithSeleukids = 0
console_command diplomatic_stance numidia romans_julii war
set_counter PtolemiesrelationswithSeleukids 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile romans_julii family,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithSeleukids = 0
console_command diplomatic_stance numidia romans_julii war
set_counter PtolemiesrelationswithSeleukids 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile macedon general,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithMacedon = 0
console_command diplomatic_stance numidia macedon war
set_counter PtolemiesrelationswithMacedon 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile macedon family,  2  158, 105
and I_SettlementOwner Halikarnassos = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithMacedon = 0
console_command diplomatic_stance numidia macedon war
set_counter PtolemiesrelationswithMacedon 1

if I_LocalFaction numidia
advance_advice_thread Attacks_Halikarnassos_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7e: Kallatis (Getai)
;--------------------------------------------------

declare_counter GatairelationswithPontic
declare_counter GatairelationswithArmenia
declare_counter GatairelationswithSeleukids
declare_counter GatairelationswithMacedon
declare_counter GatairelationswithSarmatia
declare_counter GatairelationswithGreeks

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType dacia
and DiplomaticStanceFromFaction carthage = AtWar
set_counter GatairelationswithPontic 1
end_monitor

monitor_event FactionTurnStart FactionType dacia
and not DiplomaticStanceFromFaction carthage = AtWar
set_counter GatairelationswithPontic 0
end_monitor

monitor_event FactionTurnStart FactionType dacia
and DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GatairelationswithArmenia 1
end_monitor

monitor_event FactionTurnStart FactionType dacia
and not DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GatairelationswithArmenia 0
end_monitor

monitor_event FactionTurnStart FactionType dacia
and DiplomaticStanceFromFaction romans_julii = AtWar
set_counter GatairelationswithSeleukids 1
end_monitor

monitor_event FactionTurnStart FactionType dacia
and not DiplomaticStanceFromFaction romans_julii = AtWar
set_counter GatairelationswithSeleukids 0
end_monitor

monitor_event FactionTurnStart FactionType dacia
and DiplomaticStanceFromFaction macedon = AtWar
set_counter GatairelationswithMacedon 1
end_monitor

monitor_event FactionTurnStart FactionType dacia
and not DiplomaticStanceFromFaction macedon = AtWar
set_counter GatairelationswithMacedon 0
end_monitor

monitor_event FactionTurnStart FactionType dacia
and DiplomaticStanceFromFaction pontus = AtWar
set_counter GatairelationswithSarmatia 1
end_monitor

monitor_event FactionTurnStart FactionType dacia
and not DiplomaticStanceFromFaction pontus = AtWar
set_counter GatairelationswithSarmatia 0
end_monitor

monitor_event FactionTurnStart FactionType dacia
and DiplomaticStanceFromFaction greek_cities = AtWar
set_counter GatairelationswithGreeks 1
end_monitor

monitor_event FactionTurnStart FactionType dacia
and not DiplomaticStanceFromFaction greek_cities = AtWar
set_counter GatairelationswithGreeks 0
end_monitor

;----------------Worning-----------------

declare_counter Kallatis_warningissued
monitor_conditions I_FactionNearTile carthage 5  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_LocalFaction carthage
and I_CompareCounter GatairelationswithPontic = 0

if I_CharacterTypeNearTile carthage family, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
if I_CharacterTypeNearTile carthage general, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Kallatis_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile romans_scipii 5  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_LocalFaction romans_scipii
and I_CompareCounter GatairelationswithArmenia = 0

if I_CharacterTypeNearTile romans_scipii family, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
if I_CharacterTypeNearTile romans_scipii general, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile romans_julii 5  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_LocalFaction romans_julii
and I_CompareCounter GatairelationswithSeleukids = 0

if I_CharacterTypeNearTile romans_julii family, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
if I_CharacterTypeNearTile romans_julii general, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile macedon 5  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_LocalFaction macedon
and I_CompareCounter GatairelationswithMacedon = 0

if I_CharacterTypeNearTile macedon family, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
if I_CharacterTypeNearTile macedon general, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile pontus 5  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_LocalFaction pontus
and I_CompareCounter GatairelationswithSarmatia = 0

if I_CharacterTypeNearTile pontus family, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
if I_CharacterTypeNearTile pontus general, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile greek_cities 5  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_LocalFaction greek_cities
and I_CompareCounter GatairelationswithGreeks = 0

if I_CharacterTypeNearTile greek_cities family, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
if I_CharacterTypeNearTile greek_cities general, 5  158, 143
and I_CompareCounter Kallatis_warningissued = 0
advance_advice_thread Near_Kallatis_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kallatis_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile carthage general,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithPontic = 0
console_command diplomatic_stance dacia carthage war
set_counter GatairelationswithPontic 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile carthage family,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithPontic = 0
console_command diplomatic_stance dacia carthage war
set_counter GatairelationswithPontic 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile romans_scipii general,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithArmenia = 0
console_command diplomatic_stance dacia romans_scipii war
set_counter GatairelationswithArmenia 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile romans_scipii family,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithArmenia = 0
console_command diplomatic_stance dacia romans_scipii war
set_counter GatairelationswithArmenia 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile romans_julii general,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithSeleukids = 0
console_command diplomatic_stance dacia romans_julii war
set_counter GatairelationswithSeleukids 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile romans_julii family,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithSeleukids = 0
console_command diplomatic_stance dacia romans_julii war
set_counter GatairelationswithSeleukids 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile macedon general,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithMacedon = 0
console_command diplomatic_stance dacia macedon war
set_counter GatairelationswithMacedon 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile macedon family,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithMacedon = 0
console_command diplomatic_stance dacia macedon war
set_counter GatairelationswithMacedon 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile pontus general,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithSarmatia = 0
console_command diplomatic_stance dacia pontus war
set_counter GatairelationswithSarmatia 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile pontus family,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithSarmatia = 0
console_command diplomatic_stance dacia pontus war
set_counter GatairelationswithSarmatia 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile greek_cities general,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithGreeks = 0
console_command diplomatic_stance dacia greek_cities war
set_counter GatairelationswithGreeks 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType dacia
and I_CharacterTypeNearTile greek_cities family,  2  158, 143
and I_SettlementOwner Kallatis = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GatairelationswithGreeks = 0
console_command diplomatic_stance dacia greek_cities war
set_counter GatairelationswithGreeks 1

if I_LocalFaction dacia
advance_advice_thread Attacks_Kallatis_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7f: Qarthadastim vs. Ptolemaioi (Kyrene)
;--------------------------------------------------

declare_counter PtolemiesrelationswithTsorim

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType numidia
and DiplomaticStanceFromFaction egypt = AtWar
set_counter PtolemiesrelationswithTsorim 1
end_monitor

monitor_event FactionTurnStart FactionType numidia
and not DiplomaticStanceFromFaction egypt = AtWar
set_counter PtolemiesrelationswithTsorim 0
end_monitor

;----------------Worning-----------------

declare_counter Kyrene_warningissued
monitor_conditions I_FactionNearTile egypt 5  137, 78
and I_SettlementOwner Kyrene = slave
and I_TurnNumber < 40
and I_LocalFaction egypt
and I_CompareCounter PtolemiesrelationswithTsorim = 0

if I_CharacterTypeNearTile egypt family, 5  137, 78
and I_CompareCounter Kyrene_warningissued = 0
advance_advice_thread Tsorim_Near_Kyrene_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kyrene_warningissued 1
end_if
if I_CharacterTypeNearTile egypt general, 5  137, 78
and I_CompareCounter Kyrene_warningissued = 0
advance_advice_thread Tsorim_Near_Kyrene_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kyrene_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Kyrene_warningissued 0
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile egypt general,  2  137, 78
and I_SettlementOwner Kyrene = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithTsorim = 0
console_command diplomatic_stance numidia egypt war
set_counter PtolemiesrelationswithTsorim 1

if I_LocalFaction numidia
advance_advice_thread Tsorim_Attacks_Kyrene_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType numidia
and I_CharacterTypeNearTile egypt family,  2  137, 78
and I_SettlementOwner Kyrene = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PtolemiesrelationswithTsorim = 0
console_command diplomatic_stance numidia egypt war
set_counter PtolemiesrelationswithTsorim 1

if I_LocalFaction numidia
advance_advice_thread Tsorim_Attacks_Kyrene_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7g: Seleukids vs. Ptolemaioi (Kyrene)
;--------------------------------------------------

declare_counter SeleukidsrelationswithPtolemies

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType romans_julii
and DiplomaticStanceFromFaction numidia = AtWar
set_counter SeleukidsrelationswithPtolemies 1
end_monitor

monitor_event FactionTurnStart FactionType romans_julii
and not DiplomaticStanceFromFaction numidia = AtWar
set_counter SeleukidsrelationswithPtolemies 0
end_monitor

;----------------Worning-----------------

declare_counter Kyrene_warningissued
monitor_conditions I_FactionNearTile numidia 5  137, 78
and I_SettlementOwner Kyrene = slave
and I_TurnNumber < 40
and I_LocalFaction numidia
and I_CompareCounter SeleukidsrelationswithPtolemies = 0

if I_CharacterTypeNearTile numidia family, 5  137, 78
and I_CompareCounter Kyrene_warningissued = 0
advance_advice_thread Ptolemies_Near_Kyrene_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kyrene_warningissued 1
end_if
if I_CharacterTypeNearTile numidia general, 5  137, 78
and I_CompareCounter Kyrene_warningissued = 0
advance_advice_thread Ptolemies_Near_Kyrene_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Kyrene_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Kyrene_warningissued 0
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType romans_julii
and I_CharacterTypeNearTile numidia general,  2  137, 78
and I_SettlementOwner Kyrene = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter SeleukidsrelationswithPtolemies = 0
console_command diplomatic_stance romans_julii numidia war
set_counter SeleukidsrelationswithPtolemies 1

if I_LocalFaction romans_julii
advance_advice_thread Ptolemies_Attacks_Kyrene_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType romans_julii
and I_CharacterTypeNearTile numidia family,  2  137, 78
and I_SettlementOwner Kyrene = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter SeleukidsrelationswithPtolemies = 0
console_command diplomatic_stance romans_julii numidia war
set_counter SeleukidsrelationswithPtolemies 1

if I_LocalFaction romans_julii
advance_advice_thread Ptolemies_Attacks_Kyrene_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7h: Nikaia (Pontos)
;--------------------------------------------------

declare_counter PonticrelationswithGreeks
declare_counter PonticrelationswithArmenia
declare_counter PonticrelationswithSeleukids
declare_counter PonticrelationswithMacedon
declare_counter PonticrelationswithPtolemies
declare_counter PonticrelationswithDacia

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction greek_cities = AtWar
set_counter PonticrelationswithGreeks 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction greek_cities = AtWar
set_counter PonticrelationswithGreeks 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter PonticrelationswithArmenia 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter PonticrelationswithArmenia 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction romans_julii = AtWar
set_counter PonticrelationswithSeleukids 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction romans_julii = AtWar
set_counter PonticrelationswithSeleukids 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction macedon = AtWar
set_counter PonticrelationswithMacedon 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction macedon = AtWar
set_counter PonticrelationswithMacedon 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction numidia = AtWar
set_counter PonticrelationswithPtolemies 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction numidia = AtWar
set_counter PonticrelationswithPtolemies 0
end_monitor

monitor_event FactionTurnStart FactionType carthage
and DiplomaticStanceFromFaction dacia = AtWar
set_counter PonticrelationswithDacia 1
end_monitor

monitor_event FactionTurnStart FactionType carthage
and not DiplomaticStanceFromFaction dacia = AtWar
set_counter PonticrelationswithDacia 0
end_monitor

;----------------Worning-----------------

declare_counter Nikaia_warningissued
monitor_conditions I_FactionNearTile greek_cities 5  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_LocalFaction greek_cities
and I_CompareCounter PonticrelationswithGreeks = 0

if I_CharacterTypeNearTile greek_cities family, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
if I_CharacterTypeNearTile greek_cities general, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Nikaia_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile romans_scipii 5  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_LocalFaction romans_scipii
and I_CompareCounter PonticrelationswithArmenia = 0

if I_CharacterTypeNearTile romans_scipii family, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
if I_CharacterTypeNearTile romans_scipii general, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile romans_julii 5  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_LocalFaction romans_julii
and I_CompareCounter PonticrelationswithSeleukids = 0

if I_CharacterTypeNearTile romans_julii family, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
if I_CharacterTypeNearTile romans_julii general, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile macedon 5  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_LocalFaction macedon
and I_CompareCounter PonticrelationswithMacedon = 0

if I_CharacterTypeNearTile macedon family, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
if I_CharacterTypeNearTile macedon general, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile numidia 5  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_LocalFaction numidia
and I_CompareCounter PonticrelationswithPtolemies = 0

if I_CharacterTypeNearTile numidia family, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
if I_CharacterTypeNearTile numidia general, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile dacia 5  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_LocalFaction dacia
and I_CompareCounter PonticrelationswithDacia = 0

if I_CharacterTypeNearTile dacia family, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
if I_CharacterTypeNearTile dacia general, 5  165, 125
and I_CompareCounter Nikaia_warningissued = 0
advance_advice_thread Near_Nikaia_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Nikaia_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile greek_cities general,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithGreeks = 0
console_command diplomatic_stance carthage greek_cities war
set_counter PonticrelationswithGreeks 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile greek_cities family,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithGreeks = 0
console_command diplomatic_stance carthage greek_cities war
set_counter PonticrelationswithGreeks 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_scipii general,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithArmenia = 0
console_command diplomatic_stance carthage romans_scipii war
set_counter PonticrelationswithArmenia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_scipii family,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithArmenia = 0
console_command diplomatic_stance carthage romans_scipii war
set_counter PonticrelationswithArmenia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_julii general,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithSeleukids = 0
console_command diplomatic_stance carthage romans_julii war
set_counter PonticrelationswithSeleukids 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile romans_julii family,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithSeleukids = 0
console_command diplomatic_stance carthage romans_julii war
set_counter PonticrelationswithSeleukids 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile macedon general,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithMacedon = 0
console_command diplomatic_stance carthage macedon war
set_counter PonticrelationswithMacedon 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile macedon family,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithMacedon = 0
console_command diplomatic_stance carthage macedon war
set_counter PonticrelationswithMacedon 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile numidia general,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithPtolemies = 0
console_command diplomatic_stance carthage numidia war
set_counter PonticrelationswithPtolemies 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile numidia family,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithPtolemies = 0
console_command diplomatic_stance carthage numidia war
set_counter PonticrelationswithPtolemies 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile dacia general,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithDacia = 0
console_command diplomatic_stance carthage dacia war
set_counter PonticrelationswithDacia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType carthage
and I_CharacterTypeNearTile dacia family,  2  165, 125
and I_SettlementOwner Nikaia = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter PonticrelationswithDacia = 0
console_command diplomatic_stance carthage dacia war
set_counter PonticrelationswithDacia 1

if I_LocalFaction carthage
advance_advice_thread Attacks_Nikaia_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7i: Pantikapaion (KH)
;--------------------------------------------------

declare_counter GreeksrelationswithPontic
declare_counter GreeksrelationswithArmenia
declare_counter GreeksrelationswithSeleukids
declare_counter GreeksrelationswithMacedon
declare_counter GreeksrelationswithSarmatia
declare_counter GreeksrelationswithDacia

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GreeksrelationswithArmenia 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GreeksrelationswithArmenia 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction romans_julii = AtWar
set_counter GreeksrelationswithSeleukids 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction romans_julii = AtWar
set_counter GreeksrelationswithSeleukids 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction macedon = AtWar
set_counter GreeksrelationswithMacedon 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction macedon = AtWar
set_counter GreeksrelationswithMacedon 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction armenia = AtWar
set_counter GreeksrelationswithSarmatia 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction armenia = AtWar
set_counter GreeksrelationswithSarmatia 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction dacia = AtWar
set_counter GreeksrelationswithDacia 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction dacia = AtWar
set_counter GreeksrelationswithDacia 0
end_monitor

;----------------Worning-----------------

declare_counter Pantikapaion_warningissued
monitor_conditions I_FactionNearTile carthage 5  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_LocalFaction carthage
and I_CompareCounter GreeksrelationswithPontic = 0

if I_CharacterTypeNearTile carthage family, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
if I_CharacterTypeNearTile carthage general, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Pantikapaion_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile romans_scipii 5  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_LocalFaction romans_scipii
and I_CompareCounter GreeksrelationswithArmenia = 0

if I_CharacterTypeNearTile romans_scipii family, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
if I_CharacterTypeNearTile romans_scipii general, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile romans_julii 5  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_LocalFaction romans_julii
and I_CompareCounter GreeksrelationswithSeleukids = 0

if I_CharacterTypeNearTile romans_julii family, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
if I_CharacterTypeNearTile romans_julii general, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile macedon 5  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_LocalFaction macedon
and I_CompareCounter GreeksrelationswithMacedon = 0

if I_CharacterTypeNearTile macedon family, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
if I_CharacterTypeNearTile macedon general, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile armenia 5  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_LocalFaction armenia
and I_CompareCounter GreeksrelationswithSarmatia = 0

if I_CharacterTypeNearTile armenia family, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
if I_CharacterTypeNearTile armenia general, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile dacia 5  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_LocalFaction dacia
and I_CompareCounter GreeksrelationswithDacia = 0

if I_CharacterTypeNearTile dacia family, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
if I_CharacterTypeNearTile dacia general, 5  184, 157
and I_CompareCounter Pantikapaion_warningissued = 0
advance_advice_thread Near_Pantikapaion_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Pantikapaion_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage general,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage family,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_scipii general,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithArmenia = 0
console_command diplomatic_stance greek_cities romans_scipii war
set_counter GreeksrelationswithArmenia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_scipii family,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithArmenia = 0
console_command diplomatic_stance greek_cities romans_scipii war
set_counter GreeksrelationswithArmenia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_julii general,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSeleukids = 0
console_command diplomatic_stance greek_cities romans_julii war
set_counter GreeksrelationswithSeleukids 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_julii family,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSeleukids = 0
console_command diplomatic_stance greek_cities romans_julii war
set_counter GreeksrelationswithSeleukids 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile macedon general,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithMacedon = 0
console_command diplomatic_stance greek_cities macedon war
set_counter GreeksrelationswithMacedon 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile macedon family,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithMacedon = 0
console_command diplomatic_stance greek_cities macedon war
set_counter GreeksrelationswithMacedon 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile armenia general,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSarmatia = 0
console_command diplomatic_stance greek_cities armenia war
set_counter GreeksrelationswithSarmatia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile armenia family,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithSarmatia = 0
console_command diplomatic_stance greek_cities armenia war
set_counter GreeksrelationswithSarmatia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile dacia general,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithDacia = 0
console_command diplomatic_stance greek_cities dacia war
set_counter GreeksrelationswithDacia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile dacia family,  2  184, 157
and I_SettlementOwner Pantikapaion = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithDacia = 0
console_command diplomatic_stance greek_cities dacia war
set_counter GreeksrelationswithDacia 1

if I_LocalFaction greek_cities
advance_advice_thread Attacks_Pantikapaion_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7j: KH vs. Pontos (Sinope)
;--------------------------------------------------

declare_counter GreeksrelationswithPontic

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 0
end_monitor

;----------------Worning-----------------

declare_counter Sinope_warningissued
monitor_conditions I_FactionNearTile carthage 5  185, 139
and I_SettlementOwner Sinope = slave
and I_TurnNumber < 40
and I_LocalFaction carthage
and I_CompareCounter GreeksrelationswithPontic = 0

if I_CharacterTypeNearTile carthage family, 5  185, 139
and I_CompareCounter Sinope_warningissued = 0
advance_advice_thread Pontic_Near_Sinope_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Sinope_warningissued 1
end_if
if I_CharacterTypeNearTile carthage general, 5  185, 139
and I_CompareCounter Sinope_warningissued = 0
advance_advice_thread Pontic_Near_Sinope_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Sinope_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Sinope_warningissued 0
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage general,  2  185, 139
and I_SettlementOwner Sinope = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Pontic_Attacks_Sinope_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage family,  2  185, 139
and I_SettlementOwner Sinope = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Pontic_Attacks_Sinope_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7k: Thermon (KH)
;--------------------------------------------------

declare_counter GreeksrelationswithMacedon
declare_counter GreeksrelationswithEpeiros
declare_counter GreeksrelationswithRomans

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction macedon = AtWar
set_counter GreeksrelationswithMacedon 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction macedon = AtWar
set_counter GreeksrelationswithMacedon 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction thrace = AtWar
set_counter GreeksrelationswithEpeiros 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction thrace = AtWar
set_counter GreeksrelationswithEpeiros 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction seleucid = AtWar
set_counter GreeksrelationswithRomans 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction seleucid = AtWar
set_counter GreeksrelationswithRomans 0
end_monitor

;----------------Worning-----------------

declare_counter Thermon_warningissued
monitor_conditions I_FactionNearTile macedon 5  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_LocalFaction macedon
and I_CompareCounter GreeksrelationswithMacedon = 0

if I_CharacterTypeNearTile macedon family, 5  132, 111
and I_CompareCounter Thermon_warningissued = 0
advance_advice_thread Macedon_Near_Thermon_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Thermon_warningissued 1
end_if
if I_CharacterTypeNearTile macedon general, 5  132, 111
and I_CompareCounter Thermon_warningissued = 0
advance_advice_thread Macedon_Near_Thermon_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Thermon_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Thermon_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile thrace 5  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_LocalFaction thrace
and I_CompareCounter GreeksrelationswithEpeiros = 0

if I_CharacterTypeNearTile thrace family, 5  132, 111
and I_CompareCounter Thermon_warningissued = 0
advance_advice_thread Epeiros_Near_Thermon_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Thermon_warningissued 1
end_if
if I_CharacterTypeNearTile thrace general, 5  132, 111
and I_CompareCounter Thermon_warningissued = 0
advance_advice_thread Epeiros_Near_Thermon_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Thermon_warningissued 1
end_if
end_monitor
monitor_conditions I_FactionNearTile seleucid 5  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_LocalFaction seleucid
and I_CompareCounter GreeksrelationswithRomans = 0

if I_CharacterTypeNearTile seleucid family, 5  132, 111
and I_CompareCounter Thermon_warningissued = 0
advance_advice_thread Romans_Near_Thermon_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Thermon_warningissued 1
end_if
if I_CharacterTypeNearTile seleucid general, 5  132, 111
and I_CompareCounter Thermon_warningissued = 0
advance_advice_thread Romans_Near_Thermon_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Thermon_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile macedon general,  2  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithMacedon = 0
console_command diplomatic_stance greek_cities macedon war
set_counter GreeksrelationswithMacedon 1

if I_LocalFaction greek_cities
advance_advice_thread Macedon_Attacks_Thermon_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile macedon family,  2  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithMacedon = 0
console_command diplomatic_stance greek_cities macedon war
set_counter GreeksrelationswithMacedon 1

if I_LocalFaction greek_cities
advance_advice_thread Macedon_Attacks_Thermon_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile thrace general,  2  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithEpeiros = 0
console_command diplomatic_stance greek_cities thrace war
set_counter GreeksrelationswithEpeiros 1

if I_LocalFaction greek_cities
advance_advice_thread Epeiros_Attacks_Thermon_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile thrace family,  2  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithEpeiros = 0
console_command diplomatic_stance greek_cities thrace war
set_counter GreeksrelationswithEpeiros 1

if I_LocalFaction greek_cities
advance_advice_thread Epeiros_Attacks_Thermon_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile seleucid general,  2  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithRomans = 0
console_command diplomatic_stance greek_cities seleucid war
set_counter GreeksrelationswithRomans 1

if I_LocalFaction greek_cities
advance_advice_thread Romans_Attacks_Thermon_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile seleucid family,  2  132, 111
and I_SettlementOwner Thermon = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithRomans = 0
console_command diplomatic_stance greek_cities seleucid war
set_counter GreeksrelationswithRomans 1

if I_LocalFaction greek_cities
advance_advice_thread Romans_Attacks_Thermon_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7l: Trapezous (KH)
;--------------------------------------------------

declare_counter GreeksrelationswithPontic
declare_counter GreeksrelationswithArmenia

;------------------Set counter-----------

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction carthage = AtWar
set_counter GreeksrelationswithPontic 0
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GreeksrelationswithArmenia 1
end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and not DiplomaticStanceFromFaction romans_scipii = AtWar
set_counter GreeksrelationswithArmenia 0
end_monitor

;----------------Worning-----------------

declare_counter Trapezous_warningissued
monitor_conditions I_FactionNearTile carthage 5  203, 140
and I_SettlementOwner Trapezous = slave
and I_TurnNumber < 40
and I_LocalFaction carthage
and I_CompareCounter GreeksrelationswithPontic = 0

if I_CharacterTypeNearTile carthage family, 5  203, 140
and I_CompareCounter Trapezous_warningissued = 0
advance_advice_thread Pontic_Near_Trapezous_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Trapezous_warningissued 1
end_if
if I_CharacterTypeNearTile carthage general, 5  203, 140
and I_CompareCounter Trapezous_warningissued = 0
advance_advice_thread Pontic_Near_Trapezous_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Trapezous_warningissued 1
end_if
end_monitor
monitor_event FactionTurnStart FactionIsLocal
set_counter Trapezous_warningissued 0
end_monitor
monitor_conditions I_FactionNearTile romans_scipii 5  203, 140
and I_SettlementOwner Trapezous = slave
and I_TurnNumber < 40
and I_LocalFaction romans_scipii
and I_CompareCounter GreeksrelationswithArmenia = 0

if I_CharacterTypeNearTile romans_scipii family, 5  203, 140
and I_CompareCounter Trapezous_warningissued = 0
advance_advice_thread Armenia_Near_Trapezous_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Trapezous_warningissued 1
end_if
if I_CharacterTypeNearTile romans_scipii general, 5  203, 140
and I_CompareCounter Trapezous_warningissued = 0
advance_advice_thread Armenia_Near_Trapezous_Thread
wait 1
select_ui_element advisor_portrait_button
simulate_mouse_click lclick_up
set_counter Trapezous_warningissued 1
end_if
end_monitor

;-----------War-------------------

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage general,  2  203, 140
and I_SettlementOwner Trapezous = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Pontic_Attacks_Trapezous_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile carthage family,  2  203, 140
and I_SettlementOwner Trapezous = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithPontic = 0
console_command diplomatic_stance greek_cities carthage war
set_counter GreeksrelationswithPontic 1

if I_LocalFaction greek_cities
advance_advice_thread Pontic_Attacks_Trapezous_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_scipii general,  2  203, 140
and I_SettlementOwner Trapezous = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithArmenia = 0
console_command diplomatic_stance greek_cities romans_scipii war
set_counter GreeksrelationswithArmenia 1

if I_LocalFaction greek_cities
advance_advice_thread Armenia_Attacks_Trapezous_Thread
end_if

end_monitor

monitor_event FactionTurnStart FactionType greek_cities
and I_CharacterTypeNearTile romans_scipii family,  2  203, 140
and I_SettlementOwner Trapezous = slave
and I_TurnNumber < 40
and I_FactionBesieged slave
and I_CompareCounter GreeksrelationswithArmenia = 0
console_command diplomatic_stance greek_cities romans_scipii war
set_counter GreeksrelationswithArmenia 1

if I_LocalFaction greek_cities
advance_advice_thread Armenia_Attacks_Trapezous_Thread
end_if

end_monitor

;--------------------------------------------------
;Section 7m: Qarthadastim vs. Romani (Messana)
;--------------------------------------------------
;  If a Roman army approaches Messana, the Qarthadastim threaten war.
;  If a Roman army starts and ends a turn adjacent to Messana, the Qarthadastim declare war.
;  Occurs if Qarthadastim control Lilibeo and Messana is controlled by Eleutheroi.
;--------------------------------------------------
;
declare_counter WarnRomeMessana
declare_counter MessanaHeldBySlave
declare_counter RomeNextToMessanaAtTurnStart
set_counter WarnRomeMessana 1
set_counter MessanaHeldBySlave 1
;
;======================================================
;  Determine if the Eleutheroi hold Messana
;======================================================
monitor_event SettlementTurnStart SettlementName Messana
    set_counter MessanaHeldBySlave 0
    if I_SettlementOwner Messana = slave
        set_counter MessanaHeldBySlave 1
    end_if
end_monitor
;
;======================================================
;  Determine if the Romans are adjacent to Messana
;======================================================
monitor_event FactionTurnStart FactionType seleucid
    set_counter RomeNextToMessanaAtTurnStart 0
    if I_CharacterTypeNearTile seleucid general, 1 106,107
        set_counter RomeNextToMessanaAtTurnStart 1
    end_if
    if I_CharacterTypeNearTile seleucid named_character, 1 106,107
        set_counter RomeNextToMessanaAtTurnStart 1
    end_if
end_monitor
;
;======================================================
;  Allow the Roman player to receive a warning once per turn
;  unless the Romans and Qarthadastim are already at war.
;======================================================
monitor_event FactionTurnStart FactionIsLocal
              and I_LocalFaction seleucid
              and not DiplomaticStanceFromFaction egypt = AtWar
              and I_SettlementOwner Messana = slave
              and I_SettlementOwner Lilibeo = egypt
        set_counter WarnRomeMessana 1
end_monitor
;
;======================================================
;  If a Roman army crosses into Sicily, the Qarthadastim warn that
;  they will declare war if the Romans don't leave the vicinity of Messana.
;======================================================
monitor_conditions I_FactionNearTile seleucid  1 106,105
               and I_LocalFaction seleucid
               and I_CompareCounter WarnRomeMessana = 1
               and I_SettlementOwner Messana = slave
               and I_SettlementOwner Lilibeo = egypt
    if I_CharacterTypeNearTile seleucid general, 1 106,105
        advance_advice_thread Rome_Near_Messana_Thread
        set_counter WarnRomeMessana 0
    end_if
    if I_CharacterTypeNearTile seleucid named_character, 1 106,105
        advance_advice_thread Rome_Near_Messana_Thread
        set_counter WarnRomeMessana 0
    end_if
end_monitor
;
;======================================================
;  If a Roman army is adjacent to Messana, the Qarthadastim warn that
;  they will declare war if the Romans don't leave the vicinity of Messana.
;======================================================
monitor_conditions I_FactionNearTile seleucid  1 106,107
               and I_LocalFaction seleucid
               and I_CompareCounter WarnRomeMessana = 1
               and I_SettlementOwner Messana = slave
               and I_SettlementOwner Lilibeo = egypt
    if I_CharacterTypeNearTile seleucid general, 1 106,107
        advance_advice_thread Rome_Near_Messana_Thread
        set_counter WarnRomeMessana 0
    end_if
    if I_CharacterTypeNearTile seleucid named_character, 1 106,107
        advance_advice_thread Rome_Near_Messana_Thread
        set_counter WarnRomeMessana 0
    end_if
end_monitor
;
;======================================================
;  If the Roman player begins and ends his turn with an army
;  adjacent to Messana, the Qarthadastim declare war.
;======================================================
monitor_event FactionTurnEnd FactionType seleucid
              and I_FactionNearTile seleucid  1 106,107
              and not DiplomaticStanceFromFaction egypt = AtWar
              and I_SettlementOwner Messana = slave
              and I_SettlementOwner Lilibeo = egypt
              and I_CompareCounter RomeNextToMessanaAtTurnStart = 1
    if I_CharacterTypeNearTile seleucid general, 1 106,107
        console_command diplomatic_stance egypt seleucid war
    end_if
    if I_CharacterTypeNearTile seleucid named_character, 1 106,107
        console_command diplomatic_stance egypt seleucid war
    end_if
end_monitor
;
;======================================================
;  If the Roman player captures Messana from the Eleutheroi,
;  the Qarthadastim declare war.
;======================================================
monitor_event GeneralCaptureSettlement FactionType seleucid
          and SettlementName Messana
          and not DiplomaticStanceFromFaction egypt = AtWar
          and I_SettlementOwner Lilibeo = egypt
          and I_CompareCounter MessanaHeldBySlave = 1
    console_command diplomatic_stance egypt seleucid war
    set_counter MessanaHeldBySlave 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 8: Special Events
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;--------------------------------------------------
;Section 8a: The Chersonesos Event
;--------------------------------------------------

declare_counter Chersonesos_Event

monitor_event FactionTurnStart FactionIsLocal
and FactionType carthage
and not I_FactionNearTile slave 1 57,5
and I_SettlementOwner Chersonesos = slave

if I_CharacterTypeNearTile armenia general, 5 177, 155
advance_advice_thread Chersonesos_Event_1_Thread
spawn_character slave Moses, diplomat, command 0, influence 0, management 0, subterfuge 0, age 59, , x 57, y 5
terminate_monitor
end_if

if I_CharacterTypeNearTile armenia named_character, 5 177, 155
advance_advice_thread Chersonesos_Event_1_Thread
spawn_character slave Moses, diplomat, command 0, influence 0, management 0, subterfuge 0, age 59, , x 57, y 5
terminate_monitor
end_if

end_monitor

monitor_conditions I_CharacterTypeNearTile carthage named_character, 5 177, 156
and I_LocalFaction carthage
and I_CharacterTypeNearTile slave diplomat, 1 57,5
spawn_army
faction slave
character Rhaskos, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 177, y 157
unit greek infantry taxeis hoplitai, exp 5 armour 0 weapon_lvl 0
end
console_command give_trait "Rhaskos" EasyToBribe 1
console_command create_unit Rhaskos "greek infantry taxeis hoplitai" 2
wait 0.2
spawn_character carthage Polemon, diplomat, command 0, influence 0, management 0, subterfuge 0, age 64, , x 178, y 156
console_command give_trait "Polemon" GoodDiplomat 5
console_command give_trait "Polemon" NaturalDiplomatSkill 3
advance_advice_thread Chersonesos_Event_2_Thread
wait 0.2
console_command kill_character "Moses"
terminate_monitor
end_monitor

monitor_conditions I_CharacterTypeNearTile carthage admiral, 7 175, 151
and I_LocalFaction carthage
and I_CharacterTypeNearTile slave diplomat, 1 57,5
and I_NumberUnitsInSettlement Chersonesos aorsi_riders < 3
console_command create_unit Chersonesos "steppe missile cavalry aursa baexdzhyntae" 3
console_command create_unit Chersonesos "steppe missile cavalry skuda baexdzhyntae" 3
console_command create_unit Chersonesos "eastern missile thanvare payahdag" 4
terminate_monitor
end_monitor

;--------------------------------------------------
;Section 8b: Tomb Of Alexander
;--------------------------------------------------
;
;monitor_event CharacterTurnEnd FactionType romans_julii
;and EndedInSettlement
;and SettlementName Alexandreia
;and SettlementBuildingExists = threefive
;
;console_command test_message civil_war
;console_command set_building_health Alexandreia uniques3 50
;
;terminate_monitor
;end_monitor
;
;monitor_event GeneralCaptureSettlement FactionType romans_julii
;and SettlementName Alexandreia
;and SettlementBuildingExists = threefive
;
;console_command test_message civil_war
;console_command set_building_health Alexandreia uniques3 50
;
;terminate_monitor
;end_monitor
;
;monitor_event GeneralCaptureSettlement FactionType macedon
;and SettlementName Alexandreia
;and SettlementBuildingExists = threefive
;
;console_command test_message civil_war
;console_command set_building_health Alexandreia uniques3 50
;
;terminate_monitor
;end_monitor
;
;monitor_event CharacterTurnEnd FactionType macedon
;and EndedInSettlement
;and SettlementName Alexandreia
;and SettlementBuildingExists = threefive
;
;console_command test_message civil_war
;console_command set_building_health Alexandreia uniques3 50
;
;terminate_monitor
;end_monitor
;
;--------------------------------------------------
;Section 8c: Baktrian Independence
;--------------------------------------------------

declare_counter BaktriaIndependent

set_counter BaktriaIndependent 0


monitor_event SettlementTurnEnd SettlementName Attuaca
and SettlementBuildingExists = hinterland_victory

set_counter BaktriaIndependent 1

end_monitor



monitor_event CharacterTurnStart CharacterIsLocal
and FactionType romans_julii
and DiplomaticStanceFromCharacter romans_brutii AtWar
and I_CompareCounter BaktriaIndependent = 0

console_command test_message outlawed
console_command create_building Attuaca hinterland_victory

terminate_monitor
end_monitor

monitor_event CharacterTurnStart CharacterIsLocal
and FactionType romans_brutii
and DiplomaticStanceFromCharacter romans_julii AtWar
and I_CompareCounter BaktriaIndependent = 0

console_command test_message outlawed
console_command create_building Attuaca hinterland_victory

terminate_monitor
end_monitor

;--------------------------------------------------
;Section 8d: Roman Triumph
;--------------------------------------------------

;monitor_event CharacterTurnStart FactionType seleucid
;and Trait Triumphator > 2
;
;console_command test_message outlawed
;
;
;end_monitor

;--------------------------------------------------
;Section 8e: Seleukid Anabasis
;--------------------------------------------------

declare_counter anabasis

monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and SettlementBuildingExists = hinterland_victory

set_counter anabasis 1

end_monitor

monitor_event CharacterTurnStart FactionType romans_julii
and CharacterIsLocal
and I_NumberOfSettlements romans_brutii = 0
and I_NumberOfSettlements parthia = 0
and I_SettlementOwner Nisa = romans_julii
and I_SettlementOwner Khiva = romans_julii
and I_SettlementOwner Baktra = romans_julii
and I_CompareCounter anabasis = 0

console_command test_message civil_war_possible
console_command create_building Gawjam_Skandzawarjoz hinterland_victory


terminate_monitor
end_monitor

;--------------------------------------------------
;Section 8f: Pahlava Shahanshah
;--------------------------------------------------

declare_counter shahanshah

set_counter shahanshah 0


monitor_event SettlementTurnStart SettlementName Gwjm~Skndzwrjoz
and SettlementBuildingExists = hinterland_victory

set_counter shahanshah 1

end_monitor


monitor_event CharacterTurnStart FactionType parthia
and CharacterIsLocal
and I_SettlementOwner Seleukeia = parthia
and I_SettlementOwner Susa = parthia
and I_SettlementOwner Ekbatana = parthia
and I_SettlementOwner Persepolis = parthia
and I_CompareCounter shahanshah = 0

;  Use of the disaster_fire event causes a crash under some circumstances.
;  We'll use the advisor to send the Shahanshah message instead.
;console_command test_message disaster_fire
advance_advice_thread Shahanshah_Thread
console_command create_building Gawjam_Skandzawarjoz hinterland_victory


terminate_monitor
end_monitor

;--------------------------------------------------
;Section 8g: Sweboz Triumphs
;--------------------------------------------------

;--------------------------
; Segewalahuz
;--------------------------
monitor_event CharacterTurnEnd FactionType germans
and Trait Segewalahuz = 2
and I_SettlementOwner Swebotraustastamnoz = germans

if I_TurnNumber < 660
    console_command create_unit Swebotraustastamnoz "germanic infantry gastiz" 1
end_if

if I_TurnNumber > 659
    console_command create_unit Swebotraustastamnoz "germanic infantry gaisaz harjoz" 1
end_if

end_monitor

;--------------------------
; Segerumiskoz
;--------------------------
monitor_event CharacterTurnEnd FactionType germans
and Trait Segerumiskoz = 2
and I_SettlementOwner Swebotraustastamnoz = germans

console_command add_money 1000

if I_TurnNumber < 660
    console_command create_unit Swebotraustastamnoz "germanic infantry gastiz" 1
end_if

if I_TurnNumber > 659
    console_command create_unit Swebotraustastamnoz "germanic infantry gaisaz harjoz" 1
end_if

end_monitor

;--------------------------
; HairaskapizAllaStamnoz
;--------------------------
monitor_event CharacterTurnEnd FactionType germans
and Trait HairaskapizAllaStamnoz = 2
and I_SettlementOwner Swebotraustastamnoz = germans

if I_TurnNumber < 660
    console_command create_unit Swebotraustastamnoz "germanic infantry gastiz" 1
end_if

if I_TurnNumber > 659
    console_command create_unit Swebotraustastamnoz "germanic infantry gaisaz harjoz" 1
end_if

end_monitor


;--------------------------------------------------
;Section 8h: Devastation Script
;--------------------------------------------------

monitor_event GeneralDevastatesTile FactionType germans

console_command add_money germans, 300

end_monitor

monitor_event GeneralDevastatesTile FactionType armenia

console_command add_money armenia, 300

end_monitor

monitor_event GeneralDevastatesTile FactionType pontus

console_command add_money pontus, 300

end_monitor

;--------------------------------------------------
;Section 8i: Nomad Horse Discount
;--------------------------------------------------

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Yazyga
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Roxsalanna
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Aursa
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Mazsakata
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Alanna
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Nisa
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Saka
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Sulek
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Asaak
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Hekatompylos
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Ekbatana
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Baktra
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Antiocheia-Margiane
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Khiva
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Marakanda
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Armavir
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Mazaka
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Naissos
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Vindobona
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Antiocheia
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gwjm~Hbukoz
              console_command add_money parthia, 275
end_monitor


; mixed settlements
monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Ak-Ink
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Buridava
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gwjm~Bastarnoz
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gordu-Neuriji
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gelonus
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Olbia
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Chersonesos
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Pantikapaion
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Tanais
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Uspe
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Edessa
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Phraaspa
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Apameia
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Alexandreia-Ariana
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Prophthasia
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Alexandropolis
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Chach
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Alexandreia-Eschate
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Chighu
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType parthia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Haomavarga
          and SettlementBuildingExists >= warlordm
              console_command add_money parthia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Yazyga
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Roxsalanna
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Aursa
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Mazsakata
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Alanna
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Nisa
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Saka
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Sulek
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Asaak
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Hekatompylos
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Ekbatana
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Baktra
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Antiocheia-Margiane
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Khiva
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Marakanda
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Armavir
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Mazaka
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Naissos
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Vindobona
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Antiocheia
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gwjm~Hbukoz
              console_command add_money armenia, 275
end_monitor


; mixed settlements
monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Ak-Ink
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Buridava
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gwjm~Bastarnoz
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gordu-Neuriji
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gelonus
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Olbia
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Chersonesos
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Pantikapaion
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Tanais
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Uspe
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Edessa
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Phraaspa
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Apameia
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Alexandreia-Ariana
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Prophthasia
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Alexandropolis
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Chach
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Alexandreia-Eschate
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Chighu
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType armenia
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Haomavarga
          and SettlementBuildingExists >= warlordm
              console_command add_money armenia, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Yazyga
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Roxsalanna
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Aursa
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Mazsakata
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Alanna
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Nisa
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Saka
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Sulek
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Asaak
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Hekatompylos
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Ekbatana
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Baktra
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Antiocheia-Margiane
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Khiva
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Marakanda
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Armavir
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Mazaka
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Naissos
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Vindobona
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Antiocheia
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gwjm~Hbukoz
              console_command add_money pontus, 275
end_monitor


; mixed settlements
monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Ak-Ink
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Buridava
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gwjm~Bastarnoz
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gordu-Neuriji
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gelonus
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Olbia
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Chersonesos
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Pantikapaion
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Tanais
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Uspe
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Edessa
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Phraaspa
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Apameia
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Alexandreia-Ariana
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Prophthasia
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Alexandropolis
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Chach
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Alexandreia-Eschate
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Chighu
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor

monitor_event UnitTrained FactionType pontus
          and TrainedUnitCategory cavalry
          and SettlementName Gava-Haomavarga
          and SettlementBuildingExists >= warlordm
              console_command add_money pontus, 275
end_monitor


;--------------------------------------------------
;Section 8j: Gauls - Epeiros Alliance
;--------------------------------------------------

declare_counter Epeirote_Invitation

monitor_event SettlementTurnStart SettlementName Sulek
and SettlementBuildingExists = hinterland_victory
set_counter Epeirote_Invitation 3
end_monitor

;AEDUI

monitor_event FactionTurnStart FactionType gauls
and I_LocalFaction gauls
and I_CompareCounter Epeirote_Invitation != 3
and I_SettlementOwner Vindobona != gauls
and I_SettlementOwner Ak_Ink != gauls
and I_SettlementOwner Vindobona != thrace
and I_SettlementOwner Ak_Ink != thrace
and I_NumberOfSettlements thrace > 0
and not DiplomaticStanceFromFaction thrace < Suspicious	; comment the rest of the conditions out to test the script immediately
and I_TurnNumber > 35
and I_TurnNumber < 210
and RandomPercent < 5


console_command create_building Sulek hinterland_victory
advance_advice_thread Epeirote_Invitation_Thread

select_ui_element advisor_portrait_button
simulate_mouse_click lclick down
simulate_mouse_click lclick up

set_counter Epeirote_Invitation 1
end_monitor

; If player accepts, force the alliance, spawn Skepas and Moses and set counter
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
and I_CompareCounter Epeirote_Invitation = 1
and I_LocalFaction gauls

console_command diplomatic_stance gauls thrace allied

spawn_character slave Moses, diplomat, command 0, influence 0, management 0, subterfuge 0, age 59, , x 57, y 5

spawn_army
faction thrace
character Skepas, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 57, y 5
unit greek infantry thorakitai, exp 4 armour 0 weapon_lvl 0
unit generic siege 30mina, exp 0 armour 0 weapon_lvl 0
unit illyrian infantry taxeis illyrioi, exp 0 armour 0 weapon_lvl 0
unit illyrian infantry taxeis illyrioi, exp 0 armour 0 weapon_lvl 0
unit illyrian infantry taxeis illyrioi, exp 0 armour 0 weapon_lvl 0
unit hellenistic infantry illyrian thureophoroi, exp 0 armour 0 weapon_lvl 0
unit greek missile sphendenotai, exp 0 armour 0 weapon_lvl 0
unit greek missile sphendenotai, exp 0 armour 0 weapon_lvl 0
end

set_counter Epeirote_Invitation 3
end_monitor

; If player rejects prevent event from recurring
monitor_event ButtonPressed ButtonPressed advisor_dismiss_button
and I_CompareCounter Epeirote_Invitation = 1
and I_LocalFaction gauls
set_counter Epeirote_Invitation 3
end_monitor


; When the player advances towards Danube bring Epeirote troops to area
; and move them to back up sieges
monitor_event FactionTurnEnd FactionType thrace
and I_CharacterTypeNearTile slave diplomat, 1 57,5
and I_FactionNearTile gauls 10 111,154
; and DiplomaticStanceFromFaction gauls = Allied
if not I_SettlementOwner Vindobona = gauls
and not I_SettlementOwner Ak_Ink = gauls
console_command move_character "Skepas" 114,152
end_if
if I_FactionNearTile gauls 2 111,161
and I_SettlementOwner Vindobona != gauls
console_command move_character "Skepas" 112,161
if I_SettlementOwner Vindobona = slave
console_command create_unit Vindobona "celtic infantry gaeroas" 1
console_command create_unit Vindobona "hellenistic infantry illyrian thureophoroi" 2
console_command create_unit Vindobona "dacian infantry drapanai" 1
end_if
end_if
if I_FactionNearTile gauls 3 118,157
and I_SettlementOwner Ak_Ink != gauls
console_command move_character "Skepas" 119,156
if I_SettlementOwner Ak_Ink = slave
console_command create_unit Ak_Ink "celtic infantry gaeroas" 2
console_command create_unit Ak_Ink "hellenistic infantry illyrian thureophoroi" 2
console_command create_unit Ak_Ink "dacian infantry drapanai" 1
end_if
end_if
if I_SettlementOwner Ak_Ink = gauls
and I_SettlementOwner Vindobona = gauls

monitor_event FactionTurnStart LocalFaction
advance_advice_thread Epeirote_Invitation_End_Gallic_Thread
console_command kill_character "Moses"
terminate_monitor
end_monitor

while I_CharacterTypeNearTile slave diplomat, 1 57,5
end_while

end_if
end_monitor

;ARVERNI

monitor_event FactionTurnStart FactionType scythia
and I_CompareCounter Epeirote_Invitation != 3
and I_SettlementOwner Vindobona != scythia
and I_SettlementOwner Ak_Ink != scythia
and I_SettlementOwner Vindobona != thrace
and I_SettlementOwner Ak_Ink != thrace
and I_NumberOfSettlements thrace > 0
and not DiplomaticStanceFromFaction thrace < Suspicious
and I_TurnNumber > 35
and I_TurnNumber < 210
and RandomPercent < 5
and I_LocalFaction scythia

console_command create_building Sulek hinterland_victory
advance_advice_thread Epeirote_Invitation_Thread

select_ui_element advisor_portrait_button
simulate_mouse_click lclick down
simulate_mouse_click lclick up

set_counter Epeirote_Invitation 1
end_monitor

; If player accepts, force the alliance, spawn Skepas and Moses and set counter
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
and I_CompareCounter Epeirote_Invitation = 1
and I_LocalFaction scythia

console_command diplomatic_stance scythia thrace allied

spawn_character slave Moses, diplomat, command 0, influence 0, management 0, subterfuge 0, age 59, , x 57, y 5

spawn_army
faction thrace
character Skepas, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 57, y 5
unit greek infantry thorakitai, exp 4 armour 0 weapon_lvl 0
unit generic siege 30mina, exp 0 armour 0 weapon_lvl 0
unit illyrian infantry taxeis illyrioi, exp 0 armour 0 weapon_lvl 0
unit illyrian infantry taxeis illyrioi, exp 0 armour 0 weapon_lvl 0
unit illyrian infantry taxeis illyrioi, exp 0 armour 0 weapon_lvl 0
unit hellenistic infantry illyrian thureophoroi, exp 0 armour 0 weapon_lvl 0
unit greek missile sphendenotai, exp 0 armour 0 weapon_lvl 0
unit greek missile sphendenotai, exp 0 armour 0 weapon_lvl 0
end

set_counter Epeirote_Invitation 3
end_monitor

; If player rejects prevent event from recurring
monitor_event ButtonPressed ButtonPressed advisor_dismiss_button
and I_CompareCounter Epeirote_Invitation = 1
and I_LocalFaction scythia
set_counter Epeirote_Invitation 3
end_monitor


; When the player advances towards Danube bring Epeirote troops to area
; and move them to back up sieges
monitor_event FactionTurnEnd FactionType thrace
and I_CharacterTypeNearTile slave diplomat, 1 57,5
and I_FactionNearTile scythia 10 111,154
; and DiplomaticStanceFromFaction scythia = Allied
if not I_SettlementOwner Vindobona = scythia
and not I_SettlementOwner Ak_Ink = scythia
console_command move_character "Skepas" 114,152
end_if
if I_FactionNearTile scythia 2 111,161
and I_SettlementOwner Vindobona != scythia
console_command move_character "Skepas" 112,161
if I_SettlementOwner Vindobona = slave
console_command create_unit Vindobona "celtic infantry gaeroas" 1
console_command create_unit Vindobona "hellenistic infantry illyrian thureophoroi" 2
console_command create_unit Vindobona "dacian infantry drapanai" 1
end_if
end_if
if I_FactionNearTile scythia 3 118,157
and I_SettlementOwner Ak_Ink != scythia
console_command move_character "Skepas" 119,156
if I_SettlementOwner Ak_Ink = slave
console_command create_unit Ak_Ink "celtic infantry gaeroas" 2
console_command create_unit Ak_Ink "hellenistic infantry illyrian thureophoroi" 2
console_command create_unit Ak_Ink "dacian infantry drapanai" 1
end_if
end_if
if I_SettlementOwner Ak_Ink = scythia
and I_SettlementOwner Vindobona = scythia

monitor_event FactionTurnStart LocalFaction
advance_advice_thread Epeirote_Invitation_End_Gallic_Thread
console_command kill_character "Moses"
terminate_monitor
end_monitor

while I_CharacterTypeNearTile slave diplomat, 1 57,5
end_while

end_if
end_monitor

;--------------------------------------------------
;Section 8k: Celtiberian Alliance
;--------------------------------------------------
; Declare Celtiberian Alliance counters
;
declare_counter CeltiberianAlliance
set_counter CeltiberianAlliance 0
;
declare_counter RomeWarnedNumantia
set_counter RomeWarnedNumantia 0
;
declare_counter LusotanaWarnedNumantia
set_counter LusotanaWarnedNumantia 0
;
declare_counter AeduiWarnedNumantia
set_counter AeduiWarnedNumantia 0
;
declare_counter ArverniWarnedNumantia
set_counter ArverniWarnedNumantia 0
;
declare_counter QarthadastWarnedNumantia
set_counter QarthadastWarnedNumantia 0
;
declare_counter CasseWarnedNumantia
set_counter CasseWarnedNumantia 0
;
declare_counter CreateLargeCeltiberianArmy
set_counter CreateLargeCeltiberianArmy 0
;
declare_counter CreateMediumCeltiberianArmy
set_counter CreateMediumCeltiberianArmy 0
;
declare_counter OKtoCreateCeltiberianArmy
set_counter OKtoCreateCeltiberianArmy 0
;====================================================================
;
; Initial checks for alliance status
;
;====================================================================
monitor_event SettlementTurnEnd SettlementName Tuat
          and not SettlementBuildingExists = hinterland_victory
    set_counter CeltiberianAlliance 1
end_monitor
;
monitor_event SettlementTurnEnd SettlementName Tuat
          and not SettlementBuildingExists = hinterland_victory
          and I_SettlementOwner Numantia != slave
    set_counter CeltiberianAlliance 0
    console_command create_building Tuat hinterland_victory
    terminate_monitor
end_monitor
;
monitor_event SettlementTurnEnd SettlementName Tuat
          and not SettlementBuildingExists = hinterland_victory
          and I_SettlementOwner Oxtraca != spain
    set_counter CeltiberianAlliance 0
    console_command create_building Tuat hinterland_victory
    terminate_monitor
end_monitor
;
monitor_event SettlementTurnEnd SettlementName Tuat
          and not SettlementBuildingExists = hinterland_victory
          and I_TurnNumber > 399
    set_counter CeltiberianAlliance 0
    console_command create_building Tuat hinterland_victory
    terminate_monitor
end_monitor
;
;====================================================================
;
; End the Celtiberian alliance if either Numantia or Oxtraca is captured or after 100 years
; from the start of the game
;
;====================================================================
monitor_event SettlementTurnEnd SettlementName Numantia
          and I_SettlementOwner Numantia != slave
    set_counter CeltiberianAlliance 0
    terminate_monitor
end_monitor
;
monitor_event SettlementTurnEnd SettlementName Oxtraca
          and I_SettlementOwner Oxtraca != spain
    set_counter CeltiberianAlliance 0
    terminate_monitor
end_monitor
;
monitor_event GeneralCaptureSettlement SettlementName Numantia
    set_counter CeltiberianAlliance 0
    terminate_monitor
end_monitor
;
monitor_event GeneralCaptureSettlement SettlementName Oxtraca
    set_counter CeltiberianAlliance 0
    terminate_monitor
end_monitor
;
monitor_event FactionTurnStart FactionIsLocal
          and I_TurnNumber > 399
    set_counter CeltiberianAlliance 0
    terminate_monitor
end_monitor
;
;====================================================================
;
;  Player is near Numantia: If player not already at war with Lusotana,
;  warn him that Lusotana will declare war if he moves next to Numantia
;
;====================================================================
monitor_conditions I_FactionNearTile seleucid  4 33,133
               and I_CompareCounter RomeWarnedNumantia = 0
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
               and I_LocalFaction seleucid
    if I_CharacterTypeNearTile seleucid general, 4 33,133
        advance_advice_thread Rome_Near_Numantia_Thread
        set_counter RomeWarnedNumantia 1
    end_if
    if I_CharacterTypeNearTile seleucid named_character, 4 33,133
        advance_advice_thread Rome_Near_Numantia_Thread
        set_counter RomeWarnedNumantia 1
    end_if
end_monitor
;
monitor_conditions I_FactionNearTile gauls  4 33,133
               and I_CompareCounter AeduiWarnedNumantia = 0
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
               and I_LocalFaction gauls
    if I_CharacterTypeNearTile gauls general, 4 33,133
        advance_advice_thread Aedui_Near_Numantia_Thread
        set_counter AeduiWarnedNumantia 1
    end_if
    if I_CharacterTypeNearTile gauls named_character, 4 33,133
        advance_advice_thread Aedui_Near_Numantia_Thread
        set_counter AeduiWarnedNumantia 1
    end_if
end_monitor
;
monitor_conditions I_FactionNearTile scythia  4 33,133
               and I_CompareCounter ArverniWarnedNumantia = 0
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
               and I_LocalFaction scythia
    if I_CharacterTypeNearTile scythia general, 4 33,133
        advance_advice_thread Arverni_Near_Numantia_Thread
        set_counter ArverniWarnedNumantia 1
    end_if
    if I_CharacterTypeNearTile scythia named_character, 4 33,133
        advance_advice_thread Arverni_Near_Numantia_Thread
        set_counter ArverniWarnedNumantia 1
    end_if
end_monitor
;
monitor_conditions I_FactionNearTile egypt  4 33,133
               and I_CompareCounter QarthadastWarnedNumantia = 0
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
               and I_LocalFaction egypt
    if I_CharacterTypeNearTile egypt general, 4 33,133
        advance_advice_thread Qarthadast_Near_Numantia_Thread
        set_counter QarthadastWarnedNumantia 1
    end_if
    if I_CharacterTypeNearTile egypt named_character, 4 33,133
        advance_advice_thread Qarthadast_Near_Numantia_Thread
        set_counter QarthadastWarnedNumantia 1
    end_if
end_monitor
;
monitor_conditions I_FactionNearTile britons  4 33,133
               and I_CompareCounter CasseWarnedNumantia = 0
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
               and I_LocalFaction britons
    if I_CharacterTypeNearTile britons general, 4 33,133
        advance_advice_thread Casse_Near_Numantia_Thread
        set_counter CasseWarnedNumantia 1
    end_if
    if I_CharacterTypeNearTile britons named_character, 4 33,133
        advance_advice_thread Casse_Near_Numantia_Thread
        set_counter CasseWarnedNumantia 1
    end_if
end_monitor
;
;  Lusotana is near Numantia: If player is Lusotannan, warn him that the
;  Celtiberi will declare war if he moves next to Numantia.
;
monitor_conditions I_FactionNearTile spain  4 33,133
               and I_CompareCounter LusotanaWarnedNumantia = 0
               and I_SettlementOwner Numantia = slave
               and I_CompareCounter CeltiberianAlliance = 1
               and I_LocalFaction spain
    if I_CharacterTypeNearTile spain general, 4 33,133
        advance_advice_thread Lusotana_Near_Numantia_Thread
        set_counter LusotanaWarnedNumantia 1
    end_if
    if I_CharacterTypeNearTile spain named_character, 4 33,133
        advance_advice_thread Lusotana_Near_Numantia_Thread
        set_counter LusotanaWarnedNumantia 1
    end_if
end_monitor
;
;  Allow warning once every turn, disable if at war with Lusotana
;
monitor_event FactionTurnStart FactionIsLocal
              and not DiplomaticStanceFromFaction spain = AtWar
              and I_LocalFaction seleucid
        set_counter RomeWarnedNumantia 0
end_monitor
;
monitor_event FactionTurnStart FactionIsLocal
              and not DiplomaticStanceFromFaction spain = AtWar
              and I_LocalFaction gauls
        set_counter AeduiWarnedNumantia 0
end_monitor
;
monitor_event FactionTurnStart FactionIsLocal
              and not DiplomaticStanceFromFaction spain = AtWar
              and I_LocalFaction scythia
        set_counter ArverniWarnedNumantia 0
end_monitor
;
monitor_event FactionTurnStart FactionIsLocal
              and not DiplomaticStanceFromFaction spain = AtWar
              and I_LocalFaction egypt
        set_counter QarthadastWarnedNumantia 0
end_monitor
;
monitor_event FactionTurnStart FactionIsLocal
              and not DiplomaticStanceFromFaction spain = AtWar
              and I_LocalFaction britons
        set_counter CasseWarnedNumantia 0
end_monitor
;
monitor_event FactionTurnStart FactionIsLocal
              and I_LocalFaction spain
    set_counter LusotanaWarnedNumantia 0
end_monitor
;
;====================================================================
;
;  A faction other than Lusotana has moved an army adjacent to Numantia: Lusotana declares
;  war and a Celtiberian army is created.
;
;====================================================================
monitor_conditions I_CharacterTypeNearTile seleucid named_character, 1 33,133 ; Family members and named generals
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain seleucid war
    set_counter RomeWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile seleucid general, 1 33,133 ; Captains
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain seleucid war
    set_counter RomeWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile gauls named_character, 1 33,133 ; Family members and named generals
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain gauls war
    set_counter AeduiWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile gauls general, 1 33,133 ; Captains
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain gauls war
    set_counter AeduiWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile scythia named_character, 1 33,133 ; Family members and named generals
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain scythia war
    set_counter ArverniWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile scythia general, 1 33,133 ; Captains
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain scythia war
    set_counter ArverniWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile egypt named_character, 1 33,133 ; Family members and named generals
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain egypt war
    set_counter QarthadastWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile egypt general, 1 33,133 ; Captains
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain egypt war
    set_counter QarthadastWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile britons named_character, 1 33,133 ; Family members and named generals
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain britons war
    set_counter CasseWarnedNumantia 1
end_monitor
;
monitor_conditions I_CharacterTypeNearTile britons general, 1 33,133 ; Captains
               and I_SettlementOwner Numantia = slave
               and I_SettlementOwner Oxtraca = spain
               and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateLargeCeltiberianArmy 1
    console_command diplomatic_stance spain britons war
    set_counter CasseWarnedNumantia 1
end_monitor
;====================================================================
;
;  Lusotana moves an army adjacent to Numantia. The alliance is broken permanently
;  and a Celtiberian army is created
;
;====================================================================
monitor_conditions I_CharacterTypeNearTile spain named_character, 1 33,133 ; Family members and named generals
               and I_SettlementOwner Numantia = slave
               and I_CompareCounter CeltiberianAlliance = 1
        set_counter CeltiberianAlliance 0
        set_counter CreateLargeCeltiberianArmy 1
        if I_LocalFaction spain
            advance_advice_thread Lusotana_Attacks_Numantia_Thread
	end_if
end_monitor
;
monitor_conditions I_CharacterTypeNearTile spain general, 1 33,133 ; Captains
               and I_SettlementOwner Numantia = slave
               and I_CompareCounter CeltiberianAlliance = 1
        set_counter CeltiberianAlliance 0
        set_counter CreateLargeCeltiberianArmy 1
        if I_LocalFaction spain
            advance_advice_thread Lusotana_Attacks_Numantia_Thread
        end_if
end_monitor
;====================================================================
;
;  Lusotana goes to war with another faction, the alliance is activated
;  and a Celtiberian army is created.
;
;====================================================================
;
monitor_event FactionWarDeclared FactionType seleucid
          and TargetFactionType spain
          and I_SettlementOwner Numantia = slave
          and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateMediumCeltiberianArmy 1
    set_counter RomeWarnedNumantia 1
    terminate_monitor
end_monitor
;
monitor_event FactionWarDeclared FactionType gauls
          and TargetFactionType spain
          and I_SettlementOwner Numantia = slave
          and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateMediumCeltiberianArmy 1
    set_counter AeduiWarnedNumantia 1
    terminate_monitor
end_monitor
;
monitor_event FactionWarDeclared FactionType scythia
          and TargetFactionType spain
          and I_SettlementOwner Numantia = slave
          and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateMediumCeltiberianArmy 1
    set_counter ArverniWarnedNumantia 1
    terminate_monitor
end_monitor
;
monitor_event FactionWarDeclared FactionType egypt
          and TargetFactionType spain
          and I_SettlementOwner Numantia = slave
          and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateMediumCeltiberianArmy 1
    set_counter QarthadastWarnedNumantia 1
    terminate_monitor
end_monitor
;
monitor_event FactionWarDeclared FactionType britons
          and TargetFactionType spain
          and I_SettlementOwner Numantia = slave
          and I_CompareCounter CeltiberianAlliance = 1
    set_counter CreateMediumCeltiberianArmy 1
    set_counter CasseWarnedNumantia 1
    terminate_monitor
end_monitor
;
monitor_conditions I_CompareCounter CreateLargeCeltiberianArmy = 1
    set_counter OKtoCreateCeltiberianArmy 1
    if I_CharacterTypeNearTile slave diplomat, 1 74,16
        set_counter OKtoCreateCeltiberianArmy 0
    end_if
    if I_CompareCounter OKtoCreateCeltiberianArmy = 1
        spawn_army
            faction slave
            character Moskon, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 34, y 133
            unit iberian cavalry light curisii, exp 2 armour 0 weapon_lvl 0
            unit iberian cavalry light curisii, exp 2 armour 0 weapon_lvl 0
            unit iberian skirmisher celtiberian, exp 1 armour 0 weapon_lvl 0
            unit iberian skirmisher celtiberian, exp 1 armour 0 weapon_lvl 0
            unit iberian skirmisher celtiberian, exp 1 armour 0 weapon_lvl 0
            unit iberian skirmisher celtiberian, exp 1 armour 0 weapon_lvl 0
            unit iberian infantry light caetratii, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry light caetratii, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry light caetratii, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry light caetratii, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry loricatii caetratii, exp 3 armour 0 weapon_lvl 0
            unit iberian infantry loricatii caetratii, exp 3 armour 0 weapon_lvl 0
            unit iberian infantry loricatii caetratii, exp 3 armour 0 weapon_lvl 0
            unit iberian infantry loricatii caetratii, exp 3 armour 0 weapon_lvl 0
            unit iberian infantry dunaminaca, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry dunaminaca, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry dunaminaca, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry dunaminaca, exp 2 armour 0 weapon_lvl 0
            unit iberian skirmisher cavalry equites caetratii, exp 1 armour 0 weapon_lvl 0
            unit iberian skirmisher cavalry equites caetratii, exp 1 armour 0 weapon_lvl 0
        end
        console_command give_trait Moskon AIGeneral 2
        spawn_character slave Aaron, diplomat, command 0, influence 0, management 0, subterfuge 0, age 45, , x 74, y 16
    end_if
    set_counter CreateLargeCeltiberianArmy 0
    set_counter OKtoCreateCeltiberianArmy 0
end_monitor
;
monitor_conditions I_CompareCounter CreateMediumCeltiberianArmy = 1
    set_counter OKtoCreateCeltiberianArmy 1
    if I_CharacterTypeNearTile slave diplomat, 1 74,16
        set_counter OKtoCreateCeltiberianArmy 0
    end_if
    if I_CompareCounter OKtoCreateCeltiberianArmy = 1
        spawn_army
            faction slave
            character Tekos, named character, command 0, influence 0, management 0, subterfuge 0, age 32, , x 21, y 130
            unit iberian cavalry light curisii, exp 2 armour 0 weapon_lvl 0
            unit iberian skirmisher celtiberian, exp 1 armour 0 weapon_lvl 0
            unit iberian skirmisher celtiberian, exp 1 armour 0 weapon_lvl 0
            unit iberian infantry light caetratii, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry light caetratii, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry loricatii caetratii, exp 3 armour 0 weapon_lvl 0
            unit iberian infantry loricatii caetratii, exp 3 armour 0 weapon_lvl 0
            unit iberian infantry dunaminaca, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry dunaminaca, exp 2 armour 0 weapon_lvl 0
            unit iberian infantry dunaminaca, exp 2 armour 0 weapon_lvl 0
            unit iberian skirmisher cavalry equites caetratii, exp 1 armour 0 weapon_lvl 0
        end
        console_command give_trait Tekos AIGeneral 1
        spawn_character slave Aaron, diplomat, command 0, influence 0, management 0, subterfuge 0, age 51, , x 74, y 16
            ;
            ;  Assuming here that this type of army is only created when the Celtiberians
            ;  come to the aid of Lusotana
        if I_LocalFaction spain
            advance_advice_thread Celtiberi_Aid_Lusotana_Thread
        end_if
    end_if
    set_counter CreateMediumCeltiberianArmy 0
    set_counter OKtoCreateCeltiberianArmy 0
end_monitor
;--------------------------------------------------
;Section 8l: Rhegion
;  If the Roman player captures Taras early in the game and Rhegion
;  is owned by the eleutheroi, remind him that Rhegion is held by
;  renegade Roman citizens and must be taken from them.
;--------------------------------------------------
declare_counter RhegionWasHeldBySlave
;
if I_SettlementOwner Rhegion = slave
    set_counter RhegionWasHeldBySlave 1
end_if
;
;  The Roman player captures Taras. Inform him that
;  rebel Romans hold Rhegion.
;
monitor_event GeneralCaptureSettlement FactionType seleucid
          and SettlementName Taras
          and I_SettlementOwner Rhegion = slave
          and I_TurnNumber < 32
          and I_LocalFaction seleucid
    advance_advice_thread Rhegion_Rebel_Reminder_Thread
    terminate_monitor
end_monitor
;
;  Determine if the eleutheroi still hold Rhegion
;
monitor_event FactionTurnStart FactionType seleucid
    set_counter RhegionWasHeldBySlave 0
    if I_SettlementOwner Rhegion = slave
        set_counter RhegionWasHeldBySlave 1
    end_if
    if I_SettlementOwner Rhegion = seleucid
        terminate_monitor
    end_if
end_monitor
;
;  The Roman player is near Rhegion and Taras isn't Roman-held.
;  Inform him that rebel Romans hold Rhegion.
;
monitor_event FactionTurnStart FactionType seleucid
          and I_LocalFaction seleucid
          and I_TurnNumber < 38
          and not I_SettlementOwner Taras = seleucid
          and I_SettlementOwner Rhegion = slave
          and I_FactionNearTile seleucid  5 109,109
    if I_CharacterTypeNearTile seleucid general, 5 109,109
        advance_advice_thread Near_Rhegion_Rebel_Reminder_Thread
        terminate_monitor
    end_if
    if I_CharacterTypeNearTile seleucid named_character, 5 109,109
        advance_advice_thread Near_Rhegion_Rebel_Reminder_Thread
        terminate_monitor
    end_if
end_monitor
;
;  Roman player captures Rhegion
;
monitor_event GeneralCaptureSettlement FactionType seleucid
          and SettlementName Rhegion
          and I_TurnNumber < 40
          and I_LocalFaction seleucid
          and I_CompareCounter RhegionWasHeldBySlave = 1
    advance_advice_thread Rhegion_Rebel_Captured_Thread
    terminate_monitor
end_monitor
;====================================================================
;
; Section 8m: Spartan Agoge Messages
;
;====================================================================
;
declare_counter QueueComesOfAgeAgogeAdvice
declare_counter TriggeredComesOfAgeAgogeAdvice
;
declare_counter QueueBeginAgogeAdvice
declare_counter TriggeredBeginAgogeAdvice
;
declare_counter QueueBeginPaidiskosAdvice
declare_counter TriggeredBeginPaidiskosAdvice
;
declare_counter QueueBeginKrypteiaAdvice
declare_counter TriggeredBeginKrypteiaAdvice
;
declare_counter QueueCompletesAgogeAdvice
declare_counter TriggeredCompletesAgogeAdvice
;
; When a Hellenic character comes of age, the advisor tells the player
; that the character can take part in the Spartan Agoge.
;
monitor_event CharacterComesOfAge CharacterIsLocal
          and I_CompareCounter TriggeredComesOfAgeAgogeAdvice = 0
;
    if I_SettlementOwner Sparte = greek_cities
        if I_LocalFaction greek_cities
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueComesOfAgeAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Comes_Of_Age_Agoge_Advisor_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredComesOfAgeAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = macedon
        if I_LocalFaction macedon
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueComesOfAgeAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Comes_Of_Age_Agoge_Advisor_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredComesOfAgeAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_julii
        if I_LocalFaction romans_julii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueComesOfAgeAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Comes_Of_Age_Agoge_Advisor_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredComesOfAgeAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = numidia
        if I_LocalFaction numidia
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueComesOfAgeAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Comes_Of_Age_Agoge_Advisor_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredComesOfAgeAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_brutii
        if I_LocalFaction romans_brutii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueComesOfAgeAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Comes_Of_Age_Agoge_Advisor_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredComesOfAgeAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = thrace
        if I_LocalFaction thrace
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueComesOfAgeAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Comes_Of_Age_Agoge_Advisor_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredComesOfAgeAgogeAdvice 1
        end_if
    end_if
end_monitor
;
; When a character begins the Agoge, the advisor tells the player that
; the character must remain in Sparte for a period of time.
;
monitor_event CharacterTurnStart CharacterIsLocal
          and I_CompareCounter TriggeredBeginAgogeAdvice = 0
          and Trait SpartanAgoge = 1
          and Trait AgogeScriptFlag = 1
;
    if I_SettlementOwner Sparte = greek_cities
        if I_LocalFaction greek_cities
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Agoge_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = macedon
        if I_LocalFaction macedon
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Agoge_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_julii
        if I_LocalFaction romans_julii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Agoge_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = numidia
        if I_LocalFaction numidia
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Agoge_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_brutii
        if I_LocalFaction romans_brutii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Agoge_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginAgogeAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = thrace
        if I_LocalFaction thrace
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginAgogeAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Agoge_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginAgogeAdvice 1
        end_if
    end_if
end_monitor
;
; When a character begins the Paidiskos, the advisor tells the player that
; the character must remain in Sparte for a period of time.
;
monitor_event CharacterTurnStart CharacterIsLocal
          and I_CompareCounter TriggeredBeginPaidiskosAdvice = 0
          and Trait AgogePaidiskos = 1
          and Trait AgogeScriptFlag = 2
;
    if I_SettlementOwner Sparte = greek_cities
        if I_LocalFaction greek_cities
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginPaidiskosAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Paidiskos_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginPaidiskosAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = macedon
        if I_LocalFaction macedon
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginPaidiskosAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Paidiskos_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginPaidiskosAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_julii
        if I_LocalFaction romans_julii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginPaidiskosAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Paidiskos_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginPaidiskosAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = numidia
        if I_LocalFaction numidia
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginPaidiskosAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Paidiskos_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginPaidiskosAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_brutii
        if I_LocalFaction romans_brutii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginPaidiskosAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Paidiskos_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginPaidiskosAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = thrace
        if I_LocalFaction thrace
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginPaidiskosAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Paidiskos_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginPaidiskosAdvice 1
        end_if
    end_if
end_monitor
;
; When a character begins the Krypteia, the advisor tells the player that
; the character must leave Sparte but remain in Lakonia for a period of time.
;
monitor_event CharacterTurnStart CharacterIsLocal
          and I_CompareCounter TriggeredBeginKrypteiaAdvice = 0
          and Trait AgogeKrypteia = 1
          and Trait AgogeScriptFlag = 2
;
    if I_SettlementOwner Sparte = greek_cities
        if I_LocalFaction greek_cities
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginKrypteiaAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Krypteia_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginKrypteiaAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = macedon
        if I_LocalFaction macedon
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginKrypteiaAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Krypteia_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginKrypteiaAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_julii
        if I_LocalFaction romans_julii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginKrypteiaAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Krypteia_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginKrypteiaAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = numidia
        if I_LocalFaction numidia
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginKrypteiaAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Krypteia_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginKrypteiaAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = romans_brutii
        if I_LocalFaction romans_brutii
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginKrypteiaAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Krypteia_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginKrypteiaAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Sparte = thrace
        if I_LocalFaction thrace
            if I_CompareCounter AdviceThisTurn = 1
                set_counter QueueBeginKrypteiaAdvice 1
            end_if
            if I_CompareCounter AdviceThisTurn = 0
                advance_advice_thread Character_Begins_Krypteia_Thread
                set_counter AdviceThisTurn 1
            end_if
            set_counter TriggeredBeginKrypteiaAdvice 1
        end_if
    end_if
end_monitor
;
; The advisor informs the player when a character completes his Agoge training.
;
monitor_event CharacterTurnStart CharacterIsLocal
          and Trait ExcelledAgoge = 1
          and Trait AgogeScriptFlag = 3
          and I_CompareCounter TriggeredCompletesAgogeAdvice = 0
    if I_CompareCounter AdviceThisTurn = 1
        set_counter QueueCompletesAgogeAdvice 1
    end_if
    if I_CompareCounter AdviceThisTurn = 0
        advance_advice_thread Character_Completes_Agoge_Thread
        set_counter AdviceThisTurn 1
    end_if
    set_counter TriggeredCompletesAgogeAdvice 1
end_monitor
;
monitor_event CharacterTurnStart CharacterIsLocal
          and Trait CompletedAgoge = 1
          and Trait AgogeScriptFlag = 3
          and I_CompareCounter TriggeredCompletesAgogeAdvice = 0
    if I_CompareCounter AdviceThisTurn = 1
        set_counter QueueCompletesAgogeAdvice 1
    end_if
    if I_CompareCounter AdviceThisTurn = 0
        advance_advice_thread Character_Completes_Agoge_Thread
        set_counter AdviceThisTurn 1
    end_if
    set_counter TriggeredCompletesAgogeAdvice 1
end_monitor
;
monitor_event CharacterTurnStart CharacterIsLocal
          and Trait BarelyCompletedAgoge = 1
          and Trait AgogeScriptFlag = 3
          and I_CompareCounter TriggeredCompletesAgogeAdvice = 0
    if I_CompareCounter AdviceThisTurn = 1
        set_counter QueueCompletesAgogeAdvice 1
    end_if
    if I_CompareCounter AdviceThisTurn = 0
        advance_advice_thread Character_Completes_Agoge_Thread
        set_counter AdviceThisTurn 1
    end_if
    set_counter TriggeredCompletesAgogeAdvice 1
end_monitor
;
;  When advisor is dismissed, bring up the next queued advisor message
;
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
          and I_CompareCounter QueueComesOfAgeAgogeAdvice = 0
          and I_CompareCounter QueueBeginAgogeAdvice = 0
          and I_CompareCounter QueueBeginPaidiskosAdvice = 0
          and I_CompareCounter QueueBeginKrypteiaAdvice = 0
          and I_CompareCounter QueueCompletesAgogeAdvice = 1
    advance_advice_thread Character_Completes_Agoge_Thread
    set_counter QueueCompletesAgogeAdvice = 0
end_monitor
;
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
          and I_CompareCounter QueueComesOfAgeAgogeAdvice = 0
          and I_CompareCounter QueueBeginAgogeAdvice = 0
          and I_CompareCounter QueueBeginPaidiskosAdvice = 0
          and I_CompareCounter QueueBeginKrypteiaAdvice = 1
    advance_advice_thread Character_Begins_Krypteia_Thread
    set_counter QueueBeginKrypteiaAdvice 0
end_monitor
;
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
          and I_CompareCounter QueueComesOfAgeAgogeAdvice = 0
          and I_CompareCounter QueueBeginAgogeAdvice = 0
          and I_CompareCounter QueueBeginPaidiskosAdvice = 1
    advance_advice_thread Character_Begins_Paidiskos_Thread
    set_counter QueueBeginPaidiskosAdvice 0
end_monitor
;
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
          and I_CompareCounter QueueComesOfAgeAgogeAdvice = 0
          and I_CompareCounter QueueBeginAgogeAdvice = 1
    advance_advice_thread Character_Begins_Agoge_Thread
    set_counter QueueBeginAgogeAdvice 0
end_monitor
;
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
          and I_CompareCounter QueueComesOfAgeAgogeAdvice = 1
    advance_advice_thread Comes_Of_Age_Agoge_Advisor_Thread
    set_counter QueueComesOfAgeAgogeAdvice 0
end_monitor
;
declare_counter AdviceThisTurn
monitor_event FactionTurnEnd FactionIsLocal
    set_counter AdviceThisTurn 0
end_monitor
;
; Reset advisor notification flags
;
monitor_event FactionTurnEnd FactionIsLocal
          and FactionCultureType greek
    set_counter TriggeredComesOfAgeAgogeAdvice 0
    set_counter TriggeredBeginAgogeAdvice 0
    set_counter TriggeredBeginPaidiskosAdvice 0
    set_counter TriggeredBeginKrypteiaAdvice 0
    set_counter TriggeredCompletesAgogeAdvice 0
end_monitor
;
monitor_event FactionTurnEnd FactionIsLocal
          and FactionCultureType egyptian
    set_counter TriggeredComesOfAgeAgogeAdvice 0
    set_counter TriggeredBeginAgogeAdvice 0
    set_counter TriggeredBeginPaidiskosAdvice 0
    set_counter TriggeredBeginKrypteiaAdvice 0
    set_counter TriggeredCompletesAgogeAdvice 0
end_monitor
;--------------------------------------------------
;Section 8n: Xanthippos
;--------------------------------------------------
declare_counter XanthipposThreadOK
set_counter XanthipposThreadOK 0

declare_counter AdvanceXanthipposThreadDone
set_counter AdvanceXanthipposThreadDone 0
;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;Human player Karthadast;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;
monitor_event FactionTurnStart FactionType egypt
          and I_TurnNumber > 66
          and I_TurnNumber < 75
          and I_LocalFaction egypt
          and DiplomaticStanceFromFaction seleucid = AtWar
    set_counter XanthipposThreadOK 1
    if I_CharacterTypeNearTile slave diplomat, 0 68,11
        set_counter XanthipposThreadOK 0
    end_if
    if I_CompareCounter XanthipposThreadOK = 1
        spawn_character slave Esau, diplomat, command 0, influence 0, management 0, subterfuge 0, age 57, , x 68, y 11
        advance_advice_thread Xanthippus_Thread
        set_counter AdvanceXanthipposThreadDone 1
        while I_AdvisorVisible
           move_strat_camera 83, 100
        end_while
    end_if
    set_counter XanthipposThreadOK 0
    terminate_monitor
end_monitor
;
monitor_event ButtonPressed ButtonPressed advisor_dismiss_button
          and I_LocalFaction egypt
          and I_TurnNumber > 66
          and I_TurnNumber < 75
          and I_CompareCounter AdvanceXanthipposThreadDone = 1
    set_counter AdvanceXanthipposThreadDone 0
end_monitor
;
monitor_event ButtonPressed ButtonPressed advisor_portrait_button
          and I_LocalFaction egypt
          and I_TurnNumber > 66
          and I_TurnNumber < 75
          and I_CompareCounter AdvanceXanthipposThreadDone = 1
    spawn_army
        faction egypt
        character, Xanthippos ofcarthago, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 83, y 100
        unit hellenistic infantry spartiateshoplitai, exp 2 armor 1 weapon_lvl 0
    end
    console_command give_trait "Xanthippos ofcarthago" XanthipposBiography 1
    console_command give_trait "Xanthippos ofcarthago" NaturalIntelligence 4
    console_command give_trait "Xanthippos ofcarthago" NaturalCharisma 2
    console_command give_trait "Xanthippos ofcarthago" NaturalEnergy 4
    console_command give_trait "Xanthippos ofcarthago" Selflessness 2
    console_command give_trait "Xanthippos ofcarthago" Temperament 2
    console_command give_trait "Xanthippos ofcarthago" Loyalty 4
    console_command give_trait "Xanthippos ofcarthago" TurnsAlive 4
    console_command give_trait "Xanthippos ofcarthago" CommandExperience 3
    console_command give_trait "Xanthippos ofcarthago" Outsider 1
    console_command give_trait "Xanthippos ofcarthago" GoodTactician 1
    console_command give_trait "Xanthippos ofcarthago" GoodAttacker 1
    console_command give_trait "Xanthippos ofcarthago" Disciplinarian 1
    console_command give_trait "Xanthippos ofcarthago" Stoic 1
    console_command give_ancillary "Xanthippos ofcarthago" mercenary_captain
    set_counter AdvanceXanthipposThreadDone 0
    terminate_monitor
end_monitor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;Human player not Karthadast;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
monitor_event FactionTurnStart FactionType egypt
and I_TurnNumber = 67
and not I_LocalFaction egypt
    spawn_army
        faction egypt
        character, Xanthippos ofcarthago, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 83, y 100
        unit hellenistic infantry spartiateshoplitai, exp 2 armor 1 weapon_lvl 0
    end
    console_command give_trait "Xanthippos ofcarthago" XanthipposBiography 1
    console_command give_trait "Xanthippos ofcarthago" NaturalIntelligence 4
    console_command give_trait "Xanthippos ofcarthago" NaturalCharisma 2
    console_command give_trait "Xanthippos ofcarthago" NaturalEnergy 4
    console_command give_trait "Xanthippos ofcarthago" Selflessness 2
    console_command give_trait "Xanthippos ofcarthago" Temperament 2
    console_command give_trait "Xanthippos ofcarthago" Loyalty 4
    console_command give_trait "Xanthippos ofcarthago" TurnsAlive 4
    console_command give_trait "Xanthippos ofcarthago" CommandExperience 3
    console_command give_trait "Xanthippos ofcarthago" Outsider 1
    console_command give_trait "Xanthippos ofcarthago" GoodTactician 1
    console_command give_trait "Xanthippos ofcarthago" GoodAttacker 1
    console_command give_trait "Xanthippos ofcarthago" Disciplinarian 1
    console_command give_trait "Xanthippos ofcarthago" Stoic 1
    console_command give_ancillary "Xanthippos ofcarthago" mercenary_captain
    terminate_monitor
end_monitor
;--------------------------------------------------
;Section 8o: Yuezhi Invasion
;--------------------------------------------------
; The Yuezhi Invasion occurs unconditionally in 172 BC. However, the Yuezhi
; will be very passive unless the player controls the Saka (pontus), the
; Sauromatae (armenia), Baktria (romans_brutii), the Pahlava (parthia), or
; the Arche Seleukeia (romans_julii) AND his faction controls Chighu. For an
; active invasion, we also need a faction to temporarily take control of Chighu.
; This faction ought to be located far away from the east end of the map, since
; transfer of control away from a faction may have negative effects on the AI's
; handling of that faction. These are the Casse (britons), Lusotana (spain), and
; the Qarthadastim (egypt).
;
; So, the Yuezhi will be active if
; (1) The player is pontus, armenia, romans_brutii, romans_scipii, parthia
; (2) He controls Chighu,
; (3) At least one of these factions still exists: spain, britons, egypt.
;
declare_counter YuezhiInvasionOn
declare_counter YuezhiAdvice
declare_counter PlayerHoldsChighu
declare_counter DamageChighu
declare_counter EjectGarrison
declare_counter ShowEjectGarrisonAdvice
;
set_counter YuezhiInvasionOn 1
;
;  Determine ownership of Chighu
;
monitor_event SettlementTurnStart SettlementName Chighu
          and SettlementIsLocal
          and I_CompareCounter ShowEjectGarrisonAdvice = 1
          and PercentageOfPopulationInGarrison = 0
    advance_advice_thread Yuezhi_Near_Chighu_Thread
    set_counter ShowEjectGarrisonAdvice 0
end_monitor
;
monitor_event SettlementTurnStart SettlementName Chighu
          and SettlementIsLocal
          and I_CompareCounter ShowEjectGarrisonAdvice = 1
    set_counter ShowEjectGarrisonAdvice 0
end_monitor
;
monitor_event FactionTurnStart FactionIsLocal
    set_counter PlayerHoldsChighu 0
;
    if I_LocalFaction armenia
    and I_SettlementOwner Chighu = armenia
        set_counter PlayerHoldsChighu 1
    end_if
;
    if I_LocalFaction parthia
    and I_SettlementOwner Chighu = parthia
        set_counter PlayerHoldsChighu 1
    end_if
;
    if I_LocalFaction pontus
    and I_SettlementOwner Chighu = pontus
        set_counter PlayerHoldsChighu 1
    end_if
;
    if I_LocalFaction romans_brutii
    and I_SettlementOwner Chighu = romans_brutii
        set_counter PlayerHoldsChighu 1
    end_if
;
    if I_LocalFaction romans_julii
    and I_SettlementOwner Chighu = romans_julii
        set_counter PlayerHoldsChighu 1
    end_if
;
end_monitor
;
;  Display advisor text notifying the player of the appearance of the Yuezhi
;
monitor_event FactionTurnStart FactionIsLocal
              and I_TurnNumber = 401
              and I_CompareCounter YuezhiInvasionOn = 1
    if I_LocalFaction armenia
        set_counter YuezhiAdvice 1
    end_if
;
    if I_LocalFaction parthia
        set_counter YuezhiAdvice 1
    end_if
;
    if I_LocalFaction pontus
        set_counter YuezhiAdvice 1
    end_if
;
    if I_LocalFaction romans_brutii
        set_counter YuezhiAdvice 1
    end_if
;
    if I_LocalFaction romans_julii
        set_counter YuezhiAdvice 1
    end_if
;
    if I_CompareCounter PlayerHoldsChighu = 1
        set_counter YuezhiAdvice 1
    end_if
;
    if I_CompareCounter YuezhiAdvice = 1
        advance_advice_thread Yuezhi_Invasion_Thread
        set_counter YuezhiAdvice 0
    end_if
;
    terminate_monitor
end_monitor
;
monitor_event SettlementTurnEnd SettlementName Chighu
          and SettlementIsLocal
          and PercentageOfPopulationInGarrison > 0
          and I_CharacterTypeNearTile slave family, 2 361, 205
    set_counter EjectGarrison 1
end_monitor
;
; Coordinates 368, 212: E entrance to valley containing Chighu
; Coordinates 361, 205: Chighu
;
monitor_event FactionTurnStart FactionType britons
              and I_NumberOfSettlements britons > 0
              and I_TurnNumber > 401
              and I_TurnNumber < 416
              and I_CompareCounter DamageChighu = 0
              and I_CompareCounter YuezhiInvasionOn = 1
              and not I_LocalFaction britons
;
    if I_SettlementOwner Chighu = armenia
    and I_LocalFaction armenia
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control britons
            console_command capture_settlement Chighu
            console_command control armenia
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = parthia
    and I_LocalFaction parthia
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control britons
            console_command capture_settlement Chighu
            console_command control parthia
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = pontus
    and I_LocalFaction pontus
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control britons
            console_command capture_settlement Chighu
            console_command control pontus
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = romans_brutii
    and I_LocalFaction romans_brutii
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control britons
            console_command capture_settlement Chighu
            console_command control romans_brutii
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = romans_julii
    and I_LocalFaction romans_julii
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control britons
            console_command capture_settlement Chighu
            console_command control romans_julii
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
end_monitor
;
monitor_event FactionTurnStart FactionType egypt
              and I_NumberOfSettlements egypt > 0
              and I_TurnNumber > 401
              and I_TurnNumber < 416
              and I_CompareCounter DamageChighu = 0
              and I_CompareCounter YuezhiInvasionOn = 1
              and not I_LocalFaction egypt
;
    if I_SettlementOwner Chighu = armenia
    and I_LocalFaction armenia
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control egypt
            console_command capture_settlement Chighu
            console_command control armenia
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = parthia
    and I_LocalFaction parthia
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control egypt
            console_command capture_settlement Chighu
            console_command control parthia
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = pontus
    and I_LocalFaction pontus
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control egypt
            console_command capture_settlement Chighu
            console_command control pontus
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = romans_brutii
    and I_LocalFaction romans_brutii
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control egypt
            console_command capture_settlement Chighu
            console_command control romans_brutii
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = romans_julii
    and I_LocalFaction romans_julii
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control egypt
            console_command capture_settlement Chighu
            console_command control romans_julii
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
end_monitor
;
monitor_event FactionTurnStart FactionType spain
              and I_NumberOfSettlements spain > 0
              and I_TurnNumber > 401
              and I_TurnNumber < 416
              and I_CompareCounter DamageChighu = 0
              and I_CompareCounter YuezhiInvasionOn = 1
              and not I_LocalFaction spain
;
    if I_SettlementOwner Chighu = armenia
    and I_LocalFaction armenia
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control spain
            console_command capture_settlement Chighu
            console_command control armenia
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = parthia
    and I_LocalFaction parthia
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control spain
            console_command capture_settlement Chighu
            console_command control parthia
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = pontus
    and I_LocalFaction pontus
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control spain
            console_command capture_settlement Chighu
            console_command control pontus
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = romans_brutii
    and I_LocalFaction romans_brutii
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control spain
            console_command capture_settlement Chighu
            console_command control romans_brutii
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
;
    if I_SettlementOwner Chighu = romans_julii
    and I_LocalFaction romans_julii
        set_counter DamageChighu 1
        if I_CompareCounter EjectGarrison = 1
            console_command control spain
            console_command capture_settlement Chighu
            console_command control romans_julii
            console_command capture_settlement Chighu
            set_counter EjectGarrison 0
            set_counter ShowEjectGarrisonAdvice 1
        end_if
    end_if
end_monitor
;
monitor_event FactionTurnStart FactionType slave
          and I_CompareCounter DamageChighu = 1
    set_counter DamageChighu 0
    console_command set_building_health Chighu core_building 0
    console_command set_building_health Chighu defenses 0
    console_command set_building_health Chighu equestrian 0
    console_command set_building_health Chighu amphitheatres 0
    console_command set_building_health Chighu despotic_law 0
    console_command set_building_health Chighu taverns 0
    console_command set_building_health Chighu minimumbuilding 0
    console_command set_building_health Chighu gov_feeder 0
    console_command set_building_health Chighu gov2 0
    console_command set_building_health Chighu gov1 0
    console_command set_building_health Chighu govparthian 0
    console_command set_building_health Chighu nomadsett 0 ;
    console_command set_building_health Chighu nomadcamp 0 ;
    console_command set_building_health Chighu nomadherd 0 ;
    console_command set_building_health Chighu Barracks_J 0 ; AS
    console_command set_building_health Chighu Barracks_X 0 ; AS, Baktria
    console_command set_building_health Chighu Barracks_K 0 ; Baktria
    console_command set_building_health Chighu Barracks_C 0 ; Pahlava
    console_command set_building_health Chighu Barracks_W 0 ; Pahlava
    console_command set_building_health Chighu Barracks_T 0 ; Sauromatae, Saka
    console_command kill_character "Skorillo"
    console_command kill_character "Sad"
    console_command kill_character "Kentis"
    spawn_character slave Skorillo, spy, command 0, influence 0, management 0, subterfuge 0, age 50, , x 361, y 205
    console_command give_trait "Skorillo" GoodSpy 5
    console_command give_trait "Skorillo" GoodConspirator 3
    console_command give_trait "Skorillo" NaturalSpySkill 3
    spawn_character slave Sad, spy, command 0, influence 0, management 0, subterfuge 0, age 50, , x 361, y 205
    console_command give_trait "Sad" GoodSpy 5
    console_command give_trait "Sad" GoodConspirator 3
    console_command give_trait "Sad" NaturalSpySkill 3
    spawn_character slave Kentis, spy, command 0, influence 0, management 0, subterfuge 0, age 50, , x 361, y 205
    console_command give_trait "Kentis" GoodSpy 5
    console_command give_trait "Kentis" GoodConspirator 3
    console_command give_trait "Kentis" NaturalSpySkill 3
end_monitor
;
monitor_event FactionTurnStart FactionType slave
              and I_TurnNumber = 400
              and I_CompareCounter YuezhiInvasionOn = 1
    console_command kill_character "Mudi"
    console_command kill_character "Luhayath"
    console_command kill_character "Murthid"
    console_command kill_character "Malki"
    spawn_army
        faction slave
        character Mudi, named character, command 0, influence 0, management 0, subterfuge 0, age 32, , x 365, y 209
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
    end
    console_command give_trait "Mudi" AIGeneral 3
;
    spawn_army
        faction slave
        character Luhayath, named character, command 0, influence 0, management 0, subterfuge 0, age 32, , x 366, y 210
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
    end
    console_command give_trait "Luhayath" AIGeneral 3
;
    spawn_army
        faction slave
        character Murthid, named character, command 0, influence 0, management 0, subterfuge 0, age 32, , x 367, y 211
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
    end
    console_command give_trait "Murthid" AIGeneral 3
;
    spawn_army
        faction slave
        character Malki, named character, command 0, influence 0, management 0, subterfuge 0, age 32, , x 368, y 212
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry early yuezhi nobles, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile cavalry yuezhi horse archer, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
        unit steppe missile subeshi, exp 3 armour 1 weapon_lvl 0
    end
    console_command give_trait "Malki" AIGeneral 3
;
    terminate_monitor
end_monitor
;
monitor_event FactionTurnEnd FactionType slave
              and I_TurnNumber > 400
              and I_TurnNumber < 416
              and I_CompareCounter YuezhiInvasionOn = 1
              and not I_SettlementOwner Chighu = slave
    console_command move_character "Mudi" 360,205
    console_command move_character "Luhayath" 362,205
    console_command move_character "Murthid" 361,206
    console_command move_character "Malki" 362,206
end_monitor

;--------------------------------------------------
;Section 8p: Casse Landing
;--------------------------------------------------
;The Casse landing occurs when the Casse AI holds all the British and Irish 
;provinces and Bratosporios is held by a different faction, a small fleet
;and army get spawned to involve the Casse in the mainland.

declare_counter isCassePortBeingPlaced
set_counter isCassePortBeingPlaced 0
monitor_event FactionTurnStart FactionType britons
  and not FactionIsLocal
  and I_SettlementOwner Camulosadae = britons
  and I_SettlementOwner Ynis_Mon = britons
  and I_SettlementOwner Ictis = britons
  and I_SettlementOwner Caaern_Brigantae = britons
  and I_SettlementOwner Ratae = britons
  and I_SettlementOwner Attuaca = britons
  and I_SettlementOwner Emain_Macha = britons
  and I_SettlementOwner Ivernis = britons
  and I_NumberOfSettlements britons < 9
  and I_SettlementOwner Bratosporios != slave
  and Treasury > 150000
  and RandomPercent < 3
  and I_CompareCounter Celt_Reform > 0 
  
  set_counter isCassePortBeingPlaced 1
  ;war declared on whoever is owning Bratosporios as the army lands close to it on the shore
  if I_SettlementOwner Bratosporios = scythia
  console_command diplomatic_stance britons scythia war
  end_if

  if I_SettlementOwner Bratosporios = gauls
  console_command diplomatic_stance britons gauls war
  end_if

  if I_SettlementOwner Bratosporios = seleucid
  console_command diplomatic_stance britons seleucid war
  end_if

  if I_SettlementOwner Bratosporios = germans
  console_command diplomatic_stance britons germans war
  end_if

  if I_SettlementOwner Bratosporios = spain
  console_command diplomatic_stance britons spain war
  end_if

  if I_SettlementOwner Bratosporios = thrace
  console_command diplomatic_stance britons thrace war
  end_if

  if I_SettlementOwner Bratosporios = macedon
  console_command diplomatic_stance britons macedon war
  end_if

  if I_SettlementOwner Bratosporios = greek_cities
  console_command diplomatic_stance britons greek_cities war
  end_if

  if I_SettlementOwner Bratosporios = dacia
  console_command diplomatic_stance britons dacia war
  end_if

  console_command add_money britons, -40000 
  console_command add_money britons, -10000

  spawn_army
  faction britons
  character	Mandubracos, admiral, command 5, influence 0, management 0, subterfuge 0, age 20, , x   58, y 179
  unit		generic ship pontomora			exp 0 armour 0 weapon_lvl 0
  unit		generic ship pontomora			exp 0 armour 0 weapon_lvl 0
  unit		generic ship ponto				exp 0 armour 0 weapon_lvl 0
  unit		generic ship ponto				exp 0 armour 0 weapon_lvl 0
  unit		generic ship ponto				exp 0 armour 0 weapon_lvl 0
  end

  spawn_army
  faction britons
  character	Cynfawr macManawyddan, named character, command 0, influence 0, management 0, subterfuge 0,   age 30, , x 58, y 178
  unit            celtic infantry calawre                          exp 3 armour 0 weapon_lvl 0
  unit            celtic infantry calawre                          exp 2 armour 0 weapon_lvl 0
  unit            celtic infantry milnaht                          exp 2 armour 0 weapon_lvl 0
  unit            celtic infantry milnaht                          exp 2 armour 0 weapon_lvl 0
  unit            celtic infantry botroas                          exp 2 armour 0 weapon_lvl 0
  unit            celtic infantry botroas                          exp 2 armour 0 weapon_lvl 0
  unit            celtic infantry gaeroas                          exp 1 armour 0 weapon_lvl 0
  unit            celtic infantry gaeroas                          exp 1 armour 0 weapon_lvl 0
  unit            celtic infantry gaeroas                          exp 1 armour 0 weapon_lvl 0
  unit            celtic infantry batacorii                        exp 1 armour 0 weapon_lvl 0
  unit            celtic infantry batacorii                        exp 1 armour 0 weapon_lvl 0
  unit            celtic infantry batacorii                        exp 1 armour 0 weapon_lvl 0
  unit            belgae cavalry taramonnos                        exp 1 armour 0 weapon_lvl 0
  unit            celtic infantry drwdae                           exp 1 armour 0 weapon_lvl 0
  end 
  
console_command give_trait "Cynfawr macManawyddan" AIGeneral 3
console_command give_trait "Cynfawr macManawyddan" CasseBelgae 1

end_monitor

;port placement

monitor_event SettlementTurnStart SettlementName Ictis
  and I_SettlementOwner Ictis = britons
  and I_CompareCounter isCassePortBeingPlaced = 1
  and not SettlementBuildingExists =  naval_harbour
    console_command create_building Ictis "naval_harbour"
end_monitor

;--------------------------------------------------
;Section 8q: Naravas
;--------------------------------------------------
declare_counter NaravasBasicConditions
declare_counter SpawnNaravas
;
;    The Qarthadastim must control one of Kart-Hadast, Adrumeto, or Atiqa.
;    The eleutheroi must control Kirtan, and Naravas must not yet have spawned.
;
monitor_event FactionTurnStart FactionType egypt
          and FactionIsLocal
          and I_TurnNumber > 107

    set_counter NaravasBasicConditions 0

    if I_TurnNumber < 192
        if I_SettlementOwner Adrumeto = egypt
            set_counter NaravasBasicConditions 1
        end_if

        if I_SettlementOwner Atiqa = egypt
            set_counter NaravasBasicConditions 1
        end_if

        if I_SettlementOwner Kart_Hadast = egypt
            set_counter NaravasBasicConditions 1
        end_if

        if not I_SettlementOwner Kirtan = slave
            set_counter NaravasBasicConditions 0
        end_if

;           Has Naravas has already been spawned?
;
        if I_CharacterTypeNearTile slave diplomat, 1 95,4
            set_counter NaravasBasicConditions 0
            terminate_monitor
        end_if
    end_if

    if I_TurnNumber > 191
        terminate_monitor
    end_if

end_monitor

monitor_event FactionTurnStart FactionType egypt
          and FactionIsLocal
          and I_CompareCounter NaravasBasicConditions = 1
          and DiplomaticStanceFromFaction seleucid = AtWar

;       Roman captain adjacent to Kart-Hadast?
;
    if I_CharacterTypeNearTile seleucid general, 1 84, 101
        set_counter SpawnNaravas 1
    end_if

;       Roman family member adjacent to Kart-Hadast?
;
    if I_CharacterTypeNearTile seleucid named_character, 1 84, 101
        set_counter SpawnNaravas 1
    end_if

;       Roman captain adjacent to Atiqa?
;
    if I_CharacterTypeNearTile seleucid general, 1 82, 103
        set_counter SpawnNaravas 1
    end_if

;       Roman family member adjacent to Atiqa?
;
    if I_CharacterTypeNearTile seleucid named_character, 1 82, 103
        set_counter SpawnNaravas 1
    end_if

;       Roman captain adjacent to Adrumeto?
;
    if I_CharacterTypeNearTile seleucid general, 1 85, 92
        set_counter SpawnNaravas 1
    end_if

;       Roman family member adjacent to Adrumeto?
;
    if I_CharacterTypeNearTile seleucid named_character, 1 85, 92
        set_counter SpawnNaravas 1
    end_if

end_monitor

monitor_event FactionTurnStart FactionType egypt
          and FactionIsLocal
          and I_CompareCounter NaravasBasicConditions = 1
          and DiplomaticStanceFromFaction numidia = AtWar

;       Ptolemaioi captain adjacent to Kart-Hadast?
;
    if I_CharacterTypeNearTile numidia general, 1 84, 101
        set_counter SpawnNaravas 1
    end_if

;       Ptolemaioi family member adjacent to Kart-Hadast?
;
    if I_CharacterTypeNearTile numidia named_character, 1 84, 101
        set_counter SpawnNaravas 1
    end_if

;       Ptolemaioi captain adjacent to Atiqa?
;
    if I_CharacterTypeNearTile numidia general, 1 82, 103
        set_counter SpawnNaravas 1
    end_if

;       Ptolemaioi family member adjacent to Atiqa?
;
    if I_CharacterTypeNearTile numidia named_character, 1 82, 103
        set_counter SpawnNaravas 1
    end_if

;       Ptolemaioi captain adjacent to Adrumeto?
;
    if I_CharacterTypeNearTile numidia general, 1 85, 92
        set_counter SpawnNaravas 1
    end_if

;       Ptolemaioi family member adjacent to Adrumeto?
;
    if I_CharacterTypeNearTile numidia named_character, 1 85, 92
        set_counter SpawnNaravas 1
    end_if

end_monitor

monitor_event FactionTurnStart FactionType egypt
          and FactionIsLocal
          and I_CompareCounter NaravasBasicConditions = 1
          and DiplomaticStanceFromFaction slave = AtWar

;       Eleutheroi captain adjacent to Kart-Hadast?
;
    if I_CharacterTypeNearTile slave general, 1 84, 101
        set_counter SpawnNaravas 1
    end_if

;       Eleutheroi family member adjacent to Kart-Hadast?
;
    if I_CharacterTypeNearTile slave named_character, 1 84, 101
        set_counter SpawnNaravas 1
    end_if

;       Eleutheroi captain adjacent to Atiqa?
;
    if I_CharacterTypeNearTile slave general, 1 82, 103
        set_counter SpawnNaravas 1
    end_if

;       Eleutheroi family member adjacent to Atiqa?
;
    if I_CharacterTypeNearTile slave named_character, 1 82, 103
        set_counter SpawnNaravas 1
    end_if

;       Eleutheroi captain adjacent to Adrumeto?
;
    if I_CharacterTypeNearTile slave general, 1 85, 92
        set_counter SpawnNaravas 1
    end_if

;       Eleutheroi family member adjacent to Adrumeto?
;
    if I_CharacterTypeNearTile slave named_character, 1 85, 92
        set_counter SpawnNaravas 1
    end_if

end_monitor

monitor_event FactionTurnStart FactionType egypt
          and FactionIsLocal
          and I_CompareCounter SpawnNaravas = 1

    set_counter SpawnNaravas 0

    spawn_army
        faction egypt
        character, Naravas, named character, command 0, influence 0, management 0, subterfuge 0, age 30, , x 72, y 98
        unit african cavalry numidian nobles, exp 3 armour 1 weapon_lvl 1
        unit african missile cavalry numidian, exp 2 armour 0 weapon_lvl 0
        unit african missile cavalry numidian, exp 0 armour 0 weapon_lvl 0
    end

    console_command give_trait "Naravas" NaravasBiography 1
    console_command give_trait "Naravas" NaturalEnergy 5
    console_command give_trait "Naravas" Brave 1
    console_command give_trait "Naravas" Loyal 1
    console_command give_trait "Naravas" NaturalMilitarySkill 1
    console_command give_trait "Naravas" StrategicSkill 1

    advance_advice_thread Naravas_Thread

    spawn_character slave Abraham, diplomat, command 0, influence 0, management 0, subterfuge 0, age 38, , x 95, y 4

    move Naravas, 73, 98

end_monitor

;    Reset basic conditions counter
;
monitor_event FactionTurnStart FactionType egypt
          and FactionIsLocal
          and I_CompareCounter NaravasBasicConditions = 1

    set_counter NaravasBasicConditions 0

    if I_TurnNumber > 191
        terminate_monitor
    end_if

end_monitor
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 9: Central European Defence
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter EburonumHeldBySlave
set_counter EburonumHeldBySlave 0
declare_counter CreateEburonumGeneral
set_counter CreateEburonumGeneral 0
declare_counter EburonumGeneralDone
set_counter EburonumGeneralDone 0
declare_counter EburonumGeneralDead
set_counter EburonumGeneralDead 0
declare_counter EburonumUnderSiege
set_counter EburonumUnderSiege 0
;NEW CODE 080215
declare_counter EburonumDefenderTimer
set_counter EburonumDefenderTimer 3

declare_counter IuvavoaetaHeldBySlave
set_counter IuvavoaetaHeldBySlave 0
declare_counter CreateIuvavoaetaGeneral
set_counter CreateIuvavoaetaGeneral 0
declare_counter IuvavoaetaGeneralDone
set_counter IuvavoaetaGeneralDone 0
declare_counter IuvavoaetaGeneralDead
set_counter IuvavoaetaGeneralDead 0
declare_counter IuvavoaetaUnderSiege
set_counter IuvavoaetaUnderSiege 0
;NEW CODE 080219
declare_counter IuvavoaetaDefenderTimer
set_counter IuvavoaetaDefenderTimer 3

declare_counter CarrodunumHeldBySlave
set_counter CarrodunumHeldBySlave 0
declare_counter CreateCarrodunumGeneral
set_counter CreateCarrodunumGeneral 0
declare_counter CarrodunumGeneralDone
set_counter CarrodunumGeneralDone 0
declare_counter CarrodunumGeneralDead
set_counter CarrodunumGeneralDead 0
declare_counter CarrodunumUnderSiege
set_counter CarrodunumUnderSiege 0
;NEW CODE 080219
declare_counter CarrodunumDefenderTimer
set_counter CarrodunumDefenderTimer 3

declare_counter Seliun_PilisHeldBySlave
set_counter Seliun_PilisHeldBySlave 0
declare_counter CreateSeliun_PilisGeneral
set_counter CreateSeliun_PilisGeneral 0
declare_counter Seliun_PilisGeneralDone
set_counter Seliun_PilisGeneralDone 0
declare_counter Seliun_PilisGeneralDead
set_counter Seliun_PilisGeneralDead 0
declare_counter Seliun_PilisUnderSiege
set_counter Seliun_PilisUnderSiege 0


declare_counter Gintaras_OstanHeldBySlave
set_counter Gintaras_OstanHeldBySlave 0
declare_counter CreateGintaras_OstanGeneral
set_counter CreateGintaras_OstanGeneral 0
declare_counter Gintaras_OstanGeneralDone
set_counter Gintaras_OstanGeneralDone 0
declare_counter Gintaras_OstanGeneralDead
set_counter Gintaras_OstanGeneralDead 0
declare_counter Gintaras_OstanUnderSiege
set_counter Gintaras_OstanUnderSiege 0


;;;;;;;;;;
;Eburonum;
;;;;;;;;;;

monitor_event SettlementTurnStart SettlementName Eburonum
    set_counter EburonumHeldBySlave 0
    if I_SettlementOwner Eburonum = slave
        set_counter EburonumHeldBySlave 1
    end_if
end_monitor

monitor_conditions I_CompareCounter EburonumHeldBySlave = 1
and I_TurnNumber = 30
set_counter CreateEburonumGeneral 1
set_counter EburonumGeneralDone 0
terminate_monitor
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter DiazenisExists
set_counter DiazenisExists 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber < 35
and I_CompareCounter CreateEburonumGeneral = 1
and I_SettlementOwner Eburonum = slave
and not I_CharacterTypeNearTile slave named_character, 0  111, 167
if I_CompareCounter EburonumGeneralDone = 0
spawn_army
    faction slave
    character, Diazenis, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 111, y 167
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
end
end_if
set_counter EburonumGeneralDone 1
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDead 0
;console_command give_trait Diazenis AIGeneral 3
console_command give_trait Diazenis HatesGreeks 2
console_command give_trait Diazenis HatesRomans 2
console_command give_trait Diazenis HatesCarthaginians 2
console_command give_trait Diazenis EburonumDefender
console_command give_trait Diazenis GoodTactician 3
console_command give_trait Diazenis GoodDefender 3
console_command give_ancillary Diazenis bodyguard_celtic
end_monitor


;New test

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 34
and I_TurnNumber < 688

if I_CompareCounter EburonumGeneralDead = 1

;Casse for testing purposes. To be removed later

if I_LocalFaction britons
and I_CharacterTypeNearTile britons named_character, 4  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

if I_LocalFaction britons
and I_CharacterTypeNearTile britons general, 4  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

;;;;;;;;;;;;;;;;;

;VC for Aedui

if I_LocalFaction gauls
and I_CharacterTypeNearTile gauls named_character, 4  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

;;;;;;;;;;;;;;;;;

;VC for Getai

if I_LocalFaction dacia
and I_CharacterTypeNearTile dacia named_character, 4  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

;;;;;;;;;;;;;;;;;

;VC for Sweboz

if I_LocalFaction germans
and I_CharacterTypeNearTile germans named_character, 3  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

;;;;;;;;;;;;;;;;

;Raiding target for Romani. Activate it by uncommenting.

;if I_LocalFaction seleucid
;and I_CharacterTypeNearTile seleucid named_character, 3  111,169
;set_counter CreateEburonumGeneral 0
;set_counter EburonumGeneralDone 1
;end_if

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Time's up. The defender gets spawned regardless of VC's

;Spawning-timer for the Defender 

if I_CompareCounter EburonumDefenderTimer > 1
	inc_counter EburonumDefenderTimer -1

	if I_CompareCounter EburonumDefenderTimer = 1
		set_counter CreateEburonumGeneral 1
		set_counter EburonumGeneralDone 0
		set_counter EburonumDefenderTimer 4
	end_if
end_if

;end of new test
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

if I_CompareCounter CreateEburonumGeneral = 1
and I_SettlementOwner Eburonum = slave
and not I_CharacterTypeNearTile slave named_character, 0  111,167
and I_CompareCounter EburonumGeneralDone = 0
spawn_army
    faction slave
    character, Diazenis, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 111, y 167
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
end
set_counter EburonumGeneralDone 1
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDead 0
;console_command give_trait Diazenis AIGeneral 3
console_command give_trait Diazenis HatesGreeks 2
console_command give_trait Diazenis HatesRomans 2
console_command give_trait Diazenis HatesCarthaginians 2
console_command give_trait Diazenis EburonumDefender
console_command give_trait Diazenis GoodTactician 3
console_command give_trait Diazenis GoodDefender 3
console_command give_ancillary Diazenis bodyguard_celtic
end_if
end_if

end_monitor


;Shifting to Lugian army. Boii moved west of this settlement (I think at least, even though it was later than at this point in time)

;New test

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 687

if I_CompareCounter EburonumGeneralDead = 1

;Casse for testing purposes. To be removed later

;if I_LocalFaction britons
;and I_CharacterTypeNearTile britons named_character, 4  111,169
;set_counter CreateEburonumGeneral 0
;set_counter EburonumGeneralDone 1
;end_if

;if I_LocalFaction britons
;and I_CharacterTypeNearTile britons general, 4  111,169
;set_counter CreateEburonumGeneral 0
;set_counter EburonumGeneralDone 1
;end_if

;;;;;;;;;;;;;;;;;

;VC for Aedui

if I_LocalFaction gauls
and I_CharacterTypeNearTile gauls named_character, 4  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

;;;;;;;;;;;;;;;;;

;VC for Getai

if I_LocalFaction dacia
and I_CharacterTypeNearTile dacia named_character, 4  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

;;;;;;;;;;;;;;;;;

;VC for Sweboz

if I_LocalFaction germans
and I_CharacterTypeNearTile germans named_character, 3  111,169
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDone 1
end_if

;;;;;;;;;;;;;;;;

;Raiding target for Romani. Activate it by uncommenting.

;if I_LocalFaction seleucid
;and I_CharacterTypeNearTile seleucid named_character, 3  111,169
;set_counter CreateEburonumGeneral 0
;set_counter EburonumGeneralDone 1
;end_if

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Time's up. The defender gets spawned regardless of VC's

;Spawning-timer for the Defender

if I_CompareCounter EburonumDefenderTimer > 1
	inc_counter EburonumDefenderTimer -1

	if I_CompareCounter EburonumDefenderTimer = 1
		set_counter CreateEburonumGeneral 1
		set_counter EburonumGeneralDone 0
		set_counter EburonumDefenderTimer 4
	end_if
end_if

;end of new test

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

if I_CompareCounter CreateEburonumGeneral = 1
and I_SettlementOwner Eburonum = slave
and not I_CharacterTypeNearTile slave named_character, 0  111, 167
and I_CompareCounter EburonumGeneralDone = 0
spawn_army
    faction slave
    character, Diazenis, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 111, y 167
    unit celtic infantry bataroas, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
set_counter EburonumGeneralDone 1
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDead 0
;console_command give_trait Diazenis AIGeneral 3
console_command give_trait Diazenis HatesGreeks 2
console_command give_trait Diazenis HatesRomans 2
console_command give_trait Diazenis HatesCarthaginians 2
console_command give_trait Diazenis EburonumDefender
console_command give_trait Diazenis GoodTactician 3
console_command give_trait Diazenis GoodDefender 3
console_command give_ancillary Diazenis bodyguard_celtic
end_if
end_if

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;If Diazenis is killed his namesake shows up.
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;NEW CODE 070607 11pm          ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 30 
and I_CompareCounter EburonumHeldBySlave = 1
set_counter DiazenisExists 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CHECKING FOR EXISTENSE OF THE CHARACTER;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 30
and Trait EburonumDefender > 0
set_counter DiazenisExists 1
end_monitor


monitor_event FactionTurnEnd FactionType slave
and I_TurnNumber > 30
and I_SettlementOwner Eburonum = slave 
and not I_CharacterTypeNearTile slave named_character, 0  111, 167
and I_CompareCounter DiazenisExists = 0
set_counter EburonumGeneralDead 1

if I_CompareCounter EburonumHeldBySlave = 1 
    and I_CompareCounter EburonumGeneralDead = 1
    set_counter CreateEburonumGeneral 1
    set_counter EburonumGeneralDone 0
end_if

if I_CompareCounter EburonumGeneralDead != 1
   	set_counter EburonumDefenderTimer 3
end_if

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;
;Repositioning ;
;;;;;;;;;;;;;;;;

;New experiment 070707

declare_counter DiazenisRepositionOk
set_counter DiazenisRepositionOk 0


monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 30
and I_SettlementOwner Eburonum = slave
and I_CharacterTypeNearTile slave named_character, 14  111, 169
;and not I_CharacterTypeNearTile slave named_character, 0  111, 169                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  111, 167
;and Trait AIGeneral > 1
and Trait EburonumDefender > 0
and not EndedInSettlement
set_counter DiazenisRepositionOk 1
set_counter DiazenisExists 1
set_counter EburonumGeneralDone 1
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDead 0
if I_CompareCounter DiazenisRepositionOk = 1
   reposition_character Diazenis, 111, 167
   replenish_units Diazenis
   set_counter DiazenisExists 1
end_if
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and I_TurnNumber > 30
and I_CharacterTypeNearTile slave named_character, 14  111, 169
;and not I_CharacterTypeNearTile slave named_character, 0  111, 169                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  111, 167
;and Trait AIGeneral > 1
and Trait EburonumDefender > 0
and EndedInSettlement
set_counter DiazenisRepositionOk 0
set_counter DiazenisExists 1
;console_command give_trait Diazenis ImmobileRebel                              ;Inactivated, seems to be the cause of a CTD
end_monitor


;New experiment to take care of existens of inactive characters

;Removed that code. 

;Another one since the former one doesn't seem to work. It's like the character is non existing if he doesn't get repositioned???
;The code below seems to work though. I don't get new Diazenis' created when the old one is still alive but have been non-active

monitor_event CharacterTurnEnd FactionType slave
and NoActionThisTurn
and Trait EburonumDefender > 0
and EndedInSettlement
set_counter DiazenisRepositionOk 0
set_counter DiazenisExists 1
set_counter EburonumGeneralDone 1
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDead 0
end_monitor

 
monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Eburonum
;and NoActionThisTurn
and Trait EburonumDefender > 0
and EndedInSettlement
set_counter DiazenisRepositionOk 0
set_counter DiazenisExists 1
set_counter EburonumGeneralDone 1
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDead 0
end_monitor


monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Eburonum
and NoActionThisTurn
and Trait EburonumDefender > 0
;and EndedInSettlement
set_counter DiazenisRepositionOk 0
set_counter DiazenisExists 1
set_counter EburonumGeneralDone 1
set_counter CreateEburonumGeneral 0
set_counter EburonumGeneralDead 0
end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Experimental 070609                                              ;
;Extra defense when the Ubergenerals are "sleeping", doing stupid ; 
;things instead of beating off attackers.                         ; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Getai;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;


monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 111,169
and not I_CharacterTypeNearTile dacia named_character, 2 111,169
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 111,169
and not I_CharacterTypeNearTile dacia general, 2 111,169
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 111,169
and I_CharacterTypeNearTile dacia named_character, 2 111,169
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 111,169
and not I_CharacterTypeNearTile dacia named_character, 2 111,169
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 111,169
and not I_CharacterTypeNearTile dacia general, 2 111,169
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 111,169
and I_CharacterTypeNearTile dacia named_character, 2 111,169
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Sweboz;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 111,169
and not I_CharacterTypeNearTile germans named_character, 2 111,169
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 111,169
and not I_CharacterTypeNearTile germans general, 2 111,169
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 111,169
and I_CharacterTypeNearTile germans named_character, 2 111,169
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 111,169
and not I_CharacterTypeNearTile germans named_character, 2 111,169
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 111,169
and not I_CharacterTypeNearTile germans general, 2 111,169
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 111,169
and I_CharacterTypeNearTile germans named_character, 2 111,169
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry boii, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Aedui ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 111,169
and not I_CharacterTypeNearTile gauls named_character, 2 111,169
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 111,169
and not I_CharacterTypeNearTile gauls general, 2 111,169
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 111,169
and I_CharacterTypeNearTile gauls named_character, 2 111,169
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 111,169
and not I_CharacterTypeNearTile gauls named_character, 2 111,169
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 111,169
and not I_CharacterTypeNearTile gauls general, 2 111,169
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 111,169
and I_CharacterTypeNearTile gauls named_character, 2 111,169
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Arverni ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 111,169
and not I_CharacterTypeNearTile scythia named_character, 2 111,169
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia named_character, 2 111,169
and not I_CharacterTypeNearTile scythia general, 2 111,169
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 111,169
and I_CharacterTypeNearTile scythia named_character, 2 111,169
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 111,169
and not I_CharacterTypeNearTile scythia named_character, 2 111,169
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia named_character, 2 111,169
and not I_CharacterTypeNearTile scythia general, 2 111,169
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 111,169
and I_CharacterTypeNearTile scythia named_character, 2 111,169
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Koinon Hellenon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 111,169
and not I_CharacterTypeNearTile greek_cities named_character, 2 111,169
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 111,169
and not I_CharacterTypeNearTile greek_cities general, 2 111,169
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 111,169
and I_CharacterTypeNearTile greek_cities named_character, 2 111,169
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 111,169
and not I_CharacterTypeNearTile greek_cities named_character, 2 111,169
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 111,169
and not I_CharacterTypeNearTile greek_cities general, 2 111,169
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 111,169
and I_CharacterTypeNearTile greek_cities named_character, 2 111,169
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Makedon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 111,169
and not I_CharacterTypeNearTile macedon named_character, 2 111,169
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 111,169
and not I_CharacterTypeNearTile macedon general, 2 111,169
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 111,169
and I_CharacterTypeNearTile macedon named_character, 2 111,169
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 111,169
and not I_CharacterTypeNearTile macedon named_character, 2 111,169
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 111,169
and not I_CharacterTypeNearTile macedon general, 2 111,169
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 111,169
and I_CharacterTypeNearTile macedon named_character, 2 111,169
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Romani;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 111,169
and not I_CharacterTypeNearTile seleucid named_character, 2 111,169
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesRomans 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 111,169
and not I_CharacterTypeNearTile seleucid general, 2 111,169
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesRomans 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 111,169
and I_CharacterTypeNearTile seleucid named_character, 2 111,169
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesRomans 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 111,169
and not I_CharacterTypeNearTile seleucid named_character, 2 111,169
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesRomans 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 111,169
and not I_CharacterTypeNearTile seleucid general, 2 111,169
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesRomans 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 111,169
and I_CharacterTypeNearTile seleucid named_character, 2 111,169
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesRomans 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Epeiros;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 111,169
and not I_CharacterTypeNearTile thrace named_character, 2 111,169
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 111,169
and not I_CharacterTypeNearTile thrace general, 2 111,169
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 111,169
and I_CharacterTypeNearTile thrace named_character, 2 111,169
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 111,169
and not I_CharacterTypeNearTile thrace named_character, 2 111,169
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 111,169
and not I_CharacterTypeNearTile thrace general, 2 111,169
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 111,169
and I_CharacterTypeNearTile thrace named_character, 2 111,169
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Eburonum besieged by Karthadast;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 111,169
and not I_CharacterTypeNearTile egypt named_character, 2 111,169
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesCarthaginians 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 111,169
and not I_CharacterTypeNearTile egypt general, 2 111,169
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesCarthaginians 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 111,169
and I_CharacterTypeNearTile egypt named_character, 2 111,169
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesCarthaginians 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 111,169
and not I_CharacterTypeNearTile egypt named_character, 2 111,169
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesCarthaginians 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 111,169
and not I_CharacterTypeNearTile egypt general, 2 111,169
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesCarthaginians 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait EburonumDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 111,169
and I_CharacterTypeNearTile egypt named_character, 2 111,169
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 111, y 168
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 2 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0    
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Nautius AIGeneral 3
console_command give_trait Nautius GoodTactician 3
console_command give_trait Nautius HatesCarthaginians 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter EburonumUnderSiege 1
end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;New code 070826 for the new governor and his activation.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter EburonumNewGovernorActivation
set_counter EburonumNewGovernorActivation 0

declare_counter EburonumActivationFactionDetermined
set_counter EburonumActivationFactionDetermined 0
declare_counter EburonumActivationFaction
set_counter EburonumActivationFaction 0
declare_counter EburonumActivatorGeneral
set_counter EburonumActivatorGeneral 0
declare_counter EburonumSuccessorGovernor
set_counter EburonumSuccessorGovernor 0


;monitor_event SettlementTurnStart SettlementName Eburonum 
;test with factionturnstart instead


monitor_event FactionTurnStart FactionType slave
and I_SettlementOwner Eburonum = slave
and not I_CharacterTypeNearTile slave named_character, 0  111, 169

set_counter EburonumSuccessorGovernor 1

if I_CharacterTypeNearTile seleucid general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile seleucid named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile armenia general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile armenia named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile egypt general, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile egypt named_character, 2 111, 169
set_counter EburonumSuccessorGovernor 0
end_if

if I_CompareCounter EburonumSuccessorGovernor = 1

set_counter EburonumSuccessorGovernor 0
console_command kill_character Dentupes
console_command kill_character Dentupes
console_command kill_character Dentupes

spawn_character slave Dentupes, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 112, y 169
;console_command create_unit "Dentupes" "celtic infantry neitos" 1
console_command give_trait Dentupes EburonumGovernor
console_command give_trait Dentupes ImmobileRebel
console_command give_trait Dentupes ICERating 8

move Dentupes, 111, 169

set_counter EburonumNewGovernorActivation 1

end_if

if I_CompareCounter EburonumNewGovernorActivation = 1
spawn_army
    faction slave
    character, Nautius, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 112, y 168
    unit celtic infantry lugian, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
end_if

if I_CompareCounter EburonumActivationFactionDetermined = 0
and I_NumberOfSettlements britons > 0
and not I_LocalFaction britons
set_counter EburonumActivationFaction 1
set_counter EburonumActivationFactionDetermined 1
end_if

if I_CompareCounter EburonumActivationFactionDetermined = 0
and I_NumberOfSettlements scythia > 0
and not I_LocalFaction scythia
set_counter EburonumActivationFaction 2
set_counter EburonumActivationFactionDetermined 1
end_if

if I_CompareCounter EburonumActivationFactionDetermined = 0
and I_NumberOfSettlements gauls > 0
and not I_LocalFaction gauls
set_counter EburonumActivationFaction 3
set_counter EburonumActivationFactionDetermined 1
end_if

if I_CompareCounter EburonumActivationFactionDetermined = 0
and I_NumberOfSettlements egypt > 0
and not I_LocalFaction egypt
set_counter EburonumActivationFaction 4
set_counter EburonumActivationFactionDetermined 1
end_if


if I_CompareCounter EburonumActivationFaction = 1
and I_CompareCounter EburonumNewGovernorActivation = 1
spawn_army
    faction britons
    character, Beredos, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 112, y 169
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Beredos ImmobileRebel
set_counter EburonumNewGovernorActivation 0
set_counter EburonumActivationFaction 0
set_counter EburonumActivationFactionDetermined 0
set_counter EburonumActivatorGeneral 1
engage_armies Nautius, Beredos
end_if

if I_CompareCounter EburonumActivationFaction = 2
and I_CompareCounter EburonumNewGovernorActivation = 1
spawn_army
    faction scythia
    character, Enestinos, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 112, y 169
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Enestinos ImmobileRebel
set_counter EburonumNewGovernorActivation 0
set_counter EburonumActivationFaction 0
set_counter EburonumActivationFactionDetermined 0
set_counter EburonumActivatorGeneral 1
engage_armies Nautius, Enestinos
end_if

if I_CompareCounter EburonumActivationFaction = 3
and I_CompareCounter EburonumNewGovernorActivation = 1
spawn_army
    faction gauls
    character, Cador, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 112, y 169
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Cador ImmobileRebel
set_counter EburonumNewGovernorActivation 0
set_counter EburonumActivationFaction 0
set_counter EburonumActivationFactionDetermined 0
set_counter EburonumActivatorGeneral 1
engage_armies Nautius, Cador
end_if

if I_CompareCounter EburonumActivationFaction = 4
and I_CompareCounter EburonumNewGovernorActivation = 1
spawn_army
    faction egypt
    character, Abascantus, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 112, y 169
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Abascantus ImmobileRebel
set_counter EburonumNewGovernorActivation 0
set_counter EburonumActivationFaction 0
set_counter EburonumActivationFactionDetermined 0
set_counter EburonumActivatorGeneral 1
engage_armies Nautius, Abascantus
end_if

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter EburonumUnderSiege 1
console_command kill_character Nautius
set_counter EburonumUnderSiege 0
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter EburonumActivatorGeneral 1
console_command kill_character Nautius
set_counter EburonumActivatorGeneral 0
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and Trait EburonumGovernor > 0
and not EndedInSettlement
console_command kill_character Dentupes
console_command kill_character Dentupes
console_command kill_character Dentupes
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;EXTRA GARRISON

monitor_event CharacterTurnEnd FactionType slave
and Trait EburonumGovernor > 0
and EndedInSettlement
and GarrisonToPopulationRatio < 0.05
and I_TurnNumber < 688
and I_SettlementOwner Eburonum = slave
console_command create_unit Eburonum "celtic infantry neitos" 2 5 2 1
console_command create_unit Eburonum "celtic infantry uirodusios" 2 5 2 1
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and Trait EburonumGovernor > 0
and EndedInSettlement
and GarrisonToPopulationRatio < 0.05
and I_TurnNumber > 687
and I_SettlementOwner Eburonum = slave
console_command create_unit Eburonum "celtic infantry bataroas" 2 5 2 1
console_command create_unit Eburonum "celtic infantry uirodusios" 2 5 2 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;
;Iuvavoaeta;
;;;;;;;;;;;;

monitor_event SettlementTurnStart SettlementName Iuvavoaeta
    set_counter IuvavoaetaHeldBySlave 0
    if I_SettlementOwner Iuvavoaeta = slave
        set_counter IuvavoaetaHeldBySlave 1
    end_if
end_monitor

monitor_conditions I_CompareCounter IuvavoaetaHeldBySlave = 1
and I_TurnNumber = 68
set_counter CreateIuvavoaetaGeneral 1
set_counter IuvavoaetaGeneralDone 0
terminate_monitor
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter SatresExists
set_counter SatresExists 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber < 73
and I_CompareCounter CreateIuvavoaetaGeneral = 1
and I_SettlementOwner Iuvavoaeta = slave
and not I_CharacterTypeNearTile slave named_character, 0  97, 160
if I_CompareCounter IuvavoaetaGeneralDone = 0
spawn_army
    faction slave
    character, Satres, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 97, y 160
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
end
end_if
set_counter IuvavoaetaGeneralDone 1
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDead 0
;console_command give_trait Satres AIGeneral 3
console_command give_trait Satres HatesGreeks 2
console_command give_trait Satres HatesRomans 2
console_command give_trait Satres HatesCarthaginians 2
console_command give_trait Satres IuvavoaetaDefender  
console_command give_trait Satres GoodTactician 3
console_command give_trait Satres GoodDefender 3
console_command give_trait Satres ICERating 8
console_command give_ancillary Satres bodyguard_celtic
end_monitor


;New test

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 72

if I_CompareCounter IuvavoaetaGeneralDead = 1

;Casse for testing purposes. To be removed later

;if I_LocalFaction britons
;and I_CharacterTypeNearTile britons named_character, 5  99, 160
;set_counter CreateIuvavoaetaGeneral 0
;set_counter IuvavoaetaGeneralDone 1
;end_if

;if I_LocalFaction britons
;and I_CharacterTypeNearTile britons general, 5  99, 160
;set_counter CreateIuvavoaetaGeneral 0
;set_counter IuvavoaetaGeneralDone 1
;end_if

;;;;;;;;;;;;;;

;VC for Aedui

if I_LocalFaction gauls
and I_CharacterTypeNearTile gauls named_character, 5  99, 160
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDone 1
end_if

;;;;;;;;;;;;;

;VC for Getai

if I_LocalFaction dacia
and I_CharacterTypeNearTile dacia named_character, 5  99, 160
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDone 1
end_if

;;;;;;;;;;;;;;;

;VC for Arverni

if I_LocalFaction scythia
and I_CharacterTypeNearTile scythia named_character, 5  99, 160
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDone 1
end_if

;;;;;;;;;;;;;;;

;VC for Romani

if I_LocalFaction seleucid
and I_CharacterTypeNearTile seleucid named_character, 5  99, 160
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDone 1
end_if

;;;;;;;;;;;;

;Raiding target for Sweboz. Activate it by uncommenting

;if I_LocalFaction germans
;and I_CharacterTypeNearTile germans named_character, 5  99, 160
;set_counter CreateIuvavoaetaGeneral 0
;set_counter IuvavoaetaGeneralDone 1
;end_if

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Time's up, the defender gets spawned regardless of the VC's

;Spawning-timer for the Defender 

if I_CompareCounter IuvavoaetaDefenderTimer > 1
	inc_counter IuvavoaetaDefenderTimer -1

	if I_CompareCounter IuvavoaetaDefenderTimer = 1
		set_counter CreateIuvavoaetaGeneral 1
		set_counter IuvavoaetaGeneralDone 0
		set_counter IuvavoaetaDefenderTimer 4
	end_if
end_if

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

if I_CompareCounter CreateIuvavoaetaGeneral = 1
and I_SettlementOwner Iuvavoaeta = slave
and not I_CharacterTypeNearTile slave named_character, 0  97,160
and I_CompareCounter IuvavoaetaGeneralDone = 0
spawn_army
    faction slave
    character, Satres, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 97, y 160
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
end
set_counter IuvavoaetaGeneralDone 1
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDead 0
;console_command give_trait Satres AIGeneral 3
console_command give_trait Satres HatesGreeks 2
console_command give_trait Satres HatesRomans 2
console_command give_trait Satres HatesCarthaginians 2
console_command give_trait Satres IuvavoaetaDefender
console_command give_trait Satres GoodTactician 3
console_command give_trait Satres GoodDefender 3
console_command give_trait Satres ICERating 8
console_command give_ancillary Satres bodyguard_celtic
end_if
end_if

end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;If Satres is killed his namesake shows up.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 68
and I_CompareCounter IuvavoaetaHeldBySlave = 1
set_counter SatresExists 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CHECKING FOR EXISTENSE OF THE CHARACTER;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 68
and Trait IuvavoaetaDefender > 0
set_counter SatresExists 1
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_TurnNumber > 68
and I_SettlementOwner Iuvavoaeta = slave 
;and not I_CharacterTypeNearTile slave named_character, 0  99, 160       ;Change from standard 070706
and not I_CharacterTypeNearTile slave named_character, 0  97, 160
and I_CompareCounter SatresExists = 0
set_counter IuvavoaetaGeneralDead 1

if I_CompareCounter IuvavoaetaHeldBySlave = 1 
    and I_CompareCounter IuvavoaetaGeneralDead = 1
    set_counter CreateIuvavoaetaGeneral 1
    set_counter IuvavoaetaGeneralDone 0
end_if

if I_CompareCounter IuvavoaetaGeneralDead != 1
    set_counter IuvavoaetaDefenderTimer 3
end_if

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;
;Repositioning ;
;;;;;;;;;;;;;;;;

;New experiment 070707

declare_counter SatresRepositionOk
set_counter SatresRepositionOk 0


monitor_event CharacterTurnStart FactionType slave
and I_SettlementOwner Iuvavoaeta = slave
and I_TurnNumber > 68
and I_CharacterTypeNearTile slave named_character, 14  99, 160
;and not I_CharacterTypeNearTile slave named_character, 0  99, 160                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  97, 160
and Trait IuvavoaetaDefender > 0
and not EndedInSettlement
set_counter SatresRepositionOk 1
set_counter SatresExists 1
if I_CompareCounter SatresRepositionOk = 1
   reposition_character Satres, 97, 160
   replenish_units Satres
   set_counter SatresExists 1
end_if
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and I_TurnNumber > 68
and I_CharacterTypeNearTile slave named_character, 14  99, 160
;and not I_CharacterTypeNearTile slave named_character, 0  99, 160                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  97, 160
and Trait IuvavoaetaDefender > 0
and EndedInSettlement
set_counter SatresRepositionOk 0
set_counter SatresExists 1
end_monitor


;New experiment to take care of existens of inactive characters

;Removed that code. Didn't seem to work.

;Another one since the former one doesn't seem to work. It's like the character is non existing if he doesn't get repositioned???
;The code below seems to work though. I don't get new Satres's created when the old one is still alive but have been non-active

monitor_event CharacterTurnEnd FactionType slave
and NoActionThisTurn
and Trait IuvavoaetaDefender > 0
and EndedInSettlement
set_counter SatresRepositionOk 0
set_counter SatresExists 1
set_counter IuvavoaetaGeneralDone 1
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDead 0
end_monitor


monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Iuvavoaeta
;and NoActionThisTurn
and Trait IuvavoaetaDefender > 0
and EndedInSettlement
set_counter SatresRepositionOk 0
set_counter SatresExists 1
set_counter IuvavoaetaGeneralDone 1
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDead 0
end_monitor


monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Iuvavoaeta
and NoActionThisTurn
and Trait IuvavoaetaDefender > 0
;and EndedInSettlement
set_counter SatresRepositionOk 0
set_counter SatresExists 1
set_counter IuvavoaetaGeneralDone 1
set_counter CreateIuvavoaetaGeneral 0
set_counter IuvavoaetaGeneralDead 0
end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Experimental 070609
;Extra defense when the Ubergenerals are "sleeping", doing stupid
;things instead of beating off attackers
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Getai;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 99,160
and not I_CharacterTypeNearTile dacia named_character, 2 99,160
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 99,160
and not I_CharacterTypeNearTile dacia general, 2 99,160
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 99,160
and I_CharacterTypeNearTile dacia named_character, 2 99,160
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 99,160
and not I_CharacterTypeNearTile dacia named_character, 2 99,160
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 99,160
and not I_CharacterTypeNearTile dacia general, 2 99,160
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 99,160
and I_CharacterTypeNearTile dacia named_character, 2 99,160
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Sweboz;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 99,160
and not I_CharacterTypeNearTile germans named_character, 2 99,160
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 99,160
and not I_CharacterTypeNearTile germans general, 2 99,160
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 99,160
and I_CharacterTypeNearTile germans named_character, 2 99,160
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 99,160
and not I_CharacterTypeNearTile germans named_character, 2 99,160
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 99,160
and not I_CharacterTypeNearTile germans general, 2 99,160
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Nautius bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 99,160
and I_CharacterTypeNearTile germans named_character, 2 99,160
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Aedui ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 99,160
and not I_CharacterTypeNearTile gauls named_character, 2 99,160
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 99,160
and not I_CharacterTypeNearTile gauls general, 2 99,160
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 99,160
and I_CharacterTypeNearTile gauls named_character, 2 99,160
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 99,160
and not I_CharacterTypeNearTile gauls named_character, 2 99,160
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 99,160
and not I_CharacterTypeNearTile gauls general, 2 99,160
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 99,160
and I_CharacterTypeNearTile gauls named_character, 2 99,160
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Arverni ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 99,160
and not I_CharacterTypeNearTile scythia named_character, 2 99,160
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia named_character, 2 99,160
and not I_CharacterTypeNearTile scythia general, 2 99,160
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 99,160
and I_CharacterTypeNearTile scythia named_character, 2 99,160
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 99,160
and not I_CharacterTypeNearTile scythia named_character, 2 99,160
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia named_character, 2 99,160
and not I_CharacterTypeNearTile scythia general, 2 99,160
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging scythia
and I_CharacterTypeNearTile scythia general, 2 99,160
and I_CharacterTypeNearTile scythia named_character, 2 99,160
and not I_LocalFaction scythia
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Koinon Hellenon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 99,160
and not I_CharacterTypeNearTile greek_cities named_character, 2 99,160
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 99,160
and not I_CharacterTypeNearTile greek_cities general, 2 99,160
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 99,160
and I_CharacterTypeNearTile greek_cities named_character, 2 99,160
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 99,160
and not I_CharacterTypeNearTile greek_cities named_character, 2 99,160
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 99,160
and not I_CharacterTypeNearTile greek_cities general, 2 99,160
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 99,160
and I_CharacterTypeNearTile greek_cities named_character, 2 99,160
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Makedon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 99,160
and not I_CharacterTypeNearTile macedon named_character, 2 99,160
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 99,160
and not I_CharacterTypeNearTile macedon general, 2 99,160
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 99,160
and I_CharacterTypeNearTile macedon named_character, 2 99,160
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 99,160
and not I_CharacterTypeNearTile macedon named_character, 2 99,160
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 99,160
and not I_CharacterTypeNearTile macedon general, 2 99,160
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 99,160
and I_CharacterTypeNearTile macedon named_character, 2 99,160
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Romani;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 99,160
and not I_CharacterTypeNearTile seleucid named_character, 2 99,160
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesRomans 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 99,160
and not I_CharacterTypeNearTile seleucid general, 2 99,160
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesRomans 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 99,160
and I_CharacterTypeNearTile seleucid named_character, 2 99,160
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesRomans 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 99,160
and not I_CharacterTypeNearTile seleucid named_character, 2 99,160
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesRomans 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 99,160
and not I_CharacterTypeNearTile seleucid general, 2 99,160
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesRomans 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 99,160
and I_CharacterTypeNearTile seleucid named_character, 2 99,160
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesRomans 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Epeiros;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 99,160
and not I_CharacterTypeNearTile thrace named_character, 2 99,160
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 99,160
and not I_CharacterTypeNearTile thrace general, 2 99,160
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 99,160
and I_CharacterTypeNearTile thrace named_character, 2 99,160
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 99,160
and not I_CharacterTypeNearTile thrace named_character, 2 99,160
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 99,160
and not I_CharacterTypeNearTile thrace general, 2 99,160
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 99,160
and I_CharacterTypeNearTile thrace named_character, 2 99,160
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesGreeks 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Iuvavoaeta besieged by Karthadast;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 99,160
and not I_CharacterTypeNearTile egypt named_character, 2 99,160
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesCarthaginians 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 99,160
and not I_CharacterTypeNearTile egypt general, 2 99,160
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesCarthaginians 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 99,160
and I_CharacterTypeNearTile egypt named_character, 2 99,160
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesCarthaginians 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 99,160
and not I_CharacterTypeNearTile egypt named_character, 2 99,160
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesCarthaginians 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 99,160
and not I_CharacterTypeNearTile egypt general, 2 99,160
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesCarthaginians 2
console_command give_ancillary Nautius bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait IuvavoaetaDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 99,160
and I_CharacterTypeNearTile egypt named_character, 2 99,160
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 99, y 159
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry neitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry teceitos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry appea gaedotos, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry gaeroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Rescuturme AIGeneral 3
console_command give_trait Rescuturme GoodTactician 3
console_command give_trait Rescuturme HatesCarthaginians 2
console_command give_ancillary Rescuturme bodyguard_celtic
set_counter IuvavoaetaUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;New code 070826 for the new governor and his activation.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter IuvavoaetaNewGovernorActivation
set_counter IuvavoaetaNewGovernorActivation 0

declare_counter IuvavoaetaActivationFactionDetermined
set_counter IuvavoaetaActivationFactionDetermined 0
declare_counter IuvavoaetaActivationFaction
set_counter IuvavoaetaActivationFaction 0
declare_counter IuvavoaetaActivatorGeneral
set_counter IuvavoaetaActivatorGeneral 0
declare_counter IuvavoaetaSuccessorGovernor
set_counter IuvavoaetaSuccessorGovernor 0

;monitor_event SettlementTurnStart SettlementName Iuvavoaeta
;test with factionturnstart instead

monitor_event FactionTurnStart FactionType slave 
and I_SettlementOwner Iuvavoaeta = slave
and not I_CharacterTypeNearTile slave named_character, 0  99, 160

set_counter IuvavoaetaSuccessorGovernor 1

if I_CharacterTypeNearTile seleucid general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile seleucid named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile egypt general, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile egypt named_character, 2 99, 160
set_counter IuvavoaetaSuccessorGovernor 0
end_if


if I_CompareCounter IuvavoaetaSuccessorGovernor = 1

set_counter IuvavoaetaSuccessorGovernor 0

console_command kill_character Skaris
console_command kill_character Skaris
console_command kill_character Skaris

spawn_character slave Skaris, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 99, y 161
;console_command create_unit "Skaris" "celtic infantry neitos" 1

console_command give_trait Skaris IuvavoaetaGovernor
console_command give_trait Skaris ImmobileRebel
console_command give_trait Skaris ICERating 8

move Skaris, 99, 160

set_counter IuvavoaetaNewGovernorActivation 1

end_if


if I_CompareCounter IuvavoaetaNewGovernorActivation = 1
spawn_army
    faction slave
    character, Rescuturme, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 98, y 159
    unit celtic infantry solduros, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry botroas, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
end_if


if I_CompareCounter IuvavoaetaActivationFactionDetermined = 0
and I_NumberOfSettlements britons > 0
and not I_LocalFaction britons
set_counter IuvavoaetaActivationFaction 1
set_counter IuvavoaetaActivationFactionDetermined 1
end_if

if I_CompareCounter IuvavoaetaActivationFactionDetermined = 0
and I_NumberOfSettlements scythia > 0
and not I_LocalFaction scythia
set_counter IuvavoaetaActivationFaction 2
set_counter IuvavoaetaActivationFactionDetermined 1
end_if

if I_CompareCounter IuvavoaetaActivationFactionDetermined = 0
and I_NumberOfSettlements gauls > 0
and not I_LocalFaction gauls
set_counter IuvavoaetaActivationFaction 3
set_counter IuvavoaetaActivationFactionDetermined 1
end_if

if I_CompareCounter IuvavoaetaActivationFactionDetermined = 0
and I_NumberOfSettlements egypt > 0
and not I_LocalFaction egypt
set_counter IuvavoaetaActivationFaction 4
set_counter IuvavoaetaActivationFactionDetermined 1
end_if

if I_CompareCounter IuvavoaetaActivationFaction = 1
and I_CompareCounter IuvavoaetaNewGovernorActivation = 1
spawn_army
    faction britons
    character, Brycham, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 98, y 160
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Brycham ImmobileRebel
set_counter IuvavoaetaNewGovernorActivation 0
set_counter IuvavoaetaActivationFaction 0
set_counter IuvavoaetaActivationFactionDetermined 0
set_counter IuvavoaetaActivatorGeneral 1
engage_armies Rescuturme, Brycham
end_if

if I_CompareCounter IuvavoaetaActivationFaction = 2
and I_CompareCounter IuvavoaetaNewGovernorActivation = 1
spawn_army
    faction scythia
    character, Erbin, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 98, y 160
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Erbin ImmobileRebel
set_counter IuvavoaetaNewGovernorActivation 0
set_counter IuvavoaetaActivationFaction 0
set_counter IuvavoaetaActivationFactionDetermined 0
set_counter IuvavoaetaActivatorGeneral 1
engage_armies Rescuturme, Erbin
end_if

if I_CompareCounter IuvavoaetaActivationFaction = 3
and I_CompareCounter IuvavoaetaNewGovernorActivation = 1
spawn_army
    faction gauls
    character, Erbin, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 98, y 160
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Erbin ImmobileRebel
set_counter IuvavoaetaNewGovernorActivation 0
set_counter IuvavoaetaActivationFaction 0
set_counter IuvavoaetaActivationFactionDetermined 0
set_counter IuvavoaetaActivatorGeneral 1
engage_armies Rescuturme, Erbin
end_if

if I_CompareCounter IuvavoaetaActivationFaction = 4
and I_CompareCounter IuvavoaetaNewGovernorActivation = 1
spawn_army
    faction egypt
    character, Annibas, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 98, y 160
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Annibas ImmobileRebel
set_counter IuvavoaetaNewGovernorActivation 0
set_counter IuvavoaetaActivationFaction 0
set_counter IuvavoaetaActivationFactionDetermined 0
set_counter IuvavoaetaActivatorGeneral 1
engage_armies Rescuturme, Annibas
end_if

end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter IuvavoaetaUnderSiege 1
console_command kill_character Rescuturme
set_counter IuvavoaetaUnderSiege 0
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter IuvavoaetaActivatorGeneral 1
console_command kill_character Rescuturme
set_counter IuvavoaetaActivatorGeneral 0
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and Trait IuvavoaetaGovernor > 0
and not EndedInSettlement
console_command kill_character Skaris
console_command kill_character Skaris
console_command kill_character Skaris
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;EXTRA GARRISON

monitor_event CharacterTurnEnd FactionType slave
and Trait IuvavoaetaGovernor > 0
and EndedInSettlement
and GarrisonToPopulationRatio < 0.05
and I_SettlementOwner Iuvavoaeta = slave
console_command create_unit Iuvavoaeta "celtic infantry neitos" 2 5 2 1
console_command create_unit Iuvavoaeta "celtic infantry teceitos" 3 5 2 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;;;;;;;;;;;;
;Carrodunum;
;;;;;;;;;;;;


monitor_event SettlementTurnStart SettlementName Carrodunum
    set_counter CarrodunumHeldBySlave 0
    if I_SettlementOwner Carrodunum = slave
        set_counter CarrodunumHeldBySlave 1
    end_if
end_monitor

monitor_conditions I_CompareCounter CarrodunumHeldBySlave = 1
and I_TurnNumber = 80
set_counter CreateCarrodunumGeneral 1
set_counter CarrodunumGeneralDone 0
terminate_monitor
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter RhesusExists
set_counter RhesusExists 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber < 85
and I_CompareCounter CreateCarrodunumGeneral = 1
and I_SettlementOwner Carrodunum = slave
and not I_CharacterTypeNearTile slave named_character, 0  124, 173
if I_CompareCounter CarrodunumGeneralDone = 0
spawn_army
    faction slave
    character, Rhesus, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 124, y 173
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 4 armor 1 weapon_lvl 0
end
end_if
set_counter CarrodunumGeneralDone 1
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDead 0
;console_command give_trait Rhesus AIGeneral 3
console_command give_trait Rhesus HatesGreeks 2
console_command give_trait Rhesus HatesRomans 2
console_command give_trait Rhesus HatesCarthaginians 2
console_command give_trait Rhesus CarrodunumDefender
console_command give_trait Rhesus GoodTactician 3
console_command give_trait Rhesus GoodDefender 2
console_command give_trait Rhesus ICERating 8
console_command give_ancillary Rhesus bodyguard_celtic
end_monitor


;New test

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 84

if I_CompareCounter CarrodunumGeneralDead = 1

;Casse for testing purposes, to be removed later

;if I_LocalFaction britons
;and I_CharacterTypeNearTile britons named_character, 4  121,173
;set_counter CreateCarrodunumGeneral 0
;set_counter CarrodunumGeneralDone 1
;end_if

;if I_LocalFaction britons
;and I_CharacterTypeNearTile britons general, 4  121,173
;set_counter CreateCarrodunumGeneral 0
;set_counter CarrodunumGeneralDone 1
;end_if

;;;;;;;;;;;;;

;VC for Getai

if I_LocalFaction dacia
and I_CharacterTypeNearTile dacia named_character, 4  121,173
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDone 1
end_if

;;;;;;;;;;;;

;Sweboz raiding target, activate it by uncommenting

;if I_LocalFaction germans
;and I_CharacterTypeNearTile germans named_character, 3  121,173
;set_counter CreateCarrodunumGeneral 0
;set_counter CarrodunumGeneralDone 1
;end_if

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Time's up. The defender gets spawned regardless of VC's

;Spawning-timer for the Defender

if I_CompareCounter CarrodunumDefenderTimer > 1
	inc_counter CarrodunumDefenderTimer -1

	if I_CompareCounter CarrodunumDefenderTimer = 1
		set_counter CreateCarrodunumGeneral 1
		set_counter CarrodunumGeneralDone 0
		set_counter CarrodunumDefenderTimer 4
	end_if
end_if

;end of new test
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

if I_CompareCounter CreateCarrodunumGeneral = 1
and I_SettlementOwner Carrodunum = slave
and not I_CharacterTypeNearTile slave named_character, 0  124,173
and I_CompareCounter CarrodunumGeneralDone = 0
spawn_army
    faction slave
    character, Rhesus, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 124, y 173
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry aljazgae, exp 5 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
set_counter CarrodunumGeneralDone 1
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDead 0
;console_command give_trait Rhesus AIGeneral 3
console_command give_trait Rhesus HatesGreeks 2
console_command give_trait Rhesus HatesRomans 2
console_command give_trait Rhesus HatesCarthaginians 2
console_command give_trait Rhesus CarrodunumDefender
console_command give_trait Rhesus GoodTactician 3
console_command give_trait Rhesus GoodDefender 2
console_command give_trait Rhesus ICERating 8
console_command give_ancillary Rhesus bodyguard_celtic
end_if
end_if

end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;If Rhesus is killed his namesake shows up.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 80 
and I_CompareCounter CarrodunumHeldBySlave = 1
set_counter RhesusExists 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CHECKING FOR EXISTENSE OF THE CHARACTER;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 80
and Trait CarrodunumDefender > 0
set_counter RhesusExists 1
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_TurnNumber > 80
and I_SettlementOwner Carrodunum = slave
and not I_CharacterTypeNearTile slave named_character, 0  124, 173
and I_CompareCounter RhesusExists = 0
set_counter CarrodunumGeneralDead 1

if I_CompareCounter CarrodunumHeldBySlave = 1
    and I_CompareCounter CarrodunumGeneralDead = 1
    set_counter CreateCarrodunumGeneral 1
    set_counter CarrodunumGeneralDone 0
end_if

if I_CompareCounter CarrodunumGeneralDead != 1
    set_counter CarrodunumDefenderTimer 3
end_if

end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;
;Repositioning ;
;;;;;;;;;;;;;;;;

;New experiment 070707

declare_counter RhesusRepositionOk
set_counter RhesusRepositionOk 0


monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 80
and I_SettlementOwner Carrodunum = slave
and I_CharacterTypeNearTile slave named_character, 14  121, 173
;and not I_CharacterTypeNearTile slave named_character, 0  121, 173                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  124, 173
and Trait CarrodunumDefender > 0
and not EndedInSettlement
set_counter RhesusRepositionOk 1
set_counter RhesusExists 1
set_counter CarrodunumGeneralDone 1
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDead 0
if I_CompareCounter RhesusRepositionOk = 1
   reposition_character Rhesus, 124, 173
   replenish_units Rhesus
   set_counter RhesusExists 1
end_if
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and I_TurnNumber > 80
and I_CharacterTypeNearTile slave named_character, 14  121, 173
;and not I_CharacterTypeNearTile slave named_character, 0  121, 173                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  124, 173
and Trait CarrodunumDefender > 0
and EndedInSettlement
set_counter RhesusRepositionOk 0
set_counter RhesusExists 1
set_counter CarrodunumGeneralDone 1
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDead 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;New experiment to take care of existens of inactive characters;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;Removed the code that didn't work.

;Another one since the former one doesn't seem to work. It's like the character is non existing if he doesn't get repositioned???
;The code below seems to work though. I don't get new Rhesus' created when the old one is still alive but have been non-active

monitor_event CharacterTurnEnd FactionType slave
and NoActionThisTurn
and Trait CarrodunumDefender > 0
and EndedInSettlement
set_counter RhesusRepositionOk 0
set_counter RhesusExists 1
set_counter CarrodunumGeneralDone 1
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDead 0
end_monitor


monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Carrodunum
;and NoActionThisTurn
and Trait CarrodunumDefender > 0
and EndedInSettlement
set_counter RhesusRepositionOk 0
set_counter RhesusExists 1
set_counter CarrodunumGeneralDone 1
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDead 0
end_monitor


monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Carrodunum
and NoActionThisTurn
and Trait CarrodunumDefender > 0
;and EndedInSettlement
set_counter RhesusRepositionOk 0
set_counter RhesusExists 1
set_counter CarrodunumGeneralDone 1
set_counter CreateCarrodunumGeneral 0
set_counter CarrodunumGeneralDead 0
end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Experimental 070609                                              ;
;Extra defense when the Ubergenerals are "sleeping", doing stupid ; 
;things instead of beating off attackers.                         ; 
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Getai;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 121,173
and not I_CharacterTypeNearTile dacia named_character, 2 121,173
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 121,173
and not I_CharacterTypeNearTile dacia general, 2 121,173
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 121,173
and I_CharacterTypeNearTile dacia named_character, 2 121,173
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 121,173
and not I_CharacterTypeNearTile dacia named_character, 2 121,173
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 121,173
and not I_CharacterTypeNearTile dacia general, 2 121,173
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 121,173
and I_CharacterTypeNearTile dacia named_character, 2 121,173
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Hayasdan;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 121,173
and not I_CharacterTypeNearTile romans_scipii named_character, 2 121,173
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii named_character, 2 121,173
and not I_CharacterTypeNearTile romans_scipii general, 2 121,173
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 121,173
and I_CharacterTypeNearTile romans_scipii named_character, 2 121,173
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 121,173
and not I_CharacterTypeNearTile romans_scipii named_character, 2 121,173
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii named_character, 2 121,173
and not I_CharacterTypeNearTile romans_scipii general, 2 121,173
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 121,173
and I_CharacterTypeNearTile romans_scipii named_character, 2 121,173
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Sweboz;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 121,173
and not I_CharacterTypeNearTile germans named_character, 2 121,173
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 121,173
and not I_CharacterTypeNearTile germans general, 2 121,173
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 121,173
and I_CharacterTypeNearTile germans named_character, 2 121,173
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 121,173
and not I_CharacterTypeNearTile germans named_character, 2 121,173
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 121,173
and not I_CharacterTypeNearTile germans general, 2 121,173
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 121,173
and I_CharacterTypeNearTile germans named_character, 2 121,173
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Aedui;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 121,173
and not I_CharacterTypeNearTile gauls named_character, 2 121,173
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 121,173
and not I_CharacterTypeNearTile gauls general, 2 121,173
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 121,173
and I_CharacterTypeNearTile gauls named_character, 2 121,173
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 121,173
and not I_CharacterTypeNearTile gauls named_character, 2 121,173
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 121,173
and not I_CharacterTypeNearTile gauls general, 2 121,173
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 121,173
and I_CharacterTypeNearTile gauls named_character, 2 121,173
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 4 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Koinon Hellenon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 121,173
and not I_CharacterTypeNearTile greek_cities named_character, 2 121,173
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 121,173
and not I_CharacterTypeNearTile greek_cities general, 2 121,173
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 121,173
and I_CharacterTypeNearTile greek_cities named_character, 2 121,173
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 121,173
and not I_CharacterTypeNearTile greek_cities named_character, 2 121,173
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 121,173
and not I_CharacterTypeNearTile greek_cities general, 2 121,173
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 121,173
and I_CharacterTypeNearTile greek_cities named_character, 2 121,173
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Makedon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 121,173
and not I_CharacterTypeNearTile macedon named_character, 2 121,173
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 121,173
and not I_CharacterTypeNearTile macedon general, 2 121,173
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 121,173
and I_CharacterTypeNearTile macedon named_character, 2 121,173
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 121,173
and not I_CharacterTypeNearTile macedon named_character, 2 121,173
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 121,173
and not I_CharacterTypeNearTile macedon general, 2 121,173
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 121,173
and I_CharacterTypeNearTile macedon named_character, 2 121,173
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Romani;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 121,173
and not I_CharacterTypeNearTile seleucid named_character, 2 121,173
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesRomans 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 121,173
and not I_CharacterTypeNearTile seleucid general, 2 121,173
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesRomans 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 121,173
and I_CharacterTypeNearTile seleucid named_character, 2 121,173
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesRomans 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 121,173
and not I_CharacterTypeNearTile seleucid named_character, 2 121,173
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesRomans 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 121,173
and not I_CharacterTypeNearTile seleucid general, 2 121,173
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesRomans 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 121,173
and I_CharacterTypeNearTile seleucid named_character, 2 121,173
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesRomans 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Epeiros;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 121,173
and not I_CharacterTypeNearTile thrace named_character, 2 121,173
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 121,173
and not I_CharacterTypeNearTile thrace general, 2 121,173
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 121,173
and I_CharacterTypeNearTile thrace named_character, 2 121,173
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 121,173
and not I_CharacterTypeNearTile thrace named_character, 2 121,173
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 121,173
and not I_CharacterTypeNearTile thrace general, 2 121,173
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 121,173
and I_CharacterTypeNearTile thrace named_character, 2 121,173
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesGreeks 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Carrodunum besieged by Kharthadast;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 121,173
and not I_CharacterTypeNearTile egypt named_character, 2 121,173
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesCarthaginians 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 121,173
and not I_CharacterTypeNearTile egypt general, 2 121,173
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesCarthaginians 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 121,173
and I_CharacterTypeNearTile egypt named_character, 2 121,173
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesCarthaginians 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 121,173
and not I_CharacterTypeNearTile egypt named_character, 2 121,173
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesCarthaginians 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 121,173
and not I_CharacterTypeNearTile egypt general, 2 121,173
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesCarthaginians 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait CarrodunumDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 121,173
and I_CharacterTypeNearTile egypt named_character, 2 121,173
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 122, y 174
    unit germanic cavalry ridoharjoz, exp 6 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry bataroas, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0    
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 5 armor 1 weapon_lvl 0 
    unit celtic missile iaosatae regional, exp 5 armor 1 weapon_lvl 0    
end
console_command give_trait Rhaskuporis AIGeneral 3
console_command give_trait Rhaskuporis GoodTactician 3
console_command give_trait Rhaskuporis HatesCarthaginians 2
console_command give_ancillary Rhaskuporis bodyguard_celtic
set_counter CarrodunumUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;New code 070826 for the new governor and his activation.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter CarrodunumNewGovernorActivation
set_counter CarrodunumNewGovernorActivation 0

declare_counter CarrodunumActivationFactionDetermined
set_counter CarrodunumActivationFactionDetermined 0
declare_counter CarrodunumActivationFaction
set_counter CarrodunumActivationFaction 0
declare_counter CarrodunumActivatorGeneral
set_counter CarrodunumActivatorGeneral 0
declare_counter CarrodunumSuccessorGovernor
set_counter CarrodunumSuccessorGovernor 0

;monitor_event SettlementTurnStart SettlementName Carrodunum
;test with factionturnstart instead

monitor_event FactionTurnStart FactionType slave 
and I_SettlementOwner Carrodunum = slave
and not I_CharacterTypeNearTile slave named_character, 0  121, 173

set_counter CarrodunumSuccessorGovernor 1

if I_CharacterTypeNearTile seleucid general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile seleucid general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon named_character, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities named_character, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia named_character, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile armenia general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile armenia named_character, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile egypt general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile egypt named_character, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile romans_scipii general, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile romans_scipii named_character, 2 121, 173
set_counter CarrodunumSuccessorGovernor 0
end_if

if I_CompareCounter CarrodunumSuccessorGovernor = 1

set_counter CarrodunumSuccessorGovernor 0

console_command kill_character Desakenthos
console_command kill_character Desakenthos
console_command kill_character Desakenthos

spawn_character slave Desakenthos, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 121, y 174
;console_command create_unit "Desakenthos" "celtic infantry neitos" 1

console_command give_trait Desakenthos CarrodunumGovernor
console_command give_trait Desakenthos ImmobileRebel
console_command give_trait Desakenthos ICERating 8

move Desakenthos, 121, 173

set_counter CarrodunumNewGovernorActivation 1

end_if


if I_CompareCounter CarrodunumNewGovernorActivation = 1
spawn_army
    faction slave
    character, Rhaskuporis, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 121, y 175
    unit celtic infantry solduros, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry uirodusios, exp 2 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
end_if

if I_CompareCounter CarrodunumActivationFactionDetermined = 0
and I_NumberOfSettlements britons > 0
and not I_LocalFaction britons
set_counter CarrodunumActivationFaction 1
set_counter CarrodunumActivationFactionDetermined 1
end_if

if I_CompareCounter CarrodunumActivationFactionDetermined = 0
and I_NumberOfSettlements scythia > 0
and not I_LocalFaction scythia
set_counter CarrodunumActivationFaction 2
set_counter CarrodunumActivationFactionDetermined 1
end_if

if I_CompareCounter CarrodunumActivationFactionDetermined = 0
and I_NumberOfSettlements gauls > 0
and not I_LocalFaction gauls
set_counter CarrodunumActivationFaction 3
set_counter CarrodunumActivationFactionDetermined 1
end_if

if I_CompareCounter CarrodunumActivationFactionDetermined = 0
and I_NumberOfSettlements egypt > 0
and not I_LocalFaction egypt
set_counter CarrodunumActivationFaction 4
set_counter CarrodunumActivationFactionDetermined 1
end_if


if I_CompareCounter CarrodunumActivationFaction = 1
and I_CompareCounter CarrodunumNewGovernorActivation = 1
spawn_army
    faction britons
    character, Cynan, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 122, y 173
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Cynan ImmobileRebel
set_counter CarrodunumNewGovernorActivation 0
set_counter CarrodunumActivationFaction 0
set_counter CarrodunumActivationFactionDetermined 0
set_counter CarrodunumActivatorGeneral 1
engage_armies Rhaskuporis, Cynan
end_if

if I_CompareCounter CarrodunumActivationFaction = 2
and I_CompareCounter CarrodunumNewGovernorActivation = 1
spawn_army
    faction scythia
    character, Geraint, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 122, y 173
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Geraint ImmobileRebel
set_counter CarrodunumNewGovernorActivation 0
set_counter CarrodunumActivationFaction 0
set_counter CarrodunumActivationFactionDetermined 0
set_counter CarrodunumActivatorGeneral 1
engage_armies Rhaskuporis, Geraint
end_if

if I_CompareCounter CarrodunumActivationFaction = 3
and I_CompareCounter CarrodunumNewGovernorActivation = 1
spawn_army
    faction gauls
    character, Geraint, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 122, y 173
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Geraint ImmobileRebel
set_counter CarrodunumNewGovernorActivation 0
set_counter CarrodunumActivationFaction 0
set_counter CarrodunumActivationFactionDetermined 0
set_counter CarrodunumActivatorGeneral 1
engage_armies Rhaskuporis, Geraint
end_if

if I_CompareCounter CarrodunumActivationFaction = 4
and I_CompareCounter CarrodunumNewGovernorActivation = 1
spawn_army
    faction egypt
    character, Bodashtart, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 122, y 173
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Bodashtart ImmobileRebel
set_counter CarrodunumNewGovernorActivation 0
set_counter CarrodunumActivationFaction 0
set_counter CarrodunumActivationFactionDetermined 0
set_counter CarrodunumActivatorGeneral 1
engage_armies Rhaskuporis, Bodashtart
end_if

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter CarrodunumUnderSiege 1
console_command kill_character Rhaskuporis
set_counter CarrodunumUnderSiege 0
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter CarrodunumActivatorGeneral 1
console_command kill_character Rhaskuporis
set_counter CarrodunumActivatorGeneral 0
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and Trait CarrodunumGovernor > 0
and not EndedInSettlement
console_command kill_character Desakenthos
console_command kill_character Desakenthos
console_command kill_character Desakenthos
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;EXTRA GARRISON

monitor_event CharacterTurnEnd FactionType slave
and Trait CarrodunumGovernor > 0
and EndedInSettlement
and GarrisonToPopulationRatio < 0.05
and I_SettlementOwner Carrodunum = slave
console_command create_unit Carrodunum "celtic infantry bataroas" 1 5 2 1
console_command create_unit Carrodunum "celtic infantry lugian" 1 5 2 1
console_command create_unit Carrodunum "celtic infantry uirodusios" 2 5 2 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;


;;;;;;;;;;;;;;
;Seliun-Pilis;
;;;;;;;;;;;;;;

monitor_event SettlementTurnStart SettlementName Seliun-Pilis
    set_counter Seliun_PilisHeldBySlave 0
    if I_SettlementOwner Seliun_Pilis = slave
        set_counter Seliun_PilisHeldBySlave 1
    end_if
end_monitor

monitor_conditions I_CompareCounter Seliun_PilisHeldBySlave = 1
and I_TurnNumber = 101
set_counter CreateSeliun_PilisGeneral 1
set_counter Seliun_PilisGeneralDone 0
terminate_monitor
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter SautesExists
set_counter SautesExists 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber < 106
and I_CompareCounter CreateSeliun_PilisGeneral = 1
and I_SettlementOwner Seliun_Pilis = slave
and not I_CharacterTypeNearTile slave named_character, 0  139, 196
if I_CompareCounter Seliun_PilisGeneralDone = 0
spawn_army
    faction slave
    character, Sautes, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 139, y 196
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 3 armor 1 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 3 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 3 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 3 armor 1 weapon_lvl 0
end
end_if
set_counter Seliun_PilisGeneralDone 1
set_counter CreateSeliun_PilisGeneral 0
set_counter Seliun_PilisGeneralDead 0
;console_command give_trait Sautes AIGeneral 3
console_command give_trait Sautes HatesGreeks 2
console_command give_trait Sautes HatesNomads 2
console_command give_trait Sautes HatesBarbarians 2
console_command give_trait Sautes SeliunPilisDefender
console_command give_trait Sautes GoodTactician 1
console_command give_trait Sautes GoodDefender 2
console_command give_ancillary Sautes bodyguard_celtic
end_monitor


monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 105
and I_CompareCounter CreateSeliun_PilisGeneral = 1
and I_SettlementOwner Seliun_Pilis = slave
and not I_CharacterTypeNearTile slave named_character, 0  139, 196
and I_CompareCounter Seliun_PilisGeneralDead = 1
if I_CompareCounter Seliun_PilisGeneralDone = 0
spawn_army
    faction slave
    character, Sautes, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 139, y 196
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry swainoz, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 3 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 3 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 3 armor 1 weapon_lvl 0
end
end_if
set_counter Seliun_PilisGeneralDone 1
set_counter CreateSeliun_PilisGeneral 0
set_counter Seliun_PilisGeneralDead 0
;console_command give_trait Sautes AIGeneral 3
console_command give_trait Sautes HatesGreeks 2
console_command give_trait Sautes HatesNomads 2
console_command give_trait Sautes HatesBarbarians 2
console_command give_trait Sautes SeliunPilisDefender
console_command give_trait Sautes GoodTactician 2
console_command give_trait Sautes GoodDefender 2
console_command give_ancillary Sautes bodyguard_celtic
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;If Sautes is killed his namesake shows up.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 101 
and I_CompareCounter Seliun_PilisHeldBySlave = 1
set_counter SautesExists 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CHECKING FOR EXISTENSE OF THE CHARACTER;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 101
and Trait SeliunPilisDefender > 0
set_counter SautesExists 1
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_TurnNumber > 101
and I_SettlementOwner Seliun_Pilis = slave
;and not I_CharacterTypeNearTile slave named_character, 0  141, 196
and not I_CharacterTypeNearTile slave named_character, 0  139, 196
and I_CompareCounter SautesExists = 0
set_counter Seliun_PilisGeneralDead 1
if I_CompareCounter Seliun_PilisHeldBySlave = 1 
    and I_CompareCounter Seliun_PilisGeneralDead = 1
    set_counter CreateSeliun_PilisGeneral 1
    set_counter Seliun_PilisGeneralDone 0
end_if
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;
;Repositioning ;
;;;;;;;;;;;;;;;;

;New experiment 070707

declare_counter SautesRepositionOk
set_counter SautesRepositionOk 0


monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 101
and I_SettlementOwner Seliun_Pilis = slave
and I_CharacterTypeNearTile slave named_character, 14  141, 196
;and not I_CharacterTypeNearTile slave named_character, 0  141, 196                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  139, 196
and Trait SeliunPilisDefender > 0
and not EndedInSettlement
set_counter SautesRepositionOk 1
set_counter SautesExists 1
if I_CompareCounter SautesRepositionOk = 1
   reposition_character Sautes, 139, 196
   replenish_units Sautes
   set_counter SautesExists 1
end_if
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and I_TurnNumber > 101
and I_CharacterTypeNearTile slave named_character, 14  141, 196
;and not I_CharacterTypeNearTile slave named_character, 0  141, 196                ;Temporarly inactivated
and not I_CharacterTypeNearTile slave named_character, 0  139, 196
and Trait SeliunPilisDefender > 0
and EndedInSettlement
set_counter SautesRepositionOk 0
set_counter SautesExists 1
end_monitor


;New experiment to take care of existens of inactive characters

;Removed the code that didn't seem to work here.

;Another one since the former one doesn't seem to work. It's like the character is non existing if he doesn't get repositioned???
;The code below seems to work though. I don't get new Sautes's created when the old one is still alive but have been non-active

monitor_event CharacterTurnEnd FactionType slave
and NoActionThisTurn
and Trait SeliunPilisDefender > 0
and EndedInSettlement
set_counter SautesRepositionOk 0
set_counter SautesExists 1
set_counter Seliun_PilisGeneralDone 1
set_counter CreateSeliun_PilisGeneral 0
set_counter Seliun_PilisGeneralDead 0
end_monitor

monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Seliun-Pilis
;and NoActionThisTurn
and Trait SeliunPilisDefender > 0
and EndedInSettlement
set_counter SautesRepositionOk 0
set_counter SautesExists 1
set_counter Seliun_PilisGeneralDone 1
set_counter CreateSeliun_PilisGeneral 0
set_counter Seliun_PilisGeneralDead 0
end_monitor

monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Seliun-Pilis
and NoActionThisTurn
and Trait SeliunPilisDefender > 0
;and EndedInSettlement
set_counter SautesRepositionOk 0
set_counter SautesExists 1
set_counter Seliun_PilisGeneralDone 1
set_counter CreateSeliun_PilisGeneral 0
set_counter Seliun_PilisGeneralDead 0
end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Experimental 070609
;Extra defense when the Ubergenerals are "sleeping", doing stupid
;things instead of beating off attackers
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Getai;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 141,196
and not I_CharacterTypeNearTile dacia named_character, 2 141,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 141,196
and not I_CharacterTypeNearTile dacia general, 2 141,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 141,196
and I_CharacterTypeNearTile dacia named_character, 2 141,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 141,196
and not I_CharacterTypeNearTile dacia named_character, 2 141,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 141,196
and not I_CharacterTypeNearTile dacia general, 2 141,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 141,196
and I_CharacterTypeNearTile dacia named_character, 2 141,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Sweboz;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 141,196
and not I_CharacterTypeNearTile germans named_character, 2 141,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 141,196
and not I_CharacterTypeNearTile germans general, 2 141,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 141,196
and I_CharacterTypeNearTile germans named_character, 2 141,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 141,196
and not I_CharacterTypeNearTile germans named_character, 2 141,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 141,196
and not I_CharacterTypeNearTile germans general, 2 141,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 141,196
and I_CharacterTypeNearTile germans named_character, 2 141,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Sauromatae;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 141,196
and not I_CharacterTypeNearTile armenia named_character, 2 141,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia named_character, 2 141,196
and not I_CharacterTypeNearTile armenia general, 2 141,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 141,196
and I_CharacterTypeNearTile armenia named_character, 2 141,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 141,196
and not I_CharacterTypeNearTile armenia named_character, 2 141,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia named_character, 2 141,196
and not I_CharacterTypeNearTile armenia general, 2 141,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 141,196
and I_CharacterTypeNearTile armenia named_character, 2 141,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Hayasdan;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 141,196
and not I_CharacterTypeNearTile romans_scipii named_character, 2 141,196
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii named_character, 2 141,196
and not I_CharacterTypeNearTile romans_scipii general, 2 141,196
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 141,196
and I_CharacterTypeNearTile romans_scipii named_character, 2 141,196
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 141,196
and not I_CharacterTypeNearTile romans_scipii named_character, 2 141,196
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii named_character, 2 141,196
and not I_CharacterTypeNearTile romans_scipii general, 2 141,196
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging romans_scipii
and I_CharacterTypeNearTile romans_scipii general, 2 141,196
and I_CharacterTypeNearTile romans_scipii named_character, 2 141,196
and not I_LocalFaction romans_scipii
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Aedui;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 141,196
and not I_CharacterTypeNearTile gauls named_character, 2 141,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 4 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 141,196
and not I_CharacterTypeNearTile gauls general, 2 141,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 4 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 141,196
and I_CharacterTypeNearTile gauls named_character, 2 141,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 4 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 141,196
and not I_CharacterTypeNearTile gauls named_character, 2 141,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 4 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 141,196
and not I_CharacterTypeNearTile gauls general, 2 141,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 4 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 141,196
and I_CharacterTypeNearTile gauls named_character, 2 141,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 4 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 4 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Koinon Hellenon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 141,196
and not I_CharacterTypeNearTile greek_cities named_character, 2 141,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 141,196
and not I_CharacterTypeNearTile greek_cities general, 2 141,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 141,196
and I_CharacterTypeNearTile greek_cities named_character, 2 141,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 141,196
and not I_CharacterTypeNearTile greek_cities named_character, 2 141,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 141,196
and not I_CharacterTypeNearTile greek_cities general, 2 141,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 141,196
and I_CharacterTypeNearTile greek_cities named_character, 2 141,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Makedon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 141,196
and not I_CharacterTypeNearTile macedon named_character, 2 141,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 141,196
and not I_CharacterTypeNearTile macedon general, 2 141,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 141,196
and I_CharacterTypeNearTile macedon named_character, 2 141,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 141,196
and not I_CharacterTypeNearTile macedon named_character, 2 141,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 141,196
and not I_CharacterTypeNearTile macedon general, 2 141,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 141,196
and I_CharacterTypeNearTile macedon named_character, 2 141,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Romani;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 141,196
and not I_CharacterTypeNearTile seleucid named_character, 2 141,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesRomans 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 141,196
and not I_CharacterTypeNearTile seleucid general, 2 141,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesRomans 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 141,196
and I_CharacterTypeNearTile seleucid named_character, 2 141,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesRomans 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 141,196
and not I_CharacterTypeNearTile seleucid named_character, 2 141,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesRomans 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 141,196
and not I_CharacterTypeNearTile seleucid general, 2 141,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesRomans 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 141,196
and I_CharacterTypeNearTile seleucid named_character, 2 141,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesRomans 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Epeiros;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 141,196
and not I_CharacterTypeNearTile thrace named_character, 2 141,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 141,196
and not I_CharacterTypeNearTile thrace general, 2 141,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 141,196
and I_CharacterTypeNearTile thrace named_character, 2 141,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 141,196
and not I_CharacterTypeNearTile thrace named_character, 2 141,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 141,196
and not I_CharacterTypeNearTile thrace general, 2 141,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 141,196
and I_CharacterTypeNearTile thrace named_character, 2 141,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesGreeks 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Seliun-Pilis besieged by Kharthadast;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 141,196
and not I_CharacterTypeNearTile egypt named_character, 2 141,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesCarthaginians 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 141,196
and not I_CharacterTypeNearTile egypt general, 2 141,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesCarthaginians 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 141,196
and I_CharacterTypeNearTile egypt named_character, 2 141,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesCarthaginians 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 141,196
and not I_CharacterTypeNearTile egypt named_character, 2 141,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesCarthaginians 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 141,196
and not I_CharacterTypeNearTile egypt general, 2 141,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesCarthaginians 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait SeliunPilisDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 141,196
and I_CharacterTypeNearTile egypt named_character, 2 141,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 140, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit steppe infantry voinu spearmen, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Deopus AIGeneral 3
console_command give_trait Deopus GoodTactician 3
console_command give_trait Deopus HatesCarthaginians 2
console_command give_ancillary Deopus bodyguard_celtic
set_counter Seliun_PilisUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;New code 070826 for the new governor and his activation.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter Seliun_PilisNewGovernorActivation
set_counter Seliun_PilisNewGovernorActivation 0

declare_counter Seliun_PilisActivationFactionDetermined
set_counter Seliun_PilisActivationFactionDetermined 0
declare_counter Seliun_PilisActivationFaction
set_counter Seliun_PilisActivationFaction 0
declare_counter Seliun_PilisActivatorGeneral
set_counter Seliun_PilisActivatorGeneral 0
declare_counter Seliun_PilisSuccessorGovernor
set_counter Seliun_PilisSuccessorGovernor 0

monitor_event FactionTurnStart FactionType slave 
and I_SettlementOwner Seliun_Pilis = slave
and not I_CharacterTypeNearTile slave named_character, 0  141, 196

set_counter Seliun_PilisSuccessorGovernor 1

if I_CharacterTypeNearTile armenia general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile armenia named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile seleucid general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile seleucid named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile romans_scipii general, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile romans_scipii named_character, 2 141, 196
set_counter Seliun_PilisSuccessorGovernor 0
end_if

if I_CompareCounter Seliun_PilisSuccessorGovernor = 1

set_counter Seliun_PilisSuccessorGovernor 0

console_command kill_character Skilas
console_command kill_character Skilas
console_command kill_character Skilas

spawn_character slave Skilas, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 142, y 196
;console_command create_unit "Skilas" "germanic infantry general ferulharjoz" 1

console_command give_trait Skilas SeliunPilisGovernor
console_command give_trait Skilas ImmobileRebel
console_command give_trait Skilas ICERating 8

move Skilas, 141, 196

set_counter Seliun_PilisNewGovernorActivation 1

end_if

if I_CompareCounter Seliun_PilisNewGovernorActivation = 1
spawn_army
    faction slave
    character, Deopus, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 141, y 198
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 0 armor 0 weapon_lvl 0
    unit germanic infantry karotovas, exp 0 armor 0 weapon_lvl 0
end
end_if

if I_CompareCounter Seliun_PilisActivationFactionDetermined = 0
and I_NumberOfSettlements britons > 0
and not I_LocalFaction britons
set_counter Seliun_PilisActivationFaction 1
set_counter Seliun_PilisActivationFactionDetermined 1
end_if

if I_CompareCounter Seliun_PilisActivationFactionDetermined = 0
and I_NumberOfSettlements scythia > 0
and not I_LocalFaction scythia
set_counter Seliun_PilisActivationFaction 2
set_counter Seliun_PilisActivationFactionDetermined 1
end_if

if I_CompareCounter Seliun_PilisActivationFactionDetermined = 0
and I_NumberOfSettlements gauls > 0
and not I_LocalFaction gauls
set_counter Seliun_PilisActivationFaction 3
set_counter Seliun_PilisActivationFactionDetermined 1
end_if

if I_CompareCounter Seliun_PilisActivationFactionDetermined = 0
and I_NumberOfSettlements egypt > 0
and not I_LocalFaction egypt
set_counter Seliun_PilisActivationFaction 4
set_counter Seliun_PilisActivationFactionDetermined 1
end_if


if I_CompareCounter Seliun_PilisActivationFaction = 1
and I_CompareCounter Seliun_PilisNewGovernorActivation = 1
spawn_army
    faction britons
    character, Gorteyrn, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 141, y 197
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Gorteyrn ImmobileRebel
set_counter Seliun_PilisNewGovernorActivation 0
set_counter Seliun_PilisActivationFaction 0
set_counter Seliun_PilisActivationFactionDetermined 0
set_counter Seliun_PilisActivatorGeneral 1
engage_armies Deopus, Gorteyrn
end_if

if I_CompareCounter Seliun_PilisActivationFaction = 2
and I_CompareCounter Seliun_PilisNewGovernorActivation = 1
spawn_army
    faction scythia
    character, Gorteyrn, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 141, y 197
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Gorteyrn ImmobileRebel
set_counter Seliun_PilisNewGovernorActivation 0
set_counter Seliun_PilisActivationFaction 0
set_counter Seliun_PilisActivationFactionDetermined 0
set_counter Seliun_PilisActivatorGeneral 1
engage_armies Deopus, Gorteyrn
end_if

if I_CompareCounter Seliun_PilisActivationFaction = 3
and I_CompareCounter Seliun_PilisNewGovernorActivation = 1
spawn_army
    faction gauls
    character, Gorteyrn, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 141, y 197
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Gorteyrn ImmobileRebel
set_counter Seliun_PilisNewGovernorActivation 0
set_counter Seliun_PilisActivationFaction 0
set_counter Seliun_PilisActivationFactionDetermined 0
set_counter Seliun_PilisActivatorGeneral 1
engage_armies Deopus, Gorteyrn
end_if

if I_CompareCounter Seliun_PilisActivationFaction = 4
and I_CompareCounter Seliun_PilisNewGovernorActivation = 1
spawn_army
    faction egypt
    character, Bodinelqart, named character, command 0, influence 0, management 0, subterfuge 0, age 65, , x 141, y 197
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Bodinelqart ImmobileRebel
set_counter Seliun_PilisNewGovernorActivation 0
set_counter Seliun_PilisActivationFaction 0
set_counter Seliun_PilisActivationFactionDetermined 0
set_counter Seliun_PilisActivatorGeneral 1
engage_armies Deopus, Bodinelqart
end_if

end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter Seliun_PilisUnderSiege 1
console_command kill_character Deopus
set_counter Seliun_PilisUnderSiege 0
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter Seliun_PilisActivatorGeneral 1
console_command kill_character Deopus
set_counter Seliun_PilisActivatorGeneral 0
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and Trait SeliunPilisGovernor > 0
and not EndedInSettlement
console_command kill_character Skilas
console_command kill_character Skilas
console_command kill_character Skilas
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;EXTRA GARRISON

monitor_event CharacterTurnEnd FactionType slave
and Trait SeliunPilisGovernor > 0
and EndedInSettlement
and GarrisonToPopulationRatio < 0.05
and I_SettlementOwner Seliun_Pilis = slave
console_command create_unit Seliun_Pilis "germanic infantry frameharjoz" 2 2 2 1
console_command create_unit Seliun_Pilis "germanic infantry karotovas" 2 2 2 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;
;Gintaras-Ostan ;
;;;;;;;;;;;;;;;;;

monitor_event SettlementTurnStart SettlementName Gintaras-Ostan
    set_counter Gintaras_OstanHeldBySlave 0
    if I_SettlementOwner Gintaras_Ostan = slave
        set_counter Gintaras_OstanHeldBySlave 1
    end_if
end_monitor

monitor_conditions I_CompareCounter Gintaras_OstanHeldBySlave = 1
and I_TurnNumber = 105
set_counter CreateGintaras_OstanGeneral 1
set_counter Gintaras_OstanGeneralDone 0
terminate_monitor
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter DiazelmisExists
set_counter DiazelmisExists 0

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber < 110
and I_CompareCounter CreateGintaras_OstanGeneral = 1
and I_SettlementOwner Gintaras_Ostan = slave
and not I_CharacterTypeNearTile slave named_character, 0  124, 196
if I_CompareCounter Gintaras_OstanGeneralDone = 0
spawn_army
    faction slave
    character, Diazelmis, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 124, y 196
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 4 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 4 armor 1 weapon_lvl 0    
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 3 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 3 armor 1 weapon_lvl 0
end
end_if
set_counter Gintaras_OstanGeneralDone 1
set_counter CreateGintaras_OstanGeneral 0
set_counter Gintaras_OstanGeneralDead 0
;console_command give_trait Diazelmis AIGeneral 3
console_command give_trait Diazelmis HatesGreeks 2
console_command give_trait Diazelmis HatesNomads 2
console_command give_trait Diazelmis HatesBarbarians 2
console_command give_trait Diazelmis GintarasOstanDefender
console_command give_trait Diazelmis GoodTactician 1
console_command give_trait Diazelmis GoodDefender 1
console_command give_ancillary Diazelmis bodyguard_celtic
end_monitor


monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 109
and I_CompareCounter CreateGintaras_OstanGeneral = 1
and I_SettlementOwner Gintaras_Ostan = slave
and not I_CharacterTypeNearTile slave named_character, 0  124, 196
and I_CompareCounter Gintaras_OstanGeneralDead = 1
if I_CompareCounter Gintaras_OstanGeneralDone = 0
spawn_army
    faction slave
    character, Diazelmis, named character, command 0, influence 0, management 0, subterfuge 0, age 20, , x 124, y 196
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 4 armor 1 weapon_lvl 0
end
end_if
set_counter Gintaras_OstanGeneralDone 1
set_counter CreateGintaras_OstanGeneral 0
set_counter Gintaras_OstanGeneralDead 0
;console_command give_trait Diazelmis AIGeneral 3
console_command give_trait Diazelmis HatesGreeks 2
console_command give_trait Diazelmis HatesNomads 2
console_command give_trait Diazelmis HatesBarbarians 2
console_command give_trait Diazelmis GintarasOstanDefender
console_command give_trait Diazelmis GoodTactician 2
console_command give_trait Diazelmis GoodDefender 2
console_command give_ancillary Diazelmis bodyguard_celtic
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;If Diazelmis is killed his namesake shows up.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnStart FactionType slave
and I_TurnNumber > 105 
and I_CompareCounter Gintaras_OstanHeldBySlave = 1
set_counter DiazelmisExists 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;CHECKING FOR EXISTENSE OF THE CHARACTER;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 105
and Trait GintarasOstanDefender > 0
set_counter DiazelmisExists 1
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_TurnNumber > 105
and I_SettlementOwner Gintaras_Ostan = slave
;and not I_CharacterTypeNearTile slave named_character, 0  122, 196
and not I_CharacterTypeNearTile slave named_character, 0  124, 196
and I_CompareCounter DiazelmisExists = 0
set_counter Gintaras_OstanGeneralDead 1
if I_CompareCounter Gintaras_OstanHeldBySlave = 1 
    and I_CompareCounter Gintaras_OstanGeneralDead = 1
    set_counter CreateGintaras_OstanGeneral 1
    set_counter Gintaras_OstanGeneralDone 0
end_if
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Repositioning of the general ;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;New experiment 070707

declare_counter DiazelmisRepositionOk
set_counter DiazelmisRepositionOk 0

monitor_event CharacterTurnStart FactionType slave
and I_TurnNumber > 105
and Trait GintarasOstanDefender > 0
and I_SettlementOwner Gintaras_Ostan = slave
and I_CharacterTypeNearTile slave named_character, 14  122, 196
;and not I_CharacterTypeNearTile slave named_character, 0  122, 196                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  124, 196
and not EndedInSettlement
set_counter DiazelmisRepositionOk 1
set_counter DiazelmisExists 1
if I_CompareCounter DiazelmisRepositionOk = 1
   reposition_character Diazelmis, 124, 196
   replenish_units Diazelmis
   set_counter DiazelmisExists 1
end_if
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and I_TurnNumber > 105
and I_CharacterTypeNearTile slave named_character, 14  122, 196
;and not I_CharacterTypeNearTile slave named_character, 0  122, 196                ;Temporarly inactivated
;and not I_CharacterTypeNearTile slave named_character, 0  124, 196
and Trait GintarasOstanDefender > 0
and EndedInSettlement
set_counter DiazelmisRepositionOk 0
set_counter DiazelmisExists 1
end_monitor


;New experiment to take care of existens of inactive characters

;Removed the code that didn't seem to work here.

;Another one since the former one doesn't seem to work. It's like the character is non existing if he doesn't get repositioned???
;The code below seems to work though. I don't get new Diazelmis's created when the old one is still alive but have been non-active

monitor_event CharacterTurnEnd FactionType slave
and NoActionThisTurn
and Trait GintarasOstanDefender > 0
and EndedInSettlement
set_counter DiazelmisRepositionOk 0
set_counter DiazelmisExists 1
set_counter Gintaras_OstanGeneralDone 1
set_counter CreateGintaras_OstanGeneral 0
set_counter Gintaras_OstanGeneralDead 0
end_monitor

monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Gintaras-Ostan
;and NoActionThisTurn
and Trait GintarasOstanDefender > 0
and EndedInSettlement
set_counter DiazelmisRepositionOk 0
set_counter DiazelmisExists 1
set_counter Gintaras_OstanGeneralDone 1
set_counter CreateGintaras_OstanGeneral 0
set_counter Gintaras_OstanGeneralDead 0
end_monitor

monitor_event CharacterTurnEndInSettlement FactionType slave
and SettlementName Gintaras-Ostan
and NoActionThisTurn
and Trait GintarasOstanDefender > 0
;and EndedInSettlement
set_counter DiazelmisRepositionOk 0
set_counter DiazelmisExists 1
set_counter Gintaras_OstanGeneralDone 1
set_counter CreateGintaras_OstanGeneral 0
set_counter Gintaras_OstanGeneralDead 0
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Experimental 070609
;Extra defense when the Ubergenerals are "sleeping", doing stupid
;things instead of beating off attackers
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Getai;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 122,196
and not I_CharacterTypeNearTile dacia named_character, 2 122,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 122,196
and not I_CharacterTypeNearTile dacia general, 2 122,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 122,196
and I_CharacterTypeNearTile dacia named_character, 2 122,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 122,196
and not I_CharacterTypeNearTile dacia named_character, 2 122,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia named_character, 2 122,196
and not I_CharacterTypeNearTile dacia general, 2 122,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging dacia
and I_CharacterTypeNearTile dacia general, 2 122,196
and I_CharacterTypeNearTile dacia named_character, 2 122,196
and not I_LocalFaction dacia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Sweboz;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 122,196
and not I_CharacterTypeNearTile germans named_character, 2 122,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 122,196
and not I_CharacterTypeNearTile germans general, 2 122,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 122,196
and I_CharacterTypeNearTile germans named_character, 2 122,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 122,196
and not I_CharacterTypeNearTile germans named_character, 2 122,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans named_character, 2 122,196
and not I_CharacterTypeNearTile germans general, 2 122,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging germans
and I_CharacterTypeNearTile germans general, 2 122,196
and I_CharacterTypeNearTile germans named_character, 2 122,196
and not I_LocalFaction germans
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Sauromatae;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 122,196
and not I_CharacterTypeNearTile armenia named_character, 2 122,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesNomads 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia named_character, 2 122,196
and not I_CharacterTypeNearTile armenia general, 2 122,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesNomads 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 122,196
and I_CharacterTypeNearTile armenia named_character, 2 122,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesNomads 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 122,196
and not I_CharacterTypeNearTile armenia named_character, 2 122,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesNomads 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia named_character, 2 122,196
and not I_CharacterTypeNearTile armenia general, 2 122,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesNomads 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging armenia
and I_CharacterTypeNearTile armenia general, 2 122,196
and I_CharacterTypeNearTile armenia named_character, 2 122,196
and not I_LocalFaction armenia
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesNomads 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Aedui;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 122,196
and not I_CharacterTypeNearTile gauls named_character, 2 122,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 122,196
and not I_CharacterTypeNearTile gauls general, 2 122,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 122,196
and I_CharacterTypeNearTile gauls named_character, 2 122,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 122,196
and not I_CharacterTypeNearTile gauls named_character, 2 122,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls named_character, 2 122,196
and not I_CharacterTypeNearTile gauls general, 2 122,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging gauls
and I_CharacterTypeNearTile gauls general, 2 122,196
and I_CharacterTypeNearTile gauls named_character, 2 122,196
and not I_LocalFaction gauls
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Koinon Hellenon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 122,196
and not I_CharacterTypeNearTile greek_cities named_character, 2 122,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 122,196
and not I_CharacterTypeNearTile greek_cities general, 2 122,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 122,196
and I_CharacterTypeNearTile greek_cities named_character, 2 122,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 122,196
and not I_CharacterTypeNearTile greek_cities named_character, 2 122,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities named_character, 2 122,196
and not I_CharacterTypeNearTile greek_cities general, 2 122,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging greek_cities
and I_CharacterTypeNearTile greek_cities general, 2 122,196
and I_CharacterTypeNearTile greek_cities named_character, 2 122,196
and not I_LocalFaction greek_cities
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Makedon;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 122,196
and not I_CharacterTypeNearTile macedon named_character, 2 122,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 122,196
and not I_CharacterTypeNearTile macedon general, 2 122,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 122,196
and I_CharacterTypeNearTile macedon named_character, 2 122,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 122,196
and not I_CharacterTypeNearTile macedon named_character, 2 122,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon named_character, 2 122,196
and not I_CharacterTypeNearTile macedon general, 2 122,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging macedon
and I_CharacterTypeNearTile macedon general, 2 122,196
and I_CharacterTypeNearTile macedon named_character, 2 122,196
and not I_LocalFaction macedon
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Romani;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 122,196
and not I_CharacterTypeNearTile seleucid named_character, 2 122,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesRomans 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 122,196
and not I_CharacterTypeNearTile seleucid general, 2 122,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesRomans 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 122,196
and I_CharacterTypeNearTile seleucid named_character, 2 122,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesRomans 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 122,196
and not I_CharacterTypeNearTile seleucid named_character, 2 122,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesRomans 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid named_character, 2 122,196
and not I_CharacterTypeNearTile seleucid general, 2 122,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesRomans 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging seleucid
and I_CharacterTypeNearTile seleucid general, 2 122,196
and I_CharacterTypeNearTile seleucid named_character, 2 122,196
and not I_LocalFaction seleucid
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesRomans 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Epeiros;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 122,196
and not I_CharacterTypeNearTile thrace named_character, 2 122,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 122,196
and not I_CharacterTypeNearTile thrace general, 2 122,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 122,196
and I_CharacterTypeNearTile thrace named_character, 2 122,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 122,196
and not I_CharacterTypeNearTile thrace named_character, 2 122,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace named_character, 2 122,196
and not I_CharacterTypeNearTile thrace general, 2 122,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging thrace
and I_CharacterTypeNearTile thrace general, 2 122,196
and I_CharacterTypeNearTile thrace named_character, 2 122,196
and not I_LocalFaction thrace
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesGreeks 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Gintaras-Ostan besieged by Kharthadast;   (didn't think this would be necessary!!! but ...)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 122,196
and not I_CharacterTypeNearTile egypt named_character, 2 122,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesCarthaginians 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 122,196
and not I_CharacterTypeNearTile egypt general, 2 122,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesCarthaginians 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanGovernor > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 141,196
and I_CharacterTypeNearTile egypt named_character, 2 122,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesCarthaginians 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 122,196
and not I_CharacterTypeNearTile egypt named_character, 2 122,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesCarthaginians 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt named_character, 2 122,196
and not I_CharacterTypeNearTile egypt general, 2 122,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesCarthaginians 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

monitor_event CharacterTurnStart FactionType slave
and Trait GintarasOstanDefender > 0
and IsUnderSiege
and I_FactionBesieging egypt
and I_CharacterTypeNearTile egypt general, 2 122,196
and I_CharacterTypeNearTile egypt named_character, 2 122,196
and not I_LocalFaction egypt
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 40, , x 123, y 195
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry gastiz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry sahsnotoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 5 armor 1 weapon_lvl 0
    unit germanic cavalry ridoharjoz, exp 5 armor 1 weapon_lvl 0
end
console_command give_trait Juva AIGeneral 3
console_command give_trait Juva GoodTactician 3
console_command give_trait Juva HatesCarthaginians 2
console_command give_ancillary Juva bodyguard_celtic
set_counter Gintaras_OstanUnderSiege 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;New code 070826 for the new governor and his activation.;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

declare_counter Gintaras_OstanNewGovernorActivation
set_counter Gintaras_OstanNewGovernorActivation 0

declare_counter Gintaras_OstanActivationFactionDetermined
set_counter Gintaras_OstanActivationFactionDetermined 0
declare_counter Gintaras_OstanActivationFaction
set_counter Gintaras_OstanActivationFaction 0
declare_counter Gintaras_OstanActivatorGeneral
set_counter Gintaras_OstanActivatorGeneral 0
declare_counter Gintaras_OstanSuccessorGovernor
set_counter Gintaras_OstanSuccessorGovernor 0

monitor_event FactionTurnStart FactionType slave 
and I_SettlementOwner Gintaras_Ostan = slave
and not I_CharacterTypeNearTile slave named_character, 0  122, 196

set_counter Gintaras_OstanSuccessorGovernor 1

if I_CharacterTypeNearTile armenia general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile armenia named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile seleucid general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile seleucid named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile thrace named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile germans named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile gauls named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile scythia named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile macedon named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile greek_cities named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile dacia named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile romans_scipii general, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CharacterTypeNearTile romans_scipii named_character, 2 122, 196
set_counter Gintaras_OstanSuccessorGovernor 0
end_if

if I_CompareCounter Gintaras_OstanSuccessorGovernor = 1

set_counter Gintaras_OstanSuccessorGovernor 0

console_command kill_character Oxynta
console_command kill_character Oxynta
console_command kill_character Oxynta

spawn_character slave Oxynta, named character, command 0, influence 0, management 0, subterfuge 0, age 20, x 121, y 196
;console_command create_unit "Oxynta" "germanic infantry general ferulharjoz" 1

console_command give_trait Oxynta GintarasOstanGovernor
console_command give_trait Oxynta ImmobileRebel
console_command give_trait Oxynta ICERating 8

move Oxynta, 122, 196

set_counter Gintaras_OstanNewGovernorActivation 1

end_if

if I_CompareCounter Gintaras_OstanNewGovernorActivation = 1
spawn_army
    faction slave
    character, Juva, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 124, y 195
    unit celtic infantry lugian, exp 2 armor 1 weapon_lvl 0
    unit celtic infantry lugian, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry frameharjoz, exp 2 armor 1 weapon_lvl 0
    unit germanic infantry karotovas, exp 0 armor 0 weapon_lvl 0
    unit germanic infantry karotovas, exp 0 armor 0 weapon_lvl 0
end
end_if

if I_CompareCounter Gintaras_OstanActivationFactionDetermined = 0
and I_NumberOfSettlements britons > 0
and not I_LocalFaction britons
set_counter Gintaras_OstanActivationFaction 1
set_counter Gintaras_OstanActivationFactionDetermined 1
end_if

if I_CompareCounter Gintaras_OstanActivationFactionDetermined = 0
and I_NumberOfSettlements scythia > 0
and not I_LocalFaction scythia
set_counter Gintaras_OstanActivationFaction 2
set_counter Gintaras_OstanActivationFactionDetermined 1
end_if

if I_CompareCounter Gintaras_OstanActivationFactionDetermined = 0
and I_NumberOfSettlements gauls > 0
and not I_LocalFaction gauls
set_counter Gintaras_OstanActivationFaction 3
set_counter Gintaras_OstanActivationFactionDetermined 1
end_if

if I_CompareCounter Gintaras_OstanActivationFactionDetermined = 0
and I_NumberOfSettlements egypt > 0
and not I_LocalFaction egypt
set_counter Gintaras_OstanActivationFaction 4
set_counter Gintaras_OstanActivationFactionDetermined 1
end_if


if I_CompareCounter Gintaras_OstanActivationFaction = 1
and I_CompareCounter Gintaras_OstanNewGovernorActivation = 1
spawn_army
    faction britons
    character, Glasobrin, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 123, y 196
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Glasobrin ImmobileRebel
set_counter Gintaras_OstanNewGovernorActivation 0
set_counter Gintaras_OstanActivationFaction 0
set_counter Gintaras_OstanActivationFactionDetermined 0
set_counter Gintaras_OstanActivatorGeneral 1
engage_armies Juva, Glasobrin
end_if

if I_CompareCounter Gintaras_OstanActivationFaction = 2
and I_CompareCounter Gintaras_OstanNewGovernorActivation = 1
spawn_army
    faction scythia
    character, Glasobrin, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 123, y 196
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Glasobrin ImmobileRebel
set_counter Gintaras_OstanNewGovernorActivation 0
set_counter Gintaras_OstanActivationFaction 0
set_counter Gintaras_OstanActivationFactionDetermined 0
set_counter Gintaras_OstanActivatorGeneral 1
engage_armies Juva, Glasobrin
end_if

if I_CompareCounter Gintaras_OstanActivationFaction = 3
and I_CompareCounter Gintaras_OstanNewGovernorActivation = 1
spawn_army
    faction gauls
    character, Glasobrin, named character, command 0, influence 0, management 0, subterfuge 0, age 60, , x 123, y 196
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Glasobrin ImmobileRebel
set_counter Gintaras_OstanNewGovernorActivation 0
set_counter Gintaras_OstanActivationFaction 0
set_counter Gintaras_OstanActivationFactionDetermined 0
set_counter Gintaras_OstanActivatorGeneral 1
engage_armies Juva, Glasobrin
end_if

if I_CompareCounter Gintaras_OstanActivationFaction = 4
and I_CompareCounter Gintaras_OstanNewGovernorActivation = 1
spawn_army
    faction egypt
    character, Bodeshmun, named character, command 0, influence 0, management 0, subterfuge 0, age 65, , x 123, y 196
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
    unit celtic missile iaosatae regional, exp 0 armor 0 weapon_lvl 0
end
console_command give_trait Bodeshmun ImmobileRebel
set_counter Gintaras_OstanNewGovernorActivation 0
set_counter Gintaras_OstanActivationFaction 0
set_counter Gintaras_OstanActivationFactionDetermined 0
set_counter Gintaras_OstanActivatorGeneral 1
engage_armies Juva, Bodeshmun
end_if

end_monitor


;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter Gintaras_OstanUnderSiege 1
console_command kill_character Juva
set_counter Gintaras_OstanUnderSiege 0
end_monitor

monitor_event FactionTurnEnd FactionType slave
and I_CompareCounter Gintaras_OstanActivatorGeneral 1
console_command kill_character Juva
set_counter Gintaras_OstanActivatorGeneral 0
end_monitor

monitor_event CharacterTurnEnd FactionType slave
and Trait GintarasOstanGovernor > 0
and not EndedInSettlement
console_command kill_character Oxynta
console_command kill_character Oxynta
console_command kill_character Oxynta
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

;EXTRA GARRISON

monitor_event CharacterTurnEnd FactionType slave
and Trait GintarasOstanGovernor > 0
and EndedInSettlement
and GarrisonToPopulationRatio < 0.04
and I_SettlementOwner Gintaras_Ostan = slave
console_command create_unit Gintaras_Ostan "germanic infantry frameharjoz" 2 2 2 1
console_command create_unit Gintaras_Ostan "germanic infantry karotovas" 2 2 2 1
end_monitor

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;Section 10: Four Turns Per Year Script
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

 console_command date -272
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 0
	suspend_unscripted_advice true
 end_while

 console_command date -272
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1
	suspend_unscripted_advice true
 end_while

 console_command date -272
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 2
	suspend_unscripted_advice true
 end_while

 console_command date -272
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 3
	suspend_unscripted_advice true
 end_while

 console_command date -271
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 4
	suspend_unscripted_advice true
 end_while

 console_command date -271
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 5
	suspend_unscripted_advice true
 end_while

 console_command date -271
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 6
	suspend_unscripted_advice true
 end_while

 console_command date -271
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 7
	suspend_unscripted_advice true
 end_while

 console_command date -270
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 8
	suspend_unscripted_advice true
 end_while

 console_command date -270
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 9
	suspend_unscripted_advice true
 end_while

 console_command date -270
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 10
	suspend_unscripted_advice true
 end_while

 console_command date -270
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 11
	suspend_unscripted_advice true
 end_while

 console_command date -269
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 12
	suspend_unscripted_advice true
 end_while

 console_command date -269
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 13
	suspend_unscripted_advice true
 end_while

 console_command date -269
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 14
	suspend_unscripted_advice true
 end_while

 console_command date -269
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 15
	suspend_unscripted_advice true
 end_while

 console_command date -268
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 16
	suspend_unscripted_advice true
 end_while

 console_command date -268
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 17
	suspend_unscripted_advice true
 end_while

 console_command date -268
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 18
	suspend_unscripted_advice true
 end_while

 console_command date -268
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 19
	suspend_unscripted_advice true
 end_while

 console_command date -267
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 20
	suspend_unscripted_advice true
 end_while

 console_command date -267
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 21
	suspend_unscripted_advice true
 end_while

 console_command date -267
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 22
	suspend_unscripted_advice true
 end_while

 console_command date -267
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 23
	suspend_unscripted_advice true
 end_while

 console_command date -266
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 24
	suspend_unscripted_advice true
 end_while

 console_command date -266
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 25
	suspend_unscripted_advice true
 end_while

 console_command date -266
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 26
	suspend_unscripted_advice true
 end_while

 console_command date -266
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 27
	suspend_unscripted_advice true
 end_while

 console_command date -265
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 28
	suspend_unscripted_advice true
 end_while

 console_command date -265
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 29
	suspend_unscripted_advice true
 end_while

 console_command date -265
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 30
	suspend_unscripted_advice true
 end_while

 console_command date -265
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 31
	suspend_unscripted_advice true
 end_while

 console_command date -264
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 32
	suspend_unscripted_advice true
 end_while

 console_command date -264
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 33
	suspend_unscripted_advice true
 end_while

 console_command date -264
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 34
	suspend_unscripted_advice true
 end_while

 console_command date -264
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 35
	suspend_unscripted_advice true
 end_while

 console_command date -263
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 36
	suspend_unscripted_advice true
 end_while

 console_command date -263
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 37
	suspend_unscripted_advice true
 end_while

 console_command date -263
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 38
	suspend_unscripted_advice true
 end_while

 console_command date -263
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 39
	suspend_unscripted_advice true
 end_while

 console_command date -262
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 40
	suspend_unscripted_advice true
 end_while

 console_command date -262
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 41
	suspend_unscripted_advice true
 end_while

 console_command date -262
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 42
	suspend_unscripted_advice true
 end_while

 console_command date -262
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 43
	suspend_unscripted_advice true
 end_while

 console_command date -261
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 44
	suspend_unscripted_advice true
 end_while

 console_command date -261
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 45
	suspend_unscripted_advice true
 end_while

 console_command date -261
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 46
	suspend_unscripted_advice true
 end_while

 console_command date -261
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 47
	suspend_unscripted_advice true
 end_while

 console_command date -260
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 48
	suspend_unscripted_advice true
 end_while

 console_command date -260
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 49
	suspend_unscripted_advice true
 end_while

 console_command date -260
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 50
	suspend_unscripted_advice true
 end_while

 console_command date -260
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 51
	suspend_unscripted_advice true
 end_while

 console_command date -259
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 52
	suspend_unscripted_advice true
 end_while

 console_command date -259
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 53
	suspend_unscripted_advice true
 end_while

 console_command date -259
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 54
	suspend_unscripted_advice true
 end_while

 console_command date -259
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 55
	suspend_unscripted_advice true
 end_while

 console_command date -258
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 56
	suspend_unscripted_advice true
 end_while

 console_command date -258
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 57
	suspend_unscripted_advice true
 end_while

 console_command date -258
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 58
	suspend_unscripted_advice true
 end_while

 console_command date -258
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 59
	suspend_unscripted_advice true
 end_while

 console_command date -257
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 60
	suspend_unscripted_advice true
 end_while

 console_command date -257
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 61
	suspend_unscripted_advice true
 end_while

 console_command date -257
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 62
	suspend_unscripted_advice true
 end_while

 console_command date -257
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 63
	suspend_unscripted_advice true
 end_while

 console_command date -256
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 64
	suspend_unscripted_advice true
 end_while

 console_command date -256
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 65
	suspend_unscripted_advice true
 end_while

 console_command date -256
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 66
	suspend_unscripted_advice true
 end_while

 console_command date -256
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 67
	suspend_unscripted_advice true
 end_while

 console_command date -255
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 68
	suspend_unscripted_advice true
 end_while

 console_command date -255
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 69
	suspend_unscripted_advice true
 end_while

 console_command date -255
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 70
	suspend_unscripted_advice true
 end_while

 console_command date -255
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 71
	suspend_unscripted_advice true
 end_while

 console_command date -254
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 72
	suspend_unscripted_advice true
 end_while

 console_command date -254
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 73
	suspend_unscripted_advice true
 end_while

 console_command date -254
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 74
	suspend_unscripted_advice true
 end_while

 console_command date -254
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 75
	suspend_unscripted_advice true
 end_while

 console_command date -253
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 76
	suspend_unscripted_advice true
 end_while

 console_command date -253
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 77
	suspend_unscripted_advice true
 end_while

 console_command date -253
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 78
	suspend_unscripted_advice true
 end_while

 console_command date -253
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 79
	suspend_unscripted_advice true
 end_while

 console_command date -252
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 80
	suspend_unscripted_advice true
 end_while

 console_command date -252
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 81
	suspend_unscripted_advice true
 end_while

 console_command date -252
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 82
	suspend_unscripted_advice true
 end_while

 console_command date -252
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 83
	suspend_unscripted_advice true
 end_while

 console_command date -251
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 84
	suspend_unscripted_advice true
 end_while

 console_command date -251
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 85
	suspend_unscripted_advice true
 end_while

 console_command date -251
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 86
	suspend_unscripted_advice true
 end_while

 console_command date -251
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 87
	suspend_unscripted_advice true
 end_while

 console_command date -250
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 88
	suspend_unscripted_advice true
 end_while

 console_command date -250
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 89
	suspend_unscripted_advice true
 end_while

 console_command date -250
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 90
	suspend_unscripted_advice true
 end_while

 console_command date -250
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 91
	suspend_unscripted_advice true
 end_while

 console_command date -249
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 92
	suspend_unscripted_advice true
 end_while

 console_command date -249
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 93
	suspend_unscripted_advice true
 end_while

 console_command date -249
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 94
	suspend_unscripted_advice true
 end_while

 console_command date -249
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 95
	suspend_unscripted_advice true
 end_while

 console_command date -248
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 96
	suspend_unscripted_advice true
 end_while

 console_command date -248
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 97
	suspend_unscripted_advice true
 end_while

 console_command date -248
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 98
	suspend_unscripted_advice true
 end_while

 console_command date -248
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 99
	suspend_unscripted_advice true
 end_while

 console_command date -247
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 100
	suspend_unscripted_advice true
 end_while

 console_command date -247
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 101
	suspend_unscripted_advice true
 end_while

 console_command date -247
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 102
	suspend_unscripted_advice true
 end_while

 console_command date -247
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 103
	suspend_unscripted_advice true
 end_while

 console_command date -246
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 104
	suspend_unscripted_advice true
 end_while

 console_command date -246
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 105
	suspend_unscripted_advice true
 end_while

 console_command date -246
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 106
	suspend_unscripted_advice true
 end_while

 console_command date -246
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 107
	suspend_unscripted_advice true
 end_while

 console_command date -245
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 108
	suspend_unscripted_advice true
 end_while

 console_command date -245
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 109
	suspend_unscripted_advice true
 end_while

 console_command date -245
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 110
	suspend_unscripted_advice true
 end_while

 console_command date -245
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 111
	suspend_unscripted_advice true
 end_while

 console_command date -244
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 112
	suspend_unscripted_advice true
 end_while

 console_command date -244
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 113
	suspend_unscripted_advice true
 end_while

 console_command date -244
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 114
	suspend_unscripted_advice true
 end_while

 console_command date -244
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 115
	suspend_unscripted_advice true
 end_while

 console_command date -243
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 116
	suspend_unscripted_advice true
 end_while

 console_command date -243
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 117
	suspend_unscripted_advice true
 end_while

 console_command date -243
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 118
	suspend_unscripted_advice true
 end_while

 console_command date -243
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 119
	suspend_unscripted_advice true
 end_while

 console_command date -242
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 120
	suspend_unscripted_advice true
 end_while

 console_command date -242
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 121
	suspend_unscripted_advice true
 end_while

 console_command date -242
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 122
	suspend_unscripted_advice true
 end_while

 console_command date -242
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 123
	suspend_unscripted_advice true
 end_while

 console_command date -241
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 124
	suspend_unscripted_advice true
 end_while

 console_command date -241
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 125
	suspend_unscripted_advice true
 end_while

 console_command date -241
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 126
	suspend_unscripted_advice true
 end_while

 console_command date -241
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 127
	suspend_unscripted_advice true
 end_while

 console_command date -240
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 128
	suspend_unscripted_advice true
 end_while

 console_command date -240
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 129
	suspend_unscripted_advice true
 end_while

 console_command date -240
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 130
	suspend_unscripted_advice true
 end_while

 console_command date -240
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 131
	suspend_unscripted_advice true
 end_while

 console_command date -239
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 132
	suspend_unscripted_advice true
 end_while

 console_command date -239
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 133
	suspend_unscripted_advice true
 end_while

 console_command date -239
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 134
	suspend_unscripted_advice true
 end_while

 console_command date -239
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 135
	suspend_unscripted_advice true
 end_while

 console_command date -238
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 136
	suspend_unscripted_advice true
 end_while

 console_command date -238
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 137
	suspend_unscripted_advice true
 end_while

 console_command date -238
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 138
	suspend_unscripted_advice true
 end_while

 console_command date -238
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 139
	suspend_unscripted_advice true
 end_while

 console_command date -237
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 140
	suspend_unscripted_advice true
 end_while

 console_command date -237
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 141
	suspend_unscripted_advice true
 end_while

 console_command date -237
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 142
	suspend_unscripted_advice true
 end_while

 console_command date -237
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 143
	suspend_unscripted_advice true
 end_while

 console_command date -236
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 144
	suspend_unscripted_advice true
 end_while

 console_command date -236
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 145
	suspend_unscripted_advice true
 end_while

 console_command date -236
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 146
	suspend_unscripted_advice true
 end_while

 console_command date -236
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 147
	suspend_unscripted_advice true
 end_while

 console_command date -235
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 148
	suspend_unscripted_advice true
 end_while

 console_command date -235
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 149
	suspend_unscripted_advice true
 end_while

 console_command date -235
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 150
	suspend_unscripted_advice true
 end_while

 console_command date -235
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 151
	suspend_unscripted_advice true
 end_while

 console_command date -234
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 152
	suspend_unscripted_advice true
 end_while

 console_command date -234
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 153
	suspend_unscripted_advice true
 end_while

 console_command date -234
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 154
	suspend_unscripted_advice true
 end_while

 console_command date -234
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 155
	suspend_unscripted_advice true
 end_while

 console_command date -233
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 156
	suspend_unscripted_advice true
 end_while

 console_command date -233
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 157
	suspend_unscripted_advice true
 end_while

 console_command date -233
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 158
	suspend_unscripted_advice true
 end_while

 console_command date -233
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 159
	suspend_unscripted_advice true
 end_while

 console_command date -232
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 160
	suspend_unscripted_advice true
 end_while

 console_command date -232
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 161
	suspend_unscripted_advice true
 end_while

 console_command date -232
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 162
	suspend_unscripted_advice true
 end_while

 console_command date -232
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 163
	suspend_unscripted_advice true
 end_while

 console_command date -231
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 164
	suspend_unscripted_advice true
 end_while

 console_command date -231
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 165
	suspend_unscripted_advice true
 end_while

 console_command date -231
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 166
	suspend_unscripted_advice true
 end_while

 console_command date -231
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 167
	suspend_unscripted_advice true
 end_while

 console_command date -230
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 168
	suspend_unscripted_advice true
 end_while

 console_command date -230
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 169
	suspend_unscripted_advice true
 end_while

 console_command date -230
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 170
	suspend_unscripted_advice true
 end_while

 console_command date -230
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 171
	suspend_unscripted_advice true
 end_while

 console_command date -229
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 172
	suspend_unscripted_advice true
 end_while

 console_command date -229
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 173
	suspend_unscripted_advice true
 end_while

 console_command date -229
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 174
	suspend_unscripted_advice true
 end_while

 console_command date -229
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 175
	suspend_unscripted_advice true
 end_while

 console_command date -228
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 176
	suspend_unscripted_advice true
 end_while

 console_command date -228
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 177
	suspend_unscripted_advice true
 end_while

 console_command date -228
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 178
	suspend_unscripted_advice true
 end_while

 console_command date -228
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 179
	suspend_unscripted_advice true
 end_while

 console_command date -227
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 180
	suspend_unscripted_advice true
 end_while

 console_command date -227
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 181
	suspend_unscripted_advice true
 end_while

 console_command date -227
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 182
	suspend_unscripted_advice true
 end_while

 console_command date -227
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 183
	suspend_unscripted_advice true
 end_while

 console_command date -226
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 184
	suspend_unscripted_advice true
 end_while

 console_command date -226
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 185
	suspend_unscripted_advice true
 end_while

 console_command date -226
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 186
	suspend_unscripted_advice true
 end_while

 console_command date -226
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 187
	suspend_unscripted_advice true
 end_while

 console_command date -225
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 188
	suspend_unscripted_advice true
 end_while

 console_command date -225
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 189
	suspend_unscripted_advice true
 end_while

 console_command date -225
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 190
	suspend_unscripted_advice true
 end_while

 console_command date -225
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 191
	suspend_unscripted_advice true
 end_while

 console_command date -224
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 192
	suspend_unscripted_advice true
 end_while

 console_command date -224
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 193
	suspend_unscripted_advice true
 end_while

 console_command date -224
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 194
	suspend_unscripted_advice true
 end_while

 console_command date -224
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 195
	suspend_unscripted_advice true
 end_while

 console_command date -223
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 196
	suspend_unscripted_advice true
 end_while

 console_command date -223
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 197
	suspend_unscripted_advice true
 end_while

 console_command date -223
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 198
	suspend_unscripted_advice true
 end_while

 console_command date -223
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 199
	suspend_unscripted_advice true
 end_while

 console_command date -222
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 200
	suspend_unscripted_advice true
 end_while

 console_command date -222
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 201
	suspend_unscripted_advice true
 end_while

 console_command date -222
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 202
	suspend_unscripted_advice true
 end_while

 console_command date -222
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 203
	suspend_unscripted_advice true
 end_while

 console_command date -221
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 204
	suspend_unscripted_advice true
 end_while

 console_command date -221
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 205
	suspend_unscripted_advice true
 end_while

 console_command date -221
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 206
	suspend_unscripted_advice true
 end_while

 console_command date -221
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 207
	suspend_unscripted_advice true
 end_while

 console_command date -220
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 208
	suspend_unscripted_advice true
 end_while

 console_command date -220
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 209
	suspend_unscripted_advice true
 end_while

 console_command date -220
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 210
	suspend_unscripted_advice true
 end_while

 console_command date -220
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 211
	suspend_unscripted_advice true
 end_while

 console_command date -219
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 212
	suspend_unscripted_advice true
 end_while

 console_command date -219
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 213
	suspend_unscripted_advice true
 end_while

 console_command date -219
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 214
	suspend_unscripted_advice true
 end_while

 console_command date -219
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 215
	suspend_unscripted_advice true
 end_while

 console_command date -218
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 216
	suspend_unscripted_advice true
 end_while

 console_command date -218
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 217
	suspend_unscripted_advice true
 end_while

 console_command date -218
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 218
	suspend_unscripted_advice true
 end_while

 console_command date -218
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 219
	suspend_unscripted_advice true
 end_while

 console_command date -217
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 220
	suspend_unscripted_advice true
 end_while

 console_command date -217
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 221
	suspend_unscripted_advice true
 end_while

 console_command date -217
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 222
	suspend_unscripted_advice true
 end_while

 console_command date -217
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 223
	suspend_unscripted_advice true
 end_while

 console_command date -216
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 224
	suspend_unscripted_advice true
 end_while

 console_command date -216
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 225
	suspend_unscripted_advice true
 end_while

 console_command date -216
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 226
	suspend_unscripted_advice true
 end_while

 console_command date -216
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 227
	suspend_unscripted_advice true
 end_while

 console_command date -215
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 228
	suspend_unscripted_advice true
 end_while

 console_command date -215
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 229
	suspend_unscripted_advice true
 end_while

 console_command date -215
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 230
	suspend_unscripted_advice true
 end_while

 console_command date -215
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 231
	suspend_unscripted_advice true
 end_while

 console_command date -214
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 232
	suspend_unscripted_advice true
 end_while

 console_command date -214
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 233
	suspend_unscripted_advice true
 end_while

 console_command date -214
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 234
	suspend_unscripted_advice true
 end_while

 console_command date -214
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 235
	suspend_unscripted_advice true
 end_while

 console_command date -213
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 236
	suspend_unscripted_advice true
 end_while

 console_command date -213
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 237
	suspend_unscripted_advice true
 end_while

 console_command date -213
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 238
	suspend_unscripted_advice true
 end_while

 console_command date -213
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 239
	suspend_unscripted_advice true
 end_while

 console_command date -212
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 240
	suspend_unscripted_advice true
 end_while

 console_command date -212
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 241
	suspend_unscripted_advice true
 end_while

 console_command date -212
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 242
	suspend_unscripted_advice true
 end_while

 console_command date -212
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 243
	suspend_unscripted_advice true
 end_while

 console_command date -211
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 244
	suspend_unscripted_advice true
 end_while

 console_command date -211
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 245
	suspend_unscripted_advice true
 end_while

 console_command date -211
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 246
	suspend_unscripted_advice true
 end_while

 console_command date -211
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 247
	suspend_unscripted_advice true
 end_while

 console_command date -210
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 248
	suspend_unscripted_advice true
 end_while

 console_command date -210
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 249
	suspend_unscripted_advice true
 end_while

 console_command date -210
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 250
	suspend_unscripted_advice true
 end_while

 console_command date -210
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 251
	suspend_unscripted_advice true
 end_while

 console_command date -209
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 252
	suspend_unscripted_advice true
 end_while

 console_command date -209
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 253
	suspend_unscripted_advice true
 end_while

 console_command date -209
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 254
	suspend_unscripted_advice true
 end_while

 console_command date -209
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 255
	suspend_unscripted_advice true
 end_while

 console_command date -208
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 256
	suspend_unscripted_advice true
 end_while

 console_command date -208
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 257
	suspend_unscripted_advice true
 end_while

 console_command date -208
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 258
	suspend_unscripted_advice true
 end_while

 console_command date -208
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 259
	suspend_unscripted_advice true
 end_while

 console_command date -207
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 260
	suspend_unscripted_advice true
 end_while

 console_command date -207
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 261
	suspend_unscripted_advice true
 end_while

 console_command date -207
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 262
	suspend_unscripted_advice true
 end_while

 console_command date -207
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 263
	suspend_unscripted_advice true
 end_while

 console_command date -206
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 264
	suspend_unscripted_advice true
 end_while

 console_command date -206
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 265
	suspend_unscripted_advice true
 end_while

 console_command date -206
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 266
	suspend_unscripted_advice true
 end_while

 console_command date -206
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 267
	suspend_unscripted_advice true
 end_while

 console_command date -205
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 268
	suspend_unscripted_advice true
 end_while

 console_command date -205
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 269
	suspend_unscripted_advice true
 end_while

 console_command date -205
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 270
	suspend_unscripted_advice true
 end_while

 console_command date -205
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 271
	suspend_unscripted_advice true
 end_while

 console_command date -204
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 272
	suspend_unscripted_advice true
 end_while

 console_command date -204
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 273
	suspend_unscripted_advice true
 end_while

 console_command date -204
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 274
	suspend_unscripted_advice true
 end_while

 console_command date -204
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 275
	suspend_unscripted_advice true
 end_while

 console_command date -203
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 276
	suspend_unscripted_advice true
 end_while

 console_command date -203
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 277
	suspend_unscripted_advice true
 end_while

 console_command date -203
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 278
	suspend_unscripted_advice true
 end_while

 console_command date -203
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 279
	suspend_unscripted_advice true
 end_while

 console_command date -202
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 280
	suspend_unscripted_advice true
 end_while

 console_command date -202
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 281
	suspend_unscripted_advice true
 end_while

 console_command date -202
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 282
	suspend_unscripted_advice true
 end_while

 console_command date -202
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 283
	suspend_unscripted_advice true
 end_while

 console_command date -201
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 284
	suspend_unscripted_advice true
 end_while

 console_command date -201
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 285
	suspend_unscripted_advice true
 end_while

 console_command date -201
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 286
	suspend_unscripted_advice true
 end_while

 console_command date -201
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 287
	suspend_unscripted_advice true
 end_while

 console_command date -200
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 288
	suspend_unscripted_advice true
 end_while

 console_command date -200
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 289
	suspend_unscripted_advice true
 end_while

 console_command date -200
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 290
	suspend_unscripted_advice true
 end_while

 console_command date -200
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 291
	suspend_unscripted_advice true
 end_while

 console_command date -199
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 292
	suspend_unscripted_advice true
 end_while

 console_command date -199
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 293
	suspend_unscripted_advice true
 end_while

 console_command date -199
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 294
	suspend_unscripted_advice true
 end_while

 console_command date -199
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 295
	suspend_unscripted_advice true
 end_while

 console_command date -198
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 296
	suspend_unscripted_advice true
 end_while

 console_command date -198
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 297
	suspend_unscripted_advice true
 end_while

 console_command date -198
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 298
	suspend_unscripted_advice true
 end_while

 console_command date -198
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 299
	suspend_unscripted_advice true
 end_while

 console_command date -197
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 300
	suspend_unscripted_advice true
 end_while

 console_command date -197
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 301
	suspend_unscripted_advice true
 end_while

 console_command date -197
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 302
	suspend_unscripted_advice true
 end_while

 console_command date -197
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 303
	suspend_unscripted_advice true
 end_while

 console_command date -196
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 304
	suspend_unscripted_advice true
 end_while

 console_command date -196
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 305
	suspend_unscripted_advice true
 end_while

 console_command date -196
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 306
	suspend_unscripted_advice true
 end_while

 console_command date -196
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 307
	suspend_unscripted_advice true
 end_while

 console_command date -195
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 308
	suspend_unscripted_advice true
 end_while

 console_command date -195
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 309
	suspend_unscripted_advice true
 end_while

 console_command date -195
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 310
	suspend_unscripted_advice true
 end_while

 console_command date -195
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 311
	suspend_unscripted_advice true
 end_while

 console_command date -194
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 312
	suspend_unscripted_advice true
 end_while

 console_command date -194
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 313
	suspend_unscripted_advice true
 end_while

 console_command date -194
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 314
	suspend_unscripted_advice true
 end_while

 console_command date -194
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 315
	suspend_unscripted_advice true
 end_while

 console_command date -193
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 316
	suspend_unscripted_advice true
 end_while

 console_command date -193
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 317
	suspend_unscripted_advice true
 end_while

 console_command date -193
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 318
	suspend_unscripted_advice true
 end_while

 console_command date -193
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 319
	suspend_unscripted_advice true
 end_while

 console_command date -192
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 320
	suspend_unscripted_advice true
 end_while

 console_command date -192
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 321
	suspend_unscripted_advice true
 end_while

 console_command date -192
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 322
	suspend_unscripted_advice true
 end_while

 console_command date -192
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 323
	suspend_unscripted_advice true
 end_while

 console_command date -191
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 324
	suspend_unscripted_advice true
 end_while

 console_command date -191
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 325
	suspend_unscripted_advice true
 end_while

 console_command date -191
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 326
	suspend_unscripted_advice true
 end_while

 console_command date -191
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 327
	suspend_unscripted_advice true
 end_while

 console_command date -190
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 328
	suspend_unscripted_advice true
 end_while

 console_command date -190
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 329
	suspend_unscripted_advice true
 end_while

 console_command date -190
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 330
	suspend_unscripted_advice true
 end_while

 console_command date -190
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 331
	suspend_unscripted_advice true
 end_while

 console_command date -189
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 332
	suspend_unscripted_advice true
 end_while

 console_command date -189
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 333
	suspend_unscripted_advice true
 end_while

 console_command date -189
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 334
	suspend_unscripted_advice true
 end_while

 console_command date -189
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 335
	suspend_unscripted_advice true
 end_while

 console_command date -188
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 336
	suspend_unscripted_advice true
 end_while

 console_command date -188
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 337
	suspend_unscripted_advice true
 end_while

 console_command date -188
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 338
	suspend_unscripted_advice true
 end_while

 console_command date -188
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 339
	suspend_unscripted_advice true
 end_while

 console_command date -187
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 340
	suspend_unscripted_advice true
 end_while

 console_command date -187
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 341
	suspend_unscripted_advice true
 end_while

 console_command date -187
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 342
	suspend_unscripted_advice true
 end_while

 console_command date -187
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 343
	suspend_unscripted_advice true
 end_while

 console_command date -186
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 344
	suspend_unscripted_advice true
 end_while

 console_command date -186
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 345
	suspend_unscripted_advice true
 end_while

 console_command date -186
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 346
	suspend_unscripted_advice true
 end_while

 console_command date -186
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 347
	suspend_unscripted_advice true
 end_while

 console_command date -185
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 348
	suspend_unscripted_advice true
 end_while

 console_command date -185
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 349
	suspend_unscripted_advice true
 end_while

 console_command date -185
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 350
	suspend_unscripted_advice true
 end_while

 console_command date -185
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 351
	suspend_unscripted_advice true
 end_while

 console_command date -184
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 352
	suspend_unscripted_advice true
 end_while

 console_command date -184
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 353
	suspend_unscripted_advice true
 end_while

 console_command date -184
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 354
	suspend_unscripted_advice true
 end_while

 console_command date -184
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 355
	suspend_unscripted_advice true
 end_while

 console_command date -183
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 356
	suspend_unscripted_advice true
 end_while

 console_command date -183
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 357
	suspend_unscripted_advice true
 end_while

 console_command date -183
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 358
	suspend_unscripted_advice true
 end_while

 console_command date -183
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 359
	suspend_unscripted_advice true
 end_while

 console_command date -182
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 360
	suspend_unscripted_advice true
 end_while

 console_command date -182
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 361
	suspend_unscripted_advice true
 end_while

 console_command date -182
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 362
	suspend_unscripted_advice true
 end_while

 console_command date -182
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 363
	suspend_unscripted_advice true
 end_while

 console_command date -181
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 364
	suspend_unscripted_advice true
 end_while

 console_command date -181
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 365
	suspend_unscripted_advice true
 end_while

 console_command date -181
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 366
	suspend_unscripted_advice true
 end_while

 console_command date -181
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 367
	suspend_unscripted_advice true
 end_while

 console_command date -180
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 368
	suspend_unscripted_advice true
 end_while

 console_command date -180
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 369
	suspend_unscripted_advice true
 end_while

 console_command date -180
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 370
	suspend_unscripted_advice true
 end_while

 console_command date -180
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 371
	suspend_unscripted_advice true
 end_while

 console_command date -179
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 372
	suspend_unscripted_advice true
 end_while

 console_command date -179
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 373
	suspend_unscripted_advice true
 end_while

 console_command date -179
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 374
	suspend_unscripted_advice true
 end_while

 console_command date -179
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 375
	suspend_unscripted_advice true
 end_while

 console_command date -178
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 376
	suspend_unscripted_advice true
 end_while

 console_command date -178
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 377
	suspend_unscripted_advice true
 end_while

 console_command date -178
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 378
	suspend_unscripted_advice true
 end_while

 console_command date -178
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 379
	suspend_unscripted_advice true
 end_while

 console_command date -177
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 380
	suspend_unscripted_advice true
 end_while

 console_command date -177
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 381
	suspend_unscripted_advice true
 end_while

 console_command date -177
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 382
	suspend_unscripted_advice true
 end_while

 console_command date -177
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 383
	suspend_unscripted_advice true
 end_while

 console_command date -176
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 384
	suspend_unscripted_advice true
 end_while

 console_command date -176
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 385
	suspend_unscripted_advice true
 end_while

 console_command date -176
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 386
	suspend_unscripted_advice true
 end_while

 console_command date -176
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 387
	suspend_unscripted_advice true
 end_while

 console_command date -175
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 388
	suspend_unscripted_advice true
 end_while

 console_command date -175
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 389
	suspend_unscripted_advice true
 end_while

 console_command date -175
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 390
	suspend_unscripted_advice true
 end_while

 console_command date -175
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 391
	suspend_unscripted_advice true
 end_while

 console_command date -174
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 392
	suspend_unscripted_advice true
 end_while

 console_command date -174
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 393
	suspend_unscripted_advice true
 end_while

 console_command date -174
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 394
	suspend_unscripted_advice true
 end_while

 console_command date -174
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 395
	suspend_unscripted_advice true
 end_while

 console_command date -173
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 396
	suspend_unscripted_advice true
 end_while

 console_command date -173
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 397
	suspend_unscripted_advice true
 end_while

 console_command date -173
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 398
	suspend_unscripted_advice true
 end_while

 console_command date -173
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 399
	suspend_unscripted_advice true
 end_while

 console_command date -172
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 400
	suspend_unscripted_advice true
 end_while

 console_command date -172
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 401
	suspend_unscripted_advice true
 end_while

 console_command date -172
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 402
	suspend_unscripted_advice true
 end_while

 console_command date -172
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 403
	suspend_unscripted_advice true
 end_while

 console_command date -171
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 404
	suspend_unscripted_advice true
 end_while

 console_command date -171
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 405
	suspend_unscripted_advice true
 end_while

 console_command date -171
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 406
	suspend_unscripted_advice true
 end_while

 console_command date -171
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 407
	suspend_unscripted_advice true
 end_while

 console_command date -170
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 408
	suspend_unscripted_advice true
 end_while

 console_command date -170
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 409
	suspend_unscripted_advice true
 end_while

 console_command date -170
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 410
	suspend_unscripted_advice true
 end_while

 console_command date -170
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 411
	suspend_unscripted_advice true
 end_while

 console_command date -169
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 412
	suspend_unscripted_advice true
 end_while

 console_command date -169
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 413
	suspend_unscripted_advice true
 end_while

 console_command date -169
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 414
	suspend_unscripted_advice true
 end_while

 console_command date -169
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 415
	suspend_unscripted_advice true
 end_while

 console_command date -168
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 416
	suspend_unscripted_advice true
 end_while

 console_command date -168
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 417
	suspend_unscripted_advice true
 end_while

 console_command date -168
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 418
	suspend_unscripted_advice true
 end_while

 console_command date -168
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 419
	suspend_unscripted_advice true
 end_while

 console_command date -167
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 420
	suspend_unscripted_advice true
 end_while

 console_command date -167
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 421
	suspend_unscripted_advice true
 end_while

 console_command date -167
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 422
	suspend_unscripted_advice true
 end_while

 console_command date -167
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 423
	suspend_unscripted_advice true
 end_while

 console_command date -166
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 424
	suspend_unscripted_advice true
 end_while

 console_command date -166
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 425
	suspend_unscripted_advice true
 end_while

 console_command date -166
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 426
	suspend_unscripted_advice true
 end_while

 console_command date -166
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 427
	suspend_unscripted_advice true
 end_while

 console_command date -165
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 428
	suspend_unscripted_advice true
 end_while

 console_command date -165
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 429
	suspend_unscripted_advice true
 end_while

 console_command date -165
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 430
	suspend_unscripted_advice true
 end_while

 console_command date -165
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 431
	suspend_unscripted_advice true
 end_while

 console_command date -164
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 432
	suspend_unscripted_advice true
 end_while

 console_command date -164
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 433
	suspend_unscripted_advice true
 end_while

 console_command date -164
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 434
	suspend_unscripted_advice true
 end_while

 console_command date -164
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 435
	suspend_unscripted_advice true
 end_while

 console_command date -163
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 436
	suspend_unscripted_advice true
 end_while

 console_command date -163
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 437
	suspend_unscripted_advice true
 end_while

 console_command date -163
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 438
	suspend_unscripted_advice true
 end_while

 console_command date -163
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 439
	suspend_unscripted_advice true
 end_while

 console_command date -162
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 440
	suspend_unscripted_advice true
 end_while

 console_command date -162
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 441
	suspend_unscripted_advice true
 end_while

 console_command date -162
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 442
	suspend_unscripted_advice true
 end_while

 console_command date -162
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 443
	suspend_unscripted_advice true
 end_while

 console_command date -161
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 444
	suspend_unscripted_advice true
 end_while

 console_command date -161
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 445
	suspend_unscripted_advice true
 end_while

 console_command date -161
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 446
	suspend_unscripted_advice true
 end_while

 console_command date -161
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 447
	suspend_unscripted_advice true
 end_while

 console_command date -160
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 448
	suspend_unscripted_advice true
 end_while

 console_command date -160
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 449
	suspend_unscripted_advice true
 end_while

 console_command date -160
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 450
	suspend_unscripted_advice true
 end_while

 console_command date -160
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 451
	suspend_unscripted_advice true
 end_while

 console_command date -159
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 452
	suspend_unscripted_advice true
 end_while

 console_command date -159
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 453
	suspend_unscripted_advice true
 end_while

 console_command date -159
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 454
	suspend_unscripted_advice true
 end_while

 console_command date -159
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 455
	suspend_unscripted_advice true
 end_while

 console_command date -158
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 456
	suspend_unscripted_advice true
 end_while

 console_command date -158
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 457
	suspend_unscripted_advice true
 end_while

 console_command date -158
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 458
	suspend_unscripted_advice true
 end_while

 console_command date -158
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 459
	suspend_unscripted_advice true
 end_while

 console_command date -157
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 460
	suspend_unscripted_advice true
 end_while

 console_command date -157
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 461
	suspend_unscripted_advice true
 end_while

 console_command date -157
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 462
	suspend_unscripted_advice true
 end_while

 console_command date -157
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 463
	suspend_unscripted_advice true
 end_while

 console_command date -156
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 464
	suspend_unscripted_advice true
 end_while

 console_command date -156
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 465
	suspend_unscripted_advice true
 end_while

 console_command date -156
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 466
	suspend_unscripted_advice true
 end_while

 console_command date -156
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 467
	suspend_unscripted_advice true
 end_while

 console_command date -155
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 468
	suspend_unscripted_advice true
 end_while

 console_command date -155
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 469
	suspend_unscripted_advice true
 end_while

 console_command date -155
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 470
	suspend_unscripted_advice true
 end_while

 console_command date -155
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 471
	suspend_unscripted_advice true
 end_while

 console_command date -154
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 472
	suspend_unscripted_advice true
 end_while

 console_command date -154
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 473
	suspend_unscripted_advice true
 end_while

 console_command date -154
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 474
	suspend_unscripted_advice true
 end_while

 console_command date -154
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 475
	suspend_unscripted_advice true
 end_while

 console_command date -153
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 476
	suspend_unscripted_advice true
 end_while

 console_command date -153
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 477
	suspend_unscripted_advice true
 end_while

 console_command date -153
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 478
	suspend_unscripted_advice true
 end_while

 console_command date -153
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 479
	suspend_unscripted_advice true
 end_while

 console_command date -152
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 480
	suspend_unscripted_advice true
 end_while

 console_command date -152
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 481
	suspend_unscripted_advice true
 end_while

 console_command date -152
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 482
	suspend_unscripted_advice true
 end_while

 console_command date -152
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 483
	suspend_unscripted_advice true
 end_while

 console_command date -151
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 484
	suspend_unscripted_advice true
 end_while

 console_command date -151
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 485
	suspend_unscripted_advice true
 end_while

 console_command date -151
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 486
	suspend_unscripted_advice true
 end_while

 console_command date -151
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 487
	suspend_unscripted_advice true
 end_while

 console_command date -150
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 488
	suspend_unscripted_advice true
 end_while

 console_command date -150
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 489
	suspend_unscripted_advice true
 end_while

 console_command date -150
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 490
	suspend_unscripted_advice true
 end_while

 console_command date -150
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 491
	suspend_unscripted_advice true
 end_while

 console_command date -149
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 492
	suspend_unscripted_advice true
 end_while

 console_command date -149
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 493
	suspend_unscripted_advice true
 end_while

 console_command date -149
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 494
	suspend_unscripted_advice true
 end_while

 console_command date -149
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 495
	suspend_unscripted_advice true
 end_while

 console_command date -148
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 496
	suspend_unscripted_advice true
 end_while

 console_command date -148
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 497
	suspend_unscripted_advice true
 end_while

 console_command date -148
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 498
	suspend_unscripted_advice true
 end_while

 console_command date -148
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 499
	suspend_unscripted_advice true
 end_while

 console_command date -147
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 500
	suspend_unscripted_advice true
 end_while

 console_command date -147
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 501
	suspend_unscripted_advice true
 end_while

 console_command date -147
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 502
	suspend_unscripted_advice true
 end_while

 console_command date -147
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 503
	suspend_unscripted_advice true
 end_while

 console_command date -146
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 504
	suspend_unscripted_advice true
 end_while

 console_command date -146
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 505
	suspend_unscripted_advice true
 end_while

 console_command date -146
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 506
	suspend_unscripted_advice true
 end_while

 console_command date -146
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 507
	suspend_unscripted_advice true
 end_while

 console_command date -145
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 508
	suspend_unscripted_advice true
 end_while

 console_command date -145
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 509
	suspend_unscripted_advice true
 end_while

 console_command date -145
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 510
	suspend_unscripted_advice true
 end_while

 console_command date -145
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 511
	suspend_unscripted_advice true
 end_while

 console_command date -144
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 512
	suspend_unscripted_advice true
 end_while

 console_command date -144
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 513
	suspend_unscripted_advice true
 end_while

 console_command date -144
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 514
	suspend_unscripted_advice true
 end_while

 console_command date -144
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 515
	suspend_unscripted_advice true
 end_while

 console_command date -143
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 516
	suspend_unscripted_advice true
 end_while

 console_command date -143
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 517
	suspend_unscripted_advice true
 end_while

 console_command date -143
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 518
	suspend_unscripted_advice true
 end_while

 console_command date -143
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 519
	suspend_unscripted_advice true
 end_while

 console_command date -142
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 520
	suspend_unscripted_advice true
 end_while

 console_command date -142
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 521
	suspend_unscripted_advice true
 end_while

 console_command date -142
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 522
	suspend_unscripted_advice true
 end_while

 console_command date -142
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 523
	suspend_unscripted_advice true
 end_while

 console_command date -141
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 524
	suspend_unscripted_advice true
 end_while

 console_command date -141
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 525
	suspend_unscripted_advice true
 end_while

 console_command date -141
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 526
	suspend_unscripted_advice true
 end_while

 console_command date -141
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 527
	suspend_unscripted_advice true
 end_while

 console_command date -140
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 528
	suspend_unscripted_advice true
 end_while

 console_command date -140
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 529
	suspend_unscripted_advice true
 end_while

 console_command date -140
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 530
	suspend_unscripted_advice true
 end_while

 console_command date -140
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 531
	suspend_unscripted_advice true
 end_while

 console_command date -139
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 532
	suspend_unscripted_advice true
 end_while

 console_command date -139
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 533
	suspend_unscripted_advice true
 end_while

 console_command date -139
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 534
	suspend_unscripted_advice true
 end_while

 console_command date -139
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 535
	suspend_unscripted_advice true
 end_while

 console_command date -138
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 536
	suspend_unscripted_advice true
 end_while

 console_command date -138
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 537
	suspend_unscripted_advice true
 end_while

 console_command date -138
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 538
	suspend_unscripted_advice true
 end_while

 console_command date -138
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 539
	suspend_unscripted_advice true
 end_while

 console_command date -137
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 540
	suspend_unscripted_advice true
 end_while

 console_command date -137
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 541
	suspend_unscripted_advice true
 end_while

 console_command date -137
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 542
	suspend_unscripted_advice true
 end_while

 console_command date -137
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 543
	suspend_unscripted_advice true
 end_while

 console_command date -136
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 544
	suspend_unscripted_advice true
 end_while

 console_command date -136
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 545
	suspend_unscripted_advice true
 end_while

 console_command date -136
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 546
	suspend_unscripted_advice true
 end_while

 console_command date -136
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 547
	suspend_unscripted_advice true
 end_while

 console_command date -135
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 548
	suspend_unscripted_advice true
 end_while

 console_command date -135
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 549
	suspend_unscripted_advice true
 end_while

 console_command date -135
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 550
	suspend_unscripted_advice true
 end_while

 console_command date -135
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 551
	suspend_unscripted_advice true
 end_while

 console_command date -134
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 552
	suspend_unscripted_advice true
 end_while

 console_command date -134
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 553
	suspend_unscripted_advice true
 end_while

 console_command date -134
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 554
	suspend_unscripted_advice true
 end_while

 console_command date -134
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 555
	suspend_unscripted_advice true
 end_while

 console_command date -133
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 556
	suspend_unscripted_advice true
 end_while

 console_command date -133
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 557
	suspend_unscripted_advice true
 end_while

 console_command date -133
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 558
	suspend_unscripted_advice true
 end_while

 console_command date -133
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 559
	suspend_unscripted_advice true
 end_while

 console_command date -132
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 560
	suspend_unscripted_advice true
 end_while

 console_command date -132
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 561
	suspend_unscripted_advice true
 end_while

 console_command date -132
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 562
	suspend_unscripted_advice true
 end_while

 console_command date -132
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 563
	suspend_unscripted_advice true
 end_while

 console_command date -131
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 564
	suspend_unscripted_advice true
 end_while

 console_command date -131
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 565
	suspend_unscripted_advice true
 end_while

 console_command date -131
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 566
	suspend_unscripted_advice true
 end_while

 console_command date -131
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 567
	suspend_unscripted_advice true
 end_while

 console_command date -130
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 568
	suspend_unscripted_advice true
 end_while

 console_command date -130
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 569
	suspend_unscripted_advice true
 end_while

 console_command date -130
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 570
	suspend_unscripted_advice true
 end_while

 console_command date -130
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 571
	suspend_unscripted_advice true
 end_while

 console_command date -129
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 572
	suspend_unscripted_advice true
 end_while

 console_command date -129
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 573
	suspend_unscripted_advice true
 end_while

 console_command date -129
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 574
	suspend_unscripted_advice true
 end_while

 console_command date -129
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 575
	suspend_unscripted_advice true
 end_while

 console_command date -128
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 576
	suspend_unscripted_advice true
 end_while

 console_command date -128
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 577
	suspend_unscripted_advice true
 end_while

 console_command date -128
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 578
	suspend_unscripted_advice true
 end_while

 console_command date -128
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 579
	suspend_unscripted_advice true
 end_while

 console_command date -127
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 580
	suspend_unscripted_advice true
 end_while

 console_command date -127
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 581
	suspend_unscripted_advice true
 end_while

 console_command date -127
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 582
	suspend_unscripted_advice true
 end_while

 console_command date -127
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 583
	suspend_unscripted_advice true
 end_while

 console_command date -126
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 584
	suspend_unscripted_advice true
 end_while

 console_command date -126
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 585
	suspend_unscripted_advice true
 end_while

 console_command date -126
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 586
	suspend_unscripted_advice true
 end_while

 console_command date -126
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 587
	suspend_unscripted_advice true
 end_while

 console_command date -125
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 588
	suspend_unscripted_advice true
 end_while

 console_command date -125
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 589
	suspend_unscripted_advice true
 end_while

 console_command date -125
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 590
	suspend_unscripted_advice true
 end_while

 console_command date -125
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 591
	suspend_unscripted_advice true
 end_while

 console_command date -124
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 592
	suspend_unscripted_advice true
 end_while

 console_command date -124
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 593
	suspend_unscripted_advice true
 end_while

 console_command date -124
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 594
	suspend_unscripted_advice true
 end_while

 console_command date -124
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 595
	suspend_unscripted_advice true
 end_while

 console_command date -123
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 596
	suspend_unscripted_advice true
 end_while

 console_command date -123
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 597
	suspend_unscripted_advice true
 end_while

 console_command date -123
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 598
	suspend_unscripted_advice true
 end_while

 console_command date -123
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 599
	suspend_unscripted_advice true
 end_while

 console_command date -122
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 600
	suspend_unscripted_advice true
 end_while

 console_command date -122
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 601
	suspend_unscripted_advice true
 end_while

 console_command date -122
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 602
	suspend_unscripted_advice true
 end_while

 console_command date -122
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 603
	suspend_unscripted_advice true
 end_while

 console_command date -121
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 604
	suspend_unscripted_advice true
 end_while

 console_command date -121
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 605
	suspend_unscripted_advice true
 end_while

 console_command date -121
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 606
	suspend_unscripted_advice true
 end_while

 console_command date -121
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 607
	suspend_unscripted_advice true
 end_while

 console_command date -120
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 608
	suspend_unscripted_advice true
 end_while

 console_command date -120
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 609
	suspend_unscripted_advice true
 end_while

 console_command date -120
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 610
	suspend_unscripted_advice true
 end_while

 console_command date -120
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 611
	suspend_unscripted_advice true
 end_while

 console_command date -119
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 612
	suspend_unscripted_advice true
 end_while

 console_command date -119
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 613
	suspend_unscripted_advice true
 end_while

 console_command date -119
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 614
	suspend_unscripted_advice true
 end_while

 console_command date -119
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 615
	suspend_unscripted_advice true
 end_while

 console_command date -118
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 616
	suspend_unscripted_advice true
 end_while

 console_command date -118
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 617
	suspend_unscripted_advice true
 end_while

 console_command date -118
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 618
	suspend_unscripted_advice true
 end_while

 console_command date -118
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 619
	suspend_unscripted_advice true
 end_while

 console_command date -117
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 620
	suspend_unscripted_advice true
 end_while

 console_command date -117
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 621
	suspend_unscripted_advice true
 end_while

 console_command date -117
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 622
	suspend_unscripted_advice true
 end_while

 console_command date -117
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 623
	suspend_unscripted_advice true
 end_while

 console_command date -116
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 624
	suspend_unscripted_advice true
 end_while

 console_command date -116
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 625
	suspend_unscripted_advice true
 end_while

 console_command date -116
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 626
	suspend_unscripted_advice true
 end_while

 console_command date -116
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 627
	suspend_unscripted_advice true
 end_while

 console_command date -115
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 628
	suspend_unscripted_advice true
 end_while

 console_command date -115
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 629
	suspend_unscripted_advice true
 end_while

 console_command date -115
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 630
	suspend_unscripted_advice true
 end_while

 console_command date -115
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 631
	suspend_unscripted_advice true
 end_while

 console_command date -114
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 632
	suspend_unscripted_advice true
 end_while

 console_command date -114
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 633
	suspend_unscripted_advice true
 end_while

 console_command date -114
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 634
	suspend_unscripted_advice true
 end_while

 console_command date -114
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 635
	suspend_unscripted_advice true
 end_while

 console_command date -113
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 636
	suspend_unscripted_advice true
 end_while

 console_command date -113
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 637
	suspend_unscripted_advice true
 end_while

 console_command date -113
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 638
	suspend_unscripted_advice true
 end_while

 console_command date -113
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 639
	suspend_unscripted_advice true
 end_while

 console_command date -112
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 640
	suspend_unscripted_advice true
 end_while

 console_command date -112
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 641
	suspend_unscripted_advice true
 end_while

 console_command date -112
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 642
	suspend_unscripted_advice true
 end_while

 console_command date -112
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 643
	suspend_unscripted_advice true
 end_while

 console_command date -111
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 644
	suspend_unscripted_advice true
 end_while

 console_command date -111
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 645
	suspend_unscripted_advice true
 end_while

 console_command date -111
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 646
	suspend_unscripted_advice true
 end_while

 console_command date -111
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 647
	suspend_unscripted_advice true
 end_while

 console_command date -110
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 648
	suspend_unscripted_advice true
 end_while

 console_command date -110
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 649
	suspend_unscripted_advice true
 end_while

 console_command date -110
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 650
	suspend_unscripted_advice true
 end_while

 console_command date -110
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 651
	suspend_unscripted_advice true
 end_while

 console_command date -109
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 652
	suspend_unscripted_advice true
 end_while

 console_command date -109
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 653
	suspend_unscripted_advice true
 end_while

 console_command date -109
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 654
	suspend_unscripted_advice true
 end_while

 console_command date -109
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 655
	suspend_unscripted_advice true
 end_while

 console_command date -108
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 656
	suspend_unscripted_advice true
 end_while

 console_command date -108
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 657
	suspend_unscripted_advice true
 end_while

 console_command date -108
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 658
	suspend_unscripted_advice true
 end_while

 console_command date -108
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 659
	suspend_unscripted_advice true
 end_while

 console_command date -107
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 660
	suspend_unscripted_advice true
 end_while

 console_command date -107
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 661
	suspend_unscripted_advice true
 end_while

 console_command date -107
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 662
	suspend_unscripted_advice true
 end_while

 console_command date -107
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 663
	suspend_unscripted_advice true
 end_while

 console_command date -106
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 664
	suspend_unscripted_advice true
 end_while

 console_command date -106
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 665
	suspend_unscripted_advice true
 end_while

 console_command date -106
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 666
	suspend_unscripted_advice true
 end_while

 console_command date -106
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 667
	suspend_unscripted_advice true
 end_while

 console_command date -105
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 668
	suspend_unscripted_advice true
 end_while

 console_command date -105
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 669
	suspend_unscripted_advice true
 end_while

 console_command date -105
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 670
	suspend_unscripted_advice true
 end_while

 console_command date -105
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 671
	suspend_unscripted_advice true
 end_while

 console_command date -104
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 672
	suspend_unscripted_advice true
 end_while

 console_command date -104
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 673
	suspend_unscripted_advice true
 end_while

 console_command date -104
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 674
	suspend_unscripted_advice true
 end_while

 console_command date -104
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 675
	suspend_unscripted_advice true
 end_while

 console_command date -103
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 676
	suspend_unscripted_advice true
 end_while

 console_command date -103
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 677
	suspend_unscripted_advice true
 end_while

 console_command date -103
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 678
	suspend_unscripted_advice true
 end_while

 console_command date -103
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 679
	suspend_unscripted_advice true
 end_while

 console_command date -102
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 680
	suspend_unscripted_advice true
 end_while

 console_command date -102
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 681
	suspend_unscripted_advice true
 end_while

 console_command date -102
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 682
	suspend_unscripted_advice true
 end_while

 console_command date -102
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 683
	suspend_unscripted_advice true
 end_while

 console_command date -101
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 684
	suspend_unscripted_advice true
 end_while

 console_command date -101
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 685
	suspend_unscripted_advice true
 end_while

 console_command date -101
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 686
	suspend_unscripted_advice true
 end_while

 console_command date -101
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 687
	suspend_unscripted_advice true
 end_while

 console_command date -100
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 688
	suspend_unscripted_advice true
 end_while

 console_command date -100
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 689
	suspend_unscripted_advice true
 end_while

 console_command date -100
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 690
	suspend_unscripted_advice true
 end_while

 console_command date -100
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 691
	suspend_unscripted_advice true
 end_while

 console_command date -99
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 692
	suspend_unscripted_advice true
 end_while

 console_command date -99
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 693
	suspend_unscripted_advice true
 end_while

 console_command date -99
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 694
	suspend_unscripted_advice true
 end_while

 console_command date -99
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 695
	suspend_unscripted_advice true
 end_while

 console_command date -98
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 696
	suspend_unscripted_advice true
 end_while

 console_command date -98
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 697
	suspend_unscripted_advice true
 end_while

 console_command date -98
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 698
	suspend_unscripted_advice true
 end_while

 console_command date -98
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 699
	suspend_unscripted_advice true
 end_while

 console_command date -97
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 700
	suspend_unscripted_advice true
 end_while

 console_command date -97
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 701
	suspend_unscripted_advice true
 end_while

 console_command date -97
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 702
	suspend_unscripted_advice true
 end_while

 console_command date -97
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 703
	suspend_unscripted_advice true
 end_while

 console_command date -96
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 704
	suspend_unscripted_advice true
 end_while

 console_command date -96
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 705
	suspend_unscripted_advice true
 end_while

 console_command date -96
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 706
	suspend_unscripted_advice true
 end_while

 console_command date -96
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 707
	suspend_unscripted_advice true
 end_while

 console_command date -95
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 708
	suspend_unscripted_advice true
 end_while

 console_command date -95
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 709
	suspend_unscripted_advice true
 end_while

 console_command date -95
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 710
	suspend_unscripted_advice true
 end_while

 console_command date -95
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 711
	suspend_unscripted_advice true
 end_while

 console_command date -94
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 712
	suspend_unscripted_advice true
 end_while

 console_command date -94
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 713
	suspend_unscripted_advice true
 end_while

 console_command date -94
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 714
	suspend_unscripted_advice true
 end_while

 console_command date -94
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 715
	suspend_unscripted_advice true
 end_while

 console_command date -93
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 716
	suspend_unscripted_advice true
 end_while

 console_command date -93
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 717
	suspend_unscripted_advice true
 end_while

 console_command date -93
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 718
	suspend_unscripted_advice true
 end_while

 console_command date -93
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 719
	suspend_unscripted_advice true
 end_while

 console_command date -92
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 720
	suspend_unscripted_advice true
 end_while

 console_command date -92
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 721
	suspend_unscripted_advice true
 end_while

 console_command date -92
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 722
	suspend_unscripted_advice true
 end_while

 console_command date -92
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 723
	suspend_unscripted_advice true
 end_while

 console_command date -91
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 724
	suspend_unscripted_advice true
 end_while

 console_command date -91
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 725
	suspend_unscripted_advice true
 end_while

 console_command date -91
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 726
	suspend_unscripted_advice true
 end_while

 console_command date -91
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 727
	suspend_unscripted_advice true
 end_while

 console_command date -90
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 728
	suspend_unscripted_advice true
 end_while

 console_command date -90
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 729
	suspend_unscripted_advice true
 end_while

 console_command date -90
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 730
	suspend_unscripted_advice true
 end_while

 console_command date -90
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 731
	suspend_unscripted_advice true
 end_while

 console_command date -89
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 732
	suspend_unscripted_advice true
 end_while

 console_command date -89
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 733
	suspend_unscripted_advice true
 end_while

 console_command date -89
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 734
	suspend_unscripted_advice true
 end_while

 console_command date -89
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 735
	suspend_unscripted_advice true
 end_while

 console_command date -88
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 736
	suspend_unscripted_advice true
 end_while

 console_command date -88
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 737
	suspend_unscripted_advice true
 end_while

 console_command date -88
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 738
	suspend_unscripted_advice true
 end_while

 console_command date -88
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 739
	suspend_unscripted_advice true
 end_while

 console_command date -87
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 740
	suspend_unscripted_advice true
 end_while

 console_command date -87
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 741
	suspend_unscripted_advice true
 end_while

 console_command date -87
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 742
	suspend_unscripted_advice true
 end_while

 console_command date -87
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 743
	suspend_unscripted_advice true
 end_while

 console_command date -86
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 744
	suspend_unscripted_advice true
 end_while

 console_command date -86
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 745
	suspend_unscripted_advice true
 end_while

 console_command date -86
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 746
	suspend_unscripted_advice true
 end_while

 console_command date -86
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 747
	suspend_unscripted_advice true
 end_while

 console_command date -85
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 748
	suspend_unscripted_advice true
 end_while

 console_command date -85
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 749
	suspend_unscripted_advice true
 end_while

 console_command date -85
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 750
	suspend_unscripted_advice true
 end_while

 console_command date -85
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 751
	suspend_unscripted_advice true
 end_while

 console_command date -84
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 752
	suspend_unscripted_advice true
 end_while

 console_command date -84
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 753
	suspend_unscripted_advice true
 end_while

 console_command date -84
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 754
	suspend_unscripted_advice true
 end_while

 console_command date -84
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 755
	suspend_unscripted_advice true
 end_while

 console_command date -83
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 756
	suspend_unscripted_advice true
 end_while

 console_command date -83
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 757
	suspend_unscripted_advice true
 end_while

 console_command date -83
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 758
	suspend_unscripted_advice true
 end_while

 console_command date -83
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 759
	suspend_unscripted_advice true
 end_while

 console_command date -82
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 760
	suspend_unscripted_advice true
 end_while

 console_command date -82
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 761
	suspend_unscripted_advice true
 end_while

 console_command date -82
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 762
	suspend_unscripted_advice true
 end_while

 console_command date -82
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 763
	suspend_unscripted_advice true
 end_while

 console_command date -81
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 764
	suspend_unscripted_advice true
 end_while

 console_command date -81
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 765
	suspend_unscripted_advice true
 end_while

 console_command date -81
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 766
	suspend_unscripted_advice true
 end_while

 console_command date -81
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 767
	suspend_unscripted_advice true
 end_while

 console_command date -80
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 768
	suspend_unscripted_advice true
 end_while

 console_command date -80
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 769
	suspend_unscripted_advice true
 end_while

 console_command date -80
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 770
	suspend_unscripted_advice true
 end_while

 console_command date -80
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 771
	suspend_unscripted_advice true
 end_while

 console_command date -79
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 772
	suspend_unscripted_advice true
 end_while

 console_command date -79
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 773
	suspend_unscripted_advice true
 end_while

 console_command date -79
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 774
	suspend_unscripted_advice true
 end_while

 console_command date -79
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 775
	suspend_unscripted_advice true
 end_while

 console_command date -78
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 776
	suspend_unscripted_advice true
 end_while

 console_command date -78
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 777
	suspend_unscripted_advice true
 end_while

 console_command date -78
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 778
	suspend_unscripted_advice true
 end_while

 console_command date -78
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 779
	suspend_unscripted_advice true
 end_while

 console_command date -77
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 780
	suspend_unscripted_advice true
 end_while

 console_command date -77
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 781
	suspend_unscripted_advice true
 end_while

 console_command date -77
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 782
	suspend_unscripted_advice true
 end_while

 console_command date -77
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 783
	suspend_unscripted_advice true
 end_while

 console_command date -76
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 784
	suspend_unscripted_advice true
 end_while

 console_command date -76
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 785
	suspend_unscripted_advice true
 end_while

 console_command date -76
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 786
	suspend_unscripted_advice true
 end_while

 console_command date -76
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 787
	suspend_unscripted_advice true
 end_while

 console_command date -75
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 788
	suspend_unscripted_advice true
 end_while

 console_command date -75
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 789
	suspend_unscripted_advice true
 end_while

 console_command date -75
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 790
	suspend_unscripted_advice true
 end_while

 console_command date -75
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 791
	suspend_unscripted_advice true
 end_while

 console_command date -74
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 792
	suspend_unscripted_advice true
 end_while

 console_command date -74
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 793
	suspend_unscripted_advice true
 end_while

 console_command date -74
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 794
	suspend_unscripted_advice true
 end_while

 console_command date -74
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 795
	suspend_unscripted_advice true
 end_while

 console_command date -73
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 796
	suspend_unscripted_advice true
 end_while

 console_command date -73
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 797
	suspend_unscripted_advice true
 end_while

 console_command date -73
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 798
	suspend_unscripted_advice true
 end_while

 console_command date -73
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 799
	suspend_unscripted_advice true
 end_while

 console_command date -72
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 800
	suspend_unscripted_advice true
 end_while

 console_command date -72
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 801
	suspend_unscripted_advice true
 end_while

 console_command date -72
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 802
	suspend_unscripted_advice true
 end_while

 console_command date -72
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 803
	suspend_unscripted_advice true
 end_while

 console_command date -71
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 804
	suspend_unscripted_advice true
 end_while

 console_command date -71
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 805
	suspend_unscripted_advice true
 end_while

 console_command date -71
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 806
	suspend_unscripted_advice true
 end_while

 console_command date -71
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 807
	suspend_unscripted_advice true
 end_while

 console_command date -70
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 808
	suspend_unscripted_advice true
 end_while

 console_command date -70
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 809
	suspend_unscripted_advice true
 end_while

 console_command date -70
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 810
	suspend_unscripted_advice true
 end_while

 console_command date -70
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 811
	suspend_unscripted_advice true
 end_while

 console_command date -69
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 812
	suspend_unscripted_advice true
 end_while

 console_command date -69
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 813
	suspend_unscripted_advice true
 end_while

 console_command date -69
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 814
	suspend_unscripted_advice true
 end_while

 console_command date -69
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 815
	suspend_unscripted_advice true
 end_while

 console_command date -68
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 816
	suspend_unscripted_advice true
 end_while

 console_command date -68
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 817
	suspend_unscripted_advice true
 end_while

 console_command date -68
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 818
	suspend_unscripted_advice true
 end_while

 console_command date -68
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 819
	suspend_unscripted_advice true
 end_while

 console_command date -67
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 820
	suspend_unscripted_advice true
 end_while

 console_command date -67
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 821
	suspend_unscripted_advice true
 end_while

 console_command date -67
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 822
	suspend_unscripted_advice true
 end_while

 console_command date -67
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 823
	suspend_unscripted_advice true
 end_while

 console_command date -66
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 824
	suspend_unscripted_advice true
 end_while

 console_command date -66
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 825
	suspend_unscripted_advice true
 end_while

 console_command date -66
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 826
	suspend_unscripted_advice true
 end_while

 console_command date -66
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 827
	suspend_unscripted_advice true
 end_while

 console_command date -65
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 828
	suspend_unscripted_advice true
 end_while

 console_command date -65
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 829
	suspend_unscripted_advice true
 end_while

 console_command date -65
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 830
	suspend_unscripted_advice true
 end_while

 console_command date -65
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 831
	suspend_unscripted_advice true
 end_while

 console_command date -64
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 832
	suspend_unscripted_advice true
 end_while

 console_command date -64
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 833
	suspend_unscripted_advice true
 end_while

 console_command date -64
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 834
	suspend_unscripted_advice true
 end_while

 console_command date -64
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 835
	suspend_unscripted_advice true
 end_while

 console_command date -63
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 836
	suspend_unscripted_advice true
 end_while

 console_command date -63
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 837
	suspend_unscripted_advice true
 end_while

 console_command date -63
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 838
	suspend_unscripted_advice true
 end_while

 console_command date -63
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 839
	suspend_unscripted_advice true
 end_while

 console_command date -62
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 840
	suspend_unscripted_advice true
 end_while

 console_command date -62
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 841
	suspend_unscripted_advice true
 end_while

 console_command date -62
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 842
	suspend_unscripted_advice true
 end_while

 console_command date -62
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 843
	suspend_unscripted_advice true
 end_while

 console_command date -61
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 844
	suspend_unscripted_advice true
 end_while

 console_command date -61
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 845
	suspend_unscripted_advice true
 end_while

 console_command date -61
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 846
	suspend_unscripted_advice true
 end_while

 console_command date -61
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 847
	suspend_unscripted_advice true
 end_while

 console_command date -60
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 848
	suspend_unscripted_advice true
 end_while

 console_command date -60
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 849
	suspend_unscripted_advice true
 end_while

 console_command date -60
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 850
	suspend_unscripted_advice true
 end_while

 console_command date -60
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 851
	suspend_unscripted_advice true
 end_while

 console_command date -59
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 852
	suspend_unscripted_advice true
 end_while

 console_command date -59
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 853
	suspend_unscripted_advice true
 end_while

 console_command date -59
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 854
	suspend_unscripted_advice true
 end_while

 console_command date -59
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 855
	suspend_unscripted_advice true
 end_while

 console_command date -58
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 856
	suspend_unscripted_advice true
 end_while

 console_command date -58
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 857
	suspend_unscripted_advice true
 end_while

 console_command date -58
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 858
	suspend_unscripted_advice true
 end_while

 console_command date -58
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 859
	suspend_unscripted_advice true
 end_while

 console_command date -57
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 860
	suspend_unscripted_advice true
 end_while

 console_command date -57
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 861
	suspend_unscripted_advice true
 end_while

 console_command date -57
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 862
	suspend_unscripted_advice true
 end_while

 console_command date -57
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 863
	suspend_unscripted_advice true
 end_while

 console_command date -56
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 864
	suspend_unscripted_advice true
 end_while

 console_command date -56
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 865
	suspend_unscripted_advice true
 end_while

 console_command date -56
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 866
	suspend_unscripted_advice true
 end_while

 console_command date -56
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 867
	suspend_unscripted_advice true
 end_while

 console_command date -55
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 868
	suspend_unscripted_advice true
 end_while

 console_command date -55
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 869
	suspend_unscripted_advice true
 end_while

 console_command date -55
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 870
	suspend_unscripted_advice true
 end_while

 console_command date -55
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 871
	suspend_unscripted_advice true
 end_while

 console_command date -54
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 872
	suspend_unscripted_advice true
 end_while

 console_command date -54
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 873
	suspend_unscripted_advice true
 end_while

 console_command date -54
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 874
	suspend_unscripted_advice true
 end_while

 console_command date -54
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 875
	suspend_unscripted_advice true
 end_while

 console_command date -53
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 876
	suspend_unscripted_advice true
 end_while

 console_command date -53
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 877
	suspend_unscripted_advice true
 end_while

 console_command date -53
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 878
	suspend_unscripted_advice true
 end_while

 console_command date -53
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 879
	suspend_unscripted_advice true
 end_while

 console_command date -52
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 880
	suspend_unscripted_advice true
 end_while

 console_command date -52
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 881
	suspend_unscripted_advice true
 end_while

 console_command date -52
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 882
	suspend_unscripted_advice true
 end_while

 console_command date -52
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 883
	suspend_unscripted_advice true
 end_while

 console_command date -51
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 884
	suspend_unscripted_advice true
 end_while

 console_command date -51
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 885
	suspend_unscripted_advice true
 end_while

 console_command date -51
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 886
	suspend_unscripted_advice true
 end_while

 console_command date -51
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 887
	suspend_unscripted_advice true
 end_while

 console_command date -50
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 888
	suspend_unscripted_advice true
 end_while

 console_command date -50
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 889
	suspend_unscripted_advice true
 end_while

 console_command date -50
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 890
	suspend_unscripted_advice true
 end_while

 console_command date -50
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 891
	suspend_unscripted_advice true
 end_while

 console_command date -49
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 892
	suspend_unscripted_advice true
 end_while

 console_command date -49
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 893
	suspend_unscripted_advice true
 end_while

 console_command date -49
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 894
	suspend_unscripted_advice true
 end_while

 console_command date -49
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 895
	suspend_unscripted_advice true
 end_while

 console_command date -48
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 896
	suspend_unscripted_advice true
 end_while

 console_command date -48
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 897
	suspend_unscripted_advice true
 end_while

 console_command date -48
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 898
	suspend_unscripted_advice true
 end_while

 console_command date -48
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 899
	suspend_unscripted_advice true
 end_while

 console_command date -47
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 900
	suspend_unscripted_advice true
 end_while

 console_command date -47
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 901
	suspend_unscripted_advice true
 end_while

 console_command date -47
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 902
	suspend_unscripted_advice true
 end_while

 console_command date -47
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 903
	suspend_unscripted_advice true
 end_while

 console_command date -46
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 904
	suspend_unscripted_advice true
 end_while

 console_command date -46
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 905
	suspend_unscripted_advice true
 end_while

 console_command date -46
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 906
	suspend_unscripted_advice true
 end_while

 console_command date -46
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 907
	suspend_unscripted_advice true
 end_while

 console_command date -45
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 908
	suspend_unscripted_advice true
 end_while

 console_command date -45
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 909
	suspend_unscripted_advice true
 end_while

 console_command date -45
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 910
	suspend_unscripted_advice true
 end_while

 console_command date -45
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 911
	suspend_unscripted_advice true
 end_while

 console_command date -44
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 912
	suspend_unscripted_advice true
 end_while

 console_command date -44
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 913
	suspend_unscripted_advice true
 end_while

 console_command date -44
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 914
	suspend_unscripted_advice true
 end_while

 console_command date -44
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 915
	suspend_unscripted_advice true
 end_while

 console_command date -43
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 916
	suspend_unscripted_advice true
 end_while

 console_command date -43
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 917
	suspend_unscripted_advice true
 end_while

 console_command date -43
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 918
	suspend_unscripted_advice true
 end_while

 console_command date -43
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 919
	suspend_unscripted_advice true
 end_while

 console_command date -42
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 920
	suspend_unscripted_advice true
 end_while

 console_command date -42
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 921
	suspend_unscripted_advice true
 end_while

 console_command date -42
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 922
	suspend_unscripted_advice true
 end_while

 console_command date -42
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 923
	suspend_unscripted_advice true
 end_while

 console_command date -41
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 924
	suspend_unscripted_advice true
 end_while

 console_command date -41
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 925
	suspend_unscripted_advice true
 end_while

 console_command date -41
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 926
	suspend_unscripted_advice true
 end_while

 console_command date -41
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 927
	suspend_unscripted_advice true
 end_while

 console_command date -40
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 928
	suspend_unscripted_advice true
 end_while

 console_command date -40
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 929
	suspend_unscripted_advice true
 end_while

 console_command date -40
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 930
	suspend_unscripted_advice true
 end_while

 console_command date -40
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 931
	suspend_unscripted_advice true
 end_while

 console_command date -39
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 932
	suspend_unscripted_advice true
 end_while

 console_command date -39
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 933
	suspend_unscripted_advice true
 end_while

 console_command date -39
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 934
	suspend_unscripted_advice true
 end_while

 console_command date -39
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 935
	suspend_unscripted_advice true
 end_while

 console_command date -38
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 936
	suspend_unscripted_advice true
 end_while

 console_command date -38
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 937
	suspend_unscripted_advice true
 end_while

 console_command date -38
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 938
	suspend_unscripted_advice true
 end_while

 console_command date -38
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 939
	suspend_unscripted_advice true
 end_while

 console_command date -37
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 940
	suspend_unscripted_advice true
 end_while

 console_command date -37
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 941
	suspend_unscripted_advice true
 end_while

 console_command date -37
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 942
	suspend_unscripted_advice true
 end_while

 console_command date -37
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 943
	suspend_unscripted_advice true
 end_while

 console_command date -36
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 944
	suspend_unscripted_advice true
 end_while

 console_command date -36
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 945
	suspend_unscripted_advice true
 end_while

 console_command date -36
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 946
	suspend_unscripted_advice true
 end_while

 console_command date -36
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 947
	suspend_unscripted_advice true
 end_while

 console_command date -35
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 948
	suspend_unscripted_advice true
 end_while

 console_command date -35
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 949
	suspend_unscripted_advice true
 end_while

 console_command date -35
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 950
	suspend_unscripted_advice true
 end_while

 console_command date -35
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 951
	suspend_unscripted_advice true
 end_while

 console_command date -34
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 952
	suspend_unscripted_advice true
 end_while

 console_command date -34
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 953
	suspend_unscripted_advice true
 end_while

 console_command date -34
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 954
	suspend_unscripted_advice true
 end_while

 console_command date -34
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 955
	suspend_unscripted_advice true
 end_while

 console_command date -33
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 956
	suspend_unscripted_advice true
 end_while

 console_command date -33
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 957
	suspend_unscripted_advice true
 end_while

 console_command date -33
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 958
	suspend_unscripted_advice true
 end_while

 console_command date -33
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 959
	suspend_unscripted_advice true
 end_while

 console_command date -32
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 960
	suspend_unscripted_advice true
 end_while

 console_command date -32
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 961
	suspend_unscripted_advice true
 end_while

 console_command date -32
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 962
	suspend_unscripted_advice true
 end_while

 console_command date -32
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 963
	suspend_unscripted_advice true
 end_while

 console_command date -31
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 964
	suspend_unscripted_advice true
 end_while

 console_command date -31
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 965
	suspend_unscripted_advice true
 end_while

 console_command date -31
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 966
	suspend_unscripted_advice true
 end_while

 console_command date -31
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 967
	suspend_unscripted_advice true
 end_while

 console_command date -30
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 968
	suspend_unscripted_advice true
 end_while

 console_command date -30
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 969
	suspend_unscripted_advice true
 end_while

 console_command date -30
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 970
	suspend_unscripted_advice true
 end_while

 console_command date -30
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 971
	suspend_unscripted_advice true
 end_while

 console_command date -29
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 972
	suspend_unscripted_advice true
 end_while

 console_command date -29
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 973
	suspend_unscripted_advice true
 end_while

 console_command date -29
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 974
	suspend_unscripted_advice true
 end_while

 console_command date -29
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 975
	suspend_unscripted_advice true
 end_while

 console_command date -28
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 976
	suspend_unscripted_advice true
 end_while

 console_command date -28
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 977
	suspend_unscripted_advice true
 end_while

 console_command date -28
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 978
	suspend_unscripted_advice true
 end_while

 console_command date -28
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 979
	suspend_unscripted_advice true
 end_while

 console_command date -27
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 980
	suspend_unscripted_advice true
 end_while

 console_command date -27
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 981
	suspend_unscripted_advice true
 end_while

 console_command date -27
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 982
	suspend_unscripted_advice true
 end_while

 console_command date -27
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 983
	suspend_unscripted_advice true
 end_while

 console_command date -26
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 984
	suspend_unscripted_advice true
 end_while

 console_command date -26
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 985
	suspend_unscripted_advice true
 end_while

 console_command date -26
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 986
	suspend_unscripted_advice true
 end_while

 console_command date -26
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 987
	suspend_unscripted_advice true
 end_while

 console_command date -25
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 988
	suspend_unscripted_advice true
 end_while

 console_command date -25
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 989
	suspend_unscripted_advice true
 end_while

 console_command date -25
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 990
	suspend_unscripted_advice true
 end_while

 console_command date -25
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 991
	suspend_unscripted_advice true
 end_while

 console_command date -24
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 992
	suspend_unscripted_advice true
 end_while

 console_command date -24
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 993
	suspend_unscripted_advice true
 end_while

 console_command date -24
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 994
	suspend_unscripted_advice true
 end_while

 console_command date -24
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 995
	suspend_unscripted_advice true
 end_while

 console_command date -23
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 996
	suspend_unscripted_advice true
 end_while

 console_command date -23
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 997
	suspend_unscripted_advice true
 end_while

 console_command date -23
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 998
	suspend_unscripted_advice true
 end_while

 console_command date -23
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 999
	suspend_unscripted_advice true
 end_while

 console_command date -22
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1000
	suspend_unscripted_advice true
 end_while

 console_command date -22
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1001
	suspend_unscripted_advice true
 end_while

 console_command date -22
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1002
	suspend_unscripted_advice true
 end_while

 console_command date -22
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1003
	suspend_unscripted_advice true
 end_while

 console_command date -21
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1004
	suspend_unscripted_advice true
 end_while

 console_command date -21
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1005
	suspend_unscripted_advice true
 end_while

 console_command date -21
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1006
	suspend_unscripted_advice true
 end_while

 console_command date -21
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1007
	suspend_unscripted_advice true
 end_while

 console_command date -20
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1008
	suspend_unscripted_advice true
 end_while

 console_command date -20
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1009
	suspend_unscripted_advice true
 end_while

 console_command date -20
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1010
	suspend_unscripted_advice true
 end_while

 console_command date -20
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1011
	suspend_unscripted_advice true
 end_while

 console_command date -19
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1012
	suspend_unscripted_advice true
 end_while

 console_command date -19
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1013
	suspend_unscripted_advice true
 end_while

 console_command date -19
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1014
	suspend_unscripted_advice true
 end_while

 console_command date -19
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1015
	suspend_unscripted_advice true
 end_while

 console_command date -18
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1016
	suspend_unscripted_advice true
 end_while

 console_command date -18
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1017
	suspend_unscripted_advice true
 end_while

 console_command date -18
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1018
	suspend_unscripted_advice true
 end_while

 console_command date -18
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1019
	suspend_unscripted_advice true
 end_while

 console_command date -17
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1020
	suspend_unscripted_advice true
 end_while

 console_command date -17
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1021
	suspend_unscripted_advice true
 end_while

 console_command date -17
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1022
	suspend_unscripted_advice true
 end_while

 console_command date -17
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1023
	suspend_unscripted_advice true
 end_while

 console_command date -16
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1024
	suspend_unscripted_advice true
 end_while

 console_command date -16
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1025
	suspend_unscripted_advice true
 end_while

 console_command date -16
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1026
	suspend_unscripted_advice true
 end_while

 console_command date -16
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1027
	suspend_unscripted_advice true
 end_while

 console_command date -15
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1028
	suspend_unscripted_advice true
 end_while

 console_command date -15
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1029
	suspend_unscripted_advice true
 end_while

 console_command date -15
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1030
	suspend_unscripted_advice true
 end_while

 console_command date -15
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1031
	suspend_unscripted_advice true
 end_while

 console_command date -14
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1032
	suspend_unscripted_advice true
 end_while

 console_command date -14
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1033
	suspend_unscripted_advice true
 end_while

 console_command date -14
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1034
	suspend_unscripted_advice true
 end_while

 console_command date -14
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1035
	suspend_unscripted_advice true
 end_while

 console_command date -13
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1036
	suspend_unscripted_advice true
 end_while

 console_command date -13
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1037
	suspend_unscripted_advice true
 end_while

 console_command date -13
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1038
	suspend_unscripted_advice true
 end_while

 console_command date -13
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1039
	suspend_unscripted_advice true
 end_while

 console_command date -12
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1040
	suspend_unscripted_advice true
 end_while

 console_command date -12
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1041
	suspend_unscripted_advice true
 end_while

 console_command date -12
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1042
	suspend_unscripted_advice true
 end_while

 console_command date -12
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1043
	suspend_unscripted_advice true
 end_while

 console_command date -11
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1044
	suspend_unscripted_advice true
 end_while

 console_command date -11
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1045
	suspend_unscripted_advice true
 end_while

 console_command date -11
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1046
	suspend_unscripted_advice true
 end_while

 console_command date -11
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1047
	suspend_unscripted_advice true
 end_while

 console_command date -10
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1048
	suspend_unscripted_advice true
 end_while

 console_command date -10
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1049
	suspend_unscripted_advice true
 end_while

 console_command date -10
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1050
	suspend_unscripted_advice true
 end_while

 console_command date -10
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1051
	suspend_unscripted_advice true
 end_while

 console_command date -9
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1052
	suspend_unscripted_advice true
 end_while

 console_command date -9
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1053
	suspend_unscripted_advice true
 end_while

 console_command date -9
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1054
	suspend_unscripted_advice true
 end_while

 console_command date -9
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1055
	suspend_unscripted_advice true
 end_while

 console_command date -8
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1056
	suspend_unscripted_advice true
 end_while

 console_command date -8
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1057
	suspend_unscripted_advice true
 end_while

 console_command date -8
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1058
	suspend_unscripted_advice true
 end_while

 console_command date -8
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1059
	suspend_unscripted_advice true
 end_while

 console_command date -7
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1060
	suspend_unscripted_advice true
 end_while

 console_command date -7
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1061
	suspend_unscripted_advice true
 end_while

 console_command date -7
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1062
	suspend_unscripted_advice true
 end_while

 console_command date -7
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1063
	suspend_unscripted_advice true
 end_while

 console_command date -6
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1064
	suspend_unscripted_advice true
 end_while

 console_command date -6
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1065
	suspend_unscripted_advice true
 end_while

 console_command date -6
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1066
	suspend_unscripted_advice true
 end_while

 console_command date -6
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1067
	suspend_unscripted_advice true
 end_while

 console_command date -5
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1068
	suspend_unscripted_advice true
 end_while

 console_command date -5
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1069
	suspend_unscripted_advice true
 end_while

 console_command date -5
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1070
	suspend_unscripted_advice true
 end_while

 console_command date -5
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1071
	suspend_unscripted_advice true
 end_while

 console_command date -4
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1072
	suspend_unscripted_advice true
 end_while

 console_command date -4
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1073
	suspend_unscripted_advice true
 end_while

 console_command date -4
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1074
	suspend_unscripted_advice true
 end_while

 console_command date -4
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1075
	suspend_unscripted_advice true
 end_while

 console_command date -3
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1076
	suspend_unscripted_advice true
 end_while

 console_command date -3
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1077
	suspend_unscripted_advice true
 end_while

 console_command date -3
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1078
	suspend_unscripted_advice true
 end_while

 console_command date -3
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1079
	suspend_unscripted_advice true
 end_while

 console_command date -2
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1080
	suspend_unscripted_advice true
 end_while

 console_command date -2
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1081
	suspend_unscripted_advice true
 end_while

 console_command date -2
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1082
	suspend_unscripted_advice true
 end_while

 console_command date -2
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1083
	suspend_unscripted_advice true
 end_while

 console_command date -1
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1084
	suspend_unscripted_advice true
 end_while

 console_command date -1
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1085
	suspend_unscripted_advice true
 end_while

 console_command date -1
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1086
	suspend_unscripted_advice true
 end_while

 console_command date -1
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1087
	suspend_unscripted_advice true
 end_while

 console_command date 0
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1088
	suspend_unscripted_advice true
 end_while

 console_command date 0
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1089
	suspend_unscripted_advice true
 end_while

 console_command date 0
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1090
	suspend_unscripted_advice true
 end_while

 console_command date 0
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1091
	suspend_unscripted_advice true
 end_while

 console_command date 1
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1092
	suspend_unscripted_advice true
 end_while

 console_command date 1
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1093
	suspend_unscripted_advice true
 end_while

 console_command date 1
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1094
	suspend_unscripted_advice true
 end_while

 console_command date 1
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1095
	suspend_unscripted_advice true
 end_while

 console_command date 2
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1096
	suspend_unscripted_advice true
 end_while

 console_command date 2
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1097
	suspend_unscripted_advice true
 end_while

 console_command date 2
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1098
	suspend_unscripted_advice true
 end_while

 console_command date 2
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1099
	suspend_unscripted_advice true
 end_while

 console_command date 3
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1100
	suspend_unscripted_advice true
 end_while

 console_command date 3
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1101
	suspend_unscripted_advice true
 end_while

 console_command date 3
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1102
	suspend_unscripted_advice true
 end_while

 console_command date 3
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1103
	suspend_unscripted_advice true
 end_while

 console_command date 4
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1104
	suspend_unscripted_advice true
 end_while

 console_command date 4
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1105
	suspend_unscripted_advice true
 end_while

 console_command date 4
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1106
	suspend_unscripted_advice true
 end_while

 console_command date 4
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1107
	suspend_unscripted_advice true
 end_while

 console_command date 5
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1108
	suspend_unscripted_advice true
 end_while

 console_command date 5
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1109
	suspend_unscripted_advice true
 end_while

 console_command date 5
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1110
	suspend_unscripted_advice true
 end_while

 console_command date 5
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1111
	suspend_unscripted_advice true
 end_while

 console_command date 6
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1112
	suspend_unscripted_advice true
 end_while

 console_command date 6
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1113
	suspend_unscripted_advice true
 end_while

 console_command date 6
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1114
	suspend_unscripted_advice true
 end_while

 console_command date 6
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1115
	suspend_unscripted_advice true
 end_while

 console_command date 7
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1116
	suspend_unscripted_advice true
 end_while

 console_command date 7
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1117
	suspend_unscripted_advice true
 end_while

 console_command date 7
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1118
	suspend_unscripted_advice true
 end_while

 console_command date 7
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1119
	suspend_unscripted_advice true
 end_while

 console_command date 8
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1120
	suspend_unscripted_advice true
 end_while

 console_command date 8
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1121
	suspend_unscripted_advice true
 end_while

 console_command date 8
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1122
	suspend_unscripted_advice true
 end_while

 console_command date 8
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1123
	suspend_unscripted_advice true
 end_while

 console_command date 9
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1124
	suspend_unscripted_advice true
 end_while

 console_command date 9
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1125
	suspend_unscripted_advice true
 end_while

 console_command date 9
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1126
	suspend_unscripted_advice true
 end_while

 console_command date 9
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1127
	suspend_unscripted_advice true
 end_while

 console_command date 10
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1128
	suspend_unscripted_advice true
 end_while

 console_command date 10
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1129
	suspend_unscripted_advice true
 end_while

 console_command date 10
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1130
	suspend_unscripted_advice true
 end_while

 console_command date 10
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1131
	suspend_unscripted_advice true
 end_while

 console_command date 11
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1132
	suspend_unscripted_advice true
 end_while

 console_command date 11
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1133
	suspend_unscripted_advice true
 end_while

 console_command date 11
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1134
	suspend_unscripted_advice true
 end_while

 console_command date 11
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1135
	suspend_unscripted_advice true
 end_while

 console_command date 12
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1136
	suspend_unscripted_advice true
 end_while

 console_command date 12
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1137
	suspend_unscripted_advice true
 end_while

 console_command date 12
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1138
	suspend_unscripted_advice true
 end_while

 console_command date 12
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1139
	suspend_unscripted_advice true
 end_while

 console_command date 13
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1140
	suspend_unscripted_advice true
 end_while

 console_command date 13
 console_command season summer
 set_counter seasonCounter 2
 while I_TurnNumber = 1141
	suspend_unscripted_advice true
 end_while

 console_command date 13
 console_command season summer
 set_counter seasonCounter 3
 while I_TurnNumber = 1142
	suspend_unscripted_advice true
 end_while

 console_command date 13
 console_command season winter
 set_counter seasonCounter 4
 while I_TurnNumber = 1143
	suspend_unscripted_advice true
 end_while

 console_command date 14
 console_command season summer
 set_counter seasonCounter 1
 while I_TurnNumber = 1144
	suspend_unscripted_advice true
 end_while

if I_TurnNumber < 1144
select_ui_element advisor_dismiss_button
simulate_mouse_click lclick_down
simulate_mouse_click lclick_up

;while I_AdvisorVisible
;end_while
;
;advance_advice_thread EBBSb_Thread
;declare_timer 4ty_debug_timer
;console_command date -272
;while not I_AdvisorVisible
;end_while
;while I_TimerElapsed 4ty_debug_timer < 1000
;end_while
;
;select_ui_element advisor_portrait_button
;simulate_mouse_click lclick_down
;simulate_mouse_click lclick_up
;while I_TimerElapsed 4ty_debug_timer < 1100
;end_while
;select_ui_element advisor_show_me_button
;simulate_mouse_click lclick_down
;simulate_mouse_click lclick_up

end_if



end_script