script

while I_TurnNumber < 1840

select_ui_element advisor_dismiss_button

simulate_mouse_click lclick_down

simulate_mouse_click lclick_up

suspend_unscripted_advice true

;;;;;;;; spawn_army ;;;;;;

declare_counter spawn_army

if I_TurnNumber = 0

set_counter spawn_armyA 0

set_counter spawn_armyB 0

set_counter spawn_armyC 0

set_counter spawn_armyD 0

end_if
;;;;;;;; spawn_army ;;;;;;

monitor_event FactionTurnStart FactionType greek_cities

and I_TurnNumber > 21

if spawn_armyA = 0
spawn_army

faction greek_cities

character Pyrrhus of Epirus, named character, command 3, influence 1, management 1, subterfuge 0, age 38, , x 112, y 67

unit greek general's guard cavalry exp 1 armour 0 weapon_lvl 0

unit epirote pikemen exp 2 armour 0 weapon_lvl 0

unit epirote pikemen exp 1 armour 0 weapon_lvl 0

unit greek medium cavalry exp 0 armour 0 weapon_lvl 0

unit greek hoplite exp 2 armour 0 weapon_lvl 0

unit greek hoplite exp 1 armour 0 weapon_lvl 0

unit greek hoplite exp 2 armour 0 weapon_lvl 0

unit greek hoplite exp 1 armour 0 weapon_lvl 0

unit greek hoplite militia exp 0 armour 1 weapon_lvl 0

unit greek hoplite militia exp 0 armour 1 weapon_lvl 0

unit aor greece thessalian cavalry exp 1 armour 0 weapon_lvl 0

unit merc rhodian slingers exp 1 armour 0 weapon_lvl 0

unit merc cretan archers exp 1 armour 0 weapon_lvl 0

unit merc elephants exp 1 armour 0 weapon_lvl 0

unit greek hoplite militia exp 0 armour 1 weapon_lvl 0

unit merc rhodian slingers exp 1 armour 0 weapon_lvl 0

unit merc cretan archers exp 1 armour 0 weapon_lvl 0

set_counter spawn_armyA 1
end_if

terminate_monitor

end_monitor

monitor_event FactionTurnStart FactionType carthage

and I_TurnNumber > 138

if spawn_armyB = 0

spawn_army

faction carthage

character Himilcar Barca, general, command 5, influence 5, management 0, subterfuge 3, age 40, x 96, y 47

unit carthaginian general's cavalry exp 1 armour 0 weapon_lvl 0

unit carthaginian sacred band infantry exp 3 armour 1 weapon_lvl 1

unit carthaginian sacred band infantry exp 3 armour 1 weapon_lvl 1

unit libyan spearmen exp 1 armour 0 weapon_lvl 0

unit libyan spearmen exp 1 armour 0 weapon_lvl 0

unit libyan spearmen exp 2 armour 1 weapon_lvl 1

unit libyan spearmen exp 1 armour 0 weapon_lvl 0

unit aor spain infantry exp 2 armour 1 weapon_lvl 1

unit aor spain infantry exp 1 armour 0 weapon_lvl 0

unit aor spain infantry exp 1 armour 0 weapon_lvl 0

unit aor spain infantry exp 1 armour 0 weapon_lvl 0

unit aor spain infantry exp 1 armour 0 weapon_lvl 0

unit merc balearic slingers exp 2 armour 0 weapon_lvl 0

unit merc balearic slingers exp 2 armour 0 weapon_lvl 0

unit aor spain cavalry exp 2 armour 0 weapon_lvl 0

unit aor spain cavalry exp 2 armour 0 weapon_lvl 0

unit merc numidian cavalry exp 2 armour 0 weapon_lvl 0

unit merc numidian cavalry exp 2 armour 0 weapon_lvl 0

unit carthaginian elephant forest exp 0 armour 0 weapon_lvl 0

unit carthaginian elephant forest exp 0 armour 0 weapon_lvl 0

set_counter spawn_armyB 1

end_if

terminate_monitor

end_monitor

monitor_event FactionTurnStart FactionType gauls

and I_TurnNumber > 177

if spawn_armyC = 0

spawn_army

faction gauls

character Dumnorix of Bibrax, general, command 5, influence 0, management 0, subterfuge 0, age 20, , x 89, y 91

