# NEOW original definitions, updated for CK3 1.21

# Historic NEOW landmarks, updated to CK3 1.21 prosperity, taxes, graphics and districts.

########################################
# EUROPA
########################################

##########
# Leuven University
##########

leuven_university_01 = {
	construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
		prestige_level_impact_mult = 0.15
		monthly_lifestyle_xp_gain_mult = 0.15
		cultural_head_fascination_mult = 0.05
		monthly_dynasty_prestige = 0.20
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# Court of Europa
##########

court_of_europa_01 = {
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		building_requirement_tribal = no
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 750

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.25
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige = 0.25
		legitimacy_gain_mult = 0.10
	}

	county_modifier = {
		civic_tax_mult = 0.05
        urban_tax_mult = 0.05
		prosperity_growth = 0.1
		prosperity_growth_factor = 0.05
		hostile_raid_time = 0.25
	}

	province_modifier = {
		monthly_civic_tax = 1
		fort_level = 2
		garrison_size = 0.35
		defender_holding_advantage = 3
		travel_danger = -15
	}

    trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
			}
		}
	}

	next_building = court_of_europa_02

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

court_of_europa_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_empire
		}
		scope:holder.culture = { has_innovation = innovation_vaulting }
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 2000

	county_holder_character_modifier = {
		diplomacy_per_prestige_level = 1
		monthly_dynasty_prestige = 0.50
		monthly_dynasty_prestige_mult = 0.10
		monthly_prestige = 0.50
		legitimacy_gain_mult = 0.15
	}

	county_modifier = {
		civic_tax_mult = 0.1
        urban_tax_mult = 0.1
		prosperity_growth = 0.2
		prosperity_growth_factor = 0.1
		hostile_raid_time = 0.75
	}

	province_modifier = {
		monthly_civic_tax = 2
		fort_level = 5
		garrison_size = 0.5
		defender_holding_advantage = 5
		travel_danger = -20
	}

    trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = special_building_need_amount
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
				prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = special_building_need_amount
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
			}
		}
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Walls of Nijmegen
##########

walls_of_nijmegen_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 500

	county_modifier = {
		hostile_raid_time = 0.35
		prosperity_growth_factor = 0.1
		prosperity_growth = 0.1
	}

	province_modifier = {
		monthly_civic_tax = 0.5
		fort_level = 2
		defender_holding_advantage = 2
		garrison_size = 0.15
		travel_danger = -15
	}
	flag = travel_point_of_interest_martial
}

##########
# World-Class port
##########

large_port_01 = {
	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_prosperity_01 }
		scope:holder = { highest_held_title_tier >= tier_duchy }
	}

	cost_gold = 250

	character_modifier = {
		embarkation_cost_mult = -0.05
		naval_movement_speed_mult = 0.05
	}

	county_modifier = {
        province_size_baseline_add = 10
		maritime_tax_mult = 0.05
        commerce_tax_mult = 0.05
	}

	province_modifier = {
		monthly_maritime_tax = 0.5
        monthly_commerce_tax = 0.5
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.01
	}

	next_building = large_port_02

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

large_port_02 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_ledger }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 01 }
	}

	cost_gold = 500

	character_modifier = {
        stewardship = 1
		embarkation_cost_mult = -0.075
		naval_movement_speed_mult = 0.075
	}

	county_modifier = {
        province_size_baseline_add = 20
		maritime_tax_mult = 0.1
		commerce_tax_mult = 0.1
	}

	province_modifier = {
		monthly_maritime_tax = 0.75
        monthly_commerce_tax = 1
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.02
	}

	next_building = large_port_03

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

large_port_03 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_armilary_sphere }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}

	cost_gold = 1000

    character_modifier = {
        stewardship = 1
        stewardship_per_prestige_level = 1
		embarkation_cost_mult = -0.1
		naval_movement_speed_mult = 0.1
	}

	county_modifier = {
        province_size_baseline_add = 30
		maritime_tax_mult = 0.15
		commerce_tax_mult = 0.15
	}

	province_modifier = {
		monthly_maritime_tax = 1
        monthly_commerce_tax = 1.5
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.03
	}

    next_building = large_port_04

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

large_port_04 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_merchant_law }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 1500

    character_modifier = {
        stewardship = 2
        stewardship_per_prestige_level = 1
		embarkation_cost_mult = -0.15
		naval_movement_speed_mult = 0.15
	}

	county_modifier = {
        province_size_baseline_add = 40
		maritime_tax_mult = 0.2
		commerce_tax_mult = 0.2
	}

	province_modifier = {
		monthly_maritime_tax = 1.5
        monthly_commerce_tax = 2
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.04
	}

    next_building = large_port_05

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

large_port_05 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_pilot_books }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 04 }
	}

	cost_gold = 2500

    character_modifier = {
        stewardship = 3
        stewardship_per_prestige_level = 1
		embarkation_cost_mult = -0.2
		naval_movement_speed_mult = 0.2
	}

	county_modifier = {
        province_size_baseline_add = 50
		maritime_tax_mult = 0.25
		commerce_tax_mult = 0.25
	}

	province_modifier = {
		monthly_maritime_tax = 2
        monthly_commerce_tax = 3
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.05
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 10

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

##########
# Small Port
##########

small_port_01 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_prosperity_01 }
		scope:holder = { highest_held_title_tier >= tier_duchy }
	}

	cost_gold = 200

	character_modifier = {
		embarkation_cost_mult = -0.05
		naval_movement_speed_mult = 0.05
	}

	county_modifier = {
        province_size_baseline_add = 5
		maritime_tax_mult = 0.05
        commerce_tax_mult = 0.05
	}

	province_modifier = {
		monthly_maritime_tax = 0.25
        monthly_commerce_tax = 0.35
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.01
	}

	next_building = small_port_02

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

small_port_02 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_ledger }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 01 }
	}

	cost_gold = 400

	character_modifier = {
        stewardship = 1
		embarkation_cost_mult = -0.075
		naval_movement_speed_mult = 0.075
	}

	county_modifier = {
        province_size_baseline_add = 10
		maritime_tax_mult = 0.1
		commerce_tax_mult = 0.1
	}

	province_modifier = {
		monthly_maritime_tax = 0.5
        monthly_commerce_tax = 0.75
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.02
	}

	next_building = small_port_03

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

small_port_03 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_armilary_sphere }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}

	cost_gold = 800

    character_modifier = {
        stewardship = 1
        stewardship_per_prestige_level = 1
		embarkation_cost_mult = -0.1
		naval_movement_speed_mult = 0.1
	}

	county_modifier = {
        province_size_baseline_add = 15
		maritime_tax_mult = 0.15
		commerce_tax_mult = 0.15
	}

	province_modifier = {
		monthly_maritime_tax = 0.75
        monthly_commerce_tax = 1.25
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.03
	}

    next_building = small_port_04

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

small_port_04 = {

	construction_time = very_slow_construction_time

	type_icon = "tradeport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_merchant_law }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 1250

    character_modifier = {
        stewardship = 2
        stewardship_per_prestige_level = 1
		embarkation_cost_mult = -0.15
		naval_movement_speed_mult = 0.15
	}

	county_modifier = {
        province_size_baseline_add = 20
		maritime_tax_mult = 0.2
		commerce_tax_mult = 0.2
	}

	province_modifier = {
		monthly_maritime_tax = 1.15
        monthly_commerce_tax = 1.75
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.04
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

##########
# Fortified Port
##########

fortified_port_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/drassanes.dds"

	can_construct_potential = {
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_prosperity_01 }
		scope:holder = { highest_held_title_tier >= tier_duchy }
	}

	cost_gold = 250

	character_modifier = {
		embarkation_cost_mult = -0.05
		naval_movement_speed_mult = 0.05
	}

	county_modifier = {
        province_size_baseline_add = 5
		maritime_tax_mult = 0.05
        commerce_tax_mult = 0.05
		hostile_raid_time = 0.15
	}

	province_modifier = {
		monthly_maritime_tax = 0.25
        monthly_commerce_tax = 0.35
		fort_level = 1
		defender_holding_advantage = 2
		stationed_maa_damage_mult = 0.05
		stationed_maa_toughness_mult = 0.05
		garrison_size = 0.05
		travel_danger = -10
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.01
	}

	next_building = fortified_port_02

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 2

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

fortified_port_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/drassanes.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_ledger }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 01 }
	}

	cost_gold = 500

	character_modifier = {
        stewardship = 1
		embarkation_cost_mult = -0.075
		naval_movement_speed_mult = 0.075
	}

	county_modifier = {
        province_size_baseline_add = 10
		maritime_tax_mult = 0.1
		commerce_tax_mult = 0.1
		hostile_raid_time = 0.25
	}

	province_modifier = {
		monthly_maritime_tax = 0.5
        monthly_commerce_tax = 0.75
		fort_level = 2
		defender_holding_advantage = 3
		stationed_maa_damage_mult = 0.05
		stationed_maa_toughness_mult = 0.1
		garrison_size = 0.1
		travel_danger = -15
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.02
	}

	next_building = fortified_port_03

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 4

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

fortified_port_03 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/drassanes.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_armilary_sphere }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}

	cost_gold = 1000

    character_modifier = {
        stewardship = 1
        stewardship_per_prestige_level = 1
		embarkation_cost_mult = -0.1
		naval_movement_speed_mult = 0.1
	}

	county_modifier = {
        province_size_baseline_add = 15
		maritime_tax_mult = 0.15
		commerce_tax_mult = 0.15
		hostile_raid_time = 0.5
	}

	province_modifier = {
		monthly_maritime_tax = 0.75
        monthly_commerce_tax = 1.25
		fort_level = 3
		defender_holding_advantage = 5
		stationed_maa_damage_mult = 0.1
		stationed_maa_toughness_mult = 0.1
		garrison_size = 0.15
		travel_danger = -20
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.03
	}

    next_building = fortified_port_04

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 6

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

fortified_port_04 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/drassanes.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_merchant_law }
		scope:holder = { highest_held_title_tier >= tier_duchy }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 1500

    character_modifier = {
        stewardship = 2
        stewardship_per_prestige_level = 1
		embarkation_cost_mult = -0.15
		naval_movement_speed_mult = 0.15
	}

	county_modifier = {
        province_size_baseline_add = 20
		maritime_tax_mult = 0.2
		commerce_tax_mult = 0.2
		hostile_raid_time = 1
	}

	province_modifier = {
		monthly_maritime_tax = 1.15
        monthly_commerce_tax = 1.75
		fort_level = 4
		defender_holding_advantage = 6
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.15
		garrison_size = 0.25
		travel_danger = -25
	}

    market_modifier = {
		trade_category_all_sell_price_mult = 0.04
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_consumption
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                civic_tax_mult = 0.01
				prosperity_growth = 0.02
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_luxury_items
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                popular_opinion_add = 1
				prosperity_growth_factor = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_precious_metals
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
				urban_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good_category = trade_category_jewelry_materials
		amount = 5
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
				artisan_tax_mult = 0.01
                prosperity_growth = 0.01
			}
		}
	}

    trade_good_need = {
		trade_good = trade_good_wood
		amount = 10
		can_be_filled_multiple_times = 8

		modifiers = {
			county_modifier = {
                prosperity_growth_factor = 0.01
				province_size_baseline_add = 5
			}
		}
	}

	flag = travel_point_of_interest_economic
}

##########
# Zone Rouge - Area filled with unexlpoded munition and other dangerous things left from WW1, as of today its still dangerous and decomposing might take a few thousand years ; cannot be properly cleared without modern equipment
##########



zone_rouge_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		
	}

	cost_gold = 50

	county_modifier = {
		prosperity_growth_factor = -0.10
		civic_tax_mult = -0.05
		county_opinion_add = -5
	}

	province_modifier = {
		travel_danger = 30
		defender_holding_advantage = 2
		holding_build_gold_cost = 0.15
		build_gold_cost = 0.15
		build_speed = 0.15
		supply_limit_mult = -0.20
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_zone_rouge
}

##########
# Verdun Memorial
##########



verdun_memorial_01 = {

	effect_desc = {
		triggered_desc = {
			trigger = { has_dlc_feature = legends_of_the_dead }
			desc = building_funeral_effect_desc
		}
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		scope:holder = {
			OR = { religion = religion:europeanist_religion }
		}
	}

	is_enabled = {
		scope:holder = {
			OR = { religion = religion:europeanist_religion }
		}
	}

	cost_gold = 750

	county_holder_character_modifier = {
		monthly_piety = 0.25
		monthly_dynasty_prestige_mult = 0.05
		holy_order_hire_cost_mult = -0.10
		clergy_opinion = 5
	}

	county_modifier = {
		civic_tax_mult = 0.15
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.1
		county_opinion_add = 5
	}

	province_modifier = {
		monthly_civic_tax = 1.5
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

########################################
# FRANCE
########################################

##########
# Tour Eiffel  / Eiffel Tower - only the first story remain, due to technology wont be able to be reconstructed, only maintained
##########



tour_eiffel_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_prestige = 1
		monthly_piety_gain_mult = 0.1
		monthly_dynasty_prestige = 0.25
		monthly_dynasty_prestige_mult = 0.05
		legitimacy_gain_mult = 0.05
		diplomacy_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.2
		prosperity_growth = 0.25
		prosperity_growth_factor = 0.2
		county_opinion_add = 10
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Napoleon's line - series of repurposed Napoleonic forts near Paris (mostly constructed post-event)
##########



napoleon_line_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 1000

	county_modifier = {
		hostile_raid_time = 0.25
		prosperity_growth_factor = 0.10
		prosperity_growth = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 0.5
		fort_level = 2
		defender_holding_advantage = 2
		garrison_size = 0.25
		travel_danger = -10
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = napoleon_line_02
	flag = travel_point_of_interest_martial
}



napoleon_line_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		highest_held_title_tier >= tier_duchy
	}

	cost_gold = 1500

	county_holder_character_modifier = {
		martial_per_prestige_level = 1
	}

	county_modifier = {
		hostile_raid_time = 0.5
		prosperity_growth_factor = 0.20
		prosperity_growth = 0.20
		county_opinion_add = 10
	}

	province_modifier = {
		monthly_civic_tax = 1.5
		fort_level = 5
		defender_holding_advantage = 5
		garrison_size = 0.35
		travel_danger = -20
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Palace of Versailles - mostly broken down and most of the gold was robbed
##########



palace_versailles_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_baliffs }
	}

	effect_desc = cereal_fields_effect_desc

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.05
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige = 0.15
		courtly_tax_contribution_mult = 0.05
	}

	county_modifier = {
		civic_tax_mult = 0.05
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 0.5
	}

	next_building = palace_versailles_02

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}



