##########
# University
##########

cow_generic_university_01 = { # Grand University I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_university.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony_has_hist_cow_university_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.02
		monthly_dynasty_prestige = 0.1
	}
	
	county_modifier = {
		development_growth_factor = 0.15
	}
	
	next_building = cow_generic_university_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
	
}

cow_generic_university_02 = { # Grand University II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony_has_hist_cow_university_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 1500
	
	character_modifier = {
		learning_per_prestige_level = 1
		monthly_lifestyle_xp_gain_mult = 0.05
		monthly_dynasty_prestige = 0.25
	}
	
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 10
	}
	
}

cow_university_pandidakterion_01 = { # Pandidakterion I (867 and 1066)
	construction_time = very_slow_construction_time

	type_icon = "icon_building_university.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.05
		monthly_dynasty_prestige = 0.1
	}
	
	county_modifier = {
		development_growth_factor = 0.2
	}
	
	next_building = cow_university_pandidakterion_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
	
}

cow_university_pandidakterion_02 = { # Pandidakterion II
	construction_time = very_slow_construction_time

	type_icon = "icon_building_university.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 1500
	
	character_modifier = {
		learning_per_prestige_level = 1
		diplomacy_per_prestige_level = 1
		monthly_lifestyle_xp_gain_mult = 0.1
		monthly_dynasty_prestige = 0.25
	}
	
	county_modifier = {
		development_growth_factor = 0.3
		development_growth = 0.1
	}
	
	ai_value = {
		base = 10
	}
	
}

cow_university_mouseion_01 = { # Mouseion at Alexandreia I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_university.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.05
		monthly_dynasty_prestige = 0.1
	}
	
	county_modifier = {
		development_growth_factor = 0.2
	}
	
	next_building = cow_university_mouseion_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
	
}

cow_university_mouseion_02 = { # Mouseion at Alexandreia II
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 2000
	
	character_modifier = {
		learning_per_prestige_level = 1
		diplomacy_per_prestige_level = 1
		monthly_lifestyle_xp_gain_mult = 0.1
		monthly_dynasty_prestige = 0.25
	}
	
	county_modifier = {
		development_growth_factor = 0.3
		development_growth = 0.1
	}
	
	ai_value = {
		base = 10
	}
	
}

cow_university_cordoba_01 = { # Grand University of Cordoba I (1066)
	construction_time = very_slow_construction_time

	type_icon = "icon_building_university.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.05
		monthly_dynasty_prestige = 0.1
	}
	
	county_modifier = {
		development_growth_factor = 0.1
	}
	
	province_modifier = {
		cow_metropolis_holding_build_gold_cost = -0.15
	}
	
	next_building = cow_university_cordoba_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
	
}

cow_university_cordoba_02 = { # Grand University of Cordoba II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		barony_is_hist_vanilla_cow_university_trigger = yes
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 1500
	
	character_modifier = {
		learning_per_prestige_level = 1
		diplomacy_per_prestige_level = 1
		monthly_lifestyle_xp_gain_mult = 0.1
		monthly_dynasty_prestige = 0.25
	}
	
	county_modifier = {
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	province_modifier = {
		cow_metropolis_holding_build_gold_cost = -0.2
	}
	
	ai_value = {
		base = 10
	}
	
}

cow_generic_library_01 = { # Great Library I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_library.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony_has_hist_cow_library_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.03
		different_culture_opinion = 2
		cultural_head_fascination_mult = 0.03
		faith_creation_piety_cost_mult = -0.05
	}
	county_modifier = {
		tax_mult = 0.05
		development_growth_factor = 0.2
	}
	
	next_building = cow_generic_library_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_generic_library_02 = { # Great Library II
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony_has_hist_cow_library_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 1500

	character_modifier = {
		learning_per_prestige_level = 1
		monthly_lifestyle_xp_gain_mult = 0.075
		different_culture_opinion = 5
		cultural_head_fascination_mult = 0.075
		faith_creation_piety_cost_mult = -0.1
	}
	county_modifier = {
		tax_mult = 0.10
		development_growth = 0.10
		development_growth_factor = 0.5
	}
	
	ai_value = {
		base = 10
	}

}

cow_library_byzantion_01 = { # Bibliothekai of Konstantinoupolis I (867 and 1066 - not present at start for balance)
	construction_time = very_slow_construction_time

	type_icon = "icon_building_library.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.08
		different_culture_opinion = 2
		cultural_head_fascination_mult = 0.05
		faith_creation_piety_cost_mult = -0.05
	}
	county_modifier = {
		tax_mult = 0.05
		development_growth_factor = 0.2
	}
	
	next_building = cow_library_byzantion_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_library_byzantion_02 = { # Bibliothekai of Konstantinoupolis II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 2000

	character_modifier = {
		learning_per_prestige_level = 2
		monthly_lifestyle_xp_gain_mult = 0.15
		different_culture_opinion = 5
		cultural_head_fascination_mult = 0.10
		faith_creation_piety_cost_mult = -0.1
	}
	county_modifier = {
		tax_mult = 0.1
		development_growth = 0.1
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 10
	}
}

cow_library_roma_01 = { # Bibliotheca Ulpia I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_library.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.08
		different_culture_opinion = 2
		cultural_head_fascination_mult = 0.05
		faith_creation_piety_cost_mult = -0.05
	}
	county_modifier = {
		tax_mult = 0.05
		development_growth_factor = 0.1
	}
	
	next_building = cow_library_roma_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_library_roma_02 = { # Bibliotheca Ulpia II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 2000

	character_modifier = {
		learning_per_prestige_level = 2
		monthly_lifestyle_xp_gain_mult = 0.15
		different_culture_opinion = 5
		cultural_head_fascination_mult = 0.10
		faith_creation_piety_cost_mult = -0.1
	}
	county_modifier = {
		tax_mult = 0.1
		development_growth = 0.1
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 10
	}
}

cow_library_alexandria_01 = { # Bibliothekai of Alexandreia I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_library.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.08
		different_culture_opinion = 2
		cultural_head_fascination_mult = 0.05
		faith_creation_piety_cost_mult = -0.05
	}
	county_modifier = {
		tax_mult = 0.05
		development_growth_factor = 0.1
	}
	
	next_building = cow_library_alexandria_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_library_alexandria_02 = { # Bibliothekai of Alexandreia II
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_renaissance = yes
	}
	
	cost_gold = 2000

	character_modifier = {
		learning_per_prestige_level = 2
		monthly_lifestyle_xp_gain_mult = 0.15
		different_culture_opinion = 5
		cultural_head_fascination_mult = 0.10
		faith_creation_piety_cost_mult = -0.1
	}
	county_modifier = {
		tax_mult = 0.1
		development_growth = 0.1
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 10
	}
}

