;
; Campaign script - DLV Teutonic Knights
;
script
;==========================================================================
;= I Garrison Script by derdrakken =
;==========================================================================
;------------------- faction check and initializing -----------------------
declare_counter teutonic_order_start
declare_counter lithuania_start
declare_counter denmark_start
declare_counter novgorod_start
declare_counter hre_start
declare_counter poland_start
declare_counter norway_start
declare_counter mongols_start
set_counter teutonic_order_start 0
set_counter lithuania_start 0
set_counter denmark_start 0
set_counter novgorod_start 0
set_counter hre_start 0
set_counter poland_start 0
set_counter norway_start 0
set_counter mongols_start 0
monitor_event FactionTurnStart FactionIsLocal
if I_LocalFaction teutonic_order
set_counter teutonic_order_start 1
historic_event introduction
end_if
if I_LocalFaction norway
set_counter norway_start 1
historic_event introduction
end_if
if I_LocalFaction lithuania
set_counter lithuania_start 1
historic_event introduction
end_if
if I_LocalFaction denmark
set_counter denmark_start 1
historic_event introduction
end_if
if I_LocalFaction novgorod
set_counter novgorod_start 1
historic_event introduction
end_if
if I_LocalFaction hre
set_counter hre_start 1
historic_event introduction
end_if
if I_LocalFaction poland
set_counter poland_start 1
historic_event introduction
end_if
if I_LocalFaction mongols
set_counter mongols_start 1
historic_event introduction
end_if
terminate_monitor
end_monitor
;/// teutonic_order /// Marienburg /// Marienburg_Region /// Capital
declare_counter Marienburg_siege
declare_counter Marienburg_spawn
monitor_conditions not I_SettlementUnderSiege Marienburg
set_counter Marienburg_siege 0
set_counter Marienburg_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Marienburg
and I_CompareCounter Marienburg_siege = 0
if I_SettlementOwner Marienburg = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Marienburg, Dismounted Ritterbruder, num 2, exp 0, arm 0, wep 0
create_unit Marienburg, Burgher Pikemen, num 3, exp 0, arm 0, wep 0
create_unit Marienburg, Order Spearmen, num 3, exp 0, arm 0, wep 0
create_unit Marienburg, Prussian Archers, num 4, exp 0, arm 0, wep 0
create_unit Marienburg, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Marienburg, Order Militia, num 3, exp 0, arm 0, wep 0
set_counter Marienburg_spawn 1
end_if
if I_SettlementOwner Marienburg = poland
and I_CompareCounter poland_start 0
create_unit Marienburg, Dismounted Polish Nobles, num 1, exp 0, arm 0, wep 0
create_unit Marienburg, Halberd Militia, num 2, exp 0, arm 0, wep 0
create_unit Marienburg, EE Peasant Archers, num 2, exp 0, arm 0, wep 0
create_unit Marienburg, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Marienburg, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Marienburg, EE Town Militia, num 3, exp 0, arm 0, wep 0
end_if
set_counter Marienburg_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Marienburg
and I_CompareCounter Marienburg_spawn = 1
if I_SettlementOwner Marienburg = teutonic_order
spawn_army
faction teutonic_order
character Adolf von Schwaben, named character, age 28, x 65, y 38, direction E
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 1
unit Christ Knights exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
spawn_army
faction teutonic_order
character Lothar Plittersdorf, general, age 35, x 61, y 29, direction SE
unit Knechten exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
set_counter Marienburg_spawn 0
end_if
end_monitor
;/// teutonic_order /// Thorn /// Thorn_Region /// Homelands
declare_counter Thorn_siege
declare_counter Thorn_spawn
monitor_conditions not I_SettlementUnderSiege Thorn
set_counter Thorn_siege 0
set_counter Thorn_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Thorn
and I_CompareCounter Thorn_siege = 0
if I_SettlementOwner Thorn = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Thorn, Dismounted Ritterbruder, num 1, exp 0, arm 0, wep 0
create_unit Thorn, Burgher Pikemen, num 2, exp 0, arm 0, wep 0
create_unit Thorn, Order Spearmen, num 2, exp 0, arm 0, wep 0
create_unit Thorn, Prussian Archers, num 2, exp 0, arm 0, wep 0
create_unit Thorn, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Thorn, Order Militia, num 3, exp 0, arm 0, wep 0
set_counter Thorn_spawn 1
end_if
if I_SettlementOwner Thorn = poland
and I_CompareCounter poland_start 0
create_unit Thorn, Dismounted Polish Nobles, num 1, exp 0, arm 0, wep 0
create_unit Thorn, Halberd Militia, num 2, exp 0, arm 0, wep 0
create_unit Thorn, EE Peasant Archers, num 2, exp 0, arm 0, wep 0
create_unit Thorn, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Thorn, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Thorn, EE Town Militia, num 3, exp 0, arm 0, wep 0
end_if
set_counter Thorn_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Thorn
and I_CompareCounter Thorn_spawn = 1
if I_SettlementOwner Thorn = teutonic_order
spawn_army
faction teutonic_order
character Fritz Ruppel, named character, age 22, x 61, y 26, direction NE
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 1
unit Christ Knights exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
set_counter Thorn_spawn 0
end_if
end_monitor
;/// teutonic_order /// Konisberg /// Konigsberg_Region /// Homelands
;Konigsberg intentionally mispelled
declare_counter Konisberg_siege
declare_counter Konisberg_spawn
monitor_conditions not I_SettlementUnderSiege Konisberg
set_counter Konisberg_siege 0
set_counter Konisberg_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Konisberg
and I_CompareCounter Konisberg_siege = 0
if I_SettlementOwner Konisberg = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Konisberg, Dismounted Ritterbruder, num 1, exp 0, arm 0, wep 0
create_unit Konisberg, Burgher Pikemen, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Order Spearmen, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Prussian Archers, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Order Militia, num 3, exp 0, arm 0, wep 0
set_counter Konisberg_spawn 1
end_if
if I_SettlementOwner Konisberg = poland
and I_CompareCounter poland_start 0
create_unit Konisberg, Dismounted Polish Nobles, num 1, exp 0, arm 0, wep 0
create_unit Konisberg, Halberd Militia, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, EE Peasant Archers, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, EE Town Militia, num 3, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Konisberg = lithuania
and I_CompareCounter lithuania_start 0
create_unit Konisberg, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Konisberg, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Konisberg, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
end_if
set_counter Konisberg_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Konisberg
and I_CompareCounter Konisberg_spawn = 1
if I_SettlementOwner Konisberg = teutonic_order
spawn_army
faction teutonic_order
character Volkmar von Balk, named character, age 29, x 65, y 41, direction S
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 1
unit Christ Knights exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
set_counter Konisberg_spawn 0
end_if
end_monitor
;/// teutonic_order /// Windau /// Windau_Region /// Borderlands
declare_counter Windau_siege
declare_counter Windau_spawn
monitor_conditions not I_SettlementUnderSiege Windau
set_counter Windau_siege 0
set_counter Windau_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Windau
and I_CompareCounter Windau_siege = 0
if I_SettlementOwner Windau = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Windau, Dismounted Ritterbruder, num 1, exp 0, arm 0, wep 0
create_unit Windau, Burgher Pikemen, num 1, exp 0, arm 0, wep 0
create_unit Windau, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Windau, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Windau, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Windau, Order Militia, num 2, exp 0, arm 0, wep 0
set_counter Windau_spawn 1
end_if
if I_SettlementOwner Windau = lithuania
and I_CompareCounter lithuania_start 0
create_unit Windau, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Windau, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Windau, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Windau, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Windau, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Windau, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Windau, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Windau, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
end_if
set_counter Windau_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Windau
and I_CompareCounter Windau_spawn = 1
if I_SettlementOwner Windau = teutonic_order
spawn_army
faction teutonic_order
character Jens von Kniprode, general, age 39, x 77, y 65, direction SE
unit Christ Knights exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
set_counter Windau_spawn 0
end_if
end_monitor
;/// teutonic_order /// Riga /// Livonia /// Borderlands
declare_counter Riga_siege
declare_counter Riga_spawn
monitor_conditions not I_SettlementUnderSiege Riga
set_counter Riga_siege 0
set_counter Riga_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Riga
and I_CompareCounter Riga_siege = 0
if I_SettlementOwner Riga = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Riga, Dismounted Ritterbruder, num 1, exp 0, arm 0, wep 0
create_unit Riga, Burgher Pikemen, num 1, exp 0, arm 0, wep 0
create_unit Riga, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Riga, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Riga, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Riga, Order Militia, num 2, exp 0, arm 0, wep 0
set_counter Riga_spawn 1
end_if
if I_SettlementOwner Riga = lithuania
and I_CompareCounter lithuania_start 0
create_unit Riga, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Riga, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Riga, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Riga, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Riga, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Riga, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Riga, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Riga, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Riga = novgorod
and I_CompareCounter novgorod_start 0
create_unit Riga, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Riga, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Riga, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Riga, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Riga, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Riga, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Riga_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Riga
and I_CompareCounter Riga_spawn = 1
if I_SettlementOwner Riga = teutonic_order
spawn_army
faction teutonic_order
character Gerhard Scherer, named character, age 25, x 86, y 71, direction N
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 1
unit Christ Knights exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
set_counter Riga_spawn 0
end_if
end_monitor
;/// teutonic_order /// Pernau /// Parnu_Region /// Borderlands
declare_counter Pernau_siege
declare_counter Pernau_spawn
monitor_conditions not I_SettlementUnderSiege Pernau
set_counter Pernau_siege 0
set_counter Pernau_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Pernau
and I_CompareCounter Pernau_siege = 0
if I_SettlementOwner Pernau = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Pernau, Dismounted Ritterbruder, num 1, exp 0, arm 0, wep 0
create_unit Pernau, Burgher Pikemen, num 1, exp 0, arm 0, wep 0
create_unit Pernau, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Pernau, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Pernau, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Order Militia, num 2, exp 0, arm 0, wep 0
set_counter Pernau_spawn 1
end_if
if I_SettlementOwner Pernau = lithuania
and I_CompareCounter lithuania_start 0
create_unit Pernau, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Pernau, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Pernau = novgorod
and I_CompareCounter novgorod_start 0
create_unit Pernau, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Pernau, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Pernau, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Pernau, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Pernau, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Pernau, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Pernau_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Pernau
and I_CompareCounter Pernau_spawn = 1
if I_SettlementOwner Pernau = teutonic_order
spawn_army
faction teutonic_order
character Lothar der Bar, general, age 36, x 86, y 77, direction S
unit Knechten exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
set_counter Pernau_spawn 0
end_if
end_monitor
;/// teutonic_order /// Dunaburg /// Corland /// Borderlands
declare_counter Dunaburg_siege
declare_counter Dunaburg_spawn
monitor_conditions not I_SettlementUnderSiege Dunaburg
set_counter Dunaburg_siege 0
set_counter Dunaburg_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Dunaburg
and I_CompareCounter Dunaburg_siege = 0
if I_SettlementOwner Dunaburg = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Dunaburg, Dismounted Ritterbruder, num 1, exp 0, arm 0, wep 0
create_unit Dunaburg, Burgher Pikemen, num 1, exp 0, arm 0, wep 0
create_unit Dunaburg, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Dunaburg, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Dunaburg, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Order Militia, num 2, exp 0, arm 0, wep 0
set_counter Dunaburg_spawn 1
end_if
if I_SettlementOwner Dunaburg = lithuania
and I_CompareCounter lithuania_start 0
create_unit Dunaburg, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Dunaburg, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Dunaburg = novgorod
and I_CompareCounter novgorod_start 0
create_unit Dunaburg, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Dunaburg, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Dunaburg, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Dunaburg_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Dunaburg
and I_CompareCounter Dunaburg_spawn = 1
if I_SettlementOwner Dunaburg = teutonic_order
spawn_army
faction teutonic_order
character Lothar Scherer, general, age 36, x 93, y 63, direction NW
unit Knechten exp 1 armour 0 weapon_lvl 0
unit Burgher Pikemen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Clergymen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Spearmen exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Order Militia exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Prussian Archers exp 0 armour 0 weapon_lvl 0
unit Sword Brethren exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
unit Crossbow Militia exp 0 armour 0 weapon_lvl 0
end
set_counter Dunaburg_spawn 0
end_if
end_monitor
;/// teutonic_order /// Arensburg /// Arensburg_Region /// Borderlands
declare_counter Arensburg_siege
declare_counter Arensburg_spawn
monitor_conditions not I_SettlementUnderSiege Arensburg
set_counter Arensburg_siege 0
set_counter Arensburg_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Arensburg
and I_CompareCounter Arensburg_siege = 0
if I_SettlementOwner Arensburg = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Arensburg, Dismounted Ritterbruder, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, Burgher Pikemen, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, Clergymen, num 2, exp 0, arm 0, wep 0
create_unit Arensburg, Order Militia, num 2, exp 0, arm 0, wep 0
set_counter Arensburg_spawn 1
end_if
if I_SettlementOwner Arensburg = lithuania
and I_CompareCounter lithuania_start 0
create_unit Arensburg, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
create_unit Arensburg, Baltic Archers, num 3, exp 0, arm 0, wep 0
create_unit Arensburg, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Arensburg, Samogitian Axemen, num 2, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Arensburg = novgorod
and I_CompareCounter novgorod_start 0
create_unit Arensburg, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, Berdiche Axemen, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, EE Archer Militia, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, EE Crossbow Militia, num 1, exp 0, arm 0, wep 0
create_unit Arensburg, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Arensburg, Woodsmen, num 2, exp 0, arm 0, wep 0
end_if
set_counter Arensburg_siege 1
end_monitor
;/// rebel /// Olysta /// Olysta_Region /// Borderlands
declare_counter Olysta_siege
declare_counter Olysta_spawn
monitor_conditions not I_SettlementUnderSiege Olysta
set_counter Olysta_siege 0
set_counter Olysta_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Olysta
and I_CompareCounter Olysta_siege = 0
if I_SettlementOwner Olysta = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Olysta, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Olysta, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Olysta, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Olysta, Order Militia, num 1, exp 0, arm 0, wep 0
set_counter Olysta_spawn 1
end_if
if I_SettlementOwner Olysta = lithuania
and I_CompareCounter lithuania_start 0
create_unit Olysta, Dismounted Tartar Lancers, num 3, exp 0, arm 0, wep 0
create_unit Olysta, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Olysta, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Olysta, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Olysta = novgorod
and I_CompareCounter novgorod_start 0
create_unit Olysta, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Olysta, Berdiche Axemen, num 1, exp 0, arm 0, wep 0
create_unit Olysta, EE Archer Militia, num 1, exp 0, arm 0, wep 0
create_unit Olysta, EE Crossbow Militia, num 1, exp 0, arm 0, wep 0
create_unit Olysta, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Olysta, Woodsmen, num 2, exp 0, arm 0, wep 0
end_if
set_counter Olysta_siege 1
end_monitor
;/// lithuania /// Vilnius /// Lithuania /// Capital
declare_counter Vilnius_siege
declare_counter Vilnius_spawn
monitor_conditions not I_SettlementUnderSiege Vilnius
set_counter Vilnius_siege 0
set_counter Vilnius_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Vilnius
and I_CompareCounter Vilnius_siege = 0
if I_SettlementOwner Vilnius = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Vilnius, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Vilnius, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Vilnius, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Vilnius, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Vilnius = lithuania
and I_CompareCounter lithuania_start 0
create_unit Vilnius, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Vilnius, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
set_counter Vilnius_spawn 1
end_if
if I_SettlementOwner Vilnius = novgorod
and I_CompareCounter novgorod_start 0
create_unit Vilnius, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Vilnius, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Vilnius, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Vilnius_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Vilnius
and I_CompareCounter Vilnius_spawn = 1
if I_SettlementOwner Vilnius = lithuania
spawn_army
faction lithuania
character Linas of Livonia, named character, age 36, x 100, y 43, direction E
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 2
unit Aztec Bodyguard exp 1 armour 0 weapon_lvl 0
unit Cuman Horse Archers exp 1 armour 0 weapon_lvl 0
unit Dismounted Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Eagle Warriors exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
end
spawn_army
faction lithuania
character Narimantas, general, age 25, x 96, y 39, direction S
unit Dismounted Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Eagle Warriors exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
end
set_counter Vilnius_spawn 0
end_if
end_monitor
;/// lithuania /// Kaunus /// Kaunus_Region /// Homelands
declare_counter Kaunus_siege
declare_counter Kaunus_spawn
monitor_conditions not I_SettlementUnderSiege Kaunus
set_counter Kaunus_siege 0
set_counter Kaunus_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Kaunus
and I_CompareCounter Kaunus_siege = 0
if I_SettlementOwner Kaunus = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Kaunus, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Kaunus, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Kaunus, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Kaunus, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Kaunus = lithuania
and I_CompareCounter lithuania_start 0
create_unit Kaunus, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Kaunus, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
set_counter Kaunus_spawn 1
end_if
if I_SettlementOwner Kaunus = novgorod
and I_CompareCounter novgorod_start 0
create_unit Kaunus, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Kaunus, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Kaunus, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Kaunus_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Kaunus
and I_CompareCounter Kaunus_spawn = 1
if I_SettlementOwner Kaunus = lithuania
spawn_army
faction lithuania
character Novsade, named character, age 33, x 89, y 46, direction E
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 2
unit Aztec Bodyguard exp 1 armour 0 weapon_lvl 0
unit Cuman Horse Archers exp 1 armour 0 weapon_lvl 0
unit Dismounted Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Eagle Warriors exp 0 armour 0 weapon_lvl 0
unit Followers of Perkunas exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
end
set_counter Kaunus_spawn 0
end_if
end_monitor
;/// lithuania /// Panevezys /// Panevezys_Region /// Homelands
declare_counter Panevezys_siege
declare_counter Panevezys_spawn
monitor_conditions not I_SettlementUnderSiege Panevezys
set_counter Panevezys_siege 0
set_counter Panevezys_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Panevezys
and I_CompareCounter Panevezys_siege = 0
if I_SettlementOwner Panevezys = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Panevezys, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Panevezys, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Panevezys, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Panevezys, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Panevezys = lithuania
and I_CompareCounter lithuania_start 0
create_unit Panevezys, Eagle Warriors, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, Aztec Spear Throwers, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, Sudovian Tribesmen, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, Estonian Rebels, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Panevezys, Baltic Archers, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, Lettish Crossbowmen, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, Dismounted Tartar Lancers, num 2, exp 0, arm 0, wep 0
set_counter Panevezys_spawn 1
end_if
if I_SettlementOwner Panevezys = novgorod
and I_CompareCounter novgorod_start 0
create_unit Panevezys, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Panevezys, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Panevezys, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Panevezys_siege 1
end_monitor
;/// lithuania /// Siauliai /// Siauliai_Region /// Homelands
declare_counter Siauliai_siege
declare_counter Siauliai_spawn
monitor_conditions not I_SettlementUnderSiege Siauliai
set_counter Siauliai_siege 0
set_counter Siauliai_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Siauliai
and I_CompareCounter Siauliai_siege = 0
if I_SettlementOwner Siauliai = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Siauliai, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Siauliai = lithuania
and I_CompareCounter lithuania_start 0
create_unit Siauliai, Eagle Warriors, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Aztec Spear Throwers, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Sudovian Tribesmen, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Estonian Rebels, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Baltic Archers, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Lettish Crossbowmen, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Dismounted Tartar Lancers, num 1, exp 0, arm 0, wep 0
set_counter Siauliai_spawn 1
end_if
if I_SettlementOwner Siauliai = novgorod
and I_CompareCounter novgorod_start 0
create_unit Siauliai, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Siauliai, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Siauliai, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Siauliai, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Siauliai, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Siauliai, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Siauliai_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Siauliai
and I_CompareCounter Siauliai_spawn = 1
if I_SettlementOwner Siauliai = lithuania
spawn_army
faction lithuania
character Svarnas of Lyuban, named character, age 22, x 87, y 57, direction E
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 1
unit Aztec Bodyguard exp 1 armour 0 weapon_lvl 0
unit Cuman Horse Archers exp 1 armour 0 weapon_lvl 0
unit Dismounted Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Eagle Warriors exp 0 armour 0 weapon_lvl 0
unit Followers of Perkunas exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
end
set_counter Siauliai_spawn 0
end_if
end_monitor
;/// lithuania /// Palanga /// Palanga_Region /// Homelands
declare_counter Palanga_siege
declare_counter Palanga_spawn
monitor_conditions not I_SettlementUnderSiege Palanga
set_counter Palanga_siege 0
set_counter Palanga_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Palanga
and I_CompareCounter Palanga_siege = 0
if I_SettlementOwner Palanga = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Palanga, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Palanga = lithuania
and I_CompareCounter lithuania_start 0
create_unit Palanga, Eagle Warriors, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Sudovian Tribesmen, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Estonian Rebels, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Baltic Archers, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Dismounted Tartar Lancers, num 1, exp 0, arm 0, wep 0
set_counter Palanga_spawn 1
end_if
if I_SettlementOwner Palanga = novgorod
and I_CompareCounter novgorod_start 0
create_unit Palanga, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Palanga, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Palanga, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Palanga, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Palanga, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Palanga, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Palanga_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Palanga
and I_CompareCounter Palanga_spawn = 1
if I_SettlementOwner Palanga = lithuania
spawn_army
faction lithuania
character Vykintas, general, age 40, x 75, y 56, direction E
unit Cuman Horse Archers exp 1 armour 0 weapon_lvl 0
unit Dismounted Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Eagle Warriors exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
end
set_counter Palanga_spawn 0
end_if
end_monitor
;/// lithuania /// Hrodna /// Hrodna_Region /// Homelands
declare_counter Hrodna_siege
declare_counter Hrodna_spawn
monitor_conditions not I_SettlementUnderSiege Hrodna
set_counter Hrodna_siege 0
set_counter Hrodna_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Hrodna
and I_CompareCounter Hrodna_siege = 0
if I_SettlementOwner Hrodna = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Hrodna, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Hrodna = lithuania
and I_CompareCounter lithuania_start 0
create_unit Hrodna, Eagle Warriors, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Aztec Spear Throwers, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Sudovian Tribesmen, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Estonian Rebels, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Baltic Archers, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Lettish Crossbowmen, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Dismounted Tartar Lancers, num 1, exp 0, arm 0, wep 0
set_counter Hrodna_spawn 1
end_if
if I_SettlementOwner Hrodna = novgorod
and I_CompareCounter novgorod_start 0
create_unit Hrodna, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Hrodna, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Hrodna, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Hrodna, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Hrodna, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Hrodna, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Hrodna_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Hrodna
and I_CompareCounter Hrodna_spawn = 1
if I_SettlementOwner Hrodna = lithuania
spawn_army
faction lithuania
character Treniota of Hrodna, general, age 26, x 88, y 27, direction SE
unit Cuman Horse Archers exp 1 armour 0 weapon_lvl 0
unit Dismounted Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Eagle Warriors exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
end
set_counter Hrodna_spawn 0
end_if
end_monitor
;/// lithuania /// Lida /// Lida_Region /// Homelands
declare_counter Lida_siege
declare_counter Lida_spawn
monitor_conditions not I_SettlementUnderSiege Lida
set_counter Lida_siege 0
set_counter Lida_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Lida
and I_CompareCounter Lida_siege = 0
if I_SettlementOwner Lida = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Lida, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Lida, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Lida, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Lida, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Lida = lithuania
and I_CompareCounter lithuania_start 0
create_unit Lida, Eagle Warriors, num 1, exp 0, arm 0, wep 0
create_unit Lida, Aztec Spear Throwers, num 1, exp 0, arm 0, wep 0
create_unit Lida, Sudovian Tribesmen, num 1, exp 0, arm 0, wep 0
create_unit Lida, Estonian Rebels, num 1, exp 0, arm 0, wep 0
create_unit Lida, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Lida, Baltic Archers, num 1, exp 0, arm 0, wep 0
create_unit Lida, Lettish Crossbowmen, num 1, exp 0, arm 0, wep 0
create_unit Lida, Dismounted Tartar Lancers, num 1, exp 0, arm 0, wep 0
set_counter Lida_spawn 1
end_if
if I_SettlementOwner Lida = novgorod
and I_CompareCounter novgorod_start 0
create_unit Lida, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Lida, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Lida, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Lida, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Lida, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Lida, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Lida_siege 1
end_monitor
;/// lithuania /// Minsk /// Minsk_Region /// Homelands
declare_counter Minsk_siege
declare_counter Minsk_spawn
monitor_conditions not I_SettlementUnderSiege Minsk
set_counter Minsk_siege 0
set_counter Minsk_spawn 0
end_monitor
monitor_conditions I_SettlementUnderSiege Minsk
and I_CompareCounter Minsk_siege = 0
if I_SettlementOwner Minsk = teutonic_order
and I_CompareCounter teutonic_order_start 0
create_unit Minsk, Order Spearmen, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Prussian Archers, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Clergymen, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Order Militia, num 1, exp 0, arm 0, wep 0
end_if
if I_SettlementOwner Minsk = lithuania
and I_CompareCounter lithuania_start 0
create_unit Minsk, Eagle Warriors, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Aztec Spear Throwers, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Sudovian Tribesmen, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Estonian Rebels, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Samogitian Axemen, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Baltic Archers, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Lettish Crossbowmen, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Dismounted Tartar Lancers, num 1, exp 0, arm 0, wep 0
set_counter Minsk_spawn 1
end_if
if I_SettlementOwner Minsk = novgorod
and I_CompareCounter novgorod_start 0
create_unit Minsk, Dismounted Boyar Sons, num 1, exp 0, arm 0, wep 0
create_unit Minsk, Berdiche Axemen, num 2, exp 0, arm 0, wep 0
create_unit Minsk, EE Archer Militia, num 2, exp 0, arm 0, wep 0
create_unit Minsk, EE Crossbow Militia, num 2, exp 0, arm 0, wep 0
create_unit Minsk, EE Spear Militia, num 2, exp 0, arm 0, wep 0
create_unit Minsk, Woodsmen, num 3, exp 0, arm 0, wep 0
end_if
set_counter Minsk_siege 1
end_monitor
monitor_conditions I_SettlementUnderSiege Minsk
and I_CompareCounter Minsk_spawn = 1
if I_SettlementOwner Minsk = lithuania
spawn_army
faction lithuania
character Stanislaw, named character, age 27, x 107, y 36, direction NW
traits LoyaltyStarter 1 , ReligionStarter 1 , CharacterAges 1, TurnsAlive 1
unit Aztec Bodyguard exp 1 armour 0 weapon_lvl 0
unit Cuman Horse Archers exp 1 armour 0 weapon_lvl 0
unit Dismounted Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Tartar Lancers exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit Estonian Rebels exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit L Cavalry Militia exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Baltic Archers exp 0 armour 0 weapon_lvl 0
unit Eagle Warriors exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
unit Aztec Spear Throwers exp 0 armour 0 weapon_lvl 0
end
set_counter Minsk_spawn 0
end_if
end_monitor