palace_versailles_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_guilds }
	}

	effect_desc = farm_estates_effect_desc

	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.30
		monthly_dynasty_prestige_mult = 0.1
		monthly_prestige = 0.50
		legitimacy_gain_mult = 0.05
		courtly_tax_contribution_mult = 0.10
		diplomacy_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.15
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.20
		county_opinion_add = 5
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	next_building = palace_versailles_03

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}



palace_versailles_03 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_noblesse_oblige}
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 2000

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.50
		monthly_dynasty_prestige_mult = 0.15
		monthly_prestige = 1
		legitimacy_gain_mult = 0.10
		courtly_tax_contribution_mult = 0.15
		diplomacy_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.25
		prosperity_growth = 0.25
		prosperity_growth_factor = 0.30
		county_opinion_add = 10
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Académie de l'Absurde - post-event university established by Isildur
##########

academie_labsurde_01 = {
construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
		prestige_level_impact_mult = 0.15
		monthly_lifestyle_xp_gain_mult = 0.15
		cultural_head_fascination_mult = 0.05
		monthly_dynasty_prestige = 0.20
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# Palace of Fontainebleau
##########



palace_fontainebleau_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_baliffs }
		building_requirement_tribal = no
	}

	effect_desc = cereal_fields_effect_desc

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.10
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige = 0.15
		courtly_tax_contribution_mult = 0.05
	}

	county_modifier = {
		civic_tax_mult = 0.05
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 0.75
	}

	next_building = palace_fontainebleau_02

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}



palace_fontainebleau_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_guilds }
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 800

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.20
		monthly_dynasty_prestige_mult = 0.1
		monthly_prestige = 0.25
		legitimacy_gain_mult = 0.05
		courtly_tax_contribution_mult = 0.10
		diplomacy_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		county_opinion_add = 5
	}

	province_modifier = {
		monthly_civic_tax = 1.5
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# University of Montpellier
##########

montpellier_university_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
		prestige_level_impact_mult = 0.15
		monthly_lifestyle_xp_gain_mult = 0.1
		cultural_head_fascination_mult = 0.05
		monthly_dynasty_prestige = 0.20
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.25
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# Capitole de Toulouse - administrative center of Southern France
##########



capitole_toulouse_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 1000

	county_holder_character_modifier = {
		diplomacy_per_prestige_level = 1
		monthly_prestige = 0.25
		legitimacy_gain_mult = 0.05
	}

	county_modifier = {
		civic_tax_mult = 0.15
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 1
		garrison_size = 0.10
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Château de Bretagne - center of Britanny ; post event
##########



chateau_bretagne_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	effect_desc = farm_estates_effect_desc

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige_gain_mult = 0.05
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 1
	}

	next_building = chateau_bretagne_02

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}



chateau_bretagne_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_guilds }
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.10
		monthly_dynasty_prestige_mult = 0.15
		monthly_prestige_gain_mult = 0.15
		monthly_prestige = 0.25
		courtly_tax_contribution_mult = 0.05
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Fort de Bordeaux - post-event, large fort/naval fort
##########



fort_de_bordeaux_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 1500

    county_holder_character_modifier = {
		martial_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
		hostile_raid_time = 0.50
	}

	province_modifier = {
		monthly_civic_tax = 2
		fort_level = 2
		defender_holding_advantage = 4
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.15
		garrison_size = 0.20
		travel_danger = -15
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Mont-Saint-Michel
##########



mont_saint_michel_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 750

	county_holder_character_modifier = {
		monthly_piety = 0.20
		holy_order_hire_cost_mult = -0.10
		clergy_opinion = 5
	}

	county_modifier = {
		religious_tax_mult = 0.15
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		hostile_raid_time = 0.50
	}

	province_modifier = {
		monthly_religious_tax = 1.5
		fort_level = 4
		defender_holding_advantage = 5
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.15
		garrison_size = 0.15
		travel_danger = -20
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}


########################################
# IBERIA
########################################

##########
# Fortress Monastery of Andorra
##########



fortress_andorra_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds" 
	
	can_construct_potential = {
		scope:holder = {
			OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
		}
	}
	
	is_enabled = {
		scope:holder = {
			OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety_gain_mult = 0.1
		zealot_opinion = 5
	}
	
	county_modifier = {
		hostile_raid_time = 0.5
	}
	
	province_modifier = {
		fort_level = 4
		defender_holding_advantage = 4
		monthly_civic_tax = 1
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Statue of Clorinda - the spanish-morrocan tomboy hero of fame and fortune, saving the last bonaparte around the border
##########



statue_clorinda_01 = {

	asset = {
		type = pdxmesh
		name = "fp4_legendary_mediterranean_monument_01_a_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	is_enabled = {
		always = yes
	}

	construction_time = very_slow_construction_time

	cost = {
		gold = 1000
	}

	character_modifier = {
		glory_hound_opinion = 5
		glory_hound_tax_contribution_mult = 0.05
		monthly_dynasty_prestige_mult = 0.1
		monthly_prestige_gain_mult = 0.2
	}

	county_modifier = {
		county_opinion_add = 5
	}

	province_modifier = {
		stationed_maa_damage_add = 20
		stationed_maa_damage_mult = 0.15
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Sagrada Familia
##########



sagrada_familia_01 = {
		
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.35
		monthly_piety_gain_mult = 0.10
		holy_order_hire_cost_mult = -0.15
		clergy_opinion = 5
		monthly_county_control_growth_factor = 0.10
	}
	
	county_modifier = {
		religious_tax_mult = 0.20
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.20
	}
	
	province_modifier = {
		monthly_religious_tax = 1.5
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Cathedral de Santiago de Compostela
##########



cathedral_seville_01 = {
	
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.50
		monthly_piety_gain_mult = 0.15
		holy_order_hire_cost_mult = -0.10
		clergy_opinion = 10
	}
	
	county_modifier = {
		religious_tax_mult = 0.25
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.15
	}
	
	province_modifier = {
		monthly_religious_tax = 3
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Tomb of Thez the Mighty (Faro)
##########



tomb_thez_mighty_01 = {

	asset = {
		type = pdxmesh
		name = "fp3_building_special_tomb_of_cyrus_01_a_mesh"
	}

	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds" 
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	cost_gold = 1000
	
	character_modifier = {
		close_relative_opinion = 10
		negate_health_penalty_add = 0.1
		monthly_dynasty_prestige_mult = 0.05
	}

	province_modifier = {
		monthly_civic_tax = 0.75
	}
	
	county_modifier = {
		monthly_county_control_growth_add = 0.5
	}
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Belém Tower (Lisbon, NOT Brazil)
##########



belem_tower_01 = {

	asset = {
		type = pdxmesh
		name = "fp4_legendary_western_watchtower_01_a_mesh"
	}
	
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	cost_gold = 500

	character_modifier = {
		monthly_prestige = 0.15
	}

	county_modifier = {
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.15
		hostile_raid_time = 0.25
	}

	province_modifier = {
		defender_holding_advantage = 2
		fort_level = 2
		monthly_maritime_tax = 1
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
	}

	max_garrison = 350

	next_building = belem_tower_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}



belem_tower_02 = {

	asset = {
		type = pdxmesh
		name = "fp4_legendary_western_watchtower_01_a_mesh"
	}
	
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 500

	character_modifier = {
		monthly_prestige = 0.50
	}

	county_modifier = {
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.25
		maritime_tax_mult = 0.10
		hostile_raid_time = 0.50
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 4
		monthly_maritime_tax = 2.5
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		travel_danger = -10
	}

	max_garrison = 750
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

##########
# Toledo Steelworks
##########



toledo_steelworks_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/toledo.dds"

	effect_desc = windfurnaces_effects_desc

	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	cost_gold = 750

	character_modifier = {
		knight_effectiveness_mult = 0.05
	}

	county_modifier = {
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.10
		mining_tax_mult = 0.10
	}
	
	province_modifier = {
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.15
		stationed_siege_weapon_siege_value_mult = 0.10
		monthly_mining_tax = 1
	}
	
	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		directive_to_build_military_modifier = yes
	}

	next_building = toledo_steelworks_02
	flag = travel_point_of_interest_martial
	flag = travel_point_of_interest_economic
}



toledo_steelworks_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/toledo.dds"

	effect_desc = windfurnaces_effects_desc

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1500

	character_modifier = {
		knight_effectiveness_mult = 0.10
		stewardship_per_prestige_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.25
		mining_tax_mult = 0.25
	}
	
	province_modifier = {
		stationed_maa_damage_mult = 0.40
		stationed_maa_toughness_mult = 0.40
		stationed_siege_weapon_siege_value_mult = 0.25
		monthly_mining_tax = 2.5
	}
	
	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		directive_to_build_military_modifier = yes
	}

	next_building = toledo_steelworks_03
	flag = travel_point_of_interest_martial
	flag = travel_point_of_interest_economic
}



toledo_steelworks_03 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/toledo.dds"

	effect_desc = windfurnaces_effects_desc

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_cranes }
		building_requirement_castle_city_church = { LEVEL = 04 }
	}
	
	cost_gold = 2500

	character_modifier = {
		knight_effectiveness_mult = 0.15
		stewardship_per_prestige_level = 2
		martial_per_prestige_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.30
		prosperity_growth_factor = 0.35
		mining_tax_mult = 0.35
	}
	
	province_modifier = {
		stationed_maa_damage_mult = 0.80
		stationed_maa_toughness_mult = 0.80
		stationed_siege_weapon_siege_value_mult = 0.50
		monthly_mining_tax = 5
	}
	
	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		directive_to_build_military_modifier = yes
	}
	flag = travel_point_of_interest_martial
	flag = travel_point_of_interest_economic
}


##########
# The Great Cathedral-Mosque of Cordoba
##########



cathedral_mosque_cordoba_01 = {

	asset = {
		type = pdxmesh
		name = "monument_mezquita_de_cordoba_mesh"
	}
			
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					religion = religion:islam_religion
				}
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.35
		monthly_piety_gain_mult = 0.10
		holy_order_hire_cost_mult = -0.15
		clergy_opinion = 5
		monthly_county_control_growth_factor = 0.10
	}
	
	county_modifier = {
		religious_tax_mult = 0.20
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.20
	}
	
	province_modifier = {
		monthly_religious_tax = 2
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Almeria Castle
##########



almeria_castle_01 = {
		
	asset = {
		type = pdxmesh
		name = "fp2_building_special_alcazar_de_segovia_01_a_mesh"
	}

	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds" 
	
	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_hoardings 
		}
	}
	
	cost_gold = 1000
	
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.05
		martial_per_prestige_level = 1
	}
	
	county_modifier = {
		civic_tax_mult = 0.15
		monthly_county_control_growth_add = 0.35
	}

	province_modifier = {
		defender_holding_advantage = 4
		fort_level = 4
		stationed_maa_damage_mult = 0.1
		stationed_maa_toughness_mult = 0.1
		stationed_siege_weapon_siege_value_mult = 0.1
		travel_danger = -20
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Alhambra
##########



fortress_of_gibraltar_01 = {

	asset = {
		type = pdxmesh
		name = "fp2_building_special_rock_of_gibraltar_01_a_mesh" 
	}
	
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	cost_gold = 500

	character_modifier = {
		martial_per_prestige_level = 1
		monthly_prestige = 0.25
	}

	county_modifier = {
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.15
		hostile_raid_time = 0.35
	}

	province_modifier = {
		defender_holding_advantage = 4
		fort_level = 3
		monthly_civic_tax = 1.5
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

##########
# Madrid University
##########

madrid_university_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
		prestige_level_impact_mult = 0.15
		monthly_lifestyle_xp_gain_mult = 0.15
		cultural_head_fascination_mult = 0.05
		monthly_dynasty_prestige = 0.20
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# University of Coimbra
##########

university_coimbra_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
		prestige_level_impact_mult = 0.15
		monthly_lifestyle_xp_gain_mult = 0.15
		cultural_head_fascination_mult = 0.05
		monthly_dynasty_prestige = 0.20
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# Fortress of Pamplona
##########



fortress_pamplona_01 = {
		
	asset = {
		type = pdxmesh
		name = "fp2_building_special_alhambra_01_mesh" 
	}


	construction_time = very_slow_construction_time
	effect_desc = feast_cost_discount_max_desc

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_hoardings
		}
	}
	
	cost_gold = 2000

	character_modifier = {
		monthly_prestige_gain_mult = 0.15
		monthly_prestige = 0.25
	}

	county_modifier = {
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.15
		monthly_county_control_growth_add = 0.5
		civic_tax_mult = 0.15
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 4
		monthly_civic_tax = 1
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.15
		travel_danger = -15
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

########################################
# ALPINREICH
########################################

##########
# Statue of Isildur Bonaparte - in the og mod
##########



statue_isildur_01 = {

	asset = {
		type = pdxmesh
		name = "fp4_legendary_mediterranean_monument_01_a_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	is_enabled = {
		always = yes
	}

	construction_time = very_slow_construction_time

	cost = {
		gold = 1000
	}

	character_modifier = {
		glory_hound_opinion = 5
		glory_hound_tax_contribution_mult = 0.05
		monthly_dynasty_prestige_mult = 0.1
		monthly_prestige_gain_mult = 0.2
	}

	county_modifier = {
		county_opinion_add = 5
	}

	province_modifier = {
		stationed_maa_damage_add = 20
		stationed_maa_damage_mult = 0.15
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Fourvière - historic core of the city of Lyon
##########



fourviere_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_piety = 0.25
		monthly_prestige = 0.25
	}

	county_modifier = {
		prosperity_growth = 0.2
		prosperity_growth_factor = 0.2
		civic_tax_mult = 0.25
	}

	province_modifier = {
		monthly_civic_tax = 1
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_learning
}

##########
# University of Zurich
##########

university_zurich_01 = {
 construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
		prestige_level_impact_mult = 0.15
		monthly_lifestyle_xp_gain_mult = 0.15
		cultural_head_fascination_mult = 0.05
		monthly_dynasty_prestige = 0.20
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# Capitale de Bern - post-event, big diplomatic and economic hub
##########



capitale_bern_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 1000

	effect_desc = feast_cost_discount_max_desc

	county_holder_character_modifier = {
		diplomacy_per_prestige_level = 1
		monthly_dynasty_prestige = 0.25
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige = 0.25
		monthly_prestige_gain_mult = 0.15
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
	flag = travel_point_of_interest_economic
}

##########
# Palais des Nations - UN place, Geneva
##########



palais_des_nations_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 1000

	county_holder_character_modifier = {
		diplomacy_per_prestige_level = 1
		monthly_prestige = 0.15
		monthly_piety = 0.25
		monthly_piety_gain_mult = 0.20
		holy_order_hire_cost_mult = -0.10
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
	flag = travel_point_of_interest_economic
}

##########
# Mountain fortress of Lugano - post-event fortifications
##########



mountain_fortress_lugano_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	cost_gold = 500

	county_modifier = {
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.05
		monthly_county_control_growth_add = 0.15
		civic_tax_mult = 0.05
	}

	province_modifier = {
		defender_holding_advantage = 5
		fort_level = 2
		monthly_civic_tax = 0.5
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		travel_danger = -15
	}

	max_garrison = 350

	next_building = mountain_fortress_lugano_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}



mountain_fortress_lugano_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1000

	character_modifier = {
		martial_per_prestige_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		monthly_county_control_growth_add = 0.35
		civic_tax_mult = 0.10
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 4
		monthly_civic_tax = 1.5
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		travel_danger = -25
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

##########
# Mountain fortress of Bolzano
##########



mountain_fortress_bolzano_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	cost_gold = 500

	county_modifier = {
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.05
		monthly_county_control_growth_add = 0.15
		civic_tax_mult = 0.05
	}

	province_modifier = {
		defender_holding_advantage = 5
		fort_level = 2
		monthly_civic_tax = 0.5
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		travel_danger = -15
	}

	max_garrison = 350

	next_building = mountain_fortress_bolzano_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}



mountain_fortress_bolzano_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1000

	character_modifier = {
		martial_per_prestige_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		monthly_county_control_growth_add = 0.35
		civic_tax_mult = 0.10
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 4
		monthly_civic_tax = 1.5
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		travel_danger = -25
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

##########
# Mountain Fortress of Innsbruck
##########



mountain_fortress_innsbruck_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	cost_gold = 500

	county_modifier = {
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.05
		monthly_county_control_growth_add = 0.15
		civic_tax_mult = 0.05
	}

	province_modifier = {
		defender_holding_advantage = 5
		fort_level = 2
		monthly_civic_tax = 0.5
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		travel_danger = -15
	}

	max_garrison = 350

	next_building = mountain_fortress_innsbruck_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}



mountain_fortress_innsbruck_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1000

	character_modifier = {
		martial_per_prestige_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		monthly_county_control_growth_add = 0.35
		civic_tax_mult = 0.10
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 4
		monthly_civic_tax = 1.5
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		travel_danger = -25
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

########################################
# ITALIA
########################################

##########
# Plaza de Toros (Palma - Mallorca) - bull fighting arena
##########



plaza_de_toros_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 750

	county_modifier = {
		hostile_raid_time = 0.15
		county_opinion_add = 10
		civic_tax_mult = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 0.5
		fort_level = 1
		defender_holding_advantage = 1
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = plaza_de_toros_02
	flag = travel_point_of_interest_economic
}



plaza_de_toros_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_prestige_gain_mult = 0.10
		monthly_prestige = 0.20
		stewardship_per_prestige_level = 1
	}

	county_modifier = {
		hostile_raid_time = 0.25
		county_opinion_add = 20
		civic_tax_mult = 0.15
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 1.5
		fort_level = 2
		defender_holding_advantage = 2
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
}

##########
# Leaning Tower of Pisa
##########



leaning_tower_of_pisa_01 = {

	construction_time = very_slow_construction_time

	type_icon = "icon_neow_leaning_tower_pisa.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_prestige = 0.50
		monthly_prestige_gain_mult = 0.25
		diplomacy_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 1
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Galleria Vittorio Emanuele II - MAJOR trade hub
##########



galleria_vittorio_emanuele_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_prestige = 0.20
		monthly_prestige_gain_mult = 0.10
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	next_building = galleria_vittorio_emanuele_02

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
	}
	flag = travel_point_of_interest_economic
}



galleria_vittorio_emanuele_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_prestige = 0.50
		monthly_prestige_gain_mult = 0.15
		stewardship_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	next_building = galleria_vittorio_emanuele_03

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
	}
	flag = travel_point_of_interest_economic
}



galleria_vittorio_emanuele_03 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_cranes }
		building_requirement_castle_city_church = { LEVEL = 04 }
	}

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_prestige = 0.75
		monthly_prestige_gain_mult = 0.25
		prestige_level_impact_mult = 0.10
		stewardship_per_prestige_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.30
		prosperity_growth = 0.30
		prosperity_growth_factor = 0.30
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
	}
	flag = travel_point_of_interest_economic
}

