﻿# Wall of Iron
ary_woa_01 = {
	construction_time = 11322

	can_construct_potential = {
		building_ary_woa_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}

	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 2500
	garrison_reinforcement_factor = 0.5
	province_modifier = {
		monthly_income = 10
		fort_level = 30
		defender_holding_advantage = 50
		garrison_size = 1
		travel_danger = -50
		hostile_raid_time = 4
	}
	duchy_capital_county_modifier = {
		additional_fort_level = 4
		county_opinion_add = 30
	}
	county_modifier = {
		building_slot_add = 2
		development_growth = 0.5
		development_growth_factor = 0.25
		levy_size = 0.3
		tax_mult = 0.3
	}
	
	next_building = ary_woa_02
	
	type_icon = "icon_structure_aurelian_walls.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_woa_02 = {
	construction_time = 12784

	can_construct_potential = {
		building_ary_woa_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 3500
	garrison_reinforcement_factor = 1
	province_modifier = {
		monthly_income = 15
		fort_level = 40
		defender_holding_advantage = 60
		garrison_size = 1.5
		travel_danger = -75
		hostile_raid_time = 5
	}
	duchy_capital_county_modifier = {
		additional_fort_level = 8
		county_opinion_add = 40
	}
	county_modifier = {
		building_slot_add = 2
		development_growth = 0.75
		development_growth_factor = 0.5
		levy_size = 0.4
		tax_mult = 0.4
	}
	
	next_building = ary_woa_03
	
	type_icon = "icon_structure_aurelian_walls.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_woa_03 = {
	construction_time = 14610

	can_construct_potential = {
		building_ary_woa_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 4500
	garrison_reinforcement_factor = 1.5
	province_modifier = {
		monthly_income = 20
		fort_level = 50
		defender_holding_advantage = 70
		garrison_size = 2
		travel_danger = -100
		hostile_raid_time = 6
	}
	duchy_capital_county_modifier = {
		additional_fort_level = 12
		county_opinion_add = 50
	}
	county_modifier = {
		building_slot_add = 2
		development_growth = 1
		development_growth_factor = 0.75
		levy_size = 0.5
		tax_mult = 0.5
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_structure_aurelian_walls.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}
# Port City
ary_cp_01 = {
	construction_time = 11322

	can_construct_potential = {
		building_ary_cp_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 750
	garrison_reinforcement_factor = 0.2
	province_modifier = {
		monthly_income = 5
		defender_holding_advantage = 12
		tax_mult = 1
		development_growth = 0.50
		development_growth_factor = 1
	}

	character_modifier = {
		monthly_income_mult = 0.15
		tax_mult = 0.15
		monthly_income = 5
		diplomatic_range_mult = 0.30
		naval_movement_speed_mult = 0.30
		embarkation_cost_mult = -0.30
	}

	county_holder_character_modifier = {
		monthly_income = 2.5
		diplomatic_range_mult = 0.10
		naval_movement_speed_mult = 0.10
		embarkation_cost_mult = -0.10
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	next_building = ary_cp_02
	
	type_icon = "icon_structure_maiden_tower.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_cp_02 = {
	construction_time = 12784

	can_construct_potential = {
		building_ary_cp_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 1500
	garrison_reinforcement_factor = 0.4
	province_modifier = {
		monthly_income = 7.5
		defender_holding_advantage = 16
		tax_mult = 1.25
		development_growth = 0.75
		development_growth_factor = 1.25
	}

	character_modifier = {
		monthly_income_mult = 0.30
		tax_mult = 0.30
		monthly_income = 7.5
		diplomatic_range_mult = 0.5
		naval_movement_speed_mult = 0.5
		embarkation_cost_mult = -0.5
	}

	county_holder_character_modifier = {
		monthly_income = 3.5
		diplomatic_range_mult = 0.2
		naval_movement_speed_mult = 0.2
		embarkation_cost_mult = -0.2
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	next_building = ary_cp_03
	
	type_icon = "icon_structure_maiden_tower.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_cp_03 = {
	construction_time = 14610

	can_construct_potential = {
		building_ary_cp_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 2250
	garrison_reinforcement_factor = 0.6
	province_modifier = {
		monthly_income = 10
		defender_holding_advantage = 20
		tax_mult = 1.5
		development_growth = 1
		development_growth_factor = 1.5
	}

	character_modifier = {
		monthly_income_mult = 0.45
		tax_mult = 0.45
		monthly_income = 10
		diplomatic_range_mult = 0.75
		naval_movement_speed_mult = 0.75
		embarkation_cost_mult = -0.75
	}

	county_holder_character_modifier = {
		monthly_income = 4.5
		diplomatic_range_mult = 0.3
		naval_movement_speed_mult = 0.3
		embarkation_cost_mult = -0.3
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_structure_maiden_tower.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}
# The Peaksfort
ary_og_01 = {
	construction_time = 11322

	can_construct_potential = {
		building_ary_og_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 2500
	garrison_reinforcement_factor = 0.5
	province_modifier = {
		monthly_income = 5
		fort_level = 60
		defender_holding_advantage = 75
		garrison_size = 1
		hostile_raid_time = 8
		supply_limit_mult = -0.25
		levy_size = -0.40
		levy_reinforcement_rate = -0.30
	}

	character_modifier = {
		defender_advantage = 5
		controlled_province_advantage = 20
		scheme_discovery_chance_mult = 0.50
	}

	duchy_capital_county_modifier = {
		additional_fort_level = 10
		mountains_tax_mult = 0.35
		desert_mountains_tax_mult = 0.35
		hills_tax_mult = 0.35
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	next_building = ary_og_02
	
	type_icon = "icon_structure_meteora.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_og_02 = {
	construction_time = 12784

	can_construct_potential = {
		building_ary_og_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 3500
	garrison_reinforcement_factor = 1
	province_modifier = {
		monthly_income = 7.5
		fort_level = 80
		defender_holding_advantage = 85
		garrison_size = 1.5
		hostile_raid_time = 9
		supply_limit_mult = -0.1
		levy_size = -0.2
		levy_reinforcement_rate = -0.15
	}

	character_modifier = {
		defender_advantage = 7
		controlled_province_advantage = 25
		scheme_discovery_chance_mult = 0.75
	}

	duchy_capital_county_modifier = {
		additional_fort_level = 15
		mountains_tax_mult = 0.5
		desert_mountains_tax_mult = 0.5
		hills_tax_mult = 0.5
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	next_building = ary_og_03
	
	type_icon = "icon_structure_meteora.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_og_03 = {
	construction_time = 14610

	can_construct_potential = {
		building_ary_og_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 4500
	garrison_reinforcement_factor = 1.5
	province_modifier = {
		monthly_income = 10
		fort_level = 100
		defender_holding_advantage = 100
		garrison_size = 2
		hostile_raid_time = 10
	}

	character_modifier = {
		defender_advantage = 10
		controlled_province_advantage = 30
		scheme_discovery_chance_mult = 1
	}

	duchy_capital_county_modifier = {
		additional_fort_level = 20
		mountains_tax_mult = 0.75
		desert_mountains_tax_mult = 0.75
		hills_tax_mult = 0.75
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_structure_meteora.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}
# Capital of the Empire
ary_cote_01 = {
	construction_time = 11322

	can_construct_potential = {
		building_ary_cote_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 4000
	garrison_reinforcement_factor = 0.35
	province_modifier = {
		monthly_income = 15
		tax_mult = 0.25
		fort_level = 20
		defender_holding_advantage = 15
		garrison_size = 1
		supply_limit_mult = 3
		levy_size = 4
		development_growth_factor = 0.50
	}

	character_modifier = {
		dread_baseline_add = 20
		vassal_limit = 30
		vassal_tax_mult = 0.20
		vassal_tax_contribution_mult = 0.20
		vassal_levy_contribution_mult = 0.20
		character_capital_county_monthly_development_growth_add = 0.25
		vassal_opinion = 30
		monthly_dynasty_prestige_mult = 0.10
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	next_building = ary_cote_02
	
	type_icon = "icon_structure_alhambra.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_cote_02 = {
	construction_time = 12784

	can_construct_potential = {
		building_ary_cote_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 5000
	garrison_reinforcement_factor = 0.7
	province_modifier = {
		monthly_income = 20
		tax_mult = 0.35
		fort_level = 25
		defender_holding_advantage = 20
		garrison_size = 1.5
		supply_limit_mult = 4
		levy_size = 5
		development_growth_factor = 0.75
	}

	character_modifier = {
		dread_baseline_add = 30
		vassal_limit = 40
		vassal_tax_mult = 0.35
		vassal_tax_contribution_mult = 0.35
		vassal_levy_contribution_mult = 0.35
		character_capital_county_monthly_development_growth_add = 0.5
		vassal_opinion = 40
		monthly_dynasty_prestige_mult = 0.20
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	next_building = ary_cote_03
	
	type_icon = "icon_structure_alhambra.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_cote_03 = {
	construction_time = 14610

	can_construct_potential = {
		building_ary_cote_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 6000
	garrison_reinforcement_factor = 1.05
	province_modifier = {
		monthly_income = 25
		tax_mult = 0.5
		fort_level = 30
		defender_holding_advantage = 25
		garrison_size = 2
		supply_limit_mult = 5
		levy_size = 6
		development_growth_factor = 1
	}

	character_modifier = {
		dread_baseline_add = 40
		vassal_limit = 50
		vassal_tax_mult = 0.5
		vassal_tax_contribution_mult = 0.5
		vassal_levy_contribution_mult = 0.5
		character_capital_county_monthly_development_growth_add = 0.75
		vassal_opinion = 50
		monthly_dynasty_prestige_mult = 0.3
	}

	county_modifier = {
		building_slot_add = 2
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_structure_alhambra.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}
# Knights Hall of Fame
ary_knightshof_01 = {
	construction_time = 11322

	can_construct_potential = {
		building_ary_knightshof_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}

	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 350
	garrison_reinforcement_factor = 0.15
	province_modifier = {
		fort_level = 2
		defender_holding_advantage = 5
		garrison_size = 0.5
	}

	character_modifier = {
		monthly_prestige = 15
		monthly_prestige_gain_mult = 0.1
		knight_limit = 4
		knight_effectiveness_mult = 2
		prowess_per_prestige_level = 1
		martial_per_prestige_level = 1
		knight_effectiveness_per_prowess = 0.01
		knight_effectiveness_per_martial = 0.01
		monthly_legitimacy_add = 2.5
		owned_legend_spread_mult = 0.2
		tourney_participant_xp_gain_mult = 0.25
		accolade_glory_gain_mult = 0.3
		no_prowess_loss_from_age = yes
	}

	county_modifier = {
		building_slot_add = 2
		county_opinion_add = 30
	}
	
	next_building = ary_knightshof_02
	
	type_icon = "icon_building_hall_of_heroes.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_knightshof_02 = {
	construction_time = 12784

	can_construct_potential = {
		building_ary_knightshof_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 700
	garrison_reinforcement_factor = 0.3
	province_modifier = {
		fort_level = 4
		defender_holding_advantage = 10
		garrison_size = 0.75
	}

	character_modifier = {
		monthly_prestige = 30
		monthly_prestige_gain_mult = 0.2
		knight_limit = 7
		knight_effectiveness_mult = 3
		prowess_per_prestige_level = 2
		martial_per_prestige_level = 2
		knight_effectiveness_per_prowess = 0.02
		knight_effectiveness_per_martial = 0.02
		monthly_legitimacy_add = 5
		owned_legend_spread_mult = 0.4
		tourney_participant_xp_gain_mult = 0.5
		accolade_glory_gain_mult = 0.4
		no_prowess_loss_from_age = yes
	}

	county_modifier = {
		building_slot_add = 2
		county_opinion_add = 40
	}
	
	next_building = ary_knightshof_03
	
	type_icon = "icon_building_hall_of_heroes.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_knightshof_03 = {
	construction_time = 14610

	can_construct_potential = {
		building_ary_knightshof_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 1050
	garrison_reinforcement_factor = 0.45
	province_modifier = {
		fort_level = 6
		defender_holding_advantage = 15
		garrison_size = 1
	}

	character_modifier = {
		monthly_prestige = 45
		monthly_prestige_gain_mult = 0.3
		knight_limit = 10
		knight_effectiveness_mult = 4
		prowess_per_prestige_level = 3
		martial_per_prestige_level = 3
		knight_effectiveness_per_prowess = 0.03
		knight_effectiveness_per_martial = 0.03
		monthly_legitimacy_add = 5
		owned_legend_spread_mult = 0.6
		tourney_participant_xp_gain_mult = 0.75
		accolade_glory_gain_mult = 0.5
		no_prowess_loss_from_age = yes
	}

	county_modifier = {
		building_slot_add = 2
		county_opinion_add = 50
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_building_hall_of_heroes.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}
# Square of True Faith
ary_squareotf_01 = {
	construction_time = 11322

	can_construct_potential = {
		building_ary_squareotf_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}

	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 350
	garrison_reinforcement_factor = 0.15
	province_modifier = {
		monthly_income = 3.5
		fort_level = 2
		defender_holding_advantage = 4
		garrison_size = 0.5
	}

	character_modifier = {
		monthly_piety = 10
		monthly_piety_gain_mult = 0.1
		tolerance_advantage_mod = 12
		learning_per_piety_level = 1
		prowess_per_piety_level = 2
		martial_per_piety_level	= 1
		opinion_of_same_faith = 10
		clergy_opinion = 10
		religious_head_opinion = 15
		pilgrim_xp_gain_mult = 0.5
		domain_tax_same_faith_mult = 0.35
		levy_reinforcement_rate_same_faith = 0.35
		zealot_levy_contribution_mult = 0.35
		zealot_tax_contribution_mult = 0.35
	}

	county_modifier = {
		travel_danger = -10
		monthly_county_control_growth_add = 1
		building_slot_add = 2
		county_opinion_add = 30
	}
	
	next_building = ary_squareotf_02
	
	type_icon = "icon_structure_iron_pillar_of_dhar.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_squareotf_02 = {
	construction_time = 12784

	can_construct_potential = {
		building_ary_squareotf_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 700
	garrison_reinforcement_factor = 0.3
	province_modifier = {
		monthly_income = 7
		fort_level = 3
		defender_holding_advantage = 8
		garrison_size = 0.75
	}

	character_modifier = {
		monthly_piety = 20
		monthly_piety_gain_mult = 0.2
		tolerance_advantage_mod = 24
		learning_per_piety_level = 2
		prowess_per_piety_level = 3
		martial_per_piety_level	= 2
		opinion_of_same_faith = 15
		clergy_opinion = 15
		religious_head_opinion = 20
		pilgrim_xp_gain_mult = 1
		domain_tax_same_faith_mult = 0.5
		levy_reinforcement_rate_same_faith = 0.5
		zealot_levy_contribution_mult = 0.5
		zealot_tax_contribution_mult = 0.5
	}

	county_modifier = {
		travel_danger = -15
		monthly_county_control_growth_add = 2
		building_slot_add = 2
		county_opinion_add = 40
	}
	
	next_building = ary_squareotf_03
	
	type_icon = "icon_structure_iron_pillar_of_dhar.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_squareotf_03 = {
	construction_time = 14610

	can_construct_potential = {
		building_ary_squareotf_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 1050
	garrison_reinforcement_factor = 0.45
	province_modifier = {
		monthly_income = 10.5
		fort_level = 5
		defender_holding_advantage = 12
		garrison_size = 1
	}

	character_modifier = {
		monthly_piety = 30
		monthly_piety_gain_mult = 0.3
		tolerance_advantage_mod = 36
		learning_per_piety_level = 3
		prowess_per_piety_level = 4
		martial_per_piety_level	= 3
		opinion_of_same_faith = 2
		clergy_opinion = 20
		religious_head_opinion = 25
		pilgrim_xp_gain_mult = 1.5
		domain_tax_same_faith_mult = 0.75
		levy_reinforcement_rate_same_faith = 0.75
		zealot_levy_contribution_mult = 0.75
		zealot_tax_contribution_mult = 0.75
	}

	county_modifier = {
		travel_danger = -20
		monthly_county_control_growth_add = 3
		building_slot_add = 2
		county_opinion_add = 50
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_structure_iron_pillar_of_dhar.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}
# The Divine Citadel
ary_highh_01 = {
	construction_time = 36525

	can_construct_potential = {
		building_ary_highh_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}

	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 3000
	garrison_reinforcement_factor = 0.3
	province_modifier = {
		fort_level = 60
		defender_holding_advantage = 10
		garrison_size = 1
	}
	character_modifier = {
		diplomacy = 6
		martial = 6
		stewardship = 6
		intrigue = 6
		learning = 6
		prowess = 6
		monthly_lifestyle_xp_gain_mult = 0.1
		monthly_piety_gain_mult = 0.2
		monthly_prestige_gain_mult = 0.2
		monthly_influence_mult = 0.2
		monthly_dynasty_prestige_mult = 0.1
		monthly_dynasty_prestige = 5
		health = 0.3
		negate_health_penalty_add = 0.3
	}
	county_modifier = {
		building_slot_add = 2
		tax_mult = 0.1
		hostile_raid_time = 1
	}
	
	next_building = ary_highh_02
	
	type_icon = "icon_structure_canterbury_cathedral.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_highh_02 = {
	construction_time = 45625

	can_construct_potential = {
		building_ary_highh_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 4500
	garrison_reinforcement_factor = 0.6
	province_modifier = {
		fort_level = 80
		defender_holding_advantage = 20
		garrison_size = 1.5
	}
	character_modifier = {
		diplomacy = 14
		martial = 14
		stewardship = 14
		intrigue = 14
		learning = 14
		prowess = 14
		monthly_lifestyle_xp_gain_mult = 0.2
		monthly_piety_gain_mult = 0.3
		monthly_prestige_gain_mult = 0.3
		monthly_influence_mult = 0.3
		monthly_dynasty_prestige_mult = 0.2
		monthly_dynasty_prestige = 10
		health = 0.7
		negate_health_penalty_add = 0.7
	}
	county_modifier = {
		building_slot_add = 2
		tax_mult = 0.2
		hostile_raid_time = 2
	}
	
	next_building = ary_highh_03
	
	type_icon = "icon_structure_canterbury_cathedral.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_highh_03 = {
	construction_time = 54750

	can_construct_potential = {
		building_ary_highh_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 6000
	garrison_reinforcement_factor = 1
	province_modifier = {
		fort_level = 100
		defender_holding_advantage = 30
		garrison_size = 2
	}
	character_modifier = {
		diplomacy = 20
		martial = 20
		stewardship = 20
		intrigue = 20
		learning = 20
		prowess = 20
		monthly_lifestyle_xp_gain_mult = 0.3
		monthly_piety_gain_mult = 0.45
		monthly_prestige_gain_mult = 0.45
		monthly_influence_mult = 0.45
		monthly_dynasty_prestige_mult = 0.3
		monthly_dynasty_prestige = 15
		health = 1
		negate_health_penalty_add = 1
	}
	county_modifier = {
		building_slot_add = 2
		tax_mult = 0.3
		hostile_raid_time = 3
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_structure_canterbury_cathedral.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}
# Dome of Learning
ary_domeol_01 = {
	construction_time = 11322

	can_construct_potential = {
		building_ary_domeol_requirement_terrain = yes
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}

	show_disabled = yes
	
	cost_gold = 3500

	max_garrison = 350
	garrison_reinforcement_factor = 0.15
	province_modifier = {
		monthly_income = 2.5
		tax_mult = 0.2
		defender_holding_advantage = 3
		garrison_size = 0.5
		development_growth_factor = 0.35
		travel_danger = -10
	}

	character_modifier = {
		diplomacy_per_prestige_level = 1
		learning = 15
		cultural_head_fascination_mult = 0.4
		cultural_head_fascination_add = 20
		negate_health_penalty_add = 0.6
		realm_priest_opinion = 30
		monthly_lifestyle_xp_gain_mult = 0.3
	}

	county_modifier = {
		building_slot_add = 2
		development_growth_factor = 0.2
		epidemic_resistance = 30
	}
	
	next_building = ary_domeol_02
	
	type_icon = "icon_structure_jvari_monastery.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_domeol_02 = {
	construction_time = 12784

	can_construct_potential = {
		building_ary_domeol_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 02 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 4000

	max_garrison = 700
	garrison_reinforcement_factor = 0.3
	province_modifier = {
		monthly_income = 6
		tax_mult = 0.35
		defender_holding_advantage = 6
		garrison_size = 0.75
		development_growth_factor = 0.7
		travel_danger = -20
	}

	character_modifier = {
		diplomacy_per_prestige_level = 1
		stewardship_per_prestige_level = 1
		learning = 20
		cultural_head_fascination_mult = 0.7
		cultural_head_fascination_add = 50
		negate_health_penalty_add = 1.3
		realm_priest_opinion = 40
		monthly_lifestyle_xp_gain_mult = 0.4
	}

	county_modifier = {
		building_slot_add = 2
		development_growth_factor = 0.35
		epidemic_resistance = 40
	}
	
	next_building = ary_domeol_03
	
	type_icon = "icon_structure_jvari_monastery.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}

ary_domeol_03 = {
	construction_time = 14610

	can_construct_potential = {
		building_ary_domeol_requirement_terrain = yes
	}
	
	can_construct = {
		building_requirement_castle_city_church = { LEVEL = 03 }
	}
	
	is_enabled = {
		county.holder = { has_title = prev.duchy }
	}
	show_disabled = yes
	
	cost_gold = 5000

	max_garrison = 1050
	garrison_reinforcement_factor = 0.45
	province_modifier = {
		monthly_income = 10
		tax_mult = 0.5
		defender_holding_advantage = 10
		garrison_size = 1
		development_growth_factor = 1
		travel_danger = -30
	}

	character_modifier = {
		diplomacy_per_prestige_level = 2
		stewardship_per_prestige_level = 2
		learning = 25
		cultural_head_fascination_mult = 1
		cultural_head_fascination_add = 80
		negate_health_penalty_add = 2
		realm_priest_opinion = 50
		monthly_lifestyle_xp_gain_mult = 0.5
	}

	county_modifier = {
		building_slot_add = 2
		development_growth_factor = 0.5
		epidemic_resistance = 50
	}
	
	flag = fully_upgraded_duchy_capital_building
	
	type_icon = "icon_structure_jvari_monastery.dds"

	type = duchy_capital
	
	ai_value = {
		base = 0 # Ai Never Build This
	}
}