;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AI ASSISTANCE;;;;;;;;;;;
;##########################SLAVE FLORIN OVERFLOW MANAGER########################
monitor_event SettlementTurnStart FactionType slave
console_command add_money slave, 2000
end_monitor
monitor_event SettlementTurnStart FactionType slave
and Treasury > 250000
console_command add_money slave, -150000
end_monitor
;*************Not too much
monitor_event FactionTurnStart FactionType england
and not FactionIsLocal
and Treasury > 100000
console_command add_money england, -25000
increment_kings_purse england -2000
end_monitor
monitor_event FactionTurnStart FactionType france
and not FactionIsLocal
and Treasury > 100000
console_command add_money france, -25000
increment_kings_purse france -2000
end_monitor
monitor_event FactionTurnStart FactionType hre
and not FactionIsLocal
and Treasury > 100000
console_command add_money hre, -25000
increment_kings_purse hre -2000
end_monitor
monitor_event FactionTurnStart FactionType spain
and not FactionIsLocal
and Treasury > 100000
console_command add_money spain, -25000
increment_kings_purse spain -2000
end_monitor
monitor_event FactionTurnStart FactionType venice
and not FactionIsLocal
and Treasury > 100000
console_command add_money venice, -25000
increment_kings_purse venice -2000
end_monitor
monitor_event FactionTurnStart FactionType sicily
and not FactionIsLocal
and Treasury > 100000
console_command add_money sicily, -25000
increment_kings_purse sicily -2000
end_monitor
monitor_event FactionTurnStart FactionType milan
and not FactionIsLocal
and Treasury > 100000
console_command add_money milan, -25000
increment_kings_purse milan -2000
end_monitor
monitor_event FactionTurnStart FactionType scotland
and not FactionIsLocal
and Treasury > 100000
console_command add_money scotland, -25000
increment_kings_purse scotland -2000
end_monitor
monitor_event FactionTurnStart FactionType byzantium
and not FactionIsLocal
and Treasury > 100000
console_command add_money byzantium, -25000
increment_kings_purse byzantium -2000
end_monitor
monitor_event FactionTurnStart FactionType russia
and not FactionIsLocal
and Treasury > 100000
console_command add_money russia, -25000
increment_kings_purse russia -2000
end_monitor
monitor_event FactionTurnStart FactionType turks
and not FactionIsLocal
and Treasury > 100000
console_command add_money turks, -25000
increment_kings_purse turks -2000
end_monitor
monitor_event FactionTurnStart FactionType egypt
and not FactionIsLocal
and Treasury > 100000
console_command add_money egypt, -25000
increment_kings_purse egypt -2000
end_monitor
monitor_event FactionTurnStart FactionType denmark
and not FactionIsLocal
and Treasury > 100000
console_command add_money denmark, -25000
increment_kings_purse denmark -2000
end_monitor
monitor_event FactionTurnStart FactionType portugal
and not FactionIsLocal
and Treasury > 100000
console_command add_money portugal, -25000
increment_kings_purse portugal -2000
end_monitor
monitor_event FactionTurnStart FactionType poland
and not FactionIsLocal
and Treasury > 100000
console_command add_money poland, -25000
increment_kings_purse poland -2000
end_monitor
monitor_event FactionTurnStart FactionType hungary
and not FactionIsLocal
and Treasury > 100000
console_command add_money hungary, -25000
increment_kings_purse hungary -2000
end_monitor
monitor_event FactionTurnStart FactionType moors
and not FactionIsLocal
and Treasury > 100000
console_command add_money moors, -25000
increment_kings_purse moors -2000
end_monitor
monitor_event FactionTurnStart FactionType norway
and not FactionIsLocal
and Treasury > 100000
console_command add_money norway, -25000
increment_kings_purse norway -2000
end_monitor
monitor_event FactionTurnStart FactionType armenia
and not FactionIsLocal
and Treasury > 100000
console_command add_money armenia, -25000
increment_kings_purse armenia -2000
end_monitor
monitor_event FactionTurnStart FactionType novgorod
and not FactionIsLocal
and Treasury > 100000
console_command add_money novgorod, -25000
increment_kings_purse novgorod -2000
end_monitor
monitor_event FactionTurnStart FactionType seljuks
and not FactionIsLocal
and Treasury > 100000
console_command add_money seljuks, -25000
increment_kings_purse seljuks -2000
end_monitor
monitor_event FactionTurnStart FactionType georgia
and not FactionIsLocal
and Treasury > 100000
console_command add_money georgia, -25000
increment_kings_purse georgia -2000
end_monitor
monitor_event FactionTurnStart FactionType aragon
and not FactionIsLocal
and Treasury > 100000
console_command add_money aragon, -25000
increment_kings_purse aragon -2000
end_monitor
;*************economic hiccup
monitor_event FactionTurnStart FactionType england
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse england -500
end_monitor
monitor_event FactionTurnStart FactionType france
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse france -500
end_monitor
monitor_event FactionTurnStart FactionType hre
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse hre -500
end_monitor
monitor_event FactionTurnStart FactionType spain
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse spain -500
end_monitor
monitor_event FactionTurnStart FactionType venice
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse venice -500
end_monitor
monitor_event FactionTurnStart FactionType sicily
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse sicily -500
end_monitor
monitor_event FactionTurnStart FactionType milan
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse milan -500
end_monitor
monitor_event FactionTurnStart FactionType scotland
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse scotland -500
end_monitor
monitor_event FactionTurnStart FactionType byzantium
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse byzantium -500
end_monitor
monitor_event FactionTurnStart FactionType russia
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse russia -500
end_monitor
monitor_event FactionTurnStart FactionType moors
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse moors -500
end_monitor
monitor_event FactionTurnStart FactionType turks
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse turks -500
end_monitor
monitor_event FactionTurnStart FactionType egypt
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse egypt -500
end_monitor
monitor_event FactionTurnStart FactionType denmark
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse denmark -500
end_monitor
monitor_event FactionTurnStart FactionType portugal
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse portugal -500
end_monitor
monitor_event FactionTurnStart FactionType poland
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse poland -500
end_monitor
monitor_event FactionTurnStart FactionType hungary
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse hungary -500
end_monitor
monitor_event FactionTurnStart FactionType novgorod
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse novgorod -500
end_monitor
monitor_event FactionTurnStart FactionType norway
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse norway -500
end_monitor
monitor_event FactionTurnStart FactionType aragon
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse aragon -500
end_monitor
monitor_event FactionTurnStart FactionType armenia
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse armenia -500
end_monitor
monitor_event FactionTurnStart FactionType georgia
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse georgia -500
end_monitor
monitor_event FactionTurnStart FactionType seljuks
and not FactionIsLocal
and Treasury > 10000
and RandomPercent <= 25
increment_kings_purse seljuks -500
end_monitor
;#######################AI ASSISTANCE II############################
;;;;;;;;;;;;;;;;;;increment purse
monitor_event FactionTurnStart FactionIsLocal
and FactionBuildingExists = stone_wall
if I_IsFactionAIControlled england
increment_kings_purse england 500
end_if
if I_IsFactionAIControlled spain
increment_kings_purse spain 500
end_if
if I_IsFactionAIControlled hre
increment_kings_purse hre 500
end_if
if I_IsFactionAIControlled venice
increment_kings_purse venice 500
end_if
if I_IsFactionAIControlled sicily
increment_kings_purse sicily 500
end_if
if I_IsFactionAIControlled milan
increment_kings_purse milan 500
end_if
if I_IsFactionAIControlled scotland
increment_kings_purse scotland 500
end_if
if I_IsFactionAIControlled byzantium
increment_kings_purse byzantium 500
end_if
if I_IsFactionAIControlled russia
increment_kings_purse russia 500
end_if
if I_IsFactionAIControlled turks
increment_kings_purse turks 500
end_if
if I_IsFactionAIControlled egypt
increment_kings_purse egypt 500
end_if
if I_IsFactionAIControlled denmark
increment_kings_purse denmark 500
end_if
if I_IsFactionAIControlled portugal
increment_kings_purse portugal 500
end_if
if I_IsFactionAIControlled hungary
increment_kings_purse hungary 500
end_if
if I_IsFactionAIControlled poland
increment_kings_purse poland 500
end_if
if I_IsFactionAIControlled moors
increment_kings_purse moors 500
end_if
if I_IsFactionAIControlled france
increment_kings_purse france 500
end_if
if I_IsFactionAIControlled norway
increment_kings_purse norway 500
end_if
if I_IsFactionAIControlled armenia
increment_kings_purse armenia 500
end_if
if I_IsFactionAIControlled novgorod
increment_kings_purse novgorod 500
end_if
if I_IsFactionAIControlled seljuks
increment_kings_purse seljuks 500
end_if
if I_IsFactionAIControlled georgia
increment_kings_purse georgia 500
end_if
if I_IsFactionAIControlled aragon
increment_kings_purse aragon 500
end_if
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and FactionBuildingExists = large_stone_wall
if I_IsFactionAIControlled england
increment_kings_purse england 750
end_if
if I_IsFactionAIControlled spain
increment_kings_purse spain 750
end_if
if I_IsFactionAIControlled hre
increment_kings_purse hre 750
end_if
if I_IsFactionAIControlled venice
increment_kings_purse venice 750
end_if
if I_IsFactionAIControlled sicily
increment_kings_purse sicily 750
end_if
if I_IsFactionAIControlled milan
increment_kings_purse milan 750
end_if
if I_IsFactionAIControlled scotland
increment_kings_purse scotland 750
end_if
if I_IsFactionAIControlled byzantium
increment_kings_purse byzantium 750
end_if
if I_IsFactionAIControlled russia
increment_kings_purse russia 750
end_if
if I_IsFactionAIControlled turks
increment_kings_purse turks 750
end_if
if I_IsFactionAIControlled egypt
increment_kings_purse egypt 750
end_if
if I_IsFactionAIControlled denmark
increment_kings_purse denmark 750
end_if
if I_IsFactionAIControlled portugal
increment_kings_purse portugal 750
end_if
if I_IsFactionAIControlled hungary
increment_kings_purse hungary 750
end_if
if I_IsFactionAIControlled poland
increment_kings_purse poland 750
end_if
if I_IsFactionAIControlled moors
increment_kings_purse moors 750
end_if
if I_IsFactionAIControlled france
increment_kings_purse france 750
end_if
if I_IsFactionAIControlled norway
increment_kings_purse norway 750
end_if
if I_IsFactionAIControlled armenia
increment_kings_purse armenia 750
end_if
if I_IsFactionAIControlled novgorod
increment_kings_purse novgorod 750
end_if
if I_IsFactionAIControlled seljuks
increment_kings_purse seljuks 750
end_if
if I_IsFactionAIControlled georgia
increment_kings_purse georgia 750
end_if
if I_IsFactionAIControlled aragon
increment_kings_purse aragon 750
end_if
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and FactionBuildingExists = huge_stone_wall
if I_IsFactionAIControlled england
increment_kings_purse england 1000
end_if
if I_IsFactionAIControlled spain
increment_kings_purse spain 1000
end_if
if I_IsFactionAIControlled hre
increment_kings_purse hre 1000
end_if
if I_IsFactionAIControlled venice
increment_kings_purse venice 1000
end_if
if I_IsFactionAIControlled sicily
increment_kings_purse sicily 1000
end_if
if I_IsFactionAIControlled milan
increment_kings_purse milan 1000
end_if
if I_IsFactionAIControlled scotland
increment_kings_purse scotland 1000
end_if
if I_IsFactionAIControlled byzantium
increment_kings_purse byzantium 1000
end_if
if I_IsFactionAIControlled russia
increment_kings_purse russia 1000
end_if
if I_IsFactionAIControlled turks
increment_kings_purse turks 1000
end_if
if I_IsFactionAIControlled egypt
increment_kings_purse egypt 1000
end_if
if I_IsFactionAIControlled denmark
increment_kings_purse denmark 1000
end_if
if I_IsFactionAIControlled portugal
increment_kings_purse portugal 1000
end_if
if I_IsFactionAIControlled hungary
increment_kings_purse hungary 1000
end_if
if I_IsFactionAIControlled poland
increment_kings_purse poland 1000
end_if
if I_IsFactionAIControlled moors
increment_kings_purse moors 1000
end_if
if I_IsFactionAIControlled france
increment_kings_purse france 1000
end_if
if I_IsFactionAIControlled norway
increment_kings_purse norway 1000
end_if
if I_IsFactionAIControlled armenia
increment_kings_purse armenia 1000
end_if
if I_IsFactionAIControlled novgorod
increment_kings_purse novgorod 1000
end_if
if I_IsFactionAIControlled seljuks
increment_kings_purse seljuks 1000
end_if
if I_IsFactionAIControlled georgia
increment_kings_purse georgia 1000
end_if
if I_IsFactionAIControlled aragon
increment_kings_purse aragon 1000
end_if
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and FactionBuildingExists = gunsmith
if I_IsFactionAIControlled england
increment_kings_purse england 1000
end_if
if I_IsFactionAIControlled spain
increment_kings_purse spain 1000
end_if
if I_IsFactionAIControlled hre
increment_kings_purse hre 1000
end_if
if I_IsFactionAIControlled venice
increment_kings_purse venice 1000
end_if
if I_IsFactionAIControlled sicily
increment_kings_purse sicily 1000
end_if
if I_IsFactionAIControlled milan
increment_kings_purse milan 1000
end_if
if I_IsFactionAIControlled scotland
increment_kings_purse scotland 1000
end_if
if I_IsFactionAIControlled byzantium
increment_kings_purse byzantium 1000
end_if
if I_IsFactionAIControlled russia
increment_kings_purse russia 1000
end_if
if I_IsFactionAIControlled turks
increment_kings_purse turks 1000
end_if
if I_IsFactionAIControlled egypt
increment_kings_purse egypt 1000
end_if
if I_IsFactionAIControlled denmark
increment_kings_purse denmark 1000
end_if
if I_IsFactionAIControlled portugal
increment_kings_purse portugal 1000
end_if
if I_IsFactionAIControlled hungary
increment_kings_purse hungary 1000
end_if
if I_IsFactionAIControlled poland
increment_kings_purse poland 1000
end_if
if I_IsFactionAIControlled moors
increment_kings_purse moors 1000
end_if
if I_IsFactionAIControlled france
increment_kings_purse france 1000
end_if
if I_IsFactionAIControlled norway
increment_kings_purse norway 1000
end_if
if I_IsFactionAIControlled armenia
increment_kings_purse armenia 1000
end_if
if I_IsFactionAIControlled novgorod
increment_kings_purse novgorod 1000
end_if
if I_IsFactionAIControlled seljuks
increment_kings_purse seljuks 1000
end_if
if I_IsFactionAIControlled georgia
increment_kings_purse georgia 1000
end_if
if I_IsFactionAIControlled aragon
increment_kings_purse aragon 1000
end_if
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and FactionBuildingExists = merchants_quarter
if I_IsFactionAIControlled england
increment_kings_purse england 500
end_if
if I_IsFactionAIControlled spain
increment_kings_purse spain 500
end_if
if I_IsFactionAIControlled hre
increment_kings_purse hre 500
end_if
if I_IsFactionAIControlled venice
increment_kings_purse venice 500
end_if
if I_IsFactionAIControlled sicily
increment_kings_purse sicily 500
end_if
if I_IsFactionAIControlled milan
increment_kings_purse milan 500
end_if
if I_IsFactionAIControlled scotland
increment_kings_purse scotland 500
end_if
if I_IsFactionAIControlled byzantium
increment_kings_purse byzantium 500
end_if
if I_IsFactionAIControlled russia
increment_kings_purse russia 500
end_if
if I_IsFactionAIControlled turks
increment_kings_purse turks 500
end_if
if I_IsFactionAIControlled egypt
increment_kings_purse egypt 500
end_if
if I_IsFactionAIControlled denmark
increment_kings_purse denmark 500
end_if
if I_IsFactionAIControlled portugal
increment_kings_purse portugal 500
end_if
if I_IsFactionAIControlled hungary
increment_kings_purse hungary 500
end_if
if I_IsFactionAIControlled poland
increment_kings_purse poland 500
end_if
if I_IsFactionAIControlled moors
increment_kings_purse moors 500
end_if
if I_IsFactionAIControlled france
increment_kings_purse france 500
end_if
if I_IsFactionAIControlled norway
increment_kings_purse norway 500
end_if
if I_IsFactionAIControlled armenia
increment_kings_purse armenia 500
end_if
if I_IsFactionAIControlled novgorod
increment_kings_purse novgorod 500
end_if
if I_IsFactionAIControlled seljuks
increment_kings_purse seljuks 500
end_if
if I_IsFactionAIControlled georgia
increment_kings_purse georgia 500
end_if
if I_IsFactionAIControlled aragon
increment_kings_purse aragon 500
end_if
terminate_monitor
end_monitor
monitor_event FactionTurnStart FactionIsLocal
and FactionBuildingExists = docklands
if I_IsFactionAIControlled england
increment_kings_purse england 750
end_if
if I_IsFactionAIControlled spain
increment_kings_purse spain 750
end_if
if I_IsFactionAIControlled hre
increment_kings_purse hre 750
end_if
if I_IsFactionAIControlled venice
increment_kings_purse venice 750
end_if
if I_IsFactionAIControlled sicily
increment_kings_purse sicily 750
end_if
if I_IsFactionAIControlled milan
increment_kings_purse milan 750
end_if
if I_IsFactionAIControlled scotland
increment_kings_purse scotland 750
end_if
if I_IsFactionAIControlled byzantium
increment_kings_purse byzantium 750
end_if
if I_IsFactionAIControlled russia
increment_kings_purse russia 750
end_if
if I_IsFactionAIControlled turks
increment_kings_purse turks 750
end_if
if I_IsFactionAIControlled egypt
increment_kings_purse egypt 750
end_if
if I_IsFactionAIControlled denmark
increment_kings_purse denmark 750
end_if
if I_IsFactionAIControlled portugal
increment_kings_purse portugal 750
end_if
if I_IsFactionAIControlled hungary
increment_kings_purse hungary 750
end_if
if I_IsFactionAIControlled poland
increment_kings_purse poland 750
end_if
if I_IsFactionAIControlled moors
increment_kings_purse moors 750
end_if
if I_IsFactionAIControlled france
increment_kings_purse france 750
end_if
if I_IsFactionAIControlled norway
increment_kings_purse norway 750
end_if
if I_IsFactionAIControlled armenia
increment_kings_purse armenia 750
end_if
if I_IsFactionAIControlled novgorod
increment_kings_purse novgorod 750
end_if
if I_IsFactionAIControlled seljuks
increment_kings_purse seljuks 750
end_if
if I_IsFactionAIControlled georgia
increment_kings_purse georgia 750
end_if
if I_IsFactionAIControlled aragon
increment_kings_purse aragon 750
end_if
terminate_monitor
end_monitor
;#######################NEGATIVE AI TREASURY ASSISTANCE########
;###########################################Broke?##############################
monitor_event FactionTurnStart FactionType england
and not FactionIsLocal
and Treasury < 1000
console_command add_money england, 10000
increment_kings_purse england 500
end_monitor
monitor_event FactionTurnStart FactionType france
and not FactionIsLocal
and Treasury < 1000
console_command add_money france, 10000
increment_kings_purse france 500
end_monitor
monitor_event FactionTurnStart FactionType hre
and not FactionIsLocal
and Treasury < 1000
console_command add_money hre, 10000
increment_kings_purse hre 500
end_monitor
monitor_event FactionTurnStart FactionType spain
and not FactionIsLocal
and Treasury < 1000
console_command add_money spain, 10000
increment_kings_purse spain 500
end_monitor
monitor_event FactionTurnStart FactionType venice
and not FactionIsLocal
and Treasury < 1000
console_command add_money venice, 10000
increment_kings_purse venice 500
end_monitor
monitor_event FactionTurnStart FactionType sicily
and not FactionIsLocal
and Treasury < 1000
console_command add_money sicily, 10000
increment_kings_purse sicily 500
end_monitor
monitor_event FactionTurnStart FactionType milan
and not FactionIsLocal
and Treasury < 1000
console_command add_money milan, 10000
increment_kings_purse milan 500
end_monitor
monitor_event FactionTurnStart FactionType scotland
and not FactionIsLocal
and Treasury < 1000
console_command add_money scotland, 10000
increment_kings_purse scotland 500
end_monitor
monitor_event FactionTurnStart FactionType byzantium
and not FactionIsLocal
and Treasury < 1000
console_command add_money byzantium, 10000
increment_kings_purse byzantium 500
end_monitor
monitor_event FactionTurnStart FactionType russia
and not FactionIsLocal
and Treasury < 1000
console_command add_money russia, 10000
increment_kings_purse russia 500
end_monitor
monitor_event FactionTurnStart FactionType novgorod
and not FactionIsLocal
and Treasury < 1000
console_command add_money novgorod, 10000
increment_kings_purse novgorod 500
end_monitor
monitor_event FactionTurnStart FactionType moors
and not FactionIsLocal
and Treasury < 1000
console_command add_money moors, 10000
increment_kings_purse moors 500
end_monitor
monitor_event FactionTurnStart FactionType turks
and not FactionIsLocal
and Treasury < 1000
console_command add_money turks, 10000
increment_kings_purse turks 500
end_monitor
monitor_event FactionTurnStart FactionType egypt
and not FactionIsLocal
and Treasury < 1000
console_command add_money egypt, 10000
increment_kings_purse egypt 500
end_monitor
monitor_event FactionTurnStart FactionType denmark
and not FactionIsLocal
and Treasury < 1000
console_command add_money denmark, 10000
increment_kings_purse denmark 1000
end_monitor
monitor_event FactionTurnStart FactionType portugal
and not FactionIsLocal
and Treasury < 1000
console_command add_money portugal, 10000
increment_kings_purse portugal 500
end_monitor
monitor_event FactionTurnStart FactionType poland
and not FactionIsLocal
and Treasury < 1000
console_command add_money poland, 10000
increment_kings_purse poland 500
end_monitor
monitor_event FactionTurnStart FactionType hungary
and not FactionIsLocal
and Treasury < 1000
console_command add_money hungary, 10000
increment_kings_purse hungary 500
end_monitor
monitor_event FactionTurnStart FactionType norway
and not FactionIsLocal
and Treasury < 1000
console_command add_money norway, 10000
increment_kings_purse norway 500
end_monitor
monitor_event FactionTurnStart FactionType aragon
and not FactionIsLocal
and Treasury < 1000
console_command add_money aragon, 10000
increment_kings_purse aragon 500
end_monitor
monitor_event FactionTurnStart FactionType georgia
and not FactionIsLocal
and Treasury < 1000
console_command add_money georgia, 10000
increment_kings_purse georgia 500
end_monitor
monitor_event FactionTurnStart FactionType armenia
and not FactionIsLocal
and Treasury < 1000
console_command add_money armenia, 10000
increment_kings_purse armenia 500
end_monitor
monitor_event FactionTurnStart FactionType seljuks
and not FactionIsLocal
and Treasury < 1000
console_command add_money seljuks, 10000
increment_kings_purse seljuks 500
end_monitor
;****************increment purse/financial bailouts************************
;##########################AI ASSISTANCE I########################
monitor_event SettlementTurnStart FactionType england
and not SettlementIsLocal
console_command add_money england, 750
end_monitor
monitor_event SettlementTurnStart FactionType scotland
and not SettlementIsLocal
console_command add_money scotland, 250
end_monitor
monitor_event SettlementTurnStart FactionType france
and not SettlementIsLocal
console_command add_money france, 750
end_monitor
monitor_event SettlementTurnStart FactionType hre
and not SettlementIsLocal
console_command add_money hre, 750
end_monitor
monitor_event SettlementTurnStart FactionType spain
and not SettlementIsLocal
console_command add_money spain, 750
end_monitor
monitor_event SettlementTurnStart FactionType venice
and not SettlementIsLocal
console_command add_money venice, 50
end_monitor
monitor_event SettlementTurnStart FactionType sicily
and not SettlementIsLocal
console_command add_money sicily, 750
end_monitor
monitor_event SettlementTurnStart FactionType milan
and not SettlementIsLocal
console_command add_money milan, 50
end_monitor
monitor_event SettlementTurnStart FactionType portugal
and not SettlementIsLocal
console_command add_money portugal, 350
end_monitor
monitor_event SettlementTurnStart FactionType aragon
and not SettlementIsLocal
console_command add_money aragon, 500
end_monitor
monitor_event SettlementTurnStart FactionType denmark
and not SettlementIsLocal
console_command add_money denmark, 500
end_monitor
monitor_event SettlementTurnStart FactionType norway
and not SettlementIsLocal
console_command add_money norway, 400
end_monitor
monitor_event SettlementTurnStart FactionType poland
and not SettlementIsLocal
console_command add_money poland, 500
end_monitor
monitor_event SettlementTurnStart FactionType hungary
and not SettlementIsLocal
console_command add_money hungary, 250
end_monitor
monitor_event SettlementTurnStart FactionType russia
and not SettlementIsLocal
console_command add_money russia, 750
end_monitor
monitor_event SettlementTurnStart FactionType novgorod
and not SettlementIsLocal
console_command add_money novgorod, 500
end_monitor
monitor_event SettlementTurnStart FactionType byzantium
and not SettlementIsLocal
console_command add_money byzantium, 250
end_monitor
monitor_event SettlementTurnStart FactionType armenia
and not SettlementIsLocal
console_command add_money armenia, 1000
end_monitor
monitor_event SettlementTurnStart FactionType georgia
and not SettlementIsLocal
console_command add_money georgia, 1000
end_monitor
monitor_event SettlementTurnStart FactionType turks
and not SettlementIsLocal
console_command add_money turks, 750
end_monitor
monitor_event SettlementTurnStart FactionType seljuks
and not SettlementIsLocal
console_command add_money seljuks, 750
end_monitor
monitor_event SettlementTurnStart FactionType egypt
and not SettlementIsLocal
console_command add_money egypt, 1000
end_monitor
monitor_event SettlementTurnStart FactionType moors
and not SettlementIsLocal
console_command add_money moors, 750
end_monitor