##########
# Royal Palace of Turin
##########



royal_palace_torino_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 1000

	county_holder_character_modifier = {
		diplomacy_per_prestige_level = 1
		monthly_dynasty_prestige = 0.15
		monthly_dynasty_prestige_mult = 0.10
		monthly_prestige = 0.15
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Monte Cassino Monastery
##########

monte_cassino_monastery_01 = {
	asset = {
		type = pdxmesh
		name = ep3_saint_catherine_monastery_mesh
	}
	construction_time = slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"

	cost_gold = 1000

	can_construct = {
		
	}
	
	is_enabled = {
		OR = { scope:holder.faith.religion = religion:eastern_orthodox_religion scope:holder.faith.religion = religion:catholic_religion scope:holder.faith.religion = religion:protestant_religion }
	}

	character_modifier = {
		monthly_piety = 0.5
		monthly_piety_gain_mult = 0.15
		religious_vassal_opinion = 5
		monthly_county_control_growth_factor = 0.2
		monthly_lifestyle_xp_gain_mult = 0.10
		cultural_head_fascination_mult = 0.05
		zealot_opinion = 5
		clergy_opinion = 10
	}
	
	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		religious_tax_mult = 0.05
	}

	province_modifier = {
		monthly_religious_tax = 0.5
		fort_level = 2
		defender_holding_advantage = 5
	}

	on_complete = {
		#Regular Mandala Boon
		mandala_built_piety_duchy_building_t3_effect = yes
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# University of Bologna
##########

university_bologna_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
		stewardship_per_prestige_level = 1
		monthly_lifestyle_xp_gain_mult = 0.1
		cultural_head_fascination_mult = 0.05
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax_mult = 0.05
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# University of Seina
##########

siena_university_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
        intrigue_per_prestige_level = 1
        monthly_dynasty_prestige = 0.15
		monthly_lifestyle_xp_gain_mult = 0.1
		cultural_head_fascination_mult = 0.05
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax_mult = 0.05
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# St. Peters Basilica - Vaticano, center of Roman Catholicism
##########



apollinare_nuovo_01 = {
	asset = {
		type = pdxmesh
		name = ep3_basilica_sant_apollinare_nuovo_mesh
	}
	construction_time = slow_construction_time

	type_icon = "special_buildings/apollinare_nuovo.dds"

	cost_gold = 1000

	can_construct = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}

	character_modifier = {
		monthly_piety = 0.2
		religious_vassal_opinion = 5
		monthly_county_control_growth_factor = 0.1
		zealot_opinion = 5
		clergy_opinion = 5
	}
	
	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		county_opinion_add = 10
		religious_tax_mult = 0.3
	}

	province_modifier = {
		monthly_religious_tax = 1.5
	}

	on_complete = {
		#Regular Mandala Boon
		mandala_built_piety_duchy_building_t3_effect = yes
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Cattolica di Stilo 
##########



cattolica_stilo_01 = {
	asset = {
		type = pdxmesh
		name = ep3_cattolica_di_stilo_mesh
	}
	construction_time = slow_construction_time

	type_icon = "special_buildings/cattolica_stilo.dds"

	cost_gold = 750

	can_construct = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}

	character_modifier = {
		monthly_piety = 0.5
		religious_vassal_opinion = 5
		zealot_opinion = 5
		clergy_opinion = 5
		holy_order_hire_cost_mult = -0.15
	}
	
	county_modifier = {
		prosperity_growth = 0.1
		prosperity_growth_factor = 0.1
		religious_tax_mult = 0.1
		county_opinion_add = 10
	}

	province_modifier = {
		monthly_religious_tax = 1
	}

	on_complete = {
		#Regular Mandala Boon
		mandala_built_piety_duchy_building_t3_effect = yes
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Palermo Cathedral
##########



palermo_cathedral_01 = {
		
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.25
		monthly_piety_gain_mult = 0.15
		holy_order_hire_cost_mult = -0.15
		clergy_opinion = 10
	}
	
	county_modifier = {
		religious_tax_mult = 0.1
		prosperity_growth_factor = 0.2
		prosperity_growth = 0.2
	}
	
	province_modifier = {
		monthly_religious_tax = 2
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Great Island Fortress of Malta
##########



island_fortress_malta_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	county_modifier = {
		hostile_raid_time = 1
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 1
		fort_level = 4
		defender_holding_advantage = 6
		garrison_size = 0.10
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
	}

	max_garrison = 500

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_martial
}

##########
# Castel Nuovo (Napoli)
##########



castel_nuovo_01 = {
	
	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds" 
	
	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_hoardings 
		}
	}
	
	cost_gold = 500
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.10
	}
	
	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_civic_tax = 0.5
		defender_holding_advantage = 3
		fort_level = 2
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		stationed_siege_weapon_siege_value_mult = 0.05
		travel_danger = -15
	}

	max_garrison = 150

	next_building = castel_nuovo_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}



castel_nuovo_02 = {
	
	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder.culture = {
			has_innovation = innovation_castle_baileys
		}
	}
	
	cost_gold = 1000
	
	character_modifier = {
		monthly_prestige_gain_mult = 0.25
		martial_per_prestige_level = 1
	}
	
	county_modifier = {
		civic_tax_mult = 0.25
		prosperity_growth = 0.2
		prosperity_growth_factor = 0.2
		monthly_county_control_growth_add = 0.2
	}

	province_modifier = {
		monthly_civic_tax = 1.5
		defender_holding_advantage = 5
		fort_level = 4
		stationed_maa_damage_mult = 0.2
		stationed_maa_toughness_mult = 0.2
		stationed_siege_weapon_siege_value_mult = 0.15
		travel_danger = -25
	}

	max_garrison = 750
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Mountain fortress of Imperia - controlling the path along the coast from It. to Fr.
##########



mountain_fortress_imperia_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	cost_gold = 500

	county_modifier = {
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.05
		monthly_county_control_growth_add = 0.15
		civic_tax_mult = 0.05
	}

	province_modifier = {
		defender_holding_advantage = 5
		fort_level = 2
		monthly_civic_tax = 0.5
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		travel_danger = -15
	}

	max_garrison = 350

	next_building = mountain_fortress_imperia_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}



mountain_fortress_imperia_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1000

	character_modifier = {
		martial_per_prestige_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		monthly_county_control_growth_add = 0.35
		civic_tax_mult = 0.10
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 4
		monthly_civic_tax = 1.5
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		travel_danger = -25
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

##########
# Cathedral of Saint Marry of the Flower
##########



duomo_florence_n3ow_01 = {

	asset = {
		type = pdxmesh
		name = "building_special_duomo_florence_04_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	is_enabled = {
		custom_description = {
			text = holy_site_christian_or_holy_site_trigger
			OR = {
				scope:holder = { OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion } }
				custom_description = { text = holy_site_building_trigger barony = { is_holy_site_of = scope:holder.faith } }
			}
		}
	}
	can_construct = {
		scope:holder.culture = { has_innovation = innovation_cranes }
	}

	cost_gold = 1000

	county_holder_character_modifier = {
		stewardship = 1
		learning_per_prestige_level = 1
		monthly_prestige_gain_mult = 0.2
		monthly_piety_gain_mult = 0.2
	}
	county_modifier = {
		prosperity_growth_factor = 0.20
		prosperity_growth = 0.20
		religious_tax_mult = 0.20
	}
	province_modifier = {
		monthly_religious_tax = 2
		build_speed = -0.15
	}
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Iron Mines of Brescia
##########



brescia_mines_01 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 01 }
		culture = {
			has_innovation = innovation_crop_rotation
		}
	}

	cost_gold = 400

	county_modifier = {
		mining_tax_mult = 0.05
		levy_size = 0.10
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_mining_tax = 2
		stationed_siege_weapon_siege_value_mult = 0.10
		stationed_maa_toughness_mult = 0.05
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = brescia_mines_02

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}