cow_christian_cathedral_01 = { # Grand Cathedral I
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cologne_cathedral.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = christianity_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		NOR = {
			barony = title:b_alexandria # Holy Sites (Orthodox)
			barony = title:b_antiocheia
			barony = title:b_constantinople
			barony = title:b_roma # + Catholic
			barony = title:b_jerusalem # + Catholic
			
			barony = title:b_santiago # Holy Sites (Catholic)
			barony = title:b_cologne
			barony = title:b_canterbury
		}
		scope:holder = {
			faith = { religion_tag = christianity_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}
	}
		
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		holy_order_hire_cost_mult = -0.7
		clergy_opinion = 2
		monthly_county_control_change_factor = 0.01
	}
	
	county_modifier = {
		tax_mult = 0.1
		development_growth_factor = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_christian_cathedral_02
	
	ai_value = {
		base = 10
	}
}

cow_christian_cathedral_02 = { # Grand Cathedral II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = christianity_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		NOR = {
			barony = title:b_alexandria # Holy Sites (Orthodox)
			barony = title:b_antiocheia
			barony = title:b_constantinople
			barony = title:b_roma # + Catholic
			barony = title:b_jerusalem # + Catholic
			
			barony = title:b_santiago # Holy Sites (Catholic)
			barony = title:b_cologne
			barony = title:b_canterbury
		}
		scope:holder = {
			faith = { religion_tag = christianity_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}
	}
		
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		holy_order_hire_cost_mult = -0.15
		clergy_opinion = 5
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.2
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
	}
}

cow_muslim_mosque_01 = { # Grand Mosque I
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cathedral_muslim.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = islam_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		NOR = {
			barony = title:b_baghdad # Holy Sites (Islam)
			barony = title:b_jerusalem
			barony = title:b_makka
			barony = title:b_al-madina
		}
		scope:holder = {
			faith = { religion_tag = islam_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		domain_tax_different_faith_mult = 0.07
		levy_reinforcement_rate_same_faith = 0.07
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.1
		development_growth_factor = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_muslim_mosque_02
	
	ai_value = {
		base = 10
	}
}

cow_muslim_mosque_02 = { # Grand Mosque II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = islam_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		NOR = {
			barony = title:b_baghdad # Holy Sites (Islam)
			barony = title:b_jerusalem
			barony = title:b_makka
			barony = title:b_al-madina
		}
		scope:holder = {
			faith = { religion_tag = islam_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		domain_tax_different_faith_mult = 0.15
		levy_reinforcement_rate_same_faith = 0.15
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.2
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
	}
}

cow_jewish_synagogue_01 = { # Great Synagogue I
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cathedral_muslim.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = judaism_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		NOR = {
			barony = title:b_alexandria # Holy Sites (Judaism)
			barony = title:b_jerusalem
		}
		scope:holder = {
			faith = { religion_tag = judaism_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		monthly_dynasty_prestige_mult = 0.02
		levy_reinforcement_rate_same_faith = 0.07
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.2
		development_growth_factor = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_jewish_synagogue_02
	
	ai_value = {
		base = 10
	}
}

cow_jewish_synagogue_02 = { # Great Synagogue II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = judaism_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		NOR = {
			barony = title:b_alexandria # Holy Sites (Judaism)
			barony = title:b_jerusalem
		}
		scope:holder = {
			faith = { religion_tag = judaism_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		levy_reinforcement_rate_same_faith = 0.15
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.4
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
	}
}

cow_pagan_temple_01 = { # Great Temple I
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cathedral_pagan.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			NOT = { faith = { religion_tag = hellenism_religion } }
		}
		building_requirement_tribal = no
		barony_has_hist_cow_temple_trigger = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		knight_effectiveness_mult = 0.07
		levy_reinforcement_rate = 0.05
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.05
		levy_size = 0.05
		development_growth_factor = 0.1
	}
	
	levy = 250
	
	province_modifier = {
		monthly_income = 0.5
	}
	
	next_building = cow_pagan_temple_02
	
	ai_value = {
		base = 10
	}
}

cow_pagan_temple_02 = { # Great Temple II
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.15
		levy_reinforcement_rate = 0.1
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.1
		levy_size = 0.1
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	levy = 500
	
	province_modifier = {
		monthly_income = 1
	}
	
	ai_value = {
		base = 10
	}
}

cow_hellenic_temple_01 = { # Great Temple I (Hellenic)
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_hellenic_temple.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion_tag = hellenism_religion }
		}
		building_requirement_tribal = no
		barony_has_hist_cow_temple_trigger = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		knight_effectiveness_mult = 0.07
		levy_reinforcement_rate = 0.05
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.05
		levy_size = 0.05
		development_growth_factor = 0.1
	}
	
	levy = 250
	
	province_modifier = {
		monthly_income = 0.5
	}
	
	next_building = cow_hellenic_temple_02
	
	ai_value = {
		base = 10
	}
}

