Well I farther lowered the requirements. In red what I changed, I also removed two Irish settlements from the requirements.
Code:
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_NumberOfSettlements britons < 9
and I_SettlementOwner Bagacos != slave
and Treasury > 10000
and RandomPercent < 100
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 Bagacos = scythia
console_command diplomatic_stance britons scythia war
end_if
if I_SettlementOwner Bagacos = gauls
console_command diplomatic_stance britons gauls war
end_if
if I_SettlementOwner Bagacos = seleucid
console_command diplomatic_stance britons seleucid war
end_if
if I_SettlementOwner Bagacos = germans
console_command diplomatic_stance britons germans war
console_command diplomatic_stance britons spain war
end_if
if I_SettlementOwner Bagacos = spain
console_command diplomatic_stance britons spain war
end_if
if I_SettlementOwner Bagacos = thrace
console_command diplomatic_stance britons thrace war
end_if
if I_SettlementOwner Bagacos = macedon
console_command diplomatic_stance britons macedon war
console_command diplomatic_stance britons spain war
end_if
if I_SettlementOwner Bagacos = greek_cities
console_command diplomatic_stance britons greek_cities war
end_if
if I_SettlementOwner Bagacos = 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 69, y 183
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 69, y 182
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
Bookmarks