brescia_mines_02 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	cost_gold = 500

	county_modifier = {
		mining_tax_mult = 0.10
		levy_size = 0.20
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_mining_tax = 3.5
		stationed_siege_weapon_siege_value_mult = 0.15
		stationed_maa_toughness_mult = 0.10
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = brescia_mines_03

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}



brescia_mines_03 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	cost_gold = 600

	county_modifier = {
		mining_tax_mult = 0.15
		levy_size = 0.30
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.20
		stationed_maa_toughness_mult = 0.20
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = brescia_mines_04

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}



brescia_mines_04 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	cost_gold = 700

	county_modifier = {
		mining_tax_mult = 0.20
		levy_size = 0.40
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.25
		stationed_maa_toughness_mult = 0.25
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}

##########
# Salt Mines of Cagliari
##########



cagliari_mines_01 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 01 }
		culture = {
			has_innovation = innovation_crop_rotation
		}
	}

	cost_gold = 400

	county_modifier = {
		mining_tax_mult = 0.05
		levy_size = 0.10
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_mining_tax = 2
		stationed_siege_weapon_siege_value_mult = 0.10
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = cagliari_mines_02

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_salt
}



cagliari_mines_02 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	cost_gold = 500

	county_modifier = {
		mining_tax_mult = 0.10
		levy_size = 0.20
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_mining_tax = 3.5
		stationed_siege_weapon_siege_value_mult = 0.15
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = cagliari_mines_03

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_salt
}



cagliari_mines_03 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	cost_gold = 600

	county_modifier = {
		mining_tax_mult = 0.15
		levy_size = 0.30
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.20
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = cagliari_mines_04

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_salt
}



cagliari_mines_04 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	cost_gold = 700

	county_modifier = {
		mining_tax_mult = 0.20
		levy_size = 0.40
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.25
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_salt
}


##########
# Igrésias Mining Settlement
##########



iglesias_mines_01 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 01 }
		culture = {
			has_innovation = innovation_crop_rotation
		}
	}

	cost_gold = 400

	county_modifier = {
		mining_tax_mult = 0.04
		prosperity_growth_factor = 0.025
	}

	province_modifier = {
		monthly_mining_tax = 1
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = iglesias_mines_02

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



iglesias_mines_02 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	cost_gold = 500

	county_modifier = {
		mining_tax_mult = 0.08
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_mining_tax = 1.75
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = iglesias_mines_03

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



iglesias_mines_03 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	cost_gold = 600

	county_modifier = {
		mining_tax_mult = 0.12
		levy_size = 0.05
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_mining_tax = 2.5
		stationed_siege_weapon_siege_value_mult = 0.05
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = iglesias_mines_04

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



iglesias_mines_04 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	cost_gold = 700

	county_modifier = {
		mining_tax_mult = 0.15
		levy_size = 0.20
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.15
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}

##########
# Mercury Mines of Monte Amiata (Montepulciano)
##########



monte_amiata_mines_01 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 01 }
		culture = {
			has_innovation = innovation_crop_rotation
		}
	}

	cost_gold = 400

	county_holder_character_modifier = {
		owned_hostile_scheme_success_chance_add = 10
		owned_scheme_secrecy_add = 5
	}

	county_modifier = {
		mining_tax_mult = 0.05
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_mining_tax = 1.5
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = monte_amiata_mines_02

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



monte_amiata_mines_02 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	cost_gold = 500

	county_holder_character_modifier = {
		owned_hostile_scheme_success_chance_add = 15
		owned_scheme_secrecy_add = 7
	}

	county_modifier = {
		mining_tax_mult = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_mining_tax = 2.5
		stationed_siege_weapon_siege_value_mult = 0.05
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = monte_amiata_mines_03

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



monte_amiata_mines_03 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	cost_gold = 600

	county_holder_character_modifier = {
		owned_hostile_scheme_success_chance_add = 20
		owned_scheme_secrecy_add = 10
	}

	county_modifier = {
		mining_tax_mult = 0.15
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_mining_tax = 4
		stationed_siege_weapon_siege_value_mult = 0.10
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = monte_amiata_mines_04

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



monte_amiata_mines_04 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	cost_gold = 700

	county_holder_character_modifier = {
		owned_hostile_scheme_success_chance_add = 30
		owned_scheme_secrecy_add = 15
	}

	county_modifier = {
		mining_tax_mult = 0.20
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.15
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}

########################################
# BRYTANNYA
########################################

##########
# Croke Park Stadium - one of the largest stadiums in Europe (Dublin)
##########



croke_park_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 750

	county_modifier = {
		hostile_raid_time = 0.25
		county_opinion_add = 10
		civic_tax_mult = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 1.5
		fort_level = 2
		defender_holding_advantage = 3
		garrison_size = 0.10
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = croke_park_02
	flag = travel_point_of_interest_martial
}



croke_park_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 1500

	county_holder_character_modifier = {
		monthly_prestige_gain_mult = 0.10
		monthly_prestige = 0.25
		martial_per_prestige_level = 1
	}

	county_modifier = {
		hostile_raid_time = 0.50
		county_opinion_add = 20
		civic_tax_mult = 0.20
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 3
		fort_level = 5
		defender_holding_advantage = 6
		garrison_size = 0.25
		travel_danger = -10
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Westminster Pyramids 
##########



westminster_pyramids_01 = {

	asset = {
		type = pdxmesh
		name = "building_special_pyramids_giza_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_piety = 0.25
		learning_per_piety_level = 1
	}

	county_modifier = {
		county_opinion_add = 5
		civic_tax_mult = 0.10
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_civic_tax = 1
		build_speed = -0.05
	}

	next_building = westminster_pyramids_02

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = travel_point_of_interest_learning
}



westminster_pyramids_02 = {

	asset = {
		type = pdxmesh
		name = "building_special_pyramids_giza_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_manorialism }
		building_requirement_castle_city_church = { LEVEL = 02 }
	}

	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_piety = 0.50
		monthly_piety_gain_mult = 0.10
		monthly_influence = 0.25
		learning_per_piety_level = 1
		stewardship_per_influence_level = 1
	}

	county_modifier = {
		county_opinion_add = 10
		civic_tax_mult = 0.15
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 3
		build_speed = -0.10
	}

	next_building = westminster_pyramids_03

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = travel_point_of_interest_learning
}



westminster_pyramids_03 = {

	asset = {
		type = pdxmesh
		name = "building_special_pyramids_giza_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 2000

	county_holder_character_modifier = {
		monthly_piety = 1
		monthly_piety_gain_mult = 0.20
		monthly_influence = 0.25
		monthly_prestige = 0.25
		learning_per_piety_level = 1
		stewardship_per_influence_level = 1
		martial_per_prestige_level = 1
	}

	county_modifier = {
		county_opinion_add = 10
		civic_tax_mult = 0.25
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 3
		build_speed = -0.20
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = travel_point_of_interest_learning
}

##########
# The Tower of London
##########



the_tower_of_london_02 = {

	asset = {
		type = pdxmesh
		name = "building_special_tower_of_london_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/tower_of_london.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_hoardings
			has_innovation = innovation_castle_baileys
		}
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1500

	county_holder_character_modifier = {
		dread_gain_mult = 0.3
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 6
		stationed_maa_damage_mult = 0.25
		stationed_maa_toughness_mult = 0.25
		stationed_siege_weapon_siege_value_mult = 0.25
		travel_danger = -20
		monthly_civic_tax = 3
	}

	county_modifier = {
		prosperity_growth = 0.2
		prosperity_growth_factor = 0.2
		civic_tax_mult = 0.1
	}

	max_garrison = 1000
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = {
			factor = 5
			scope:holder = {
				culture = {
					has_cultural_parameter = ai_more_likely_to_castle
				}
			}
		}
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Windsor Castle 
##########



windsor_castle_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		martial_per_influence_level = 1
		monthly_influence = 0.50
		monthly_influence_mult = 0.10
	}
	
	county_modifier = {
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		defender_holding_advantage = 3
		fort_level = 3
		monthly_civic_tax = 0.5
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Harlech Castle 
##########



harlech_castle_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		martial_per_prestige_level = 1
	}
	
	county_modifier = {
		civic_tax_mult = 0.05
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		defender_holding_advantage = 4
		fort_level = 2
		monthly_civic_tax = 0.25
		stationed_maa_damage_mult = 0.05
		stationed_maa_toughness_mult = 0.10
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = harlech_castle_02
	flag = travel_point_of_interest_martial
}



harlech_castle_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		martial_per_prestige_level = 1
		monthly_prestige = 0.25
		monthly_prestige_gain_mult = 0.05
		prestige_level_impact_mult = 0.05
	}
	
	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		defender_holding_advantage = 8
		fort_level = 5
		monthly_civic_tax = 1
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		stationed_siege_weapon_siege_value_mult = 0.15
	}
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Edinburgh Castle 
##########



edinburgh_castle_01 = {

	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder.culture = {
			has_innovation = innovation_castle_baileys
		}
	}
	
	cost_gold = 1000
	
	character_modifier = {
		monthly_prestige = 0.15
		monthly_prestige_gain_mult = 0.10
	}
	
	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
		monthly_county_control_growth_add = 0.20
	}

	province_modifier = {
		defender_holding_advantage = 8
		fort_level = 6
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		stationed_siege_weapon_siege_value_mult = 0.20
		travel_danger = -15
	}

	max_garrison = 750
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Canterbury Cathedral
##########



portsmouth_royal_dockyard_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}

	cost_gold = 350

	county_holder_character_modifier = {
		embarkation_cost_mult = -0.10
		naval_movement_speed_mult = 0.10
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.10
		hostile_raid_time = 0.35
	}

	province_modifier = {
		monthly_civic_tax = 1
		fort_level = 2
		defender_holding_advantage = 2
		stationed_maa_damage_mult = 0.05
		stationed_maa_toughness_mult = 0.10
		garrison_size = 0.05
		travel_danger = -15
	}

	next_building = portsmouth_royal_dockyard_02

	ai_value = {
		base = 10
		directive_to_build_economy_modifier = yes
		culture_likely_to_fortify_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
	flag = travel_point_of_interest_martial
}



portsmouth_royal_dockyard_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 800

	county_holder_character_modifier = {
		martial_per_prestige_level = 1
		embarkation_cost_mult = -0.25
		naval_movement_speed_mult = 0.25
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
		hostile_raid_time = 0.50
	}

	province_modifier = {
		monthly_civic_tax = 3
		fort_level = 4
		defender_holding_advantage = 6
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.25
		garrison_size = 0.15
		travel_danger = -25
	}

	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
	flag = travel_point_of_interest_martial
}

##########
# Devonport
##########



devonport_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}

	cost_gold = 350

	county_holder_character_modifier = {
		embarkation_cost_mult = -0.10
		naval_movement_speed_mult = 0.10
	}

	county_modifier = {
		maritime_tax_mult = 0.10
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.10
		hostile_raid_time = 0.25
	}

	province_modifier = {
		monthly_maritime_tax = 1.5
		fort_level = 2
		defender_holding_advantage = 2
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		garrison_size = 0.05
		travel_danger = -10
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
	flag = travel_point_of_interest_martial_minor
}

##########
# Stonehenge
##########



cardiff_castle_01 = {

	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds" 
	
	can_construct = {
	}
	
	cost_gold = 1000
	
	character_modifier = {
		monthly_dynasty_prestige = 0.10
		martial = 2
	}
	
	county_modifier = {
		civic_tax_mult = 0.10
	}

	province_modifier = {
		defender_holding_advantage = 4
		fort_level = 2
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.15
		stationed_siege_weapon_siege_value_mult = 0.10
		travel_danger = -10
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Krowfymply Castle 
##########



krowfymply_castle_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		martial_per_influence_level = 1
		monthly_influence = 0.25
		monthly_influence_mult = 0.10
	}
	
	county_modifier = {
		civic_tax_mult = 0.05
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		defender_holding_advantage = 1
		fort_level = 2
		monthly_civic_tax = 1
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = krowfymply_castle_02
	flag = travel_point_of_interest_martial
}



krowfymply_castle_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_castle_baileys }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		martial_per_influence_level = 1
		monthly_influence = 0.75
		monthly_influence_mult = 0.35
	}
	
	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		defender_holding_advantage = 4
		fort_level = 4
		monthly_civic_tax = 2.5
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		stationed_siege_weapon_siege_value_mult = 0.20
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Glasgow Cathedral 
##########



