####################
# Common Buildings #
####################

### Trade Port

cow_common_tradeport_01 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
		building_requirement_cow_metropolis = { LEVEL = 01 }
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	cost_gold = normal_building_tier_1_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_1
	}
	county_modifier = {
		development_growth_factor = 0.05
	}
	
	next_building = cow_common_tradeport_02

	type_icon = "icon_building_tradeport.dds"
	
	ai_value = {
		base = 10
	}
}

cow_common_tradeport_02 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
		building_requirement_cow_metropolis = { LEVEL = 01 }
		culture = {
			has_innovation = innovation_crop_rotation
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	cost_gold = normal_building_tier_2_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_2
	}
	county_modifier = {
		development_growth_factor = 0.1
	}
	
	next_building = cow_common_tradeport_03
	ai_value = {
		base = 1
	}
}

cow_common_tradeport_03 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
	}
	can_construct = {
		building_requirement_cow_metropolis = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	cost_gold = normal_building_tier_3_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_3
	}
	county_modifier = {
		development_growth_factor = 0.15
	}
	
	next_building = cow_common_tradeport_04
	ai_value = {
		base = 1
	}
}

cow_common_tradeport_04 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
	}
	can_construct = {
		building_requirement_cow_metropolis = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	cost_gold = normal_building_tier_4_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_4
	}
	county_modifier = {
		development_growth_factor = 0.2
	}
	
	next_building = cow_common_tradeport_05
	ai_value = {
		base = 1
	}
}

cow_common_tradeport_05 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
	}
	can_construct = {
		building_requirement_cow_metropolis = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	cost_gold = normal_building_tier_5_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_5
	}
	county_modifier = {
		development_growth_factor = 0.25
	}
	
	next_building = cow_common_tradeport_06
	ai_value = {
		base = 1
	}
}

cow_common_tradeport_06 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
	}
	can_construct = {
		building_requirement_cow_metropolis = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	cost_gold = normal_building_tier_6_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_6
	}
	county_modifier = {
		development_growth_factor = 0.3
	}
	
	next_building = cow_common_tradeport_07
	ai_value = {
		base = 1
	}
}

cow_common_tradeport_07 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
	}
	can_construct = {
		building_requirement_cow_metropolis = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	cost_gold = normal_building_tier_7_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_7
	}
	county_modifier = {
		development_growth_factor = 0.35
	}
	
	next_building = cow_common_tradeport_08
	ai_value = {
		base = 1
	}
}

cow_common_tradeport_08 = {
	construction_time = quick_construction_time

	is_enabled = {
		building_disable_if_vastly_over_domain_limit_trigger = yes
	}

	can_construct_potential = {
		building_common_tradeport_requirement_terrain = yes
	}
	can_construct = {
		building_requirement_cow_metropolis = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}
	
	cost_gold = normal_building_tier_8_cost
	
	province_modifier = {
		monthly_income = normal_building_tax_tier_8
	}
	county_modifier = {
		development_growth_factor = 0.4
	}
	
	ai_value = {
		base = 1
	}
}