cow_hellenic_temple_02 = { # Great Temple II (Hellenic)
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion_tag = hellenism_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.15
		levy_reinforcement_rate = 0.1
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.1
		levy_size = 0.1
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	levy = 500
	
	province_modifier = {
		monthly_income = 1
	}
	
	ai_value = {
		base = 10
	}
}

cow_pantheon_roma_01 = { # Pantheum of Roma I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_pantheon.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
		}
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		NOT = { has_building_or_higher = cow_pagan_temple_01 }
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		# custom_description = { # Special for Roma
			# text = cow_holy_site_duplicate_trigger
			# barony = {
				# NOT = { is_holy_site_of = scope:holder.faith }
			# }
		# }	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		knight_effectiveness_mult = 0.07
		levy_reinforcement_rate = 0.05
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.05
		levy_size = 0.05
		development_growth_factor = 0.1
	}
	
	levy = 250
	
	province_modifier = {
		monthly_income = 0.5
	}
	
	next_building = cow_pantheon_roma_02
	
	ai_value = {
		base = 10
	}
}

cow_pantheon_roma_02 = {  # Pantheum of Roma II
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
		}
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		# custom_description = { # Special for Roma
			# text = cow_holy_site_duplicate_trigger
			# barony = {
				# NOT = { is_holy_site_of = scope:holder.faith }
			# }
		# }	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.15
		levy_reinforcement_rate = 0.1
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.1
		levy_size = 0.1
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	levy = 500
	
	province_modifier = {
		monthly_income = 1
	}
	
	ai_value = {
		base = 10
	}
}

cow_parthenon_athens_01 = { # Parthenon of Athenai I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_parthenon.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
		}
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		NOT = { has_building_or_higher = cow_pagan_temple_01 }
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		# custom_description = { # Special for Athens
			# text = cow_holy_site_duplicate_trigger
			# barony = {
				# NOT = { is_holy_site_of = scope:holder.faith }
			# }
		# }	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		knight_effectiveness_mult = 0.07
		levy_reinforcement_rate = 0.05
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.05
		levy_size = 0.05
		development_growth_factor = 0.1
	}
	
	levy = 250
	
	province_modifier = {
		monthly_income = 0.5
	}
	
	next_building = cow_parthenon_athens_02
	
	ai_value = {
		base = 10
	}
}

cow_parthenon_athens_02 = { # Parthenon of Athenai II
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
		}
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		# custom_description = { # Special for Athens
			# text = cow_holy_site_duplicate_trigger
			# barony = {
				# NOT = { is_holy_site_of = scope:holder.faith }
			# }
		# }	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.15
		levy_reinforcement_rate = 0.1
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.1
		levy_size = 0.1
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	levy = 500
	
	province_modifier = {
		monthly_income = 1
	}
	
	ai_value = {
		base = 10
	}
}

cow_serapeion_alex_01 = { # Serapeion of Alexandreia I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_serapeion.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
		}
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		NOT = { has_building_or_higher = cow_pagan_temple_01 }
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		# custom_description = { # Special for Alexandria
			# text = cow_holy_site_duplicate_trigger
			# barony = {
				# NOT = { is_holy_site_of = scope:holder.faith }
			# }
		# }		
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		knight_effectiveness_mult = 0.07
		levy_reinforcement_rate = 0.05
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.05
		levy_size = 0.05
		development_growth_factor = 0.1
	}
	
	levy = 250
	
	province_modifier = {
		monthly_income = 0.5
	}
	
	next_building = cow_serapeion_alex_02
	
	ai_value = {
		base = 10
	}
}

cow_serapeion_alex_02 = { # Serapeion of Alexandreia II
	construction_time = very_slow_construction_time

	is_enabled = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion = { is_in_family = rf_pagan } }
		}
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		# custom_description = { # Special for Alexandria
			# text = cow_holy_site_duplicate_trigger
			# barony = {
				# NOT = { is_holy_site_of = scope:holder.faith }
			# }
		# }		
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.15
		levy_reinforcement_rate = 0.1
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.1
		levy_size = 0.1
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	levy = 500
	
	province_modifier = {
		monthly_income = 1
	}
	
	ai_value = {
		base = 10
	}
}