glasgow_cathedral_01 = {
		
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.20
		monthly_piety_gain_mult = 0.20
		holy_order_hire_cost_mult = -0.10
		clergy_opinion = 10
	}
	
	county_modifier = {
		religious_tax_mult = 0.15
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.15
		county_opinion_add = 5
	}
	
	province_modifier = {
		monthly_religious_tax = 2
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Oxford University
##########

oxford_university_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_piety_level = 1
		intrigue_per_prestige_level = 1
        monthly_piety_gain_mult = 0.05
        monthly_prestige_gain_mult = 0.05
		monthly_lifestyle_xp_gain_mult = 0.15
		cultural_head_fascination_mult = 0.05
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# Cambridge University
##########

cambridge_university_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		stewardship_per_prestige_level = 1
        prestige_level_impact_mult = 0.1
        monthly_prestige_gain= 0.2
		monthly_lifestyle_xp_gain_mult = 0.1
		cultural_head_fascination_mult = 0.05
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# British coal mines
##########

#coal_mines_01 = {
#	effect_desc = mines_effect_desc
#
#	asset = {
#		type = pdxmesh
#		name = "building_special_mines_mesh"
#	}
#
#	type_icon = "icon_structure_mines.dds"
#
#	can_construct_potential = {
#		building_requirement_tribal = no
#	}
#
#	can_construct = {
#		building_requirement_castle_city_church = { LEVEL = 01 }
#		culture = {
#			has_innovation = innovation_crop_rotation
#		}
#	}
#
#	cost_gold = 400
#
#	county_modifier = {
#		maritime_tax_mult = 0.025
#		prosperity_growth_factor = 0.025
#	}
#
#	province_modifier = {
#		monthly_maritime_tax = 0.25
#		stationed_airship_damage_mult = 0.10
#		stationed_airship_toughness_mult = 0.10
#		stationed_siege_weapon_siege_value_mult = 0.15
#		stationed_gunpowder_damage_mult = 0.15
#		stationed_gunpowder_toughness_mult = 0.15
#	}
#
#	province_culture_modifier = {
#		parameter = cupellation_mine_building_bonuses
#		maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value
#	}
#
#	next_building = coal_mines_02
#
#	ai_value = {
#		base = 100
#	}
#
#	type = special
#	
#	flag = travel_point_of_interest_economic
#	flag = special_mine
#}
#
#coal_mines_02 = {
#	effect_desc = mines_effect_desc
#
#	asset = {
#		type = pdxmesh
#		name = "building_special_mines_mesh"
#	}
#
#	type_icon = "icon_structure_mines.dds"
#
#	can_construct_potential = {
#		building_requirement_tribal = no
#	}
#
#	can_construct = {
#		building_requirement_castle_city_church = { LEVEL = 02 }
#		culture = {
#			has_innovation = innovation_manorialism
#		}
#	}
#
#	cost_gold = 500
#
#	county_modifier = {
#		maritime_tax_mult = 0.05
#		prosperity_growth_factor = 0.05
#	}
#
#	province_modifier = {
#		monthly_maritime_tax = 0.75
#		stationed_airship_damage_mult = 0.15
#		stationed_airship_toughness_mult = 0.15
#		stationed_siege_weapon_siege_value_mult = 0.25
#		stationed_gunpowder_damage_mult = 0.25
#		stationed_gunpowder_toughness_mult = 0.25
#	}
#
#	province_culture_modifier = {
#		parameter = cupellation_mine_building_bonuses
#		maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value
#	}
#
#	next_building = coal_mines_03
#
#	ai_value = {
#		base = 100
#	}
#
#	type = special
#	
#	flag = travel_point_of_interest_economic
#	flag = special_mine
#}
#
#coal_mines_03 = {
#	effect_desc = mines_effect_desc
#
#	asset = {
#		type = pdxmesh
#		name = "building_special_mines_mesh"
#	}
#
#	type_icon = "icon_structure_mines.dds"
#
#	can_construct_potential = {
#		building_requirement_tribal = no
#	}
#
#	can_construct = {
#		building_requirement_castle_city_church = { LEVEL = 03 }
#		culture = {
#			has_innovation = innovation_windmills
#		}
#	}
#
#	cost_gold = 600
#
#	county_modifier = {
#		maritime_tax_mult = 0.075
#		prosperity_growth_factor = 0.075
#	}
#
#	province_modifier = {
#		monthly_maritime_tax = 1.5
#		stationed_airship_damage_mult = 0.25
#		stationed_airship_toughness_mult = 0.25
#		stationed_siege_weapon_siege_value_mult = 0.40
#		stationed_gunpowder_damage_mult = 0.40
#		stationed_gunpowder_toughness_mult = 0.40
#	}
#
#	province_culture_modifier = {
#		parameter = cupellation_mine_building_bonuses
#		maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value
#	}
#
#	next_building = coal_mines_04
#
#	ai_value = {
#		base = 100
#	}
#
#	type = special
#	
#	flag = travel_point_of_interest_economic
#	flag = special_mine
#}
#
#coal_mines_04 = {
#	effect_desc = mines_effect_desc
#
#	asset = {
#		type = pdxmesh
#		name = "building_special_mines_mesh"
#	}
#
#	type_icon = "icon_structure_mines.dds"
#
#	can_construct_potential = {
#		building_requirement_tribal = no
#	}
#
#	can_construct = {
#		building_requirement_castle_city_church = { LEVEL = 04 }
#		culture = {
#			has_innovation = innovation_cranes
#		}
#	}
#
#	cost_gold = 700
#	county_modifier = {
#		maritime_tax_mult = 0.10
#		prosperity_growth_factor = 0.10
#	}
#
#	province_modifier = {
#		monthly_maritime_tax = 2.5
#		stationed_airship_damage_mult = 0.50
#		stationed_airship_toughness_mult = 0.50
#		stationed_siege_weapon_siege_value_mult = 0.75
#		stationed_gunpowder_damage_mult = 0.75
#		stationed_gunpowder_toughness_mult = 0.75
#	}
#
#	province_culture_modifier = {
#		parameter = cupellation_mine_building_bonuses
#		maritime_tax_mult = innovation_cupellation_mine_tax_bonus_value
#	}
#
#	ai_value = {
#		base = 100
#	}
#
#	type = special
#	
#	flag = travel_point_of_interest_economic
#	flag = special_mine
#}

##########
# Giant's Causeway 
##########



giants_causeway_01 = {

	asset = {
		type = pdxmesh
		name = "fp2_building_special_rock_of_gibraltar_01_a_mesh" 
	}

	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds" 
	
	can_construct_potential = {
	}
	
	cost_gold = 300
	
	character_modifier = {
		stewardship = 1
		learning = 1
		diplomatic_range_mult = 0.2
		monthly_prestige = 0.15
	}

	county_modifier = {
		prosperity_growth_factor = 0.1	
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_natural_feature
	flag = is_mountain
}

##########
# Loch Ness 
##########



loch_ness_01 = {

	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds" 
	
	can_construct_potential = {
	}
	
	cost_gold = 300
	
	character_modifier = {
		intrigue = 3
		stress_gain_mult = 0.15
		stress_loss_mult = 0.05
	}

	county_modifier = {
		county_opinion_add = -5
		prosperity_growth = -0.05
		civic_tax_mult = -0.05
	}

	province_modifier = {
	    travel_danger = 15
		build_gold_cost = 0.05
		build_speed = 0.05
    }
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = loch_ness_02
	flag = travel_point_of_interest_natural_feature # lake
}



loch_ness_02 = { #Make the lake safer

	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds" 
	
	can_construct_potential = {
		#building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = household_soldiers }
	}
	
	cost_gold = 800
	
	character_modifier = {
		intrigue = 3
		stress_gain_mult = 0.05
		stress_loss_mult = 0.20
	}

	county_modifier = {
		county_opinion_add = 10
		civic_tax_mult = -0.10
		levy_size = -0.05
	}

	province_modifier = {
		build_speed = -0.10
    }
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_natural_feature # lake
}

##########
# Bone Temple of Melar
##########



bone_temple_melar_01 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/cologne_cathedral.dds"
	
	can_construct_potential = {
		custom_description = {
		text = holy_site_building_trigger
		barony = {
			is_holy_site_of = scope:holder.faith
			}
		}
	}
	
	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_city_planning
		}
	}
	
	cost_gold = 1000
	
	character_modifier = {
		monthly_piety_gain_mult = 0.1
		monthly_dynasty_prestige_mult = 0.05
		knight_effectiveness_mult = 0.2
		knight_limit = 1
	}
	province_modifier = {
		monthly_religious_tax = 1
	}
	county_modifier = {
		religious_tax_mult = 0.1
		levy_size = 0.1
		county_opinion_add = 10
	}

	on_complete = {
		#Regular Mandala Boon
		mandala_built_piety_duchy_building_t3_effect = yes
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = holy_building
}

##########
# Offa's Dyke
##########



alnwick_castle_01 = {
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}

	cost_gold = 500

	character_modifier = {
		knight_effectiveness_mult = 0.10
		stress_gain_mult = 0.10
		intrigue = 1
	}

	province_modifier = {
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		fort_level = 3
		defender_holding_advantage = 3
		stationed_siege_weapon_siege_value_mult = 0.10
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.10
	}

	max_garrison = 500

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Birmingham Grand Market
##########



birmingham_grand_market_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}

	cost_gold = 500

	county_holder_character_modifier = {
		monthly_influence = 0.20
		monthly_influence_mult = 0.05
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	next_building = birmingham_grand_market_02

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
	}
	flag = travel_point_of_interest_economic
}



birmingham_grand_market_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		building_requirement_castle_city_church = { LEVEL = 03 }
	}

	cost_gold = 750

	county_holder_character_modifier = {
		monthly_influence = 0.35
		monthly_influence_mult = 0.10
		stewardship_per_influence_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	next_building = birmingham_grand_market_03

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
	}
	flag = travel_point_of_interest_economic
}



birmingham_grand_market_03 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_cranes }
		building_requirement_castle_city_church = { LEVEL = 04 }
	}

	cost_gold = 2000

	county_holder_character_modifier = {
		monthly_influence = 0.50
		monthly_influence_gain_mult = 0.20
		stewardship_per_influence_level = 1
	}

	county_modifier = {
		civic_tax_mult = 0.30
		prosperity_growth = 0.30
		prosperity_growth_factor = 0.30
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
	}
	flag = travel_point_of_interest_economic
}

########################################
# GERMANIA
########################################

##########
# Neuschwanstein
##########



neuschwanstein_01 = {

	construction_time = very_slow_construction_time

	type_icon = "icon_neow_neschwanstein.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	effect_desc = feast_cost_discount_max_desc

	county_holder_character_modifier = {
		monthly_prestige = 0.5
		monthly_prestige_gain_mult = 0.1
		prestige_level_impact_mult = 0.1
		diplomacy_per_prestige_level = 1
		courtly_tax_contribution_mult = 0.15
	}
	
	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		civic_tax_mult = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 1
		stationed_maa_damage_mult = 0.1
		stationed_maa_toughness_mult = 0.1
		fort_level = 2
		defender_holding_advantage = 2
	}

	max_garrison = 350
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Brandenburg Gate
##########



brandenburg_gate_01 = {

	construction_time = very_slow_construction_time

	type_icon = "icon_neow_brandenburg_gate.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		maa_damage_mult = 0.1
		maa_toughness_mult = 0.1
		siege_weapon_siege_value_mult = 0.1
		advantage = 5
		martial_per_prestige_level = 1
	}
	
	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		civic_tax_mult = 0.1
		county_opinion_add = 20
	}

	province_modifier = {
		monthly_civic_tax = 1.5
	}
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Hofburg
##########



hofburg_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	effect_desc = feast_cost_discount_max_desc

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.25
		monthly_dynasty_prestige_mult = 0.25
		prestige_level_impact_mult = 0.1
	}
	
	county_modifier = {
		prosperity_growth = 0.25
		prosperity_growth_factor = 0.25
		civic_tax_mult = 0.2
	}

	province_modifier = {
		monthly_civic_tax = 2
		stationed_maa_damage_mult = 0.2
		stationed_maa_toughness_mult = 0.15
		stationed_siege_weapon_siege_value_mult = 0.15
		fort_level = 4
		defender_holding_advantage = 4
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

########################################
# SCANDINAVIA
########################################



########################################
# ZAPADOSLAVIA
########################################

##########
# Prague Castle
##########



prague_castle_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.15
	}
	
	county_modifier = {
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.10
		civic_tax_mult = 0.05
		monthly_county_control_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 1
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		fort_level = 2
		defender_holding_advantage = 3
	}

	max_garrison = 250
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = prague_castle_02
	flag = travel_point_of_interest_martial
}



prague_castle_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		scope:holder.culture = { has_innovation = innovation_battlements }
	}
	
	cost_gold = 1500

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.35
		learning_per_piety_level = 1
	}
	
	county_modifier = {
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.20
		civic_tax_mult = 0.10
		monthly_county_control_growth_factor = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 2
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		stationed_siege_weapon_siege_value_mult = 0.10
		fort_level = 5
		defender_holding_advantage = 5
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = prague_castle_03
	flag = travel_point_of_interest_martial
}



prague_castle_03 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_cranes }
		scope:holder.culture = { has_innovation = innovation_machicolations }
	}
	
	cost_gold = 3000

	county_holder_character_modifier = {
		monthly_dynasty_prestige = 0.50
		monthly_dynasty_prestige_mult = 0.05
		monthly_piety = 0.25
		monthly_piety_gain_mult = 0.10
		learning_per_piety_level = 1
	}
	
	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.30
		civic_tax_mult = 0.25
		monthly_county_control_growth_factor = 0.25
	}

	province_modifier = {
		monthly_civic_tax = 3
		stationed_maa_damage_mult = 0.25
		stationed_maa_toughness_mult = 0.25
		stationed_siege_weapon_siege_value_mult = 0.15
		fort_level = 6
		defender_holding_advantage = 8
	}

	max_garrison = 1000
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
	flag = travel_point_of_interest_religious
}

##########
# Charles University
##########

