# ================= CAPITOL CHAIN =================
Capitol = {
	is_foreign = no
	pop_type = bureaucrats
	max_levels = 1
	category = government_category
	employment_size = 0.5
	city = yes
	town = yes
	megalopolis = yes
	desc = "Capitol_desc"
	price = Capitol
	forbidden_for_estates = yes
	location_potential = { is_capital = yes }
	allow = { 
	is_capital = yes
	owner = { has_primary_or_accepted_culture = prev.dominant_culture } }
	modifier = {
		# Локальные модификаторы (только для провинции столицы)
		local_proximity_source = 10
		local_monthly_development = 0.0025
		building_upkeep_multiplier = 0.0075
	}
	capital_country_modifier = {
		# Глобальные модификаторы (для всей страны)
		global_distance_from_capital_speed_propagation = 0.05
		global_monthly_development = 0.00025
		tax_income_efficiency = 0.025
		global_crown_estate_power = 0.15
		army_tradition_decay = -0.0005
		army_maintenance_modifier = -0.025
		nobles_estate_target_satisfaction = -0.05
	}
	unique_production_methods = {
		Capitol_requirements = {
			tools = 1.5
			masonry = 1.5
			weaponry = 1.0
			paper = 1.0
			books = 1.0
			furniture = 1.5
			fine_cloth = 1.0

			category = building_maintenance

		}
	}
	remove_if = {
		is_no_longer_capital = yes
	}

	expensive = yes
	ai_forbid_shutdown = yes	
	automation_build_allowed = no
	important_for_AI = yes
	ai_ignore_maintenance = yes

	graphical_tags = { palace }
	build_time = 240
	construction_demand = university_construction
}

Capitol_2 = {
        is_foreign = no
        pop_type = bureaucrats
        max_levels = 1
        category = government_category
        employment_size = 1.0
        city = yes
        town = yes
        megalopolis = yes
        desc = "Capitol_2_desc"
        price = Capitol_2
        forbidden_for_estates = yes
        increase_per_level_cost = 1.0
        location_potential = { is_capital = yes }
        allow = {
        is_capital = yes
        owner = { has_primary_or_accepted_culture = prev.dominant_culture } }
        obsolete = Capitol
        modifier = {
                local_proximity_source = 25
                local_monthly_development = 0.005
                building_upkeep_multiplier = 0.0125
        }
        capital_country_modifier = {
                global_distance_from_capital_speed_propagation = 0.075
                global_monthly_development = 0.0005
                global_crown_estate_power = 0.30
                army_tradition_decay = -0.0005
                army_maintenance_modifier = -0.05
                nobles_estate_target_satisfaction = -0.15
        }
        unique_production_methods = {
                Capitol_2_requirements = {
                        tools = 2.0
                        masonry = 2.5
                        weaponry = 1.5
                        paper = 1.75
                        books = 1.75
                        furniture = 2.25
                        fine_cloth = 1.5
                        category = building_maintenance
                }
        }
        remove_if = {
                is_no_longer_capital = yes
        }

        expensive = yes
        ai_forbid_shutdown = yes
        automation_build_allowed = no
        important_for_AI = yes
        ai_ignore_maintenance = yes

        graphical_tags = { palace }
        build_time = 480
        construction_demand = university_construction
}

Capitol_3 = {
        is_foreign = no
        pop_type = bureaucrats
        max_levels = 3
        category = government_category
        employment_size = 1.5
        city = yes
        town = yes
        megalopolis = yes
        desc = "Capitol_3_desc"
        price = Capitol_3
        forbidden_for_estates = yes
        increase_per_level_cost = 1.0
        location_potential = { is_capital = yes }
        allow = {
        is_capital = yes
        owner = { has_primary_or_accepted_culture = prev.dominant_culture } }
        obsolete = Capitol_2
        modifier = {
                local_proximity_source = 35.0
                local_monthly_development = 0.01
                building_upkeep_multiplier = 0.02
        }
        capital_country_modifier = {
                global_distance_from_capital_speed_propagation = 0.1
                global_monthly_development = 0.001
                tax_income_efficiency = 0.075
                global_crown_estate_power = 0.5
                army_tradition_decay = -0.0005
                army_maintenance_modifier = -0.075
                nobles_estate_target_satisfaction = -0.25
        }
        unique_production_methods = {
                Capitol_3_requirements = {
                        tools = 2.0
                        masonry = 2.5
                        weaponry = 1.5
                        paper = 1.75
                        books = 1.75
                        furniture = 2.25
                        fine_cloth = 1.5
                        category = building_maintenance
                }
        }
        remove_if = {
                is_no_longer_capital = yes
        }

        expensive = yes
        ai_forbid_shutdown = yes
        automation_build_allowed = no
        important_for_AI = yes
        ai_ignore_maintenance = yes

        graphical_tags = { palace }
        build_time = 960
        construction_demand = university_construction
}