unit barb chieftain cavalry gaul exp 1 armour 0 weapon_lvl 0

unit barb infantry gaul exp 0 armour 0 weapon_lvl 0

unit barb infantry gaul exp 1 armour 0 weapon_lvl 0

unit barb infantry gaul exp 0 armour 0 weapon_lvl 0

unit barb infantry gaul exp 1 armour 0 weapon_lvl 0

unit barb infantry gaul exp 0 armour 0 weapon_lvl 0

unit barb infantry gaul exp 1 armour 0 weapon_lvl 0

unit barb infantry gaul exp 0 armour 0 weapon_lvl 0

unit barb infantry gaul exp 1 armour 0 weapon_lvl 0

unit barb peltast gaul exp 1 armour 0 weapon_lvl 0

unit barb peltast gaul exp 1 armour 0 weapon_lvl 0

unit gaul gothic hev inf exp 3 armour 0 weapon_lvl 0

unit gaul gothic hev inf exp 3 armour 0 weapon_lvl 0

unit gaul gothic hev inf exp 3 armour 0 weapon_lvl 0

unit barb cavalry gaul exp 3 armour 0 weapon_lvl 0

unit barb cavalry gaul exp 3 armour 0 weapon_lvl 0

unit barb cavalry gaul exp 3 armour 0 weapon_lvl 0

set_counter spawn_armyC 1

end_if

terminate_monitor

end_monitor

monitor_event FactionTurnStart FactionType carthage

and I_TurnNumber > 249

if spawn_armyD = 0

spawn_army

faction carthage

character Hannibal Barca, general, command 6, influence 5, management 0, subterfuge 3, age 40, x 89, y 91

unit carthaginian general's cavalry exp 1 armour 0 weapon_lvl 0

unit carthaginian sacred band infantry exp 3 armour 1 weapon_lvl 1

unit carthaginian sacred band infantry exp 3 armour 1 weapon_lvl 1

unit libyan spearmen exp 1 armour 0 weapon_lvl 0

unit libyan spearmen exp 1 armour 0 weapon_lvl 0

unit libyan spearmen exp 2 armour 1 weapon_lvl 1

unit libyan spearmen exp 1 armour 0 weapon_lvl 0

unit aor spain infantry exp 2 armour 1 weapon_lvl 1

unit aor spain infantry exp 1 armour 1 weapon_lvl 0

unit aor spain infantry exp 1 armour 1 weapon_lvl 0

unit aor spain infantry exp 1 armour 1 weapon_lvl 0

unit aor spain infantry exp 1 armour 1 weapon_lvl 0

unit merc balearic slingers exp 2 armour 1 weapon_lvl 1

unit merc balearic slingers exp 2 armour 1 weapon_lvl 1

unit aor spain cavalry exp 2 armour 0 weapon_lvl 0

unit aor spain cavalry exp 2 armour 0 weapon_lvl 0

unit merc numidian cavalry exp 2 armour 1 weapon_lvl 1

unit merc numidian cavalry exp 2 armour 1 weapon_lvl 1

unit merc numidian cavalry exp 2 armour 1 weapon_lvl 1

unit carthaginian elephant forest exp 1 armour 0 weapon_lvl 0

set_counter spawn_armyD 1

end_if

terminate_monitor

end_monitor

;;;;;;;;;;;;;;; 4 TPY ;;;;;;;;;;;;;;;;

console_command date -280

console_command season summer

declare_counter Season_Year_Turn0_Thread

while I_TurnNumber = 0

monitor_conditions I_CompareCounter Season_Year_Turn0_Thread = 0

if I_CompareCounter Season_Year_Turn0_Thread = 0

advance_advice_thread Season_Year_Turn0_Thread

inc_counter Season_Year_Turn0_Thread 1

end_if

end_monitor

suspend_unscripted_advice true

end_while

console_command date -280

console_command season summer

declare_counter Season_Year_Turn1_Thread

while I_TurnNumber = 1

monitor_conditions I_CompareCounter Season_Year_Turn1_Thread = 0

if I_CompareCounter Season_Year_Turn1_Thread = 0

advance_advice_thread Season_Year_Turn1_Thread

inc_counter Season_Year_Turn1_Thread 1

end_if

end_monitor

suspend_unscripted_advice true

end_while

## Bookmarks