charles_university_01 = {
    construction_time = very_slow_construction_time
	effect_desc = {
		desc = unlocks_building_desc
		triggered_desc = {
			trigger = { has_dlc_feature = tours_and_tournaments }
			desc = university_toto_effect_desc
		}
		triggered_desc = {
			trigger = { has_dlc_feature = royal_court }
			desc = university_roco_effect_desc
		}
		desc = university_effect_desc
	}

	type_icon = "special_buildings/university.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
		building_university_requirement = yes
	}
	
	can_construct = {
		scope:holder = {
			highest_held_title_tier >= tier_duchy
			prestige_level >= 4
		}
		county = {
			prosperity_level >= 30
		}
	}
	
	show_disabled = yes
	
	on_complete = {
		county.holder = {
			save_scope_as = founder

			found_university_decision_event_effect = yes

			every_player = {
				limit = {
					this != scope:founder
					is_within_diplo_range = { CHARACTER = scope:founder }
				}
				trigger_event = major_decisions.2002
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		learning_per_prestige_level = 1
        prestige_level_impact_mult = 0.15
        monthly_dynasty_prestige = 0.2
		monthly_lifestyle_xp_gain_mult = 0.15
		cultural_head_fascination_mult = 0.05
	}
	province_modifier = {
		province_size_baseline_add = special_building_province_size_baseline
		monthly_civic_tax = 0.5
	}
	
	ai_value = {
		base = 9
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
		ai_special_district_modifier = { LEVEL = 1 }
	}

	character_culture_modifier = {
		parameter = roman_law_university_bonuses
		trade_competitiveness_mult = roman_law_university_competitiveness_value
	}

	province_culture_modifier = {
		parameter = roman_law_university_bonuses
		popular_opinion_add = roman_law_university_popular_opinion_value
	}
	market_modifier = {
		trade_category_books_sell_price_mult = special_building_need_sell_price
		trade_good_leather_sell_price_mult = special_building_need_sell_price
	}
	

	trade_good_need = {
		trade_good_category = trade_category_books
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity
			}
		}
	}

	trade_good_need = {
		trade_good = trade_good_leather
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth = special_building_need_prosperity
			}
		}
	}

	flag = travel_point_of_interest_learning
	flag = special_university
}

##########
# Sedlec Bone Temple
##########



sedlec_temple_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 500

	county_holder_character_modifier = {
		dread_baseline_add = 20
		dread_gain_mult = 0.10
		intrigue_per_piety_level = 1
	}
	
	county_modifier = {
		monthly_county_control_growth_add = -0.25
		county_opinion_add = -15
		religious_tax_mult = 0.05
	}

	province_modifier = {
		monthly_religious_tax = 0.5
		travel_danger = 10
	}

	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Grand Porcelain Works
##########



grand_porcelain_works_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_guilds }
	}

	cost_gold = 800

	county_holder_character_modifier = {
		stewardship = 2
		monthly_prestige = 0.10
		monthly_prestige_gain_mult = 0.30

	}

	county_modifier = {
		civic_tax_mult = 0.30
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
}

##########
# Špilberk Castle
##########



spilberk_castle_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		martial_per_prestige_level = 1
		monthly_prestige = 0.25
		monthly_prestige_gain_mult = 0.15
	}
	
	county_modifier = {
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.15
		civic_tax_mult = 0.15
		monthly_county_control_growth_add = 0.30
	}

	province_modifier = {
		monthly_civic_tax = 1.5
		stationed_maa_damage_mult = 0.15
		stationed_maa_toughness_mult = 0.15
		stationed_siege_weapon_siege_value_mult = 0.10
		fort_level = 3
		defender_holding_advantage = 4
		travel_danger = -15
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Königsberg Cathedral (rebuilt in 1992-1998)
##########



konigsberg_cathedral_01 = {
	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/cologne_cathedral.dds"
	asset = {
		type = pdxmesh
		name = "building_special_wawel_cathedral_01_mesh"
		requires_dlc_flag = medieval_monuments
	}
	can_construct_potential = {
	}
	
	can_construct = {
		OR = {
			scope:holder = {
				OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
			}
			custom_description = {
				text = holy_site_building_trigger
				barony = {
					is_holy_site_of = scope:holder.faith
				}
			}
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_city_planning
			}
		}
	}
	
	is_enabled = {
		always = yes
	}
	
	cost_gold = 1000
		
	character_modifier = {
		monthly_piety = 0.25
		monthly_piety_gain_per_knight_add = 0.05
		monthly_dynasty_prestige_mult = 0.05
		clergy_opinion = 5
		learning = 2
	}
	province_modifier = {
		monthly_religious_tax = 1
	}
	county_modifier = {
		religious_tax_mult = 0.1
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.1		
	}

	on_complete = {
		#Regular Mandala Boon
		mandala_built_piety_duchy_building_t3_effect = yes
	}
	
	next_building = konigsberg_cathedral_02
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = holy_building
}



konigsberg_cathedral_02 = {
	construction_time = very_slow_construction_time
	
	type_icon = "special_buildings/cologne_cathedral.dds"
	
	asset = {
		type = pdxmesh
		name = "building_special_wawel_cathedral_01_mesh"
		requires_dlc_flag = medieval_monuments
	}
	
	can_construct_potential = {
	}
	
	can_construct = {
		OR = {
			scope:holder = {
				OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
			}
			custom_description = {
				text = holy_site_building_trigger
				barony = {
					is_holy_site_of = scope:holder.faith
				}
			}
		}
		scope:holder = {
			culture = {
				has_innovation = innovation_manorialism
			}
		}
	}
	
	is_enabled = {
		always = yes
	}
	
	cost_gold = 1000
	cost_piety = 1000
	
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.1
		cultural_head_fascination_mult = 0.05
		monthly_lifestyle_xp_gain_mult = 0.1
		faith_creation_piety_cost_mult = -0.2
		faith_conversion_piety_cost_mult = -0.2
	}
	province_modifier = {
		monthly_religious_tax = 2
		travel_danger = -10
	}
	county_modifier = {
		religious_tax_mult = 0.2
		prosperity_growth_factor = 0.25
		prosperity_growth = 0.15
	}

	on_complete = {
		#Regular Mandala Boon
		mandala_built_piety_duchy_building_t3_effect = yes
	}
	
	ai_value = {
		base = 8
		ai_pious_building_preference_modifier = yes
	}
	flag = travel_point_of_interest_religious
	flag = travel_point_of_interest_learning
	flag = holy_building
	flag = special_university
}

########################################
# YUGOSLAVIJA
########################################

##########
# Rector's Palace - Dubrovnik
##########



rector_palace_01 = { 
	construction_time = very_slow_construction_time
	effect_desc = feast_cost_discount_max_desc

	type_icon = "special_buildings/despot_palace.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		scope:holder = {
			custom_tooltip = {
				text = government_is_not_republic_or_admin_desc
				OR = {
					government_has_flag = government_is_republic
					government_has_flag = government_is_urepublic
					government_has_flag = government_is_prepublic
					government_has_flag = government_is_administrative
				}
			}
		}
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_influence = 0.25
		monthly_influence_mult = 0.1
	}
	
	county_modifier = {
		prosperity_growth_factor = 0.2
		prosperity_growth = 0.2
		civic_tax_mult = 0.1
		hostile_raid_time = 0.35
	}
	
	province_modifier = {
		garrison_size = 0.1
		fort_level = 1
		levy_size = 0.5
		monthly_civic_tax = 2.5
		defender_holding_advantage = 2
		travel_danger = -10
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
}

##########
# Pula Arena
##########



pula_arena_01 = {

	asset = {
		type = pdxmesh
		name = "building_special_colosseum_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	cost_gold = 3000

	character_modifier = {
		glory_hound_opinion = 5
		belligerent_opinion = 5
	}

	county_modifier = {
		prosperity_growth_factor = 0.10
		prosperity_growth = 0.05
	}
	
	province_modifier = {
		monthly_civic_tax = 0.5
		county_opinion_add = 20
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Zagreb Cathedral
##########



zagreb_cathedral_01 = {
		
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.20
		monthly_piety_gain_mult = 0.20
		holy_order_hire_cost_mult = -0.10
		clergy_opinion = 10
	}
	
	county_modifier = {
		religious_tax_mult = 0.15
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.15
		county_opinion_add = 5
	}
	
	province_modifier = {
		monthly_religious_tax = 2
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

##########
# Baščaršija - Sarajevo Old Town
##########



bascarsija_01 = {
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	cost_gold = 500

	county_modifier = {
		prosperity_growth_factor = 0.05
		civic_tax_mult = 0.05
	}

	province_modifier = {
		monthly_civic_tax = 0.5
	}

	ai_value = {
		base = 10
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = bascarsija_02
	flag = travel_point_of_interest_economic
}



bascarsija_02 = {
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_development_02 }
		scope:holder.culture = { has_innovation = innovation_manorialism }
	}

	cost_gold = 500

	character_modifier = {
		monthly_prestige = 0.1
		monthly_dynasty_prestige = 0.05
	}

	county_modifier = {
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.1
		civic_tax_mult = 0.1
	}

	province_modifier = {
		monthly_civic_tax = 1.5
	}

	ai_value = {
		base = 10
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = bascarsija_03
	flag = travel_point_of_interest_economic
}



bascarsija_03 = {
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"  
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_guilds }
		scope:holder.culture = { has_innovation = innovation_windmills }
	}

	cost_gold = 500

	character_modifier = {
		monthly_prestige = 0.25
		monthly_dynasty_prestige = 0.15
		monthly_dynasty_prestige_mult = 0.05
		stewardship_per_prestige_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.1
		prosperity_growth_factor = 0.15
		civic_tax_mult = 0.2
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	ai_value = {
		base = 10
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
}

##########
# Jajce Citadel
##########



jajce_citadel_01 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds"
	
	can_construct_potential = {
	}
	
	cost_gold = 400
	
	character_modifier = {
		monthly_prestige = 0.1
	}

	max_garrison = 100

	county_modifier = {
		prosperity_growth_factor = 0.1
	}

	province_modifier = {
		defender_holding_advantage = 2
		fort_level = 1
		stationed_maa_damage_mult = 0.1
		stationed_maa_toughness_mult = 0.1
		travel_danger = -10
	}
	
	next_building = jajce_citadel_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}



jajce_citadel_02 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/colosseum.dds"
	
	can_construct_potential = {
	}
	
	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_hoardings
		}
	}
	
	cost_gold = 800
	
	character_modifier = {
		monthly_prestige = 0.25
		martial_per_prestige_level = 1
	}

	max_garrison = 350

	county_modifier = {
		prosperity_growth_factor = 0.1
		civic_tax_mult = 0.1
	}

	province_modifier = {
		defender_holding_advantage = 6
		fort_level = 4
		stationed_maa_damage_mult = 0.25
		stationed_maa_toughness_mult = 0.25
		stationed_siege_weapon_siege_value_mult = 0.15
		travel_danger = -20
	}

	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

##########
# Tito Bunker
##########



tito_bunker_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"

	can_construct = {
		building_requirement_tribal = no
	}

	cost_gold = 500

	character_modifier = {
		martial_per_piety_level = 1
	}

	county_modifier = {
		monthly_county_control_growth_factor = 0.1
		monthly_county_control_growth_add = 0.1
		prosperity_growth_factor = 0.1
	}

	province_modifier = {
		garrison_size = 0.15
		fort_level = 5
		defender_holding_advantage = 5
		travel_danger = -15
	}

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_martial
}

##########
# Church of Saint Sava
##########



church_saint_sava_01 = {
		
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds" 

	asset = {
		type = pdxmesh
		name = "building_special_hagia_sophia_mesh"
	} 
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		custom_description = {
			OR = {
				scope:holder = {
					OR = { religion = religion:eastern_orthodox_religion religion = religion:catholic_religion religion = religion:protestant_religion }
				}
				custom_description = {
					text = holy_site_building_trigger
					barony = {
						is_holy_site_of = scope:holder.faith
					}
				}
			}
		}
	}
	
	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.35
		monthly_piety_gain_mult = 0.15
		holy_order_hire_cost_mult = -0.10
		clergy_opinion = 10
		monthly_dynasty_prestige_mult = 0.05
	}
	
	county_modifier = {
		religious_tax_mult = 0.15
		prosperity_growth_factor = 0.20
		prosperity_growth = 0.15
		county_opinion_add = 5
	}
	
	province_modifier = {
		monthly_religious_tax = 1.5
	}
	
	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}
##########
# Smederevo Fortress
##########



smederevo_fortress_01 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
	}
	
	cost_gold = 400
	
	character_modifier = {
		monthly_prestige = 0.1
	}

	max_garrison = 100

	county_modifier = {
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_civic_tax = 0.5
		defender_holding_advantage = 2
		fort_level = 2
		stationed_maa_damage_mult = 0.1
		stationed_maa_toughness_mult = 0.1
		stationed_siege_weapon_siege_value_mult = 0.15
	}
	
	next_building = smederevo_fortress_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}



smederevo_fortress_02 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
	}
	
	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_hoardings
		}
	}
	
	cost_gold = 800
	
	character_modifier = {
		monthly_prestige = 0.25
		martial_per_prestige_level = 1
	}

	max_garrison = 350

	county_modifier = {
		prosperity_growth = 0.05
		prosperity_growth_factor = 0.05
		civic_tax_mult = 0.1
	}

	province_modifier = {
		monthly_civic_tax = 1
		defender_holding_advantage = 4
		fort_level = 4
		stationed_maa_damage_mult = 0.25
		stationed_maa_toughness_mult = 0.25
		stationed_siege_weapon_siege_value_mult = 0.15
	}

	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}

##########
# Petrovaradin Fortress
##########



petrovaradin_fortress_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_prestige_gain_mult = 0.15
		monthly_dynasty_prestige_mult = 0.15
	}
	
	county_modifier = {
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.15
		civic_tax_mult = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 2
		stationed_maa_damage_mult = 0.25
		stationed_maa_toughness_mult = 0.1
		stationed_siege_weapon_siege_value_mult = 0.15
		fort_level = 3
		defender_holding_advantage = 4
		travel_danger = -15
	}

	max_garrison = 500
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Ljubljana Castle
##########



ljubljana_castle_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 500

	county_holder_character_modifier = {
		monthly_prestige = 0.15
	}
	
	county_modifier = {
		prosperity_growth_factor = 0.05
		civic_tax_mult = 0.05
		monthly_county_control_growth_factor = 0.10
	}

	province_modifier = {
		monthly_civic_tax = 1
		stationed_maa_damage_mult = 0.10
		stationed_maa_toughness_mult = 0.10
		fort_level = 2
		defender_holding_advantage = 2
	}

	max_garrison = 200
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}

	next_building = ljubljana_castle_02
	flag = travel_point_of_interest_martial
}