cow_indian_temple_01 = { # Grand Temple I
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cathedral_indian.dds"
	
	is_enabled = {
		scope:holder = {
			OR = {
				faith = { religion = { is_in_family = rf_eastern } }
				faith = { religion_tag = dualism_religion }
			}
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			OR = {
				faith = { religion = { is_in_family = rf_eastern } }
				faith = { religion_tag = dualism_religion }
			}
			NOT = { faith = { religion_tag = zoroastrianism_religion } }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		different_faith_opinion = 2
		different_faith_county_opinion_mult = -0.7
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.1
		development_growth_factor = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_indian_temple_02
	
	ai_value = {
		base = 10
	}
}

cow_indian_temple_02 = { # Grand Temple II
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cathedral_indian.dds"
	
	is_enabled = {
		scope:holder = {
			OR = {
				faith = { religion = { is_in_family = rf_eastern } }
				faith = { religion_tag = dualism_religion }
			}
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			OR = {
				faith = { religion = { is_in_family = rf_eastern } }
				faith = { religion_tag = dualism_religion }
			}
			NOT = { faith = { religion_tag = zoroastrianism_religion } }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		different_faith_opinion = 5
		different_faith_county_opinion_mult = -0.15
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.2
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
	}
}

cow_zoroastrian_temple_01 = { # Grand Temple I
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cathedral_zoroastric.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = zoroastrianism_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion_tag = zoroastrianism_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.1
		monthly_dynasty_prestige_mult = 0.02
		men_at_arms_maintenance = -0.01
		short_reign_duration_mult = -0.05
		monthly_county_control_change_factor = 0.02
	}
	
	county_modifier = {
		tax_mult = 0.1
		development_growth_factor = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_zoroastrian_temple_02
	
	ai_value = {
		base = 10
	}
}

cow_zoroastrian_temple_02 = { # Grand Temple II
	construction_time = very_slow_construction_time

	type_icon = "icon_structure_cathedral_zoroastric.dds"
	
	is_enabled = {
		scope:holder = {
			faith = { religion_tag = zoroastrianism_religion }
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		scope:holder = {
			faith = { religion_tag = zoroastrianism_religion }
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_crop_rotation
			}
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_divine_right = yes
		custom_description = {
			text = cow_holy_site_duplicate_trigger
			barony = {
				NOT = { is_holy_site_of = scope:holder.faith }
			}
		}	
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		men_at_arms_maintenance = -0.025
		short_reign_duration_mult = -0.1
		monthly_county_control_change_factor = 0.05
	}
	
	county_modifier = {
		tax_mult = 0.2
		development_growth_factor = 0.2
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
	}
}

cow_royal_palace_01 = { # Royal Palace I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_building_leisure_palace.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony_has_hist_cow_royal_palace_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.07
		stress_loss_mult = 0.17
		owned_hostile_scheme_success_chance_add = 7
		owned_personal_scheme_success_chance_add = 7
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.3
		monthly_county_control_change_add = 0.2
		development_growth_factor = 0.1
	}
	
	next_building = cow_royal_palace_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_royal_palace_02 = { # Royal Palace II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony_has_hist_cow_royal_palace_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.15
		stress_loss_mult = 0.35
		owned_hostile_scheme_success_chance_add = 15
		owned_personal_scheme_success_chance_add = 15
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.6
		monthly_county_control_change_add = 0.4
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_palace_byzantion_01 = { # Mega Palation I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_building_leisure_palace.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.2
		stress_loss_mult = 0.17
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.3
		monthly_county_control_change_add = 0.2
		development_growth_factor = 0.2
	}
	
	next_building = cow_palace_byzantion_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_palace_byzantion_02 = { # Mega Palation II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.5
		stress_loss_mult = 0.35
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.6
		monthly_county_control_change_add = 0.4
		development_growth_factor = 0.4
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_palace_roma_01 = { # Palatium Lateranense I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_building_leisure_palace.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.07
		stress_loss_mult = 0.17
		owned_hostile_scheme_success_chance_add = 7
		owned_personal_scheme_success_chance_add = 7
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.3
		monthly_county_control_change_add = 0.2
		development_growth_factor = 0.1
	}
	
	next_building = cow_palace_roma_02
	
	ai_value = {
		base = 10
	}
}

cow_palace_roma_02 = { # Palatium Lateranense II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.15
		stress_loss_mult = 0.35
		owned_hostile_scheme_success_chance_add = 15
		owned_personal_scheme_success_chance_add = 15
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.6
		monthly_county_control_change_add = 0.4
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 10
	}
}

cow_palace_cordoba_01 = { # Madinat az-Zahra I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_building_leisure_palace.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.7
		stress_loss_mult = 0.17
		owned_hostile_scheme_success_chance_add = 7
		owned_personal_scheme_success_chance_add = 7
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.3
		monthly_county_control_change_add = 0.2
		development_growth_factor = 0.1
	}
	
	next_building = cow_palace_cordoba_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_palace_cordoba_02 = { # Madinat az-Zahra II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_cordoba
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.15
		stress_loss_mult = 0.35
		owned_hostile_scheme_success_chance_add = 15
		owned_personal_scheme_success_chance_add = 15
	}
	
	county_modifier = {
		monthly_county_control_change_factor = 0.6
		monthly_county_control_change_add = 0.4
		development_growth_factor = 0.2
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_harbor_01 = { # Great Harbor I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_building_tradeport.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony_has_hist_cow_great_harbor_trigger = no
		building_requirement_tribal = no
		building_common_tradeport_requirement_terrain = yes
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	province_modifier = {
		monthly_income = excellent_building_tax_tier_2
	}
	
	county_modifier = {
		development_growth_factor = 0.2
	}
	
	next_building = cow_great_harbor_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_harbor_02 = { # Great Harbor II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony_has_hist_cow_great_harbor_trigger = no
		building_requirement_tribal = no
		building_common_tradeport_requirement_terrain = yes
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2500
	
	province_modifier = {
		monthly_income = excellent_building_tax_tier_8
	}
	
	county_modifier = {
		development_growth_factor = 0.4
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_harbor_byzantion_01 = { # Limen ton Neorion I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_building_tradeport.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		building_common_tradeport_requirement_terrain = yes
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	province_modifier = {
		monthly_income = excellent_building_tax_tier_2
	}
	
	county_modifier = {
		development_growth_factor = 0.2
	}
	
	next_building = cow_harbor_byzantion_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_harbor_byzantion_02 = { # Limen ton Neorion II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		building_common_tradeport_requirement_terrain = yes
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2500
	
	province_modifier = {
		monthly_income = excellent_building_tax_tier_8
	}
	county_modifier = {
		development_growth_factor = 0.5
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_harbor_athens_01 = { # Limen tou Peiraia I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_building_tradeport.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		building_common_tradeport_requirement_terrain = yes
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	province_modifier = {
		monthly_income = excellent_building_tax_tier_2
	}
	
	county_modifier = {
		development_growth_factor = 0.2
	}
	
	next_building = cow_harbor_athens_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_harbor_athens_02 = { # Limen tou Peiraia II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		building_common_tradeport_requirement_terrain = yes
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2500
	
	province_modifier = {
		monthly_income = excellent_building_tax_tier_8
	}
	county_modifier = {
		development_growth_factor = 0.5
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_walls_01 = { # Great Walls I
	construction_time = very_slow_construction_time
	
	type_icon = "cow_icon_structure_great_walls.dds"
	
	is_enabled = {
		barony_has_cow_metropolis_generic_forts_trigger = no
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony_has_hist_cow_great_walls_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony_has_hist_cow_great_walls_trigger = no
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	garrison = normal_building_garrison_tier_4
	province_modifier = {
		monthly_income = poor_building_tax_tier_4
		fort_level = normal_building_fort_level_tier_4
		defender_advantage = normal_building_advantage_tier_1
	}
	
	county_modifier = {
		supply_limit = 150
		supply_limit_mult = 0.01
	}
	
	character_modifier = {
		archers_damage_mult = 0.1
	}
	
	next_building = cow_great_walls_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_walls_02 = { # Great Walls II
	construction_time = very_slow_construction_time

	is_enabled = {
		barony_has_cow_metropolis_generic_forts_trigger = no
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony_has_hist_cow_great_walls_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony_has_hist_cow_great_walls_trigger = no
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_military_machicolations = yes
	}
	
	cost_gold = 2000
	
	garrison = normal_building_garrison_tier_8
	province_modifier = {
		monthly_income = poor_building_tax_tier_8
		fort_level = normal_building_fort_level_tier_8
		defender_advantage = normal_building_advantage_tier_2
	}
	
	county_modifier = {
		supply_limit = 500
		supply_limit_mult = 0.02
	}
	
	character_modifier = {
		archers_damage_mult = 0.1
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_walls_athens_01 = { # Makra Teiche I
	construction_time = very_slow_construction_time
	
	type_icon = "cow_icon_structure_great_walls.dds"
	
	is_enabled = {
		barony_has_cow_metropolis_generic_forts_trigger = no
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	garrison = normal_building_garrison_tier_4
	province_modifier = {
		monthly_income = poor_building_tax_tier_4
		fort_level = normal_building_fort_level_tier_4
		defender_advantage = normal_building_advantage_tier_1
	}
	
	county_modifier = {
		supply_limit = 150
		supply_limit_mult = 0.01
	}
	
	character_modifier = {
		archers_damage_mult = 0.1
	}
	
	next_building = cow_great_walls_athens_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_walls_athens_02 = { # Makra Teiche II
	construction_time = very_slow_construction_time

	is_enabled = {
		barony_has_cow_metropolis_generic_forts_trigger = no
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_military_machicolations = yes
	}
	
	cost_gold = 2000
	
	garrison = normal_building_garrison_tier_8
	province_modifier = {
		monthly_income = poor_building_tax_tier_8
		fort_level = normal_building_fort_level_tier_8
		defender_advantage = normal_building_advantage_tier_2
	}
	
	county_modifier = {
		supply_limit = 500
		supply_limit_mult = 0.02
	}
	
	character_modifier = {
		archers_damage_mult = 0.1
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_walls_baghdad_01 = { # City of Peace I
	construction_time = very_slow_construction_time
	
	type_icon = "cow_icon_structure_great_walls.dds"
	
	is_enabled = {
		barony_has_cow_metropolis_generic_forts_trigger = no
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000
	
	garrison = normal_building_garrison_tier_4
	province_modifier = {
		monthly_income = poor_building_tax_tier_4
		fort_level = normal_building_fort_level_tier_4
		defender_advantage = normal_building_advantage_tier_1
	}
	
	county_modifier = {
		supply_limit = 150
		supply_limit_mult = 0.01
	}
	
	character_modifier = {
		archers_damage_mult = 0.1
	}
	
	next_building = cow_great_walls_baghdad_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_walls_baghdad_02 = { # City of Peace II
	construction_time = very_slow_construction_time

	is_enabled = {
		barony_has_cow_metropolis_generic_forts_trigger = no
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}

	can_construct_potential = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_military_machicolations = yes
	}
	
	cost_gold = 2000
	
	garrison = normal_building_garrison_tier_8
	province_modifier = {
		monthly_income = poor_building_tax_tier_8
		fort_level = normal_building_fort_level_tier_8
		defender_advantage = normal_building_advantage_tier_2
	}
	
	county_modifier = {
		supply_limit = 500
		supply_limit_mult = 0.02
	}
	
	character_modifier = {
		archers_damage_mult = 0.1
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_01 = { # Grand Fortress I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony_has_hist_cow_grand_fortress_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		barony_has_hist_cow_grand_fortress_trigger = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500

	character_modifier = {
		monthly_prestige = 0.1
	}
	garrison = good_building_garrison_tier_2
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_2
		fort_level = good_building_fort_level_tier_2
	}
	
	county_modifier = {
		development_growth_factor = 0.1
	}
	
	next_building = cow_grand_fortress_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_02 = { # Grand Fortress II
	construction_time = very_slow_construction_time

	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony_has_hist_cow_grand_fortress_trigger = no
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		barony_has_hist_cow_grand_fortress_trigger = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_military_machicolations = yes
	}
	
	cost_gold = 1500

	character_modifier = {
		monthly_prestige = 0.3
		prowess_per_prestige_level = 2
	}
	garrison = good_building_garrison_tier_3
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_3
		fort_level = good_building_fort_level_tier_3
	}
	
	county_modifier = {
		development_growth = 0.2
		development_growth_factor = 0.15
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_antiocheia_01 = { # Akra of Antiocheia I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	is_enabled = { 
		# barony_has_cow_metropolis_generic_forts_trigger = no # Special for Antioch # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		building_requirement_cow_metropolis = { LEVEL = 01 } # Special for Antioch
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.1
	}
	garrison = good_building_garrison_tier_2
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_2
		fort_level = good_building_fort_level_tier_2
		cow_metropolis_holding_build_gold_cost = -0.5
	}
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.1
	}
	
	next_building = cow_grand_fortress_antiocheia_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_antiocheia_02 = { # Akra of Antiocheia II
	construction_time = very_slow_construction_time
	
	is_enabled = { 
		# barony_has_cow_metropolis_generic_forts_trigger = no # Special for Antioch # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		# cow_is_metropolis_building_disabled_rule_trigger = no # Enabled because AI can't change building type?
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		# cow_is_metropolis_building_disabled_rule_trigger = no # Enabled because AI can't change building type?
		building_requirement_cow_metropolis = { LEVEL = 02 } # Special for Antioch
		county = { development_level >= 25 }
		# building_requirement_cow_metropolis_military_machicolations = yes # Special for Antioch
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.3
		prowess_per_piety_level = 2
	}
	garrison = good_building_garrison_tier_3
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_3
		fort_level = good_building_fort_level_tier_4
		cow_metropolis_holding_build_gold_cost = -0.5
	}
	county_modifier = {
		development_growth = 0.3
		development_growth_factor = 0.25
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_byzantion_01 = { # Chryseia Pyle I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.1
	}
	garrison = good_building_garrison_tier_2
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_2
		fort_level = good_building_fort_level_tier_2
	}
	
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.1
	}
	
	next_building = cow_grand_fortress_byzantion_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_byzantion_02 = { # Chryseia Pyle II
	construction_time = very_slow_construction_time

	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_military_machicolations = yes
	}
	
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.3
		prowess_per_prestige_level = 2
	}
	garrison = good_building_garrison_tier_3
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_3
		fort_level = good_building_fort_level_tier_3
	}
	
	county_modifier = {
		development_growth = 0.2
		development_growth_factor = 0.15
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_roma_01 = { # Hadrianeum I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_fortress_roma.dds"
	
	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.1
	}
	garrison = good_building_garrison_tier_2
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_2
		fort_level = good_building_fort_level_tier_2
	}
	
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.1
	}
	
	next_building = cow_grand_fortress_roma_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_roma_02 = { # Hadrianeum II
	construction_time = very_slow_construction_time

	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_military_machicolations = yes
	}
	
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.3
		prowess_per_prestige_level = 2
	}
	garrison = good_building_garrison_tier_3
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_3
		fort_level = good_building_fort_level_tier_3
	}
	
	county_modifier = {
		development_growth = 0.2
		development_growth_factor = 0.15
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_jerusalem_01 = { # Tower of David I
	construction_time = very_slow_construction_time

	type_icon = "icon_building_hill_forts.dds"
	
	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_jerusalem
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_jerusalem
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.1
	}
	garrison = good_building_garrison_tier_2
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_2
		fort_level = good_building_fort_level_tier_2
	}
	
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.1
	}
	
	next_building = cow_grand_fortress_jerusalem_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_grand_fortress_jerusalem_02 = { # Tower of David II
	construction_time = very_slow_construction_time

	is_enabled = {
		# barony_has_cow_metropolis_generic_forts_trigger = no # Disabled restriction due to building rework
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_jerusalem
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_jerusalem
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_military_machicolations = yes
	}
	
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige = 0.3
		prowess_per_prestige_level = 2
	}
	garrison = good_building_garrison_tier_3
	province_modifier = {
		defender_advantage = normal_building_advantage_tier_3
		fort_level = good_building_fort_level_tier_3
	}
	
	county_modifier = {
		development_growth = 0.2
		development_growth_factor = 0.15
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}
}

cow_great_lighthouse_01 = { # Great Lighthouse I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_lighthouse.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		is_coastal = yes
		building_requirement_tribal = no
		barony_has_hist_cow_lighthouse_trigger = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		is_coastal = yes
		building_requirement_tribal = no
		barony_has_hist_cow_lighthouse_trigger = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	garrison = 200

	province_modifier = {
		fort_level = 1
		garrison_size = 0.12
		monthly_income = 0.5
	}
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.05
		levy_size = 0.12
		tax_mult = 0.12
		hostile_raid_time = 0.12
	}
	
	next_building = cow_great_lighthouse_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_great_lighthouse_02 = { # Great Lighthouse II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		is_coastal = yes
		building_requirement_tribal = no
		barony_has_hist_cow_lighthouse_trigger = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		is_coastal = yes
		building_requirement_tribal = no
		barony_has_hist_cow_lighthouse_trigger = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 1500
	
	garrison = 400

	province_modifier = {
		fort_level = 2
		garrison_size = 0.25
		monthly_income = 1
	}
	county_modifier = {
		development_growth = 0.25
		development_growth_factor = 0.1
		levy_size = 0.25
		tax_mult = 0.25
		hostile_raid_time = 0.25
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_lighthouse_alexandria_01 = { # Pharos of Alexandreia I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_lighthouse_alexandria.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		is_coastal = yes
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		is_coastal = yes
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	garrison = 200

	province_modifier = {
		fort_level = 1
		garrison_size = 0.12
		monthly_income = 1.5
		cow_metropolis_holding_build_gold_cost = -0.5
	}
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.05
		levy_size = 0.12
		tax_mult = 0.12
		hostile_raid_time = 0.12
	}
	
	next_building = cow_lighthouse_alexandria_02

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_lighthouse_alexandria_02 = { # Pharos of Alexandreia II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		is_coastal = yes
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		is_coastal = yes
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 1500
	
	garrison = 400

	province_modifier = {
		fort_level = 3
		garrison_size = 0.25
		monthly_income = 3
		cow_metropolis_holding_build_gold_cost = -0.5
	}
	county_modifier = {
		development_growth = 0.25
		development_growth_factor = 0.1
		levy_size = 0.25
		tax_mult = 0.25
		hostile_raid_time = 0.25
	}

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_tower_of_babel_baghdad_01 = { # Tower of Babel I (Lunatic)
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_tower_of_babel.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		scope:holder = {
			cow_holder_is_lunatic_or_possessed_trigger = yes
		}
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		scope:holder = {
			cow_holder_is_lunatic_or_possessed_trigger = yes
		}
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	garrison = 200

	province_modifier = {
		fort_level = 1
		garrison_size = 0.12
		monthly_income = 1.5
	}
	county_modifier = {
		development_growth = 0.1
		development_growth_factor = 0.05
		levy_size = 0.12
		tax_mult = 0.12
		hostile_raid_time = 0.12
	}
	
	next_building = cow_tower_of_babel_baghdad_02

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_tower_of_babel_baghdad_02 = { # Tower of Babel II (Lunatic)
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
			cow_holder_is_lunatic_or_possessed_trigger = yes
		}
	}
	
	can_construct_potential = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_baghdad
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 12000
	
	garrison = 800

	province_modifier = {
		fort_level = 6
		garrison_size = 0.5
		monthly_income = 10
	}
	county_modifier = {
		development_growth = 0.5
		development_growth_factor = 0.2
		levy_size = 0.5
		tax_mult = 0.5
		hostile_raid_time = 0.5
	}

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_grand_amphitheatre_01 = { # Grand Amphitheatre I
	construction_time = very_slow_construction_time
	
	type_icon = "icon_structure_colosseum.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		building_requirement_tribal = no
		barony_has_hist_cow_amphitheater_trigger = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony_has_hist_cow_amphitheater_trigger = no
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000

	character_modifier = {
		army_maintenance_mult = -0.05
		monthly_dynasty_prestige_mult = 0.01
	}
	
	county_modifier = {
		county_opinion_add = 15
		tax_mult = 0.1
		development_growth_factor = 0.15
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_grand_amphitheatre_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_grand_amphitheatre_02 = { # Grand Amphitheatre II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		building_requirement_tribal = no
		barony_has_hist_cow_amphitheater_trigger = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		barony_has_hist_cow_amphitheater_trigger = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2000

	character_modifier = {
		army_maintenance_mult = -0.10
		monthly_dynasty_prestige_mult = 0.05
	}
	
	county_modifier = {
		county_opinion_add = 25
		tax_mult = 0.2
		development_growth_factor = 0.3
		development_growth = 0.2
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_hippodrome_byz_01 = { # Hippodromos I
	construction_time = very_slow_construction_time
	
	type_icon = "cow_icon_structure_circus.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		NOT = { has_building_or_higher = cow_grand_amphitheatre_01 }
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000

	character_modifier = {
		army_maintenance_mult = -0.05
		monthly_dynasty_prestige_mult = 0.01
	}
	
	county_modifier = {
		county_opinion_add = 15
		tax_mult = 0.1
		development_growth_factor = 0.15
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_hippodrome_byz_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_hippodrome_byz_02 = { # Hippodromos II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2000

	character_modifier = {
		army_maintenance_mult = -0.10
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.25
	}
	
	county_modifier = {
		county_opinion_add = 25
		tax_mult = 0.2
		development_growth_factor = 0.3
		development_growth = 0.2
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_hippodrome_antioch_01 = { # Circus of Antiocheia I
	construction_time = very_slow_construction_time
	
	type_icon = "cow_icon_structure_circus.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		NOT = { has_building_or_higher = cow_grand_amphitheatre_01 }
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 2000

	character_modifier = {
		army_maintenance_mult = -0.05
		monthly_dynasty_prestige_mult = 0.01
	}
	
	county_modifier = {
		county_opinion_add = 15
		tax_mult = 0.1
		development_growth_factor = 0.15
		development_growth = 0.1
	}
	
	province_modifier = {
		monthly_income = 1
	}
	
	next_building = cow_hippodrome_antioch_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_hippodrome_antioch_02 = { # Circus of Antiocheia II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_antiocheia
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 2000

	character_modifier = {
		army_maintenance_mult = -0.10
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.25
	}
	
	county_modifier = {
		county_opinion_add = 25
		tax_mult = 0.2
		development_growth_factor = 0.3
		development_growth = 0.2
	}
	
	province_modifier = {
		monthly_income = 2
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_odeon_athens_01 = { # Odeion of Perikles I
	construction_time = very_slow_construction_time
	
	type_icon = "cow_icon_structure_odeon.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		NOT = { has_building_or_higher = cow_grand_amphitheatre_01 }
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500

	county_modifier = {
		development_growth_factor = 0.10
		development_growth = 0.1
		monthly_county_control_change_add = 1
		county_opinion_add = 15
	}
	
	character_modifier = {
		monthly_prestige = 0.35
	}
	
	province_modifier = {
		monthly_income = 1.5
	}
	
	next_building = cow_odeon_athens_02
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_odeon_athens_02 = { # Odeion of Perikles II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 1500

	county_modifier = {
		development_growth_factor = 0.25
		development_growth = 0.2
		monthly_county_control_change_add = 1
		county_opinion_add = 25
	}
	
	character_modifier = {
		monthly_prestige = 0.75
	}
	
	province_modifier = {
		monthly_income = 3
	}
	
	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_mausoleum_alexandria_01 = { # Mausoleion of Alexandros I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_mausoleum.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.12
		development_growth_factor = 0.1
		levy_size = 0.12
		tax_mult = 0.12
	}
	
	character_modifier = {
		monthly_prestige = 0.5
	}
	
	next_building = cow_mausoleum_alexandria_02

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_mausoleum_alexandria_02 = { # Mausoleion of Alexandros II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_alexandria
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.25
		development_growth_factor = 0.2
		levy_size = 0.25
		tax_mult = 0.25
	}
	
	character_modifier = {
		monthly_prestige = 1
		prowess_per_prestige_level = 2
		knight_effectiveness_mult = 0.25
	}

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_statue_athens_01 = { # Athena Promachos I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_athena_promachos.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.12
		development_growth_factor = 0.1
		levy_size = 0.12
		tax_mult = 0.12
	}
	
	character_modifier = {
		monthly_piety = 0.5
	}
	
	next_building = cow_statue_athens_02

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_statue_athens_02 = { # Athena Promachos II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_athens
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_athens
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.25
		development_growth_factor = 0.2
		levy_size = 0.25
		tax_mult = 0.25
	}
	
	character_modifier = {
		monthly_piety = 1
		prowess_per_piety_level = 2
		monthly_piety_gain_per_knight_add = 0.1
		knight_effectiveness_mult = 0.25
	}

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_statue_byz_01 = { # Kolossos Konstantinou I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_statue_byz.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.12
		development_growth_factor = 0.1
		levy_size = 0.12
		tax_mult = 0.12
	}
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.07
		monthly_prestige = 0.5
	}
	
	next_building = cow_statue_byz_02

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_statue_byz_02 = { # Kolossos Konstantinou II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_constantinople
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.25
		development_growth_factor = 0.2
		levy_size = 0.25
		tax_mult = 0.25
	}
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.15
		monthly_prestige = 1
	}

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_statue_roma_01 = { # Colossus Solis I
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_statue_roma.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.12
		development_growth_factor = 0.1
		levy_size = 0.12
		tax_mult = 0.12
	}
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.07
		monthly_prestige = 0.5
	}
	
	next_building = cow_statue_roma_02

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_statue_roma_02 = { # Colossus Solis II
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		barony = title:b_roma
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		barony = title:b_roma
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.25
		development_growth_factor = 0.2
		levy_size = 0.25
		tax_mult = 0.25
	}
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.15
		monthly_prestige = 1
	}

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_roman_horse_statue_01 = { # Incitatus I (Lunatic)
	construction_time = very_slow_construction_time

	type_icon = "cow_icon_structure_roman_horse_statue.dds"
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
		}
	}
	
	can_construct_potential = {
		OR = {
			barony = title:b_constantinople
			barony = title:b_roma
		}
		scope:holder = {
			cow_holder_is_lunatic_or_possessed_trigger = yes
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		OR = {
			barony = title:b_constantinople
			barony = title:b_roma
		}
		scope:holder = {
			cow_holder_is_lunatic_or_possessed_trigger = yes
		}
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_second_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 02 }
		}
		county = { development_level >= 25 }
	}
	
	cost_gold = 1500
	
	county_modifier = {
		development_growth = 0.12
		development_growth_factor = 0.1
		levy_size = 0.12
		tax_mult = 0.12
	}
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.07
		monthly_prestige = 0.5
	}
	
	next_building = cow_roman_horse_statue_02

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}

cow_roman_horse_statue_02 = { # Incitatus II (Lunatic)
	construction_time = very_slow_construction_time
	
	is_enabled = {
		scope:holder = {
			cow_does_not_hold_too_many_metropolises_trigger = no
			cow_holder_is_lunatic_or_possessed_trigger = yes
		}
	}
	
	can_construct_potential = {
		OR = {
			barony = title:b_constantinople
			barony = title:b_roma
		}
		building_requirement_tribal = no
		cow_is_metropolis_building_disabled_rule_trigger = no
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}
	
	can_construct_showing_failures_only = {
		OR = {
			barony = title:b_constantinople
			barony = title:b_roma
		}
		building_requirement_tribal = no
		custom_description = {
			text = "has_cow_correct_metropolis_fourth_stage_trigger"
			building_requirement_cow_metropolis = { LEVEL = 04 }
		}
		county = { development_level >= 25 }
		building_requirement_cow_metropolis_civic_cranes = yes
	}
	
	cost_gold = 12000
	
	county_modifier = {
		development_growth = 0.5
		development_growth_factor = 0.5
		levy_size = 0.5
		tax_mult = 0.5
	}
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.5
		monthly_prestige = 2
		prowess = 10
	}

	ai_value = {
		base = 10
		modifier = {
			factor = 0
			scope:holder = {
				has_government = theocracy_government
			}
		}
	}

}
