;==============================================================================================================================
;- BYZANTIUM city barracks army_barracks --------------------------------------------------------------------------------------
;----- melee ---------------------------------------------------------------------------------
recruit_pool "Contaratoi" 2 0.18 3 0 requires factions { byzantium, } and not event_counter BYZANTIUM2_ANNA_COMNENA 1
recruit_pool "Contaratoi" 2 0.21 3 0 requires factions { byzantium, } and event_counter BYZANTIUM2_ANNA_COMNENA 1 and not event_counter BYZANTIUM3_NORMAN_WARS 1
recruit_pool "Contaratoi" 2 0.18 3 0 requires factions { byzantium, } and event_counter BYZANTIUM3_NORMAN_WARS 1 and not event_counter BYZANTIUM6_BYZANTINE_RENAISSANCE_STARTED 1
recruit_pool "Castrophilakae" 2 0.16 3 0 requires factions { byzantium, } and event_counter BYZANTIUM3_NORMAN_WARS 1 and not event_counter BYZANTIUM6_BYZANTINE_RENAISSANCE_STARTED 1
recruit_pool "Castrophilakae" 3 0.31 4 1 requires factions { byzantium, } and event_counter BYZANTIUM6_BYZANTINE_RENAISSANCE_STARTED 1
;----- missiles ------------------------------------------------------------------------------
recruit_pool "Toxotae" 2 0.15 3 0 requires factions { byzantium, } and not event_counter BYZANTIUM2_ANNA_COMNENA 1
recruit_pool "Toxotae" 2 0.18 3 0 requires factions { byzantium, } and event_counter BYZANTIUM2_ANNA_COMNENA 1 and not event_counter BYZANTIUM3_NORMAN_WARS 1
recruit_pool "Toxotae" 2 0.21 3 0 requires factions { byzantium, } and event_counter BYZANTIUM3_NORMAN_WARS 1 and not event_counter BYZANTIUM6_BYZANTINE_RENAISSANCE_STARTED 1
recruit_pool "Toxotae" 2 0.15 3 0 requires factions { byzantium, } and event_counter BYZANTIUM6_BYZANTINE_RENAISSANCE_STARTED 1
recruit_pool "Urban Crossbow Militia" 1 0.14 2 0 requires factions { byzantium, } and not hidden_resource byzantium and event_counter lateran_council2 1 and not event_counter lateran_council3 1
recruit_pool "Urban Crossbow Militia" 1 0.16 2 0 requires factions { byzantium, } and not hidden_resource byzantium and event_counter lateran_council3 1 and not event_counter MOUNTED_CROSSBOWS 1
recruit_pool "Urban Crossbow Militia" 1 0.18 2 0 requires factions { byzantium, } and not hidden_resource byzantium and event_counter MOUNTED_CROSSBOWS 1 and not event_counter PAVISE_SHIELDS 1
;----- special units: only in Constantinople
recruit_pool "English Huscarls" 0 0.18 2 0 requires factions { byzantium, } and hidden_resource capital and hidden_resource byzantium and not event_counter HEAVY_MAIL_ARMOR 1
recruit_pool "Alamanoi" 0 0.15 2 0 requires factions { byzantium, } and hidden_resource capital and hidden_resource byzantium and event_counter HEAVY_MAIL_ARMOR 1
recruit_pool "Spartharii tou Vasileos" 0 0.13 2 0 requires factions { byzantium, } and hidden_resource capital and hidden_resource byzantium
;--- AI support (Byzantium city barracks) ---------------------------------------------------- (UNfWE)
; so that it fields better quality armies (goal: to provide the player with better experience: stronger AI armies)
; added 1 time every 4 turns (leap_year_counter 3) so that the can be recruited in one moment thus creating stronger armies
; delayed (zero initial, leap year 3) because Byzantium is strong at the beginning
;......... base value
recruit_pool "Scoutatoi" 0 0.001 2 0 requires factions { byzantium, } and not event_counter is_the_player 1
recruit_pool "Scoutatoi Swordsmen" 0 0.001 2 0 requires factions { byzantium, } and not event_counter is_the_player 1
;......... if Byzantium has fewer than 20 settlements
recruit_pool "Scoutatoi" 0 0.124 0 0 requires factions { byzantium, } and not event_counter is_the_player 1 and not event_counter faction_size_huge 1 and event_counter leap_year_counter 3
recruit_pool "Scoutatoi Swordsmen" 0 0.124 0 0 requires factions { byzantium, } and not event_counter is_the_player 1 and not event_counter faction_size_huge 1 and event_counter leap_year_counter 3
;......... mobilization of citizens if the AI is in trouble
recruit_pool "Scoutatoi Swordsmen" 0 0.375 0 0 requires factions { byzantium, } and event_counter is_the_player 1 and not event_counter faction_size_small 1 and event_counter leap_year_counter 3
recruit_pool "Scoutatoi" 0 0.375 0 0 requires factions { byzantium, } and event_counter is_the_player 1 and not event_counter faction_size_small 1 and event_counter leap_year_counter 3
;----- to be reviewed during work on late era -------------------------
recruit_pool "Late Musketeers" 1 0.077 2 0 requires factions { byzantium, } and event_counter the_flintlock 1