Code:
building govrome
{
religion rel_g
levels romeprec civlib socit provinc iuslat municip
{
romeprec requires factions { f_rome, } and not building_present govallied and not building_present govslave
{
capability
{
law_bonus bonus 1 requires factions { f_rome, }
farming_level bonus 1
}
material stone
construction 2
cost 1200
settlement_min village
upgrades
{
civlib requires factions { f_rome, } and not hidden_resource italy
socit requires factions { f_rome, } and event_counter ecCamillanEra 1 or event_counter ecPolybianEra 1
provinc requires factions { f_rome, } and hidden_resource hr_island and not hidden_resource iberia ; all islands bar Baleares
provinc requires factions { f_rome, } and hidden_resource achaenleague and not hidden_resource hr_island ; Hellas
provinc requires factions { f_rome, } and hidden_resource deuteroi and not hidden_resource achaenleague ; Epeiros/Makedonia
provinc requires factions { f_rome, } and hidden_resource egypt and hidden_resource hr_d ; Upper Nile only
provinc requires factions { f_rome, } and hidden_resource nabatu_empire and hidden_resource eastern or hidden_resource ioudaioi ; Ioudaia/Syria
provinc requires factions { f_rome, } and hidden_resource punic and hidden_resource hr_d ; Punic
provinc requires factions { f_rome, } and hidden_resource libya and hidden_resource nomadic_migration ; coastal Libya
provinc requires factions { f_rome, } and hidden_resource numidia and hidden_resource mixed or hidden_resource horde_target ; coastal Numidia/Mauretania
provinc requires factions { f_rome, } and hidden_resource celtiberia or hidden_resource lusitan or hidden_resource iberia ; Hispania
provinc requires factions { f_rome, } and hidden_resource anatolian and not hidden_resource satrapy ; most of Anatolia
provinc requires factions { f_rome, } and hidden_resource anatolian and hidden_resource satrapy and not hidden_resource hr_j ; Mysia/Karia/Pamphylia
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource anatolian and hidden_resource satrapy and hidden_resource hr_j ; Kappadokia
provinc requires factions { f_rome, } and hidden_resource celtic and not hidden_resource eastcelt and hidden_resource gallic or hidden_resource belgic ; Gaul/Belgica
provinc requires factions { f_rome, } and hidden_resource eastcelt and not hidden_resource thrakia and not hidden_resource nomadic_migration and not hidden_resource teutonic_migration ; Alpine Gaul/Raition/Venetia/Liguria/Galatia
provinc requires factions { f_rome, } and hidden_resource celtic and hidden_resource eastcelt and hidden_resource horde_target and hidden_resource royal_core ; Pannonia
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource celtic and hidden_resource eastcelt and hidden_resource horde_target and hidden_resource nomadic_migration ; Etunorikoi
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource celtic and hidden_resource eastcelt and hidden_resource teutonic_migration and not hidden_resource germania and not hidden_resource hr_i ; Herkunion
provinc requires factions { f_rome, } and hidden_resource illyria ; Illyria
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource thrakia and not hidden_resource illyria ; Thraike
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource skythian ; Skythia
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource sarmatian and hidden_resource pontic ; Maiotis
iuslat requires factions { f_rome, } and event_counter ecMarianEra 1
municip requires factions { f_rome, } and hidden_resource italy and hidden_resource hr_i ;;; to allow reconstitute Rome anytime in case it is lost - always available here
}
}
civlib requires factions { f_rome, } and not building_present govallied and hidden_resource achaenleague or hidden_resource anatolian or hidden_resource deuteroi or hidden_resource eastern or hidden_resource gallic or hidden_resource horde_target or hidden_resource hr_island or hidden_resource iberia or hidden_resource illyria or hidden_resource libya or hidden_resource numidia or hidden_resource punic
{
capability ;; 10 of instant recruitment, but with very slow refresh
{
agent diplomat 1 requires factions { f_rome, } and not event_counter diplomat_limit 1
agent_limit diplomat 1
recruitment_cost_bonus_naval bonus 1
happiness_bonus bonus 2 requires factions { f_rome, }
recruitment_slots 2 requires factions { f_rome, }
free_upkeep bonus 3 requires factions { f_rome, }
farming_level bonus -2 requires factions { f_rome, }
}
material stone
construction 4
cost 2000
settlement_min town
upgrades
{
provinc requires factions { f_rome, } and hidden_resource hr_island ; all islands
provinc requires factions { f_rome, } and hidden_resource achaenleague and not hidden_resource hr_island ; Hellas
provinc requires factions { f_rome, } and hidden_resource deuteroi and not hidden_resource achaenleague ; Epeiros/Makedonia
provinc requires factions { f_rome, } and hidden_resource egypt and hidden_resource hr_d ; Upper Nile only
provinc requires factions { f_rome, } and hidden_resource nabatu_empire and hidden_resource eastern or hidden_resource ioudaioi ; Ioudaia/Syria
provinc requires factions { f_rome, } and hidden_resource punic and hidden_resource hr_d ; Punic
provinc requires factions { f_rome, } and hidden_resource libya and hidden_resource nomadic_migration ; coastal Libya
provinc requires factions { f_rome, } and hidden_resource numidia and hidden_resource mixed or hidden_resource horde_target ; coastal Numidia/Mauretania
provinc requires factions { f_rome, } and hidden_resource celtiberia or hidden_resource lusitan or hidden_resource iberia ; Hispania
provinc requires factions { f_rome, } and hidden_resource anatolian and not hidden_resource satrapy ; most of Anatolia
provinc requires factions { f_rome, } and hidden_resource anatolian and hidden_resource satrapy and not hidden_resource hr_j ; Mysia/Karia/Pamphylia
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource anatolian and hidden_resource satrapy and hidden_resource hr_j ; Kappadokia
provinc requires factions { f_rome, } and hidden_resource celtic and not hidden_resource eastcelt and hidden_resource gallic or hidden_resource belgic ; Gaul/Belgica
provinc requires factions { f_rome, } and hidden_resource eastcelt and not hidden_resource thrakia and not hidden_resource nomadic_migration and not hidden_resource teutonic_migration ; Alpine Gaul/Raition/Venetia/Liguria/Galatia
provinc requires factions { f_rome, } and hidden_resource celtic and hidden_resource eastcelt and hidden_resource horde_target and hidden_resource royal_core ; Pannonia
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource celtic and hidden_resource eastcelt and hidden_resource horde_target and hidden_resource nomadic_migration ; Etunorikoi
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource celtic and hidden_resource eastcelt and hidden_resource teutonic_migration and not hidden_resource germania and not hidden_resource hr_i ; Herkunion
provinc requires factions { f_rome, } and hidden_resource illyria ; Illyria
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource thrakia and not hidden_resource illyria ; Thraike
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource skythian ; Skythia
provinc requires factions { f_rome, } and event_counter ecMarianEra 1 and hidden_resource sarmatian and hidden_resource pontic ; Maiotis
}
}
socit city requires factions { f_rome, } and not building_present govallied and hidden_resource italy and hidden_resource hr_f or hidden_resource hr_g or hidden_resource hr_h or hidden_resource hr_j
{
capability
{
;;; CAMILLAN ERA - CENTRAL ITALIA
agent diplomat 1 requires factions { f_rome, } and not event_counter diplomat_limit 1
agent_limit diplomat 1
happiness_bonus bonus 1 requires factions { f_rome, }
recruitment_cost_bonus_naval bonus 1
recruitment_slots 1 requires factions { f_rome, } and not event_counter ecWinter 1
recruitment_slots 4 requires factions { f_rome, } and event_counter ecWinter 1
}
material stone
construction 4
cost 4000
settlement_min village
upgrades
{
iuslat
}
}
provinc city requires factions { f_rome, } and not building_present govallied
{
capability ;; No recruitment before the Marian era. 10 * 0.04 of local units suitable for support of the legions
{
recruitment_slots 1 requires factions { f_rome, } and event_counter ecMarianEra 1 and not event_counter ecWinter 1
recruitment_slots 4 requires factions { f_rome, } and event_counter ecMarianEra 1 and event_counter ecWinter 1
law_bonus bonus 1 requires factions { f_rome, }
recruits_morale_bonus bonus 1 requires factions { f_rome, } ; No effect other than to provide the visible text for the Trade Good bonus
trade_base_income_bonus bonus 1 requires factions { f_rome, }
agent diplomat 1 requires factions { f_rome, } and not event_counter diplomat_limit 1
agent_limit diplomat 1
}
material stone
construction 8
cost 6000
settlement_min large_town
upgrades
{
}
}
iuslat city requires factions { f_rome, } and hidden_resource italy and not building_present govallied and region_religion rel_g 65
{
capability ;; 10 * 0.04 plus up to 12 * 0.04 from Colonies there
{
happiness_bonus bonus -1 requires factions { f_rome, } and region_religion rel_g 75
law_bonus bonus 1 requires factions { f_rome, }
recruitment_slots 1 requires factions { f_rome, } and not event_counter ecWinter 1
recruitment_slots 6 requires factions { f_rome, } and event_counter ecWinter 1
}
material stone
construction 10
cost 12000
settlement_min city
upgrades
{
municip requires factions { f_rome, } and hidden_resource hr_i ; to allow reconstruction in Rome anytime in case it is lost - always available here
municip requires factions { f_rome, } and not hidden_resource hr_i and event_counter ecMarianEra 1 ; Marian reforms are the trigger to allow multiple municipia in Italy - not necessary to duplicate in Rome
}
}
municip city requires factions { f_rome, } and hidden_resource italy and not building_present govallied and region_religion rel_g 75
{
capability
{
recruit_pool "roman infantry cohors reformata" 1 0.12 3 0 requires factions { f_rome, } and not hidden_resource hr_i and event_counter ecMarianEra 1
recruit_pool "roman infantry cohors levy" 2 0.04 4 0 requires factions { f_rome, } and not hidden_resource hr_i and event_counter ecMarianEra 1
religion_level bonus 1 requires factions { f_rome, } and event_counter ecReligionUpdate 1
law_bonus bonus 2 requires factions { f_rome, }
happiness_bonus bonus 1 requires factions { f_rome, } and region_religion rel_g 90
population_growth_bonus bonus 1 requires factions { f_rome, }
agent diplomat 2 requires factions { f_rome, } and not event_counter diplomat_limit 1
agent_limit diplomat 1
recruitment_slots bonus 1 requires factions { f_rome, } and hidden_resource hr_i and not event_counter ecWinter 1
recruitment_slots bonus 2 requires factions { f_rome, } and hidden_resource hr_i and event_counter ecWinter 1
recruitment_slots 2 requires factions { f_rome, } and not event_counter ecWinter 1
recruitment_slots 8 requires factions { f_rome, } and event_counter ecWinter 1
}
material stone
construction 16
cost 14000
settlement_min city
upgrades
{
}
}
}
plugins
{
}
}