ljubljana_castle_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = { has_innovation = innovation_windmills }
		scope:holder.culture = { has_innovation = innovation_battlements }
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		monthly_piety = 0.25
		monthly_prestige = 0.25
		martial_per_piety_level = 1
	}
	
	county_modifier = {
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.20
		civic_tax_mult = 0.15
		monthly_county_control_growth_factor = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 2.5
		stationed_maa_damage_mult = 0.20
		stationed_maa_toughness_mult = 0.20
		stationed_siege_weapon_siege_value_mult = 0.10
		fort_level = 4
		defender_holding_advantage = 4
	}

	max_garrison = 350
	
	ai_value = {
		base = 10
		directive_to_fortify_modifier = yes
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Celje Hall
##########



celje_hall_01 = { 
	construction_time = very_slow_construction_time
	effect_desc = feast_cost_discount_max_desc

	type_icon = "special_buildings/colosseum.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}
	
	is_enabled = {
		scope:holder = {
			custom_tooltip = {
				text = government_is_not_republic_or_admin_desc
				OR = {
					government_has_flag = government_is_republic
					government_has_flag = government_is_urepublic
					government_has_flag = government_is_prepublic
					government_has_flag = government_is_administrative
				}
			}
		}
	}
	
	cost_gold = 1000

	county_holder_character_modifier = {
		stewardship_per_prestige_level = 1
		monthly_prestige = 0.25
		monthly_influence = 0.25
	}
	
	county_modifier = {
		prosperity_growth_factor = 0.15
		prosperity_growth = 0.15
		civic_tax_mult = 0.15
	}
	
	province_modifier = {
		monthly_civic_tax = 1.5
	}
	
	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
}

##########
# Niš Skull Tower
##########



nis_skull_tower_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/colosseum.dds"
	
	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
	}
	
	cost_gold = 500

	county_holder_character_modifier = {
		dread_baseline_add = 15
		dread_gain_mult = 0.15
		monthly_piety_gain_per_dread_mult = 0.01
		knight_effectiveness_per_dread = 0.005
	}
	
	county_modifier = {
		monthly_county_control_growth_add = -0.1
		county_opinion_add = -20
		civic_tax_mult = 0.05
	}

	province_modifier = {
		monthly_civic_tax = 0.75
		travel_danger = 15
	}

	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}

##########
# Bor Mining Settlement
##########



bor_mines_01 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 01 }
		culture = {
			has_innovation = innovation_crop_rotation
		}
	}

	cost_gold = 400

	county_modifier = {
		mining_tax_mult = 0.05
		levy_size = 0.10
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_mining_tax = 2
		stationed_siege_weapon_siege_value_mult = 0.10
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = bor_mines_02

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



bor_mines_02 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	cost_gold = 500

	county_modifier = {
		mining_tax_mult = 0.10
		levy_size = 0.20
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_mining_tax = 3.5
		stationed_siege_weapon_siege_value_mult = 0.15
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = bor_mines_03

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



bor_mines_03 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	cost_gold = 600

	county_modifier = {
		mining_tax_mult = 0.15
		levy_size = 0.30
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.20
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = bor_mines_04

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}



bor_mines_04 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	cost_gold = 700

	county_modifier = {
		mining_tax_mult = 0.20
		levy_size = 0.40
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.25
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
}

##########
# Zenica Iron Mines
##########



zenica_iron_mines_01 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 01 }
		culture = {
			has_innovation = innovation_crop_rotation
		}
	}

	cost_gold = 400

	county_modifier = {
		mining_tax_mult = 0.05
		levy_size = 0.10
		prosperity_growth_factor = 0.05
	}

	province_modifier = {
		monthly_mining_tax = 2
		stationed_siege_weapon_siege_value_mult = 0.10
		stationed_maa_toughness_mult = 0.05
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = zenica_iron_mines_02

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}



zenica_iron_mines_02 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		culture = {
			has_innovation = innovation_manorialism
		}
	}

	cost_gold = 500

	county_modifier = {
		mining_tax_mult = 0.10
		levy_size = 0.20
		prosperity_growth_factor = 0.10
	}

	province_modifier = {
		monthly_mining_tax = 3.5
		stationed_siege_weapon_siege_value_mult = 0.15
		stationed_maa_toughness_mult = 0.10
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = zenica_iron_mines_03

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}



zenica_iron_mines_03 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		culture = {
			has_innovation = innovation_windmills
		}
	}

	cost_gold = 600

	county_modifier = {
		mining_tax_mult = 0.15
		levy_size = 0.30
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.20
		stationed_maa_toughness_mult = 0.20
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	next_building = zenica_iron_mines_04

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}



zenica_iron_mines_04 = {
	effect_desc = mines_effect_desc

	asset = {
		type = pdxmesh
		name = "building_special_mines_mesh"
	}

	type_icon = "special_buildings/toledo.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		culture = {
			has_innovation = innovation_cranes
		}
	}

	cost_gold = 700

	county_modifier = {
		mining_tax_mult = 0.20
		levy_size = 0.40
		prosperity_growth_factor = 0.20
	}

	province_modifier = {
		monthly_mining_tax = 5
		stationed_siege_weapon_siege_value_mult = 0.25
		stationed_maa_toughness_mult = 0.25
	}

	province_culture_modifier = {
		parameter = cupellation_mine_building_bonuses
		mining_tax_mult = innovation_cupellation_mine_tax_bonus_value
	}

	ai_value = {
		base = 10
	}
	flag = travel_point_of_interest_economic
	flag = special_mine
	flag = special_mine_iron
}

########################################
# MAKEDONIA
########################################



########################################
# NISTERNIA
########################################

##########
# The Palace of Soroca
##########


nistrenian_palace_01 = {
	asset = {
		type = pdxmesh
		name = ep3_despots_palace_mesh
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_manorialism }
		building_requirement_tribal = no
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 750

	county_holder_character_modifier = {
		stardwardship_per_piety_level = 2
		monthly_dynasty_prestige = 0.15
		monthly_dynasty_prestige_mult = 0.05
		monthly_influence = 0.2
		monthly_influence_mult = 0.3
	}

	county_modifier = {
		civic_tax_mult = 0.3
		prosperity_growth = 0.2
		prosperity_growth_factor = 0.2
		monthly_county_control_growth_add = 0.5
	}

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
}

########################################
# RUSSIA
########################################

##########
# Winter Palace
##########



winter_palace_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_manorialism }
		building_requirement_tribal = no
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 750

	county_holder_character_modifier = {
		diplomacy_per_prestige_level = 1
		monthly_dynasty_prestige = 0.15
		monthly_dynasty_prestige_mult = 0.05
		monthly_prestige = 0.15
		legitimacy_gain_mult = 0.15
	}

	county_modifier = {
		civic_tax_mult = 0.10
		prosperity_growth = 0.10
		prosperity_growth_factor = 0.15
	}

	province_modifier = {
		monthly_civic_tax = 2
	}

	next_building = winter_palace_02

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}



winter_palace_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/despot_palace.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_windmills }
	}

	effect_desc = feast_cost_discount_max_desc

	cost_gold = 2000

	county_holder_character_modifier = {
		diplomacy_per_prestige_level = 1
		stewardship_per_prestige_level = 1		
		monthly_dynasty_prestige = 0.50
		monthly_dynasty_prestige_mult = 0.10
		monthly_prestige = 0.50
		monthly_prestige_gain_mult = 0.20
		legitimacy_gain_mult = 0.15
	}

	county_modifier = {
		civic_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.25
	}

	province_modifier = {
		monthly_civic_tax = 3
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Peter and Paul Fortress
##########



petropavlovskaya_krepost_01 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_manorialism }
		building_requirement_tribal = no
	}

	cost_gold = 750

	county_holder_character_modifier = {
		knight_effectiveness_mult = 0.125
		monthly_martial_lifestyle_xp_gain_mult = 0.1
		monthly_prestige_gain_mult = 0.10
		belligerent_opinion = 5
		glory_hound_opinion = 5
	}

	county_modifier = {
		monthly_county_control_growth_add = 0.5
		hostile_raid_time = 0.5
	}

	province_modifier = {
		fort_level = 4
		garrison_size = 0.50
		defender_holding_advantage = 4
		stationed_maa_damage_mult = 0.1
		stationed_maa_toughness_mult = 0.1
		stationed_siege_weapon_siege_value_mult = 0.1
		travel_danger = -15
	}

	next_building = petropavlovskaya_krepost_02

	ai_value = {
		base = 10
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}



petropavlovskaya_krepost_02 = {

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/alamut_castle.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder = {
			prestige_level >= 4
			highest_held_title_tier >= tier_duchy
		}
		scope:holder.culture = { has_innovation = innovation_windmills }
	}

	cost_gold = 2500

	county_holder_character_modifier = {
		martial_per_prestige_level = 1
		knight_effectiveness_mult = 0.25
		monthly_martial_lifestyle_xp_gain_mult = 0.1
		monthly_prestige_gain_mult = 0.10
		belligerent_opinion = 10
		glory_hound_opinion = 10
	}

	county_modifier = {
		monthly_county_control_growth_add = 1
		hostile_raid_time = 1
	}

	province_modifier = {
		fort_level = 6
		garrison_size = 1
		defender_holding_advantage = 6
		stationed_maa_damage_mult = 0.25
		stationed_maa_toughness_mult = 0.25
		stationed_siege_weapon_siege_value_mult = 0.2
		travel_danger = -25
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_diplomatic
}

##########
# Great Walls of Smolensk
##########



smolensk_walls_01 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
	}
	
	cost_gold = 500
	
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.05
	}
	max_garrison = good_building_max_garrison_tier_1
	province_modifier = {
		defender_holding_advantage = normal_building_advantage_tier_2
		fort_level = good_building_fort_level_tier_1
		stationed_maa_damage_mult = normal_maa_damage_tier_1
		stationed_maa_toughness_mult = normal_maa_toughness_tier_1
		stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1
		travel_danger = -10
	}
	county_modifier = {
		civic_tax_mult = 0.05
		monthly_county_control_growth_add = 0.5
		prosperity_growth = 0.1
		prosperity_growth_factor = 0.05
		hostile_raid_time = 0.25
	}
	
	next_building = smolensk_walls_02
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
		modifier = { # Fill all building slots before going for special buildings
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_martial
}



smolensk_walls_02 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
	}
	
	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_hoardings
		}
	}
	
	cost_gold = 1000
	
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.05
		martial_per_prestige_level = 1
	}
	max_garrison = good_building_max_garrison_tier_2
	province_modifier = {
		defender_holding_advantage = normal_building_advantage_tier_3
		fort_level = good_building_fort_level_tier_2
		stationed_maa_damage_mult = normal_maa_damage_tier_2
		stationed_maa_toughness_mult = normal_maa_toughness_tier_2
		stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2
		travel_danger = -20
	}
	county_modifier = {
		civic_tax_mult = 0.1
		monthly_county_control_growth_add = 0.5
		prosperity_growth = 0.1
		prosperity_growth_factor = 0.2
		hostile_raid_time = 0.33
	}
	
	next_building = smolensk_walls_03
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes
	}
	flag = travel_point_of_interest_martial
}


smolensk_walls_03 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/alamut_castle.dds"
	
	can_construct_potential = {
	}
	
	cost_gold = 1500
	
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.1
		martial_per_prestige_level = 1
		stewardship_per_prestige_level = 1
	}
	max_garrison = good_building_max_garrison_tier_3
	province_modifier = {
		defender_holding_advantage = normal_building_advantage_tier_4
		fort_level = good_building_fort_level_tier_3
		stationed_maa_damage_mult = normal_maa_damage_tier_2
		stationed_maa_toughness_mult = normal_maa_toughness_tier_2
		stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_2
		travel_danger = -30
	}
	county_modifier = {
		civic_tax_mult = 0.15
		monthly_county_control_growth_add = 1
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.15
		hostile_raid_time = 0.5
	}
	
	ai_value = {
		base = 10
		culture_likely_to_fortify_modifier = yes		
	}
	flag = travel_point_of_interest_martial
}


########################################
# BALTIC
########################################



########################################
# FINLAND
########################################



########################################
# SPECIAL MILITARY BUILDINGS
########################################

##########
# Chemistry Workshop - unlocks chemical weapons
##########



communal_settlement_01 = {
	construction_time = standard_construction_time
	effect_desc = communal_settlement_1_effect_desc

	can_construct_potential = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}

	can_construct_showing_failures_only = {
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 01 }
		scope:holder.culture = {
				has_innovation = innovation_barracks
			}
	}

	is_enabled = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}
	
	cost_gold = expensive_building_tier_1_cost
	
	province_modifier = {
		monthly_civic_tax = super_poor_building_tax_tier_2
		stationed_peasant_militia_damage_mult = high_maa_damage_tier_2
		stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_1
		defender_holding_advantage = 2
	}
	county_modifier = {
		levy_size = 0.01
	}

	levy = normal_building_levy_tier_2

	on_complete = {
		#Mandala Creator Aspect
		creator_mandala_built_regular_building_piety_effect = yes
	}

	type_icon = "special_buildings/colosseum.dds"
	
	next_building = communal_settlement_02
	
	ai_value = {
		base = 20
		ai_tier_1_building_modifier = yes
		ai_general_building_modifier = yes
		directive_to_build_military_modifier = yes
	}
}



