;-------------- BULGARIAN UPRISING ------------------;

monitor_event FactionTurnStart FactionType Slave

and I_TurnNumber = 50

if not I_SettlementOwner Sofia = Slave

spawn_army

faction slave

character Peter of_Bulgaria, named character, age 30, x 250, y 157

traits GoodCommander 4

unit EE Bodyguard exp 2 armour 0 weapon_lvl 0

unit Mailed Knights exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Croat Axemen exp 2 armour 0 weapon_lvl 0

unit Croat Axemen exp 2 armour 0 weapon_lvl 0

unit Magyar Cavalry exp 2 armour 0 weapon_lvl 0

unit Magyar Cavalry exp 2 armour 0 weapon_lvl 0

end

;siege_settlement Peter of_Bulgaria, Sofia, maintain

set_event_counter sofia_rebel 1

set_event_counter bulgarians_rebel 1

end_if

if not I_SettlementOwner Scopia = Slave

spawn_army

faction slave

character Ivan, named character, age 30, x 236, y 151

traits GoodCommander 4

unit EE Bodyguard exp 2 armour 0 weapon_lvl 0

unit Mailed Knights exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Croat Axemen exp 2 armour 0 weapon_lvl 0

unit Croat Axemen exp 2 armour 0 weapon_lvl 0

unit Magyar Cavalry exp 2 armour 0 weapon_lvl 0

unit Magyar Cavalry exp 2 armour 0 weapon_lvl 0

end

;siege_settlement Ivan, Scopia, maintain

set_event_counter scopia_rebel 1

set_event_counter bulgarians_rebel 1

end_if

if not I_SettlementOwner Adrianople = Slave

spawn_army

faction slave

character Kalman, named character, age 30, x 267, y 147

traits GoodCommander 4

unit EE Bodyguard exp 2 armour 0 weapon_lvl 0

unit Mailed Knights exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Bulgarian Brigands exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Slav Levies exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Balkan Archers exp 2 armour 0 weapon_lvl 0

unit Croat Axemen exp 2 armour 0 weapon_lvl 0

unit Croat Axemen exp 2 armour 0 weapon_lvl 0

unit Magyar Cavalry exp 2 armour 0 weapon_lvl 0

unit Magyar Cavalry exp 2 armour 0 weapon_lvl 0

end

;siege_settlement Kalman, Adrianople, maintain

set_event_counter adrianople_rebel 1

set_event_counter bulgarians_rebel 1

end_if

if I_EventCounter bulgarians_rebel = 1

add_events

event historic bulgarian_uprising

date 0

end_add_events

end_if

terminate_monitor

end_monitor

;-----optional command to add money to slave faction for these armies-------------

;-----what the slave faction will spend its money on is another matter--------------

;console_command add_money slave, 10000

;monitor_event FactionTurnStart FactionType Slave

;and I_TurnNumber = 52

;

;if I_EventCounter sofia_rebel = 1

;siege_settlement Peter of_Bulgaria, Sofia, attack

;end_if

;

;terminate_monitor

;end_monitor

;monitor_event FactionTurnStart FactionType Slave

;and I_TurnNumber = 53

;

;if I_EventCounter scopia_rebel = 1

;siege_settlement Ivan, Scopia, attack

;end_if

;terminate_monitor

;end_monitor

;

;monitor_event FactionTurnStart FactionType Slave

;and I_TurnNumber = 54

;

;if I_EventCounter adrianople_rebel = 1

;siege_settlement Kalman, Adrianople, attack

;end_if

;

;terminate_monitor

;end_monitor

;-------------- END BULGARIAN UPRISING --------------;