Results 1 to 30 of 260

Thread: Fixing the AI money script (preliminary tests)

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #23

    Default Re: Fixing the AI money script (preliminary tests)

    @JMRC
    i think there is a little bug in your script:
    please check the lines "numidia after 175 BC" and "romans_julii after 175 BC"
    it has to be "> 388" not "< 388"

    i wrote on your basis my own script with smaller treasury incomes
    if you want to look; it doesn' work 'cause there is a bug !!! but i dont see him...
    Code:
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    ;Section 4: Money Assistance
    ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
    
    ;--------------------------------------------------
    ;Carthaginian Navy Bonus
    
    monitor_event CharacterTurnStart FactionType egypt
    and AgentType = admiral
    and not FactionIsLocal
    console_command add_money egypt, 600
    end_monitor
    
    
    ;--------------------------------------------------
    ;Romani - (272BC to 242BC) 0-30K
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 20000
    and I_TurnNumber < 120
    and not FactionIsLocal
    console_command add_money seleucid, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 2
    and Treasury < 20000
    and I_TurnNumber < 120
    and not FactionIsLocal
    console_command add_money seleucid, -10000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 1
    and Treasury < 10000
    and I_TurnNumber < 120
    and not FactionIsLocal
    console_command add_money seleucid, 20000
    end_monitor
    
    
    ;Romani - (241BC to 122BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 80000
    and I_TurnNumber > 119
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money seleucid, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber > 119
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money seleucid, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber > 119
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money seleucid, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury < 20001
    and I_TurnNumber > 119
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money seleucid, 20000
    end_monitor
    
    
    ;Romani - (after 121BC) - 50K-80K
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 140000
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money seleucid, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 110000
    and Treasury < 140001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money seleucid, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 80000
    and Treasury < 110001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money seleucid, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury > 20000
    and Treasury < 50001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money seleucid, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType seleucid
    and Treasury < 20001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money seleucid, 60000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Saka - 20K-40k
    
    monitor_event FactionTurnStart FactionType pontus
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money pontus, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType pontus
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money pontus, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType pontus
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money pontus, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType pontus
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money pontus, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType pontus
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money pontus, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType pontus
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money pontus, 40000
    
    
    ;--------------------------------------------------
    ;Arverni - 20K-40K
    
    monitor_event FactionTurnStart FactionType scythia
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money scythia, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType scythia
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money scythia, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType scythia
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money scythia, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType scythia
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money scythia, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType scythia
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money scythia, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType scythia
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money scythia, 40000
    
    
    ;--------------------------------------------------
    ;Saba - (272BC to 175BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 100000
    and I_TurnNumber < 389
    and not FactionIsLocal 
    console_command add_money saba, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber < 389
    and not FactionIsLocal 
    console_command add_money saba, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber < 389
    and not FactionIsLocal 
    console_command add_money saba, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber < 389
    and not FactionIsLocal 
    console_command add_money saba, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber < 389
    and not FactionIsLocal 
    console_command add_money saba, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury < 1
    and I_TurnNumber < 389
    and not FactionIsLocal 
    console_command add_money saba, 40000
    end_monitor
    
    
    ;Saba - (after 174BC) - 40K-70K
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 130000
    and I_TurnNumber > 388
    and not FactionIsLocal 
    console_command add_money saba, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 100000
    and Treasury < 130001
    and I_TurnNumber > 388
    and not FactionIsLocal 
    console_command add_money saba, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 70000
    and Treasury < 100001
    and I_TurnNumber > 388
    and not FactionIsLocal 
    console_command add_money saba, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury > 10000
    and Treasury < 40001
    and I_TurnNumber > 388
    and not FactionIsLocal 
    console_command add_money saba, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType saba
    and Treasury < 10001
    and I_TurnNumber > 388
    and not FactionIsLocal 
    console_command add_money saba, 60000
    end_monitor
    
    
    ;--------------------------------------------------
    
    ;Makedon  - 40K-70K
    
    monitor_event FactionTurnStart FactionType macedon
    and Treasury > 130000
    and not FactionIsLocal 
    console_command add_money macedon, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType macedon
    and Treasury > 100000
    and Treasury < 130001
    and not FactionIsLocal 
    console_command add_money macedon, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType macedon
    and Treasury > 70000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money macedon, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType macedon
    and Treasury > 10000
    and Treasury < 40001
    and not FactionIsLocal 
    console_command add_money macedon, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType macedon
    and Treasury < 10001
    and not FactionIsLocal 
    console_command add_money macedon, 60000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Ptolemaioi - (272BC to 176BC) - 50K-80K
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 140000
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money numidia, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 110000
    and Treasury < 140001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money numidia, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 80000
    and Treasury < 110001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money numidia, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 20000
    and Treasury < 50001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money numidia, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury < 20001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money numidia, 60000
    end_monitor
    
    
    ;Ptolemaioi - (after 175BC) - 40K-70K
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 130000
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money numidia, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 100000
    and Treasury < 130001
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money numidia, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 70000
    and Treasury < 100001
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money numidia, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury > 10000
    and Treasury < 40001
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money numidia, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType numidia
    and Treasury < 10001
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money numidia, 60000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Arche Seleukeia - (272BC to 176BC) - 50K-80K
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 140000
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money romans_julii, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 110000
    and Treasury < 140001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money romans_julii, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 80000
    and Treasury < 110001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money romans_julii, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 20000
    and Treasury < 50001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money romans_julii, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury < 20001
    and I_TurnNumber < 388
    and not FactionIsLocal 
    console_command add_money romans_julii, 60000
    end_monitor
    
    
    ;Arche Seleukeia - (after 175BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 100000
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money romans_julii, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money romans_julii, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money romans_julii, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money romans_julii, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money romans_julii, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_julii
    and Treasury < 1
    and I_TurnNumber > 389
    and not FactionIsLocal 
    console_command add_money romans_julii, 40000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Carthage - (272BC to 200BC) - 50K-80K
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 140000
    and I_TurnNumber < 289
    and not FactionIsLocal 
    console_command add_money egypt, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 110000
    and Treasury < 140001
    and I_TurnNumber < 289
    and not FactionIsLocal 
    console_command add_money egypt, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 80000
    and Treasury < 110001
    and I_TurnNumber < 289
    and not FactionIsLocal 
    console_command add_money egypt, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 20000
    and Treasury < 50001
    and I_TurnNumber < 289
    and not FactionIsLocal 
    console_command add_money egypt, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury < 20001
    and I_TurnNumber < 289
    and not FactionIsLocal 
    console_command add_money egypt, 60000
    end_monitor
    
    
    ;Carthage - (after 200BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 100000
    and I_TurnNumber > 290
    and not FactionIsLocal 
    console_command add_money egypt, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber > 290
    and not FactionIsLocal 
    console_command add_money egypt, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber > 290
    and not FactionIsLocal 
    console_command add_money egypt, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber > 290
    and not FactionIsLocal 
    console_command add_money egypt, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber > 290
    and not FactionIsLocal 
    console_command add_money egypt, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType egypt
    and Treasury < 1
    and I_TurnNumber > 290
    and not FactionIsLocal 
    console_command add_money egypt, 40000
    end_monitor
    
    ;--------------------------------------------------
    ;Parthians - (272BC to 248BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 100000
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money parthia, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money parthia, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money parthia, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money parthia, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money parthia, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury < 1
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money parthia, 40000
    end_monitor
    
    ;Parthians - (after 247BC) - 50K-80K
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 140000
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money parthia, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 110000
    and Treasury < 140001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money parthia, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 80000
    and Treasury < 110001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money parthia, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury > 20000
    and Treasury < 50001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money parthia, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType parthia
    and Treasury < 20001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money parthia, 60000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Pontus - (272BC to 248BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 100000
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money carthage, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money carthage, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money carthage, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money carthage, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money carthage, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury < 1
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money carthage, 40000
    end_monitor
    
    
    ;Pontus - (247BC to 114BC) - 40K-70K
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 130000
    and I_TurnNumber > 100
    and I_TurnNumber < 633
    and not FactionIsLocal 
    console_command add_money carthage, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 100000
    and Treasury < 130001
    and I_TurnNumber > 100
    and I_TurnNumber < 633
    and not FactionIsLocal 
    console_command add_money carthage, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 70000
    and Treasury < 100001
    and I_TurnNumber > 100
    and I_TurnNumber < 633
    and not FactionIsLocal 
    console_command add_money carthage, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 10000
    and Treasury < 40001
    and I_TurnNumber > 100
    and I_TurnNumber < 633
    and not FactionIsLocal 
    console_command add_money carthage, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury < 10001
    and I_TurnNumber > 100
    and I_TurnNumber < 633
    and not FactionIsLocal 
    console_command add_money carthage, 60000
    end_monitor
    
    
    ;Pontus - (after 113BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 100000
    and I_TurnNumber > 632
    and not FactionIsLocal 
    console_command add_money carthage, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber > 632
    and not FactionIsLocal 
    console_command add_money carthage, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber > 632
    and not FactionIsLocal 
    console_command add_money carthage, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber > 632
    and not FactionIsLocal 
    console_command add_money carthage, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber > 632
    and not FactionIsLocal 
    console_command add_money carthage, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType carthage
    and Treasury < 1
    and I_TurnNumber > 632
    and not FactionIsLocal 
    console_command add_money carthage, 40000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Aedui - gauls - 20K-40K
    
    monitor_event FactionTurnStart FactionType gauls
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money gauls, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType gauls
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money gauls, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType gauls
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money gauls, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType gauls
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money gauls, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType gauls
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money gauls, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType gauls
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money gauls, 40000
    
    
    ;--------------------------------------------------
    ;Sweboz - (272BC to 122BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 100000
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money germans, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money germans, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money germans, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money germans, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money germans, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury < 1
    and I_TurnNumber < 600
    and not FactionIsLocal 
    console_command add_money germans, 40000
    end_monitor
    
    
    ;Sweboz - (after 121BC) - 50K-80K
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 140000
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money germans, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 110000
    and Treasury < 140001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money germans, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 80000
    and Treasury < 110001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money germans, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury > 20000
    and Treasury < 50001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money germans, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType germans
    and Treasury < 20001
    and I_TurnNumber > 601
    and not FactionIsLocal 
    console_command add_money germans, 60000
    end_monitor
    
    ;--------------------------------------------------
    ;Casse - 20K-40K
    
    monitor_event FactionTurnStart FactionType britons
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money britons, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType britons
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money britons, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType britons
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money britons, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType britons
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money britons, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType britons
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money britons, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType britons
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money britons, 40000
    
    
    ;--------------------------------------------------
    ;Hayasdan - (272BC to 248BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 100000
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money romans_scipii, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money romans_scipii, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money romans_scipii, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money romans_scipii, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money romans_scipii, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury < 1
    and I_TurnNumber < 101
    and not FactionIsLocal 
    console_command add_money romans_scipii, 40000
    end_monitor
    
    
    ;Hayasdan - (after 247BC) - 40K-70K
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 130000
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money romans_scipii, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 100000
    and Treasury < 130001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money romans_scipii, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 70000
    and Treasury < 100001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money romans_scipii, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury > 10000
    and Treasury < 40001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money romans_scipii, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_scipii
    and Treasury < 10001
    and I_TurnNumber > 100
    and not FactionIsLocal 
    console_command add_money romans_scipii, 60000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Getai - 20K-40K
    
    monitor_event FactionTurnStart FactionType dacia
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money dacia, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType dacia
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money dacia, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType dacia
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money dacia, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType dacia
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money dacia, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType dacia
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money dacia, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType dacia
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money dacia, 40000
    
    
    ;--------------------------------------------------
    ;Koinon Hellenon - (272BC to 262BC) - 40K-70K
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 130000
    and I_TurnNumber < 41
    and not FactionIsLocal 
    console_command add_money greek_cities, -90000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 100000
    and Treasury < 130001
    and I_TurnNumber < 41
    and not FactionIsLocal 
    console_command add_money greek_cities, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 70000
    and Treasury < 100001
    and I_TurnNumber < 41
    and not FactionIsLocal 
    console_command add_money greek_cities, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 10000
    and Treasury < 40001
    and I_TurnNumber < 41
    and not FactionIsLocal 
    console_command add_money greek_cities, 30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury < 10001
    and I_TurnNumber < 41
    and not FactionIsLocal 
    console_command add_money greek_cities, 60000
    end_monitor
    
    
    ;Koinon Hellenon - (after 262BC) - 20K-40K
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 100000
    and I_TurnNumber > 40
    and not FactionIsLocal 
    console_command add_money greek_cities, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 80000
    and Treasury < 100001
    and I_TurnNumber > 40
    and not FactionIsLocal 
    console_command add_money greek_cities, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 60000
    and Treasury < 80001
    and I_TurnNumber > 40
    and not FactionIsLocal 
    console_command add_money greek_cities, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 40000
    and Treasury < 60001
    and I_TurnNumber > 40
    and not FactionIsLocal 
    console_command add_money greek_cities, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury > 0
    and Treasury < 20000
    and I_TurnNumber > 40
    and not FactionIsLocal 
    console_command add_money greek_cities, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType greek_cities
    and Treasury < 1
    and I_TurnNumber > 40
    and not FactionIsLocal 
    console_command add_money greek_cities, 40000
    
    
    ;--------------------------------------------------
    ;Baktria - 20K-40K
    
    monitor_event FactionTurnStart FactionType romans_brutii
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money romans_brutii, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_brutii
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money romans_brutii, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_brutii
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money romans_brutii, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_brutii
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money romans_brutii, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_brutii
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money romans_brutii, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType romans_brutii
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money romans_brutii, 40000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Sauromatae - 20K-40K
    
    monitor_event FactionTurnStart FactionType armenia
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money armenia, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType armenia
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money armenia, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType armenia
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money armenia, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType armenia
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money armenia, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType armenia
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money armenia, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType armenia
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money armenia, 40000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Lusotannan - 20K-40K
    
    monitor_event FactionTurnStart FactionType spain
    and Treasury > 100000
    and not FactionIsLocal 
    console_command add_money romans_brutii, -80000
    end_monitor
    
    monitor_event FactionTurnStart FactionType spain
    and Treasury > 80000
    and Treasury < 100001
    and not FactionIsLocal 
    console_command add_money spain, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType spain
    and Treasury > 60000
    and Treasury < 80001
    and not FactionIsLocal 
    console_command add_money spain, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType spain
    and Treasury > 40000
    and Treasury < 60001
    and not FactionIsLocal 
    console_command add_money spain, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType spain
    and Treasury > 0
    and Treasury < 20000
    and not FactionIsLocal 
    console_command add_money spain, 20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType spain
    and Treasury < 1
    and not FactionIsLocal 
    console_command add_money spain, 40000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Epeiros - thrace (272BC to 168BC) - 30K-60K
    
    monitor_event FactionTurnStart FactionType thrace
    and Treasury > 90000
    and I_TurnNumber < 417
    and not FactionIsLocal 
    console_command add_money thrace, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType thrace
    and Treasury > 60000
    and Treasury < 90001
    and I_TurnNumber < 417
    and not FactionIsLocal 
    console_command add_money thrace, -30000
    end_monitor
    
    monitor_event FactionTurnStart FactionType thrace
    and Treasury < 30001
    and I_TurnNumber < 417
    and not FactionIsLocal 
    console_command add_money thrace, 30000
    end_monitor
    
    
    ;Epeiros - thrace (after 167BC) - 10K-30K
    
    monitor_event FactionTurnStart FactionType thrace
    and Treasury > 70000
    and I_TurnNumber > 416
    and not FactionIsLocal 
    console_command add_money thrace, -60000
    end_monitor
    
    monitor_event FactionTurnStart FactionType thrace
    and Treasury > 50000
    and Treasury < 70001
    and I_TurnNumber > 416
    and not FactionIsLocal 
    console_command add_money thrace, -40000
    end_monitor
    
    monitor_event FactionTurnStart FactionType thrace
    and Treasury > 30000
    and Treasury < 50001
    and I_TurnNumber > 416
    and not FactionIsLocal 
    console_command add_money thrace, -20000
    end_monitor
    
    monitor_event FactionTurnStart FactionType thrace
    and Treasury < 10001
    and I_TurnNumber > 416
    and not FactionIsLocal 
    console_command add_money thrace, 20000
    end_monitor
    
    
    ;--------------------------------------------------
    ;Eleutheroi - slave
    
    monitor_event SettlementTurnStart FactionType slave
    and not FactionIsLocal
    
    console_command add_money slave, 2850
    
    end_monitor
    Last edited by pilatus; 06-12-2007 at 15:37.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Single Sign On provided by vBSSO