communal_settlement_02 = {
	construction_time = standard_construction_time
	effect_desc = communal_settlement_2_effect_desc

	can_construct_potential = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
		scope:holder.culture = {
				has_innovation = innovation_castle_baileys
			}
	}

	is_enabled = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}
	
	cost_gold = expensive_building_tier_2_cost
	
	province_modifier = {
		monthly_civic_tax = super_poor_building_tax_tier_4
		stationed_peasant_militia_damage_mult = high_maa_damage_tier_4
		stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_2
		defender_holding_advantage = 4
		fort_level = 1
	}

	county_modifier = {
		monthly_county_control_growth_add = 0.05
		garrison_size = 0.05
		levy_size = 0.02
	}
	
	levy = normal_building_levy_tier_4

	on_complete = {
		#Mandala Creator Aspect
		creator_mandala_built_regular_building_piety_effect = yes
	}

	type_icon = "special_buildings/colosseum.dds"
	
	next_building = communal_settlement_03
	
	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_military_modifier = yes
		modifier = { # Fill all building slots before going for upgrades
			factor = 0
			free_building_slots > 0
		}
	}
}



communal_settlement_03 = {
	construction_time = standard_construction_time
	effect_desc = communal_settlement_3_effect_desc

	can_construct_potential = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	is_enabled = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
		scope:holder.culture = {
				has_innovation = innovation_castle_baileys
			}
	}
	
	cost_gold = expensive_building_tier_3_cost
	
	province_modifier = {
		monthly_civic_tax = super_poor_building_tax_tier_6
		stationed_peasant_militia_damage_mult = high_maa_damage_tier_6
		stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_3
		defender_holding_advantage = 6
		fort_level = 1
	}

	county_modifier = {
		monthly_county_control_growth_add = 0.10
		garrison_size = 0.05
		levy_size = 0.03
	}
	
	levy = normal_building_levy_tier_6

	on_complete = {
		#Mandala Creator Aspect
		creator_mandala_built_regular_building_piety_effect = yes
	}

	type_icon = "special_buildings/colosseum.dds"
	
	next_building = communal_settlement_04
	
	ai_value = {
		base = 8
		ai_general_building_modifier = yes
		directive_to_build_military_modifier = yes
	}
}



communal_settlement_04 = {
	construction_time = standard_construction_time
	effect_desc = communal_settlement_4_effect_desc

	can_construct_potential = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
	}

	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 04 }
		scope:holder.culture = {
				has_innovation = innovation_royal_armory
			}
	}

	is_enabled = {
		custom_description = {
			text = province_is_of_a_communal_settlement_faith_tt
			building_communal_settlement_requirement = yes
		}
	}
	
	cost_gold = expensive_building_tier_4_cost
	
	province_modifier = {
		monthly_civic_tax = super_poor_building_tax_tier_8
		stationed_peasant_militia_damage_mult = high_maa_damage_tier_8
		stationed_peasant_militia_toughness_mult = high_maa_toughness_tier_4
		defender_holding_advantage = 8
		fort_level = 3
	}

	county_modifier = {
		monthly_county_control_growth_add = 0.15
		garrison_size = 0.10
		levy_size = 0.05
	}
	
	levy = normal_building_levy_tier_8

	on_complete = {
		#Mandala Creator Aspect
		creator_mandala_built_regular_building_piety_effect = yes
	}

	type_icon = "special_buildings/colosseum.dds"
	
	
	ai_value = {
		base = 7
		ai_general_building_modifier = yes
		directive_to_build_military_modifier = yes
	}
}

########################################
# EASTERN ORTHODOX / CAUCASUS ADDITIONS
########################################

##########
# Apostolos Andreas Monastery — Karpas, Cyprus
##########



apostolos_andreas_monastery = {
	asset = {
		type = pdxmesh
		name = ep3_jvari_monastery_01_a_mesh
	}

	construction_time = slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder }
	}

	is_enabled = {
		christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder }
	}

	cost_gold = 750

	character_modifier = {
		monthly_piety = 0.40
		negate_health_penalty_add = 0.05
		monthly_county_control_growth_factor = 0.05
	}

	county_modifier = {
		prosperity_growth = 0.15
		prosperity_growth_factor = 0.10
		religious_tax_mult = 0.10
	}

	province_modifier = {
		monthly_religious_tax = 0.5
		defender_holding_advantage = 1
		travel_danger = -10
	}

	on_complete = {
		mandala_built_piety_duchy_building_t3_effect = yes
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = {
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = holy_building
}

##########
# New Athos — Abkhaz Neopagan Sanctuary
##########



new_athos_pagan_temple_01 = {
	asset = {
		type = pdxmesh
		name = "building_special_cathedral_pagan_mesh"
	}

	construction_time = slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder = {
			culture = culture:NEOW_abkhazian
		}
		NOT = {
			christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder }
		}
	}

	is_enabled = {
		scope:holder = {
			culture = culture:NEOW_abkhazian
		}
		NOT = {
			christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder }
		}
	}

	cost_gold = 800

	character_modifier = {
		monthly_piety = 0.35
		monthly_prestige = 0.20
		knight_effectiveness_mult = 0.10
	}

	county_modifier = {
		prosperity_growth = 0.10
		levy_size = 0.10
	}

	province_modifier = {
		monthly_religious_tax = 0.4
		travel_danger = -10
	}

	next_building = new_athos_restored_monastery_02

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = {
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = holy_building
}

##########
# New Athos — Restored Orthodox Monastery
##########



new_athos_restored_monastery_02 = {
	asset = {
		type = pdxmesh
		name = ep3_sumela_monastery_01_b_mesh
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder }
	}

	is_enabled = {
		christianity_or_syncretic_with_christianity_trigger = { CHARACTER = scope:holder }
	}

	cost_gold = 1000

	character_modifier = {
		monthly_piety = 0.50
		learning = 1
		monthly_dynasty_prestige_mult = 0.05
	}

	county_modifier = {
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.15
		religious_tax_mult = 0.15
	}

	province_modifier = {
		monthly_religious_tax = 1
		travel_danger = -10
	}

	on_complete = {
		mandala_built_piety_duchy_building_t3_effect = yes
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = {
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = holy_building
	flag = religious_studies_location
}

##########
# Cathedral of Saint Ilia II — Tbilisi
##########



cathedral_saint_ilia_ii = {
	asset = {
		type = pdxmesh
		name = "cp6_building_special_grand_cathedral_mesh"
		requires_dlc_flag = holy_buildings
	}
	asset = {
		type = pdxmesh
		name = "building_special_cathedral_generic_mesh"
	}

	construction_time = very_slow_construction_time

	type_icon = "special_buildings/cologne_cathedral.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder = {
			religion = religion:eastern_orthodox_religion
		}
	}

	is_enabled = {
		scope:holder = {
			religion = religion:eastern_orthodox_religion
		}
	}

	cost_gold = 1500

	character_modifier = {
		monthly_piety = 0.50
		monthly_prestige = 0.30
		legitimacy_gain_mult = 0.10
		learning_per_piety_level = 1
	}

	county_modifier = {
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.20
		monthly_county_control_growth_factor = 0.10
	}

	province_modifier = {
		monthly_religious_tax = 1.5
		travel_danger = -10
	}

	on_complete = {
		mandala_built_piety_duchy_building_t3_effect = yes
	}

	ai_value = {
		base = 10
		ai_pious_building_preference_modifier = yes
		modifier = {
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_religious
	flag = holy_building
	flag = religious_studies_location
}

########################################
# CHANNEL TUNNEL
########################################



channel_tunnel_01 = {
	construction_time = very_slow_construction_time

	type_icon = "special_buildings/quanzhou_seaport.dds"

	can_construct_potential = {
		building_requirement_tribal = no
	}

	can_construct = {
		scope:holder.culture = {
			has_innovation = innovation_cranes
		}
	}

	cost_gold = 1500

	county_holder_character_modifier = {
		monthly_prestige = 0.25
		embarkation_cost_mult = -0.25
		movement_speed = 0.05
	}

	county_modifier = {
		maritime_tax_mult = 0.20
		prosperity_growth = 0.20
		prosperity_growth_factor = 0.25
	}

	province_modifier = {
		monthly_maritime_tax = 3
		travel_danger = -20
	}

	ai_value = {
		base = 10
		ai_general_building_modifier = yes
		directive_to_build_economy_modifier = yes
		ai_economical_building_preference_modifier = yes
		modifier = {
			factor = 0
			free_building_slots > 0
		}
	}
	flag = travel_point_of_interest_economic
	flag = travel_point_of_interest_wonder
}



dvin_shuka_01 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/special_silk_road_market.dds"
	
	can_construct_potential = {
		scope:holder = {
			any_character_situation = { situation_type = silk_road_situation }
		}
	}
	can_construct = { building_monument_tribal_trigger = yes }
	
	cost_gold = 400
	
	province_modifier = {
		monthly_commerce_tax = 2
		travel_danger = -10
		province_size_baseline_add = special_building_province_size_baseline
	}
	county_culture_modifier = {
		parameter = silk_road_market_owner_bonuses
		commerce_tax_mult = 0.1
	}
	market_modifier = {
		trade_good_textiles_sell_price_mult = special_building_need_sell_price
		trade_good_wool_sell_price_mult = special_building_need_sell_price
	}

	on_complete = {
		tgp_silk_road_market_built_effect = yes
	}

	next_building = dvin_shuka_02
	
	ai_value = {
		base = 9.2

		directive_to_build_economy_modifier = yes

		ai_capital_preference_modifier = yes
		ai_special_district_modifier = { LEVEL = 1 }
	}
	

	trade_good_need = {
		trade_good = trade_good_textiles
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity_high
			}
		}
	}
	trade_good_need = {
		trade_good = trade_good_wool
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			province_modifier = {
				province_size_baseline_add = 10
			}
		}
	}

	flag = travel_point_of_interest_economic
}


dvin_shuka_02 = {
	construction_time = slow_construction_time
	
	
	can_construct_potential = {
		scope:holder = {
			any_character_situation = { situation_type = silk_road_situation }
		}
	}
	can_construct_showing_failures_only = {
		holding_district_level_2_trigger = yes
	}
	
	can_construct = { building_commerce_early_medieval_trigger = yes }
	
	cost_gold = 800
	

	province_modifier = {
		travel_danger = -15
		monthly_commerce_tax = 2
		province_size_baseline_add = 40
	}
	county_culture_modifier = {
		parameter = silk_road_market_owner_bonuses
		commerce_tax_mult = 0.1
	}
	character_modifier = {
		cultural_head_fascination_mult = 0.05
	}
	market_modifier = {
		trade_good_textiles_sell_price_mult = special_building_need_sell_price
		trade_good_wool_sell_price_mult = special_building_need_sell_price
	}

	on_complete = {
		tgp_silk_road_market_built_effect = yes
	}
	
	ai_value = {
		base = 9.2

		directive_to_build_economy_modifier = yes

		ai_capital_preference_modifier = yes
		ai_special_district_modifier = { LEVEL = 2 }
	}


	trade_good_need = {
		trade_good = trade_good_textiles
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity_high
			}
		}
	}
	trade_good_need = {
		trade_good = trade_good_wool
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			province_modifier = {
				province_size_baseline_add = 10
			}
		}
	}

	flag = travel_point_of_interest_economic
}


khiva_bazaar_01 = {
	construction_time = slow_construction_time
	
	type_icon = "special_buildings/special_silk_road_market.dds"
	
	can_construct_potential = {
		scope:holder = {
			any_character_situation = { situation_type = silk_road_situation }
		}
	}
	can_construct = { building_monument_tribal_trigger = yes }
	
	cost_gold = 400
	
	province_modifier = {
		monthly_commerce_tax = 2
		travel_danger = -10
		province_size_baseline_add = special_building_province_size_baseline
	}
	county_culture_modifier = {
		parameter = silk_road_market_owner_bonuses
		commerce_tax_mult = 0.1
	}
	market_modifier = {
		trade_good_textiles_sell_price_mult = special_building_need_sell_price
		trade_good_wool_sell_price_mult = special_building_need_sell_price
	}

	on_complete = {
		tgp_silk_road_market_built_effect = yes
	}

	next_building = khiva_bazaar_02
	
	ai_value = {
		base = 9.2

		directive_to_build_economy_modifier = yes

		ai_capital_preference_modifier = yes
		ai_special_district_modifier = { LEVEL = 1 }
	}
	

	trade_good_need = {
		trade_good = trade_good_textiles
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity_high
			}
		}
	}
	trade_good_need = {
		trade_good = trade_good_wool
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			province_modifier = {
				province_size_baseline_add = 10
			}
		}
	}

	flag = travel_point_of_interest_economic
}


khiva_bazaar_02 = {
	construction_time = slow_construction_time
	
	
	can_construct_potential = {
		scope:holder = {
			any_character_situation = { situation_type = silk_road_situation }
		}
	}
	can_construct_showing_failures_only = {
		holding_district_level_2_trigger = yes
	}
	
	can_construct = { building_commerce_early_medieval_trigger = yes }
	
	cost_gold = 800
	

	province_modifier = {
		travel_danger = -15
		monthly_commerce_tax = 2
		province_size_baseline_add = 40
	}
	county_culture_modifier = {
		parameter = silk_road_market_owner_bonuses
		commerce_tax_mult = 0.1
	}
	character_modifier = {
		cultural_head_fascination_mult = 0.05
	}
	market_modifier = {
		trade_good_textiles_sell_price_mult = special_building_need_sell_price
		trade_good_wool_sell_price_mult = special_building_need_sell_price
	}

	on_complete = {
		tgp_silk_road_market_built_effect = yes
	}
	
	ai_value = {
		base = 9.2

		directive_to_build_economy_modifier = yes

		ai_capital_preference_modifier = yes
		ai_special_district_modifier = { LEVEL = 2 }
	}


	trade_good_need = {
		trade_good = trade_good_textiles
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			county_modifier = {
				prosperity_growth_factor = special_building_need_prosperity_high
			}
		}
	}
	trade_good_need = {
		trade_good = trade_good_wool
		amount = special_building_need_amount
		can_be_filled_multiple_times = 5

		modifiers = {
			province_modifier = {
				province_size_baseline_add = 10
			}
		}
	}

	flag = travel_point_of_interest_economic
}
