Code:
building slave_administration
{
levels slave_administration1 slave_administration2
{
slave_administration1 requires factions { slave, } ;;;;;;;;;;;;;;; Podesteria
{
capability
{
;;;;;;;;;;;;;;;;;;;;;;;;;;;; LIGHT INFANTRY
recruit_pool "Italian Militia Polearm" 0 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightInfantry 1
recruit_pool "Italian Militia Archers" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightInfantry 1
recruit_pool "Italian Militia Pikemen" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightInfantry 1
recruit_pool "Swiss Militia Pikemen URI" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentPikeInfantry 1
recruit_pool "Swiss Militia Pikemen BER" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentPikeInfantry 1
recruit_pool "Swiss Militia Pikemen SCH" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentPikeInfantry 1
recruit_pool "Swiss Militia Pikemen ZUR" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentPikeInfantry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; SPEARMEN INFANTRY
recruit_pool "Hafsid Militia Spearmen" 1 0.5 4 0 requires factions { timurids, slave, } and hidden_resource Africa and not event_counter StopRecruitmentLightInfantry 1
recruit_pool "Hafsid Reform Spearmen" 1 0.5 4 0 requires factions { timurids, slave, } and hidden_resource Africa and not event_counter StopRecruitmentLightInfantry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; MEDIUM INFANTRY
recruit_pool "Hafsid Militia Archers" 1 0.5 4 0 requires factions { middle_eastern, slave, } and hidden_resource Africa and not event_counter StopRecruitmentLightMissileInfantry 1
recruit_pool "Italian Militia Crossbowmen" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightCrossbowInfantry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; GUN INFANTRY
recruit_pool "Hafsid Medium Cavalry" 1 0.5 4 0 requires factions { timurids, slave, } and hidden_resource Africa and not event_counter StopRecruitmentLightCavalry 1
}
material wooden
construction 2
cost 600
settlement_min village
upgrades
{
slave_administration2
}
}
slave_administration2 requires factions { slave, } ;;;;;;;;;;;;; Vicariato
{
capability
{
;;;;;;;;;;;;;;;;;;;;;;;;;;;; LIGHT INFANTRY
recruit_pool "Italian Militia Polearm" 0 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightInfantry 1
recruit_pool "French Militia Polearm" 1 0.5 4 0 requires factions { france, slave, } and hidden_resource France or hidden_resource Savoy or hidden_resource Burgundy and not event_counter StopRecruitmentLightInfantry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; SPEARMEN INFANTRY
;;;;;;;;;;;;;;;;;;;;;;;;;;;; PIKE INFANTRY
recruit_pool "Italian Militia Pikemen" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentPikeInfantry 1
recruit_pool "Italian Professional Pike" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentPikeInfantry 1
recruit_pool "Italian Professional Pike Reform" 2 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentPikeInfantry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; MEDIUM INFANTRY
recruit_pool "Italian Professional Targonieri" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Italian Professional Targonieri Reform" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Italian Professional Heavy Spearmen" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Italian Professional Ronconieri" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Italian Professional Ronconieri Reform" 2 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Swiss Militia Polearm URI" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Swiss Militia Polearm BER" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Swiss Militia Polearm SCH" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentMediumInfantry 1
recruit_pool "Swiss Militia Polearm ZUR" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Switzerland and not event_counter StopRecruitmentMediumInfantry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; HEAVY INFANTRY
;;;;;;;;;;;;;;;;;;;;;;;;;;;; MISSILE INFANTRY
recruit_pool "Italian Militia Skirmishers" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightMissileInfantry 1
recruit_pool "Italian Militia Archers" 1 0.5 4 0 requires factions { slave, england, norway, crusading_orders, lithuania, poland, saxons, ireland, wales, spain, normans, egypt, portugal, milan, russia, mongols, denmark, venice, papal_states, sicily, novgorod, georgia, } and hidden_resource Italy and not event_counter StopRecruitmentLightMissileInfantry 1
recruit_pool "Italian Militia Crossbowmen" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightCrossbowInfantry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; GUN INFANTRY
recruit_pool "Italian Professional Arquebusiers" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentHandgunInfantry 1 and not event_counter StopMercenaryRecruitment 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; MISSILE CAVALRY
recruit_pool "Italian Mounted Crossbowmen" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightCavalry 1
recruit_pool "Italian Mounted Handgunners" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightCavalry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; LIGHT CAVALRY
recruit_pool "Italian Medium Cavalry" 1 0.5 4 0 requires factions { northern_european, eastern_european, southern_european, } and hidden_resource Italy and not event_counter StopRecruitmentLightCavalry 1
recruit_pool "Hungarian Heavy Cavalry" 1 0.5 4 0 requires factions { hungary, slave, } and hidden_resource Hungary or hidden_resource Serbia and not event_counter StopRecruitmentLightCavalry 1
;;;;;;;;;;;;;;;;;;;;;;;;;;;; HEAVY CAVALRY
recruit_pool "Italian Heavy Cavalry" 1 0.5 4 0 requires factions { slave, england, norway, crusading_orders, lithuania, poland, saxons, ireland, wales, spain, normans, egypt, portugal, milan, russia, mongols, denmark, venice, papal_states, sicily, novgorod, georgia, } and hidden_resource Italy and not event_counter StopRecruitmentHeavyCavalry 1
recruit_pool "Italian Heavy Cavalry Reform" 1 0.5 4 0 requires factions { slave, england, norway, crusading_orders, lithuania, poland, saxons, ireland, wales, spain, normans, egypt, portugal, milan, russia, mongols, denmark, venice, papal_states, sicily, novgorod, georgia, } and hidden_resource Italy and not event_counter StopRecruitmentHeavyCavalry 1
}
material wooden
construction 3
cost 1200
settlement_min town
upgrades
{
}
}
}
plugins
{
}
}
and this is the script: