##########################
# CHINESE ESTATE BUILDINGS
##########################

# BUILDING VALUES

@east_asian_estate_main_construction_time = 730

@east_asian_estate_upgrade_construction_time_1 = 180
@east_asian_estate_upgrade_construction_time_2 = 240
@east_asian_estate_upgrade_construction_time_3 = 300
@east_asian_estate_upgrade_construction_time_4 = 360

@east_asian_estate_building_construction_time_1 = 360
@east_asian_estate_building_construction_time_2 = 420
@east_asian_estate_building_construction_time_3 = 480
@east_asian_estate_building_construction_time_4 = 540
@east_asian_estate_building_construction_time_5 = 600
@east_asian_estate_building_construction_time_6 = 660

@east_asian_manor_build_speed_1 = -0.01
@east_asian_manor_build_speed_2 = -0.02
@east_asian_manor_build_speed_3 = -0.03
@east_asian_manor_build_gold_cost_1 = -0.01
@east_asian_manor_build_gold_cost_2 = -0.02
@east_asian_manor_build_gold_cost_3 = -0.03
@east_asian_manor_travel_danger_1 = -2
@east_asian_manor_travel_danger_2 = -3
@east_asian_manor_travel_danger_3 = -5
@east_asian_manor_governor_xp_gain_mult_1 = 0.025
@east_asian_manor_governor_xp_gain_mult_2 = 0.05
@east_asian_manor_governor_xp_gain_mult_3 = 0.1
@east_asian_manor_trait_track_travel_xp_gain_mult_1 = 0.05
@east_asian_manor_trait_track_travel_xp_gain_mult_2 = 0.1
@east_asian_manor_trait_track_travel_xp_gain_mult_3 = 0.15
@east_asian_manor_confucian_education_xp_gain_mult_1 = 0.05
@east_asian_manor_confucian_education_xp_gain_mult_2 = 0.1
@east_asian_manor_confucian_education_xp_gain_mult_3 = 0.15
@east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1 = 0.05
@east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2 = 0.1
@east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3 = 0.15
@east_asian_manor_learn_language_scheme_phase_duration_add_1 = -5
@east_asian_manor_learn_language_scheme_phase_duration_add_2 = -10
@east_asian_manor_learn_language_scheme_phase_duration_add_3 = -15
@east_asian_manor_study_confucian_classics_scheme_phase_duration_add_1 = -2
@east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2 = -3
@east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3 = -4
@east_asian_manor_monthly_treasury_from_military_budget_mult_1 = 0.01
@east_asian_manor_monthly_treasury_from_military_budget_mult_2 = 0.02
@east_asian_manor_monthly_treasury_from_military_budget_mult_3 = 0.03
@east_asian_manor_monthly_treasury_from_salary_budget_mult_1 = 0.01
@east_asian_manor_monthly_treasury_from_salary_budget_mult_2 = 0.02
@east_asian_manor_monthly_treasury_from_salary_budget_mult_3 = 0.03
@east_asian_manor_monthly_merit_per_title_maa_value_1 = 0.0005
@east_asian_manor_monthly_merit_per_title_maa_value_2 = 0.001
@east_asian_manor_monthly_merit_per_title_maa_value_3 = 0.002
@east_asian_manor_monthly_merit_per_liege_tax_1 = 0.002
@east_asian_manor_monthly_merit_per_liege_tax_2 = 0.004
@east_asian_manor_monthly_merit_per_liege_tax_3 = 0.006
@east_asian_manor_monthly_merit_1 = 0.15
@east_asian_manor_monthly_merit_2 = 0.25
@east_asian_manor_monthly_merit_3 = 0.4
@east_asian_manor_monthly_merit_mult_1 = 0.005
@east_asian_manor_monthly_merit_mult_2 = 0.01
@east_asian_manor_monthly_merit_mult_3 = 0.02
@east_asian_manor_monthly_prestige_add_1 = 0.1
@east_asian_manor_monthly_prestige_add_2 = 0.15
@east_asian_manor_monthly_prestige_add_3 = 0.25
@east_asian_manor_monthly_prestige_mult_1 = 0.025
@east_asian_manor_monthly_dynasty_prestige_add_1 = 0.05
@east_asian_manor_monthly_dynasty_prestige_add_2 = 0.1
@east_asian_manor_monthly_influence_add_1 = 0.1
@east_asian_manor_monthly_influence_add_2 = 0.25
@east_asian_manor_monthly_influence_add_3 = 0.5
@east_asian_manor_monthly_influence_mult_1 = 0.025
@east_asian_manor_monthly_gold_add_0 = 0.1
@east_asian_manor_monthly_gold_add_1 = 0.15
@east_asian_manor_monthly_gold_add_2 = 0.25
@east_asian_manor_monthly_gold_add_3 = 0.35
@east_asian_manor_monthly_gold_mult_domain_1 = 0.01
@east_asian_manor_monthly_gold_mult_1 = 0.01
@east_asian_manor_monthly_gold_mult_2 = 0.03
@east_asian_manor_monthly_gold_mult_3 = 0.05
@east_asian_manor_monthly_piety_add_1 = 0.1
@east_asian_manor_monthly_piety_add_2 = 0.25
@east_asian_manor_monthly_piety_add_3 = 0.5
@east_asian_manor_monthly_piety_mult_1 = 0.025
@east_asian_manor_stress_loss_mult_1 = 0.025
@east_asian_manor_stress_gain_mult_1 = -0.025
@east_asian_manor_opinion_add_1 = 2
@east_asian_manor_maa_recruitment_cost_mult_1 = -0.04
@east_asian_manor_maa_maintenance_mult_1 = -0.025
@east_asian_manor_maa_effectiveness_mult_1 = 0.025
@east_asian_manor_control_growth_factor_1 = 0.05
@east_asian_manor_advantage_add_1 = 1
@east_asian_manor_mercenary_hire_cost_mult_1 = -0.025
@east_asian_manor_supply_capacity_mult_1 = 0.025
@east_asian_manor_knight_effectiveness_mult_1 = 0.01
@east_asian_manor_lifestyle_xp_gain_mult = 0.05
@east_asian_manor_owned_scheme_potential_add = 2
@east_asian_manor_owned_scheme_success_chance_add = 2
@east_asian_manor_owned_scheme_success_chance_max_add = 2
@east_asian_manor_owned_scheme_success_growth_add = 2
@east_asian_manor_owned_scheme_phase_duration_add = -5
@east_asian_manor_enemy_scheme_success_chance_add = -2
@east_asian_manor_enemy_scheme_success_chance_max_add = -2
@east_asian_manor_enemy_scheme_success_growth_add = -2
@east_asian_manor_enemy_scheme_phase_duration_add = -5
@east_asian_manor_pursue_efficiency_1 = 0.025
@east_asian_manor_movement_speed_1 = 0.025
@east_asian_manor_influence_level_impact_mult_1 = 0.025
@east_asian_manor_character_travel_speed_mult = 0.025
@east_asian_manor_hostile_raid_time_1 = 0.1
@east_asian_manor_development_growth_factor_1 = 0.015
@east_asian_manor_development_growth_factor_2 = 0.025
@east_asian_manor_development_growth_factor_3 = 0.035
@east_asian_manor_development_growth_1 = 0.05
@east_asian_manor_development_growth_2 = 0.1
@east_asian_manor_development_growth_3 = 0.15
@east_asian_manor_county_control_growth_add_1 = 0.1
@east_asian_manor_prestige_gain_per_dread_mult_1 = 0.05
@east_asian_manor_dread_decay_mult_1 = -0.025
@east_asian_manor_dread_baseline_add_1 = 2
@east_asian_manor_health_add_1 = 0.05
@east_asian_manor_epidemic_resistance_1 = 2
@east_asian_manor_dread_gain_mult_1 = 0.025
@east_asian_manor_domicile_build_speed = -0.05
@east_asian_manor_domicile_build_speed_minor = -0.03
@east_asian_manor_domicile_build_gold_cost_minor = -0.03
@east_asian_manor_domicile_build_gold_cost = -0.05
@east_asian_manor_holding_build_gold_cost_minor = -0.03
@east_asian_manor_holding_build_gold_cost = -0.05
@east_asian_manor_faith_creation_piety_cost_mult = -0.05
@east_asian_manor_character_travel_safety = 2

### NOTE: If updating, adding, or changing buildings, ensure the following effects are updated too:
### destroy_random_east_asian_estate_building_variable_effect
### destroy_random_east_asian_estate_building_effect
### add_random_external_east_asian_estate_building
### add_random_internal_east_asian_estate_building

### Chinese Estate Main Building - The Villa
east_asian_estate_main_01 = {
	slot_type = main
	internal_slots = 3
	construction_time = @east_asian_estate_main_construction_time
	allowed_domicile_types = { east_asian_estate }

	cost = {
		gold = estate_external_building_high_cost_tier_2_value
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.25
		domicile_monthly_influence_add = 1
		domicile_external_slots_capacity_add = 3
	}

	ai_value = {
		value = 100
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_01.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_chinese_main_building"
	}
}

east_asian_estate_main_02 = {
	slot_type = main
	internal_slots = 6
	construction_time = @east_asian_estate_main_construction_time
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_main_01
	
	can_construct = {
		culture ?= { has_innovation = innovation_city_planning }
	}

	cost = {
		gold = estate_external_building_high_cost_tier_3_value
	}
	
	parameters = {
		estate_increase_house_member_investment_cap_1 = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.25
		domicile_monthly_influence_add = 0.5
		domicile_external_slots_capacity_add = 1
	}

	ai_value = {
		value = 7
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_02.dds"
		texture = "gfx/interface/window_domiciles/estate_building_manor_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_chinese_main_building"
	}
}

east_asian_estate_main_03 = {
	slot_type = main
	internal_slots = 9
	construction_time = @east_asian_estate_main_construction_time
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_main_02
	
	can_construct = {
		culture ?= { has_innovation = innovation_manorialism }
	}

	cost = {
		gold = estate_external_building_high_cost_tier_4_value
	}
	
	parameters = {
		estate_increase_house_member_investment_cap_2 = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.5
		domicile_monthly_gold_mult = 0.02
		domicile_monthly_influence_add = 0.5
		domicile_external_slots_capacity_add = 1
	}

	ai_value = {
		value = 6
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_03.dds"
		texture = "gfx/interface/window_domiciles/estate_building_mansion_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_mansion_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_chinese_main_building"
	}
}

east_asian_estate_main_04 = {
	slot_type = main
	internal_slots = 12
	construction_time = @east_asian_estate_main_construction_time
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_main_03
	
	can_construct = {
		culture ?= { has_innovation = innovation_development_03 }
	}

	cost = {
		gold = estate_external_building_high_cost_tier_5_value
	}
	
	parameters = {
		estate_increase_house_member_investment_cap_3 = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.5
		domicile_monthly_gold_mult = 0.03
		domicile_monthly_influence_add = 0.5
		domicile_external_slots_capacity_add = 1
	}

	ai_value = {
		value = 5
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_04.dds"
		texture = "gfx/interface/window_domiciles/estate_building_estate_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_estate_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_chinese_main_building"
	}
}

east_asian_estate_main_05 = {
	slot_type = main
	internal_slots = 15
	construction_time = @east_asian_estate_main_construction_time
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_main_04
	
	can_construct = {
		culture ?= { has_innovation = innovation_cranes }
	}

	cost = {
		gold = estate_external_building_high_cost_tier_6_value
	}
	
	parameters = {
		estate_increase_house_member_investment_cap_4 = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.75
		domicile_monthly_gold_mult = 0.05
		domicile_monthly_influence_add = 0.5
	}

	ai_value = {
		value = 4
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_05.dds"
		texture = "gfx/interface/window_domiciles/estate_building_grand_estate_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grand_estate_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_chinese_main_building"
	}
}

####################
##### VILLA UPGRADES


### Education
east_asian_estate_library_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}
	
	parameters = {
		estate_increased_tutor_aptitude_1 = yes
	}

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.01
		study_confucian_classics_scheme_phase_duration_add = -3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_library_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_library_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}
	
	parameters = {
		estate_increased_tutor_aptitude_2 = yes
		estate_reduced_tutor_cost_low = yes
	}

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.01
		study_confucian_classics_scheme_phase_duration_add = -3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_library_education_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_library_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}
	
	parameters = {
		estate_increased_tutor_aptitude_3 = yes
		estate_reduced_tutor_cost = yes
	}

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.01
		study_confucian_classics_scheme_phase_duration_add = -3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_library_education_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_library_education_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}
	
	parameters = {
		estate_increased_tutor_aptitude_4 = yes
		estate_reduced_tutor_cost_high = yes
		estate_unlock_tier_5_education = yes
	}

	character_modifier = {
		monthly_lifestyle_xp_gain_mult = 0.02
		study_confucian_classics_scheme_phase_duration_add = -3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Taxation office
east_asian_estate_taxation_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.15
		domain_tax_mult = 0.02
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_taxation_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_taxation_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.15
		domain_tax_mult = 0.02
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_taxation_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_taxation_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.15
		domain_tax_mult = 0.02
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_taxation_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_taxation_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.15
		domain_tax_mult = 0.02
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}

### Yamen Office
east_asian_peasant_quarters_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1 
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct_potential = {
	}

	can_construct = {

	}

	cost = {
		gold = estate_internal_building_high_cost_tier_2_value
	}

	character_modifier = {
		county_opinion_add = 5
		minority_opinion = 5
	}
	
	parameters = {
	}

	ai_value = {
		value = 1
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_astrologer_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_peasant_quarters_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2 
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_peasant_quarters_01

	can_construct = {
		
	}

	cost = {
		gold = estate_internal_building_high_cost_tier_2_value
		influence = major_influence_value
	}

	character_modifier = {
		levy_reinforcement_rate = 0.1
	}
	
	parameters = {
		can_use_incite_revolts = yes
	}

	ai_value = {
		value = 1
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_astrologer_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_peasant_quarters_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_peasant_quarters_02

	can_construct = {
		
	}

	cost = {
		gold = estate_internal_building_high_cost_tier_3_value
		influence = major_influence_value
	}

	character_modifier = {
		trait_track_peasant_leader_xp_gain_mult = 1
		barons_and_minor_landholders_opinion = -5
	}
	
	parameters = {
		can_use_incite_revolts = yes
		can_join_peasant_factions = yes
	}

	ai_value = {
		value = 1
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_astrologer_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_peasant_quarters_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_peasant_quarters_03

	can_construct = {
		
	}

	cost = {
		gold = estate_internal_building_high_cost_tier_4_value
		influence = massive_influence_value
	}

	character_modifier = {
		barons_and_minor_landholders_opinion = -5
		county_opinion_add = 5
		monthly_county_control_growth_factor = 0.1
	}
	
	parameters = {
		can_use_incite_revolts = yes
		can_join_peasant_factions = yes
	}

	ai_value = {
		value = 1
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_astrologer_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}


### Minister's Office
east_asian_estate_minister_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01
	
	can_construct_potential = {
		top_liege = {
			tgp_has_access_to_ministry_trigger = yes
		}
	}
	
	can_construct = {
		custom_tooltip = {
			text = you_are_not_a_minister_desc
			tgp_is_any_minister = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	
	parameters = {
		celestial_minister_score_bonus_1 = yes
		estate_minister_bureaucrat_aptitude_1 = yes
	}
	
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
		monthly_dynasty_prestige = 0.3
		domicile_monthly_prestige_mult = 0.1
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_minister_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_minister_office_01

	can_construct = {
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	
	parameters = {
		celestial_minister_score_bonus_2 = yes
		estate_minister_bureaucrat_aptitude_2 = yes
	}
	
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
		monthly_dynasty_prestige = 0.3
		domicile_monthly_prestige_mult = 0.1
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_minister_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_minister_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	
	parameters = {
		celestial_minister_score_bonus_3 = yes
		estate_minister_bureaucrat_aptitude_3 = yes
	}
	
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
		monthly_dynasty_prestige = 0.3
		domicile_monthly_prestige_mult = 0.1
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_minister_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_minister_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
		celestial_minister_score_bonus_4 = yes
		estate_minister_bureaucrat_aptitude_4 = yes
		estate_minister_effect_increase = yes
	}
	
	character_modifier = {
		monthly_merit_mult = 0.04
		monthly_dynasty_prestige = 0.3
		domicile_monthly_prestige_mult = 0.1
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Pavilion (for movement leaders)
east_asian_estate_movement_study_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01
	
	can_construct_potential = {
		any_character_situation = { situation_type = dynastic_cycle }
	}
	
	can_construct = {
		is_any_movement_leader = yes
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	
	parameters = {
		celestial_bonus_movement_power_1 = yes
		celestial_invite_to_movement_acceptance_1 = yes
	}
	
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_movement_study_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_movement_study_01

	can_construct = {
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	
	parameters = {
		celestial_bonus_movement_power_2 = yes
		celestial_invite_to_movement_acceptance_2 = yes
	}
	
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		celestial_movement_power_promote_scheme_phase_duration_add = -2
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_movement_study_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_movement_study_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	
	parameters = {
		celestial_bonus_movement_power_3 = yes
		celestial_invite_to_movement_acceptance_3 = yes
		estate_movement_leader_increase_disciple_limit_1 = yes
	}
	
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		celestial_movement_power_promote_scheme_phase_duration_add = -3
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_movement_study_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_movement_study_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
		celestial_bonus_movement_power_4 = yes
		celestial_invite_to_movement_acceptance_4 = yes
		estate_movement_leader_increase_disciple_limit_2 = yes
	}
	
	character_modifier = {
		max_political_schemes_add = 1
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Archive
east_asian_estate_archive_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		dynasty ?= {
			has_dynasty_perk = tgp_chinese_legacy_3
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	
	parameters = {
		estate_examination_start_score_bonus_1 = yes
	}

	character_modifier = {
		artifact_decay_reduction_mult = -0.03
		monthly_treasury_from_salary_budget_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_archive.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_archive_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_archive_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	
	parameters = {
		estate_examination_start_score_bonus_2 = yes
	}

	character_modifier = {
		artifact_decay_reduction_mult = -0.03
		monthly_treasury_from_salary_budget_mult = 0.05
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_archive.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_archive_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_archive_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	
	parameters = {
		estate_examination_start_score_bonus_3 = yes
	}

	character_modifier = {
		artifact_decay_reduction_mult = -0.03
		monthly_treasury_from_salary_budget_mult = 0.05
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_archive.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_archive_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_archive_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
		estate_examination_start_score_bonus_4 = yes
	}

	character_modifier = {
		artifact_decay_reduction_mult = -0.03
		monthly_treasury_from_salary_budget_mult = 0.05
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_archive.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cartography_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_march.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cartography_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cartography_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_march.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cartography_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cartography_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_march.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cartography_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cartography_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_march.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drafting_room_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		cheaper_move_estate_cost = yes
	}
	character_modifier = {
		domicile_build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
		domicile_build_speed = @east_asian_manor_domicile_build_speed_minor
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_build_gold_cost_1
		build_speed = @east_asian_manor_build_speed_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drafting_room_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drafting_room_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		cheaper_move_estate_cost = yes
	}
	character_modifier = {
		domicile_build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
		domicile_build_speed = @east_asian_manor_domicile_build_speed_minor
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_build_gold_cost_1
		build_speed = @east_asian_manor_build_speed_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drafting_room_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drafting_room_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		cheaper_move_estate_cost = yes
	}
	character_modifier = {
		domicile_build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
		domicile_build_speed = @east_asian_manor_domicile_build_speed_minor
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_build_gold_cost_1
		build_speed = @east_asian_manor_build_speed_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drafting_room_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drafting_room_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		cheaper_move_estate_cost = yes
	}
	character_modifier = {
		domicile_build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
		domicile_build_speed = @east_asian_manor_domicile_build_speed_minor
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_build_gold_cost_1
		build_speed = @east_asian_manor_build_speed_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_clerks_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.01
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/chariot_race_gambling.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_clerks_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_clerks_hall_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.01
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/chariot_race_gambling.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_clerks_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_clerks_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.01
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/chariot_race_gambling.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_clerks_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_clerks_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.01
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/chariot_race_gambling.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_revenue_audit_desk_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_revenue_audit_desk_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_revenue_audit_desk_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_revenue_audit_desk_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_revenue_audit_desk_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_revenue_audit_desk_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_revenue_audit_desk_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_block_printing_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_block_printing_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_block_printing_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_block_printing_hall_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_block_printing_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_block_printing_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_block_printing_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_block_printing_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_block_printing_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_block_printing_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_block_printing_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_xuan_paper_stores_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_xuan_paper_stores_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_xuan_paper_stores_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_xuan_paper_stores_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_xuan_paper_stores_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_xuan_paper_stores_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_xuan_paper_stores_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_water_clock_room_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		mentoring_scheme_phase_duration_add = -10
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_water_clock_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_water_clock_room_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_water_clock_room_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		mentoring_scheme_phase_duration_add = -10
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_water_clock_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_water_clock_room_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_water_clock_room_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		mentoring_scheme_phase_duration_add = -10
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_water_clock_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_water_clock_room_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_water_clock_room_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		mentoring_scheme_phase_duration_add = -10
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_water_clock_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_examination_room_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_examination_room_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_examination_room_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_examination_room_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_examination_room_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_examination_room_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_examination_room_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
### Diplomacy Upgrade
east_asian_estate_living_quarters_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_living_quarters }
				multiply = 0.75
				desc = raid_insight_quarters
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = 0.05
		personal_scheme_phase_duration_add = -10
	}

	parameters = {
		estate_unlock_ingratiate_family_interaction = yes
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_living_quarters_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_living_quarters_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_living_quarters }
				multiply = 0.75
				desc = raid_insight_quarters
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = 0.05
		dynasty_house_opinion = 5
		personal_scheme_phase_duration_add = -10
		owned_personal_scheme_success_chance_add = 5
	}

	parameters = {
		estate_unlock_ingratiate_family_interaction = yes
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_living_quarters_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_living_quarters_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_living_quarters }
				multiply = 0.75
				desc = raid_insight_quarters
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = 0.05
		personal_scheme_phase_duration_add = -10
		owned_personal_scheme_success_chance_add = 5
	}

	parameters = {
		estate_unlock_ingratiate_family_interaction = yes
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_living_quarters_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_living_quarters_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_living_quarters }
				multiply = 0.75
				desc = raid_insight_quarters
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = 0.05
		dynasty_house_opinion = 5
		personal_scheme_phase_duration_add = -10
		owned_personal_scheme_success_chance_add = 5
	}

	parameters = {
		estate_unlock_ingratiate_family_interaction = yes
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Learning Upgrade
east_asian_estate_study_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = 0.05
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_study_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_study_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = 0.05
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_study_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_study_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
		estate_study_increase_disciple_limit_1 = yes
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = 0.05
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_study_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_study_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
		estate_study_increase_disciple_limit_2 = yes
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = 0.05
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}

### Commander Upgrade
east_asian_estate_commander_study_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01
	
	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_trophy_room }
				multiply = 0.75
				desc = raid_insight_trophy_room
			}
		}
	}

	parameters = {
		celestial_military_score_bonus_1 = yes
		meritocratic_military_score_bonus_1 = yes
	}

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_commander_study_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_commander_study_01
	
	can_construct = {
		custom_tooltip = {
			text = is_a_military_governor_duchy_or_above_desc
			highest_held_title_tier >= tier_duchy
			OR = {
				vassal_contract_has_flag = celestial_military_appointment
				vassal_contract_has_flag = meritocratic_military_appointment
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_trophy_room }
				multiply = 0.75
				desc = raid_insight_trophy_room
			}
		}
	}

	parameters = {
		celestial_military_score_bonus_2 = yes
		meritocratic_military_score_bonus_2 = yes
	}

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = 0.05
		advantage = 2
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_commander_study_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_commander_study_02

	can_construct = {
		custom_tooltip = {
			text = is_a_military_governor_kingdom_or_above_desc
			highest_held_title_tier >= tier_kingdom
			OR = {
				vassal_contract_has_flag = celestial_military_appointment
				vassal_contract_has_flag = meritocratic_military_appointment
			}
		}
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_trophy_room }
				multiply = 0.75
				desc = raid_insight_trophy_room
			}
		}
	}

	parameters = {
		celestial_military_score_bonus_3 = yes
		meritocratic_military_score_bonus_3 = yes
	}

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = 0.05
		advantage = 2
		hard_casualty_modifier = -0.05
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_commander_study_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_commander_study_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_trophy_room }
				multiply = 0.75
				desc = raid_insight_trophy_room
			}
		}
	}

	parameters = {
		celestial_military_score_bonus_4 = yes
		meritocratic_military_score_bonus_4 = yes
	}

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = 0.05
		advantage = 2
		hard_casualty_modifier = -0.05
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Civilian Governor Upgrade
east_asian_estate_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01
	
	can_construct = {
		custom_tooltip = {
			text = is_a_civilian_governor_county_or_above_desc
			highest_held_title_tier >= tier_county
			OR = {
				vassal_contract_has_flag = celestial_civil_appointment
				vassal_contract_has_flag = meritocratic_civil_appointment
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}
	
	parameters = {
		celestial_civilian_score_bonus_1 = yes
		meritocratic_civilian_score_bonus_1 = yes
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_office_01
	
	can_construct = {
		custom_tooltip = {
			text = is_a_civilian_governor_duchy_or_above_desc
			highest_held_title_tier >= tier_duchy
			OR = {
				vassal_contract_has_flag = celestial_civil_appointment
				vassal_contract_has_flag = meritocratic_civil_appointment
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}
	
	parameters = {
		celestial_civilian_score_bonus_2 = yes
		meritocratic_civilian_score_bonus_2 = yes
		estate_governor_efficiency_bonus = yes
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_office_02

	can_construct = {
		custom_tooltip = {
			text = is_a_civilian_governor_kingdom_or_above_desc
			highest_held_title_tier >= tier_kingdom
			OR = {
				vassal_contract_has_flag = celestial_civil_appointment
				vassal_contract_has_flag = meritocratic_civil_appointment
			}
		}
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}
	
	parameters = {
		celestial_civilian_score_bonus_3 = yes
		meritocratic_civilian_score_bonus_3 = yes
		estate_governor_efficiency_bonus = yes
		estate_governor_efficiency_bonus_for_house_members = yes
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}
	
	parameters = {
		celestial_civilian_score_bonus_4 = yes
		meritocratic_civilian_score_bonus_4 = yes
		estate_governor_efficiency_bonus = yes
		estate_governor_efficiency_bonus_for_house_members = yes
		estate_governor_trait_xp_bonus_for_contracts = yes
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}

### Intrigue Upgrade
east_asian_estate_servants_quarters_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_servants_quarters }
				multiply = 0.75
				desc = raid_insight_servants_quarters
			}
		}
	}

	character_modifier = {
		monthly_intrigue_lifestyle_xp_gain_mult = 0.05
		hostile_scheme_phase_duration_add = minor_scheme_phase_duration_bonus_value
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_servants_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_servants_quarters_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_servants_quarters_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_servants_quarters }
				multiply = 0.75
				desc = raid_insight_servants_quarters
			}
		}
	}
	
	parameters = {
		estate_unlock_hire_agents_decision = yes
	}

	character_modifier = {
		monthly_intrigue_lifestyle_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_servants_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_servants_quarters_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_servants_quarters_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_servants_quarters }
				multiply = 0.75
				desc = raid_insight_servants_quarters
			}
		}
	}
	
	parameters = {
		estate_unlock_hire_agents_decision = yes
	}

	character_modifier = {
		monthly_intrigue_lifestyle_xp_gain_mult = 0.05
		owned_hostile_scheme_success_chance_add = 5
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_servants_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_servants_quarters_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_servants_quarters_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_servants_quarters }
				multiply = 0.75
				desc = raid_insight_servants_quarters
			}
		}
	}
	
	parameters = {
		estate_unlock_hire_agents_decision = yes
		estate_improve_political_scheme_countermeasure = yes
	}

	character_modifier = {
		monthly_intrigue_lifestyle_xp_gain_mult = 0.05
		owned_hostile_scheme_success_chance_add = 5
		max_hostile_schemes_add = 1
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_servants_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Bath
east_asian_estate_bath_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_bath }
				multiply = 0.75
				desc = raid_insight_bath
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = 0.05
		attraction_opinion = 3
	}

	parameters = {
		estate_increase_safe_treatment_success_1 = yes
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bath.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_bath_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bath_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_bath }
				multiply = 0.75
				desc = raid_insight_bath
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = 0.05
		attraction_opinion = 3
		epidemic_resistance = 2
	}

	parameters = {
		estate_increase_safe_treatment_success_1 = yes
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bath.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_bath_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bath_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_bath }
				multiply = 0.75
				desc = raid_insight_bath
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = 0.05
		attraction_opinion = 3
		epidemic_resistance = 3
	}

	parameters = {
		estate_increase_safe_treatment_success_1 = yes
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bath.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_bath_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bath_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_bath }
				multiply = 0.75
				desc = raid_insight_bath
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = 0.05
		attraction_opinion = 3
		epidemic_resistance = 5
	}

	parameters = {
		estate_increase_safe_treatment_success_2 = yes
	}
	
	ai_value = {
		value = 3
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bath.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Guest Room
east_asian_estate_guest_room_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_guest_room }
				multiply = 0.75
				desc = raid_insight_guest_room
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.03
		courtier_and_guest_opinion = 2
	}
	
	ai_value = {
		value = 8
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_esteemed_hospitality
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_guest_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_guest_room_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_guest_room_01

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_guest_room }
				multiply = 0.75
				desc = raid_insight_guest_room
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.03
		courtier_and_guest_opinion = 2
	}

	parameters = {
		increased_success_personal_schemes_1 = yes
	}
	
	ai_value = {
		value = 7
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_esteemed_hospitality
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_guest_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_guest_room_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_guest_room_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_guest_room }
				multiply = 0.75
				desc = raid_insight_guest_room
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.03
		courtier_and_guest_opinion = 2
	}

	parameters = {
		increased_success_personal_schemes_2 = yes
	}
	
	ai_value = {
		value = 6
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_esteemed_hospitality
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_guest_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_guest_room_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_guest_room_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_guest_room }
				multiply = 0.75
				desc = raid_insight_guest_room
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.03
		courtier_and_guest_opinion = 2
	}

	parameters = {
		increased_success_personal_schemes_3 = yes
		estate_increase_invite_to_court_acceptance = yes
	}
	
	ai_value = {
		value = 5
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_esteemed_hospitality
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_guest_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Wine Cellar
east_asian_estate_wine_cellar_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_wine_cellar }
				multiply = 0.75
			}
		}
	}
	
	parameters = {
		estate_unlock_feast_influence_option_1 = yes
	}
	
	ai_value = {
		value = 8
		if = {
			limit = {
				scope:owner.culture ?= {
					OR = {
						has_cultural_pillar = heritage_byzantine
						has_cultural_tradition = tradition_culinary_art
					}
				}
			}
			add = 3
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_wine_cellar_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_wine_cellar_01

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_wine_cellar }
				multiply = 0.75
			}
		}
	}
	
	parameters = {
		estate_unlock_feast_influence_option_2 = yes
	}
	
	ai_value = {
		value = 6
		if = {
			limit = {
				scope:owner.culture ?= {
					OR = {
						has_cultural_pillar = heritage_byzantine
						has_cultural_tradition = tradition_culinary_art
					}
				}
			}
			add = 3
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_wine_cellar_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_wine_cellar_02

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_wine_cellar }
				multiply = 0.75
			}
		}
	}
	
	parameters = {
		estate_unlock_feast_influence_option_3 = yes
	}
	
	ai_value = {
		value = 4
		if = {
			limit = {
				scope:owner.culture ?= {
					OR = {
						has_cultural_pillar = heritage_byzantine
						has_cultural_tradition = tradition_culinary_art
					}
				}
			}
			add = 3
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Courtyard
east_asian_estate_courtyard_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_courtyard }
				multiply = 0.75
				desc = raid_insight_courtyard
			}
		}
	}
	
	parameters = {
		estate_improved_feast_opinion = yes
	}
	
	character_modifier = {
		political_scheme_phase_duration_add = -3
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_courtyard_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_courtyard_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_courtyard }
				multiply = 0.75
				desc = raid_insight_courtyard
			}
		}
	}
	
	parameters = {
		estate_improved_feast_opinion = yes
		estate_cheaper_feast_cost = yes
	}
	
	character_modifier = {
		political_scheme_phase_duration_add = -3
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_courtyard_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_courtyard_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_courtyard }
				multiply = 0.75
				desc = raid_insight_courtyard
			}
		}
	}
	
	parameters = {
		estate_improved_feast_opinion = yes
		estate_cheaper_feast_cost = yes
	}
	
	character_modifier = {
		political_scheme_phase_duration_add = -3
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_courtyard_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_courtyard_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_courtyard }
				multiply = 0.75
				desc = raid_insight_courtyard
			}
		}
	}
	
	parameters = {
		estate_improved_feast_opinion = yes
		estate_cheaper_feast_cost = yes
	}
	
	character_modifier = {
		political_scheme_phase_duration_add = -3
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Prison
east_asian_estate_prison_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_prison }
				multiply = 0.75
				desc = raid_insight_prison
			}
		}
	}
	
	character_modifier = {
		dread_gain_mult = 0.05
		hostage_income_mult = 0.05
	}
	
	ai_value = {
		value = 7
		if = {
			limit = {
				scope:owner = {
					OR = {
						has_trait = vengeful
						has_trait = callous
						has_trait = sadistic
					}
				}
			}
			add = 5
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_prison_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_prison_01

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_prison }
				multiply = 0.75
				desc = raid_insight_prison
			}
		}
	}
	
	parameters = {
		estate_torture_grants_influence = yes
	}
	
	character_modifier = {
		dread_gain_mult = 0.05
		hostage_income_mult = 0.05
	}
	
	ai_value = {
		value = 6
		if = {
			limit = {
				scope:owner = {
					OR = {
						has_trait = vengeful
						has_trait = callous
						has_trait = sadistic
					}
				}
			}
			add = 5
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_prison_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_prison_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_prison }
				multiply = 0.75
				desc = raid_insight_prison
			}
		}
	}
	
	parameters = {
		estate_torture_grants_influence = yes
	}
	
	character_modifier = {
		dread_gain_mult = 0.05
		hostage_income_mult = 0.05
		hostage_renown_mult = 0.05
	}
	
	ai_value = {
		value = 5
		if = {
			limit = {
				scope:owner = {
					OR = {
						has_trait = vengeful
						has_trait = callous
						has_trait = sadistic
					}
				}
			}
			add = 5
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_prison_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_prison_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_prison }
				multiply = 0.75
				desc = raid_insight_prison
			}
		}
	}
	
	parameters = {
		estate_torture_grants_influence = yes
	}
	
	character_modifier = {
		dread_gain_mult = 0.05
		hostage_income_mult = 0.05
		hostage_renown_mult = 0.05
	}
	
	ai_value = {
		value = 4
		if = {
			limit = {
				scope:owner = {
					OR = {
						has_trait = vengeful
						has_trait = callous
						has_trait = sadistic
					}
				}
			}
			add = 5
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Reception Hall
east_asian_estate_reception_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct_potential = {
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_reception_hall }
				multiply = 0.75
				desc = raid_insight_reception_hall
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.02
	}

	parameters = {
		legitimacy_counter = yes
		reception_hall_legitimacy_loss_01 = yes
	}

	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_reception_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_reception_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_reception_hall_01

	can_construct = {
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_reception_hall }
				multiply = 0.75
				desc = raid_insight_reception_hall
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.04
	}

	parameters = {
		legitimacy_counter = yes
		reception_hall_legitimacy_loss_02 = yes
		estate_increase_house_member_investment_cap_1 = yes
	}

	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_reception_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_reception_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_reception_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_reception_hall }
				multiply = 0.75
				desc = raid_insight_reception_hall
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.06
	}

	parameters = {
		legitimacy_counter = yes
		reception_hall_legitimacy_loss_03 = yes
		estate_increase_house_member_investment_cap_2 = yes
	}

	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_reception_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_reception_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_reception_hall_03


	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_reception_hall }
				multiply = 0.75
				desc = raid_insight_reception_hall
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.08
	}

	parameters = {
		legitimacy_counter = yes
		reception_hall_legitimacy_loss_04 = yes
		estate_increase_house_member_investment_cap_3 = yes
	}

	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_reception_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_reception_hall_05 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_reception_hall_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_reception_hall }
				multiply = 0.75
				desc = raid_insight_reception_hall
			}
		}
	}

	character_modifier = {
		domicile_monthly_influence_mult = 0.1
	}

	parameters = {
		legitimacy_counter = yes
		reception_hall_legitimacy_loss_05 = yes
		estate_increase_house_member_investment_cap_4 = yes
	}

	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_reception_hall.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

### Cabinet of Curiosities
east_asian_estate_cabinet_of_curiosities_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1 
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_main_01

	can_construct = {
		dynasty ?= { has_dynasty_perk = ep3_administrative_legacy_4 }
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_cabinet_of_curiosities }
				multiply = 0.75
				desc = raid_insight_cabinet_of_curiosities
			}
		}
	}

	character_modifier = {
		learning_per_influence_level = 1
		domicile_monthly_influence_add = 0.1
	}
	
	parameters = {
		can_receive_artifacts = yes
		estate_improved_inspirations_1 = yes
		house_head_can_ask_for_artifacts = yes
	}

	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_cabinet_of_curiosities.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_cabinet_of_curiosities_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2 
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cabinet_of_curiosities_01

	can_construct = {
		dynasty ?= {
			custom_description = {
				text = cabinet_of_curiosities_upgrade_trigger_2
				dynast.house ?= { cabinet_of_curiosities_artifact_score >= 15 }
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_cabinet_of_curiosities }
				multiply = 0.75
				desc = raid_insight_cabinet_of_curiosities
			}
		}
	}

	character_modifier = {
		stewardship_per_influence_level = 1
		monthly_dynasty_prestige = 0.5
		domicile_monthly_influence_add = 0.2
		monthly_court_grandeur_change_add = 0.2
	}
	
	parameters = {
		can_receive_artifacts = yes
		estate_improved_inspirations_2 = yes
		estate_reduce_commission_artifact_cost = yes
		estate_increase_antiquarian_aptitude = yes
		house_head_can_ask_for_artifacts = yes
	}

	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_cabinet_of_curiosities.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}
east_asian_estate_cabinet_of_curiosities_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3 
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cabinet_of_curiosities_02

	can_construct = {
		dynasty ?= {
			custom_description = {
				text = cabinet_of_curiosities_upgrade_trigger_3
				dynast.house ?= { cabinet_of_curiosities_artifact_score >= 35 }
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_cabinet_of_curiosities }
				multiply = 0.75
				desc = raid_insight_cabinet_of_curiosities
			}
		}
	}

	character_modifier = {
		learning_per_influence_level = 1
		stewardship_per_influence_level = 1
		monthly_dynasty_prestige = 0.5
		domicile_monthly_influence_add = 0.3
		monthly_court_grandeur_change_add = 0.3
		general_opinion = 10
	}
	
	parameters = {
		can_receive_artifacts = yes
		estate_improved_inspirations_2 = yes
		estate_reduce_commission_artifact_cost = yes
		estate_increase_antiquarian_aptitude = yes
		house_head_can_ask_for_artifacts = yes
	}

	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_cabinet_of_curiosities.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.png"
	}
}

####################
#### BUILDINGS #####
####################

### Rice Fields
east_asian_estate_rice_field_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	can_construct_potential = {
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_1_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.4
		development_growth_factor = 0.04
		supply_limit_mult = 0.05
	}
	
	ai_value = {
		value = 10
		if = { # Let's make sure the AI builds at least one good income building
			limit = {
				NOT = {
					has_domicile_building_or_higher = east_asian_estate_market_01
				}
			}
			add = 20
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
east_asian_estate_rice_field_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_rice_field_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_2_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.4
		development_growth_factor = 0.04
		supply_limit_mult = 0.05
	}

	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
east_asian_estate_rice_field_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_rice_field_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_3_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.4
		development_growth_factor = 0.04
		supply_limit_mult = 0.05
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
east_asian_estate_rice_field_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_rice_field_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.4
		development_growth_factor = 0.04
		supply_limit_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
east_asian_estate_rice_field_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_rice_field_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.4
		development_growth_factor = 0.04
		supply_limit_mult = 0.05
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
east_asian_estate_rice_field_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_rice_field_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.4
		development_growth_factor = 0.04
		supply_limit_mult = 0.05
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_rice_paddies_asian_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}

### Tea Plantation
east_asian_estate_tea_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	can_construct = {
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
		}
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.25
		negate_health_penalty_add = 0.01
	}
	
	ai_value = {
		value = 10
		if = { # Let's make sure the AI builds at least one good income building
			limit = {
				NOT = {
					has_domicile_building_or_higher = east_asian_estate_market_01
				}
			}
			add = 20
		}
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_vineyard"
	}
}
east_asian_estate_tea_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_tea_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_vineyard }
				multiply = 0.75
				desc = raid_insight_vineyard
			}
		}
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.25
		negate_health_penalty_add = 0.02
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_vineyard"
	}
}
east_asian_estate_tea_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_tea_02
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_vineyard }
				multiply = 0.75
			}
		}
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.25
		negate_health_penalty_add = 0.04
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_vineyard"
	}
}
east_asian_estate_tea_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_tea_03
	internal_slots = 3

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	character_modifier = {
		domicile_monthly_gold_add = 0.25
		negate_health_penalty_add = 0.06
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_vineyard"
	}
}
east_asian_estate_tea_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_tea_04
	internal_slots = 3

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
		}
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	character_modifier = {
		domicile_monthly_gold_add = 0.25
		negate_health_penalty_add = 0.08
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_vineyard"
	}
}
east_asian_estate_tea_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_tea_05
	internal_slots = 4

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
		}
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.25
		negate_health_penalty_add = 0.1
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_plantation_asian_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_vineyard"
	}
}

### Market
east_asian_estate_market_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_market }
				multiply = 0.75
				desc = raid_insight_market
			}
		}
	}
	
	parameters = {
		estate_increase_powerful_family_rating = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
	}
	
	province_modifier = {
		tax_mult = 0.01
	}
	
	ai_value = {
		value = 9
		if = { # Let's make sure the AI builds at least one good income building
			limit = {
				NOT = {
					has_domicile_building_or_higher = east_asian_estate_rice_field_01
				}
			}
			add = 20
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_market_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_market_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_market_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_market_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_market }
				multiply = 0.75
				desc = raid_insight_market
			}
		}
	}
	
	parameters = {
		estate_increase_powerful_family_rating = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
	}
	
	province_modifier = {
		tax_mult = 0.01
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_market_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_market_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_market_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_market_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_market }
				multiply = 0.75
				desc = raid_insight_market
			}
		}
	}
	
	parameters = {
		estate_increase_powerful_family_rating_2 = yes
		estate_increase_merit_on_construction_1 = yes
		estate_reduce_council_position_cost = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
	}
	
	province_modifier = {
		tax_mult = 0.01
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_market_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_market_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_market_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_market_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_market }
				multiply = 0.75
				desc = raid_insight_market
			}
		}
	}
	
	parameters = {
		estate_increase_powerful_family_rating_2 = yes
		estate_increase_merit_on_construction_2 = yes
		estate_reduce_council_position_cost = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.4
	}
	
	province_modifier = {
		tax_mult = 0.01
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_market_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_market_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_market_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_market_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_market }
				multiply = 0.75
				desc = raid_insight_market
			}
		}
	}
	
	parameters = {
		estate_increase_powerful_family_rating_3 = yes
		estate_increase_merit_on_construction_3 = yes
		estate_reduce_council_position_cost = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.8
	}
	
	province_modifier = {
		tax_mult = 0.01
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_market_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_market_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_market_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_market_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_market }
				multiply = 0.75
				desc = raid_insight_market
			}
		}
	}
	
	parameters = {
		estate_increase_powerful_family_rating_3 = yes
		estate_increase_merit_on_construction_4 = yes
		estate_reduce_council_position_cost = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 1.6
	}
	
	province_modifier = {
		tax_mult = 0.01
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_market_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_market_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}

### Physician's Offices
east_asian_estate_health_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		epidemic_resistance = 3
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	
	parameters = {
		estate_increase_safe_treatment_success_1 = yes
		estate_increase_physician_aptitude_1 = yes
	}
	
	ai_value = {
		value = 10
		if = { # Let's make sure the AI builds at least one good income building
			limit = {
				NOR = {
					has_domicile_building_or_higher = east_asian_estate_rice_field_01
					has_domicile_building_or_higher = east_asian_estate_market_01
				}
			}
			add = 20
		}
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.dds"
		texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_herbal_hall"
	}
}
east_asian_estate_health_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_health_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		epidemic_resistance = 3
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	
	parameters = {
		estate_increase_safe_treatment_success_1 = yes
		estate_increase_physician_aptitude_2 = yes
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.dds"
		texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_herbal_hall"
	}
}
east_asian_estate_health_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_health_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		epidemic_resistance = 3
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	
	parameters = {
		estate_increase_safe_treatment_success_1 = yes
		estate_increase_physician_aptitude_3 = yes
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.dds"
		texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_herbal_hall"
	}
}
east_asian_estate_health_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_health_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		epidemic_resistance = 3
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	
	parameters = {
		estate_increase_safe_treatment_success_2 = yes
		estate_increase_physician_aptitude_4 = yes
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.dds"
		texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_herbal_hall"
	}
}
east_asian_estate_health_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_health_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		epidemic_resistance = 3
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	
	parameters = {
		estate_increase_safe_treatment_success_2 = yes
		estate_increase_physician_aptitude_5 = yes
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.dds"
		texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_herbal_hall"
	}
}
east_asian_estate_health_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_health_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		epidemic_resistance = 3
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	
	parameters = {
		estate_increase_safe_treatment_success_2 = yes
		estate_increase_physician_aptitude_6 = yes
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.dds"
		texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_herb_hall_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_herbal_hall"
	}
}

### Silk Production
east_asian_estate_silk_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	can_construct = {
		custom_tooltip = {
			OR = {
				house = { has_house_modifier = ep3_unlocked_silk }
				culture = { has_cultural_parameter = unlocks_silk_buildings_parameter }
			}
			text = has_unlocked_estate_silk
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_silk }
				multiply = 0.75
				desc = raid_insight_silk
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.3
		domicile_monthly_influence_add = 0.05
		owned_political_scheme_success_chance_add = 3
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_silk
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 15
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_magnanery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese_mask.png"
	}
}
east_asian_estate_silk_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_silk_01
	internal_slots = 2

	can_construct = {
		OR = {
			custom_tooltip = {
				house = { has_house_modifier = ep3_unlocked_silk }
				text = has_unlocked_estate_silk
			}
			culture = { has_cultural_parameter = unlocks_silk_buildings_parameter }
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_silk }
				multiply = 0.75
				desc = raid_insight_silk
			}
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.3
		domicile_monthly_influence_add = 0.05
		owned_political_scheme_success_chance_add = 3
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_silk
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 13
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_magnanery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese_mask.png"
	}
}
east_asian_estate_silk_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_silk_02
	internal_slots = 2
	
	can_construct = {
		OR = {
			custom_tooltip = {
				house = { has_house_modifier = ep3_unlocked_silk }
				text = has_unlocked_estate_silk
			}
			culture = { has_cultural_parameter = unlocks_silk_buildings_parameter }
		}
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_silk }
				multiply = 0.75
				desc = raid_insight_silk
			}
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.3
		domicile_monthly_influence_add = 0.05
		owned_political_scheme_success_chance_add = 3
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_silk
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 11
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_magnanery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese_mask.png"
	}
}
east_asian_estate_silk_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_silk_03
	internal_slots = 3
	
	can_construct = {
		OR = {
			custom_tooltip = {
				house = { has_house_modifier = ep3_unlocked_silk }
				text = has_unlocked_estate_silk
			}
			culture = { has_cultural_parameter = unlocks_silk_buildings_parameter }
		}
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_silk }
				multiply = 0.75
				desc = raid_insight_silk
			}
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.3
		domicile_monthly_influence_add = 0.1
		owned_political_scheme_success_chance_add = 3
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_silk
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_magnanery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese_mask.png"
	}
}
east_asian_estate_silk_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_silk_04
	internal_slots = 3
	
	can_construct = {
		OR = {
			custom_tooltip = {
				house = { has_house_modifier = ep3_unlocked_silk }
				text = has_unlocked_estate_silk
			}
			culture = { has_cultural_parameter = unlocks_silk_buildings_parameter }
		}
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_silk }
				multiply = 0.75
				desc = raid_insight_silk
			}
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.3
		domicile_monthly_influence_add = 0.1
		owned_political_scheme_success_chance_add = 4
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
		scope:owner = {
			random = {
				chance = 75
				add_character_flag = {
					flag = domicile_new_built_silk
					months = 1
				}
				trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_magnanery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese_mask.png"
	}
}
east_asian_estate_silk_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_silk_05
	internal_slots = 4
	
	can_construct = {
		OR = {
			custom_tooltip = {
				house = { has_house_modifier = ep3_unlocked_silk }
				text = has_unlocked_estate_silk
			}
			culture = { has_cultural_parameter = unlocks_silk_buildings_parameter }
		}
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_silk }
				multiply = 0.75
				desc = raid_insight_silk
			}
		}
	}
	
	parameters = {
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.3
		domicile_monthly_influence_add = 0.15
		owned_political_scheme_success_chance_add = 4
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_silk
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_magnanery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_silk_farm_chinese_mask.png"
	}
}

### Ancestral Shrine Building
east_asian_estate_ancestral_shrine_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
		}
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.01
		domicile_monthly_piety_add = 0.1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}

	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ancestral_shrine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_ancestral_shrine_chinese"
	}
}
east_asian_estate_ancestral_shrine_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_ancestral_shrine_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
		}
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.01
		domicile_monthly_piety_add = 0.1
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ancestral_shrine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_ancestral_shrine_chinese"
	}
}
east_asian_estate_ancestral_shrine_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_ancestral_shrine_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
		}
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_piety_add = 0.1
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ancestral_shrine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_ancestral_shrine_chinese"
	}
}
east_asian_estate_ancestral_shrine_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_ancestral_shrine_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
		}
	}
	
	parameters = {
		estate_inherit_influence_small_bonus = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_piety_add = 0.1
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ancestral_shrine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_ancestral_shrine_chinese"
	}
}
east_asian_estate_ancestral_shrine_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_ancestral_shrine_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
		estate_inherit_influence_medium_bonus = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_piety_add = 0.2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ancestral_shrine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_ancestral_shrine_chinese"
	}
}
east_asian_estate_ancestral_shrine_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_ancestral_shrine_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
		}
	}
	
	parameters = {
		estate_inherit_influence_large_bonus = yes
		estate_powerful_family_rating_per_dynasty_level = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_piety_add = 0.2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ancestral_shrine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_ancestral_shrine_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_ancestral_shrine_chinese"
	}
}

### Temple
east_asian_estate_temple_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_temple }
				multiply = 0.75
				desc = raid_insight_temple
			}
		}
	}

	character_modifier = {
		domicile_monthly_piety_add = 0.2
		domicile_monthly_piety_mult = 0.02
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	
	province_modifier = {
		monthly_county_control_growth_factor = 0.03
		tax_per_piety_level = 0.15
	}
	parameters = {
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_temple_small"
	}
}
east_asian_estate_temple_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_temple_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_temple }
				multiply = 0.75
				desc = raid_insight_temple
			}
		}
	}

	character_modifier = {
		domicile_monthly_piety_add = 0.2
		domicile_monthly_piety_mult = 0.02
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	
	province_modifier = {
		monthly_county_control_growth_factor = 0.03
		tax_per_piety_level = 0.15
	}
	parameters = {
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_temple_small"
	}
}
east_asian_estate_temple_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_temple_02
	internal_slots = 2
	
	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_temple }
				multiply = 0.75
				desc = raid_insight_temple
			}
		}
	}

	character_modifier = {
		domicile_monthly_piety_add = 0.2
		domicile_monthly_piety_mult = 0.02
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	
	province_modifier = {
		monthly_county_control_growth_factor = 0.03
		tax_per_piety_level = 0.15
	}
	parameters = {
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_temple_small"
	}
}
east_asian_estate_temple_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_temple_03
	internal_slots = 3
	
	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_temple }
				multiply = 0.75
				desc = raid_insight_temple
			}
		}
	}
	
	character_modifier = {
		stress_loss_per_piety_level = 0.02
		domicile_monthly_piety_add = 0.2
		domicile_monthly_piety_mult = 0.02
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	
	province_modifier = {
		monthly_county_control_growth_factor = 0.03
		tax_per_piety_level = 0.15
	}
	parameters = {
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_temple_small"
	}
}
east_asian_estate_temple_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_temple_04
	internal_slots = 3
	
	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_temple }
				multiply = 0.75
				desc = raid_insight_temple
			}
		}
	}
	
	character_modifier = {
		stress_loss_per_piety_level = 0.02
		domicile_monthly_piety_add = 0.2
		domicile_monthly_piety_mult = 0.02
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	
	province_modifier = {
		monthly_county_control_growth_factor = 0.03
		tax_per_piety_level = 0.15
	}
	parameters = {
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_temple_small"
	}
}
east_asian_estate_temple_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_temple_05
	internal_slots = 4
	
	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_temple }
				multiply = 0.75
				desc = raid_insight_temple
			}
		}
	}

	character_modifier = {
		stress_loss_per_piety_level = 0.02
		domicile_monthly_piety_add = 0.2
		domicile_monthly_piety_mult = 0.02
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	
	province_modifier = {
		monthly_county_control_growth_factor = 0.03
		tax_per_piety_level = 0.15
	}
	parameters = {
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_buddhist_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_temple_small"
	}
}

### Barracks
east_asian_estate_barracks_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_barracks }
				multiply = 0.75
				desc = raid_insight_barracks
			}
		}
	}

	character_modifier = {
		skirmishers_damage_mult = 0.03
		skirmishers_toughness_mult = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
		monthly_war_merit_income_mult = 0.05
		#men_at_arms_maintenance = -0.02
		#men_at_arms_recruitment_cost = -0.02
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		house_head_can_ask_for_maa = yes
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
east_asian_estate_barracks_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_barracks_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_barracks }
				multiply = 0.75
				desc = raid_insight_barracks
			}
		}
	}

	character_modifier = {
		skirmishers_damage_mult = 0.03
		skirmishers_toughness_mult = 0.01
		heavy_infantry_damage_mult = 0.02
		heavy_infantry_toughness_mult = 0.01
		pikemen_damage_mult = 0.02
		pikemen_toughness_mult = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
		monthly_war_merit_income_mult = 0.05
		#men_at_arms_maintenance = -0.02
		#men_at_arms_recruitment_cost = -0.02
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		house_head_can_ask_for_maa = yes
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
east_asian_estate_barracks_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_barracks_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_barracks }
				multiply = 0.75
				desc = raid_insight_barracks
			}
		}
	}

	character_modifier = {
		skirmishers_damage_mult = 0.03
		skirmishers_toughness_mult = 0.01
		heavy_infantry_damage_mult = 0.02
		heavy_infantry_toughness_mult = 0.01
		pikemen_damage_mult = 0.02
		pikemen_toughness_mult = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
		monthly_war_merit_income_mult = 0.05
		#men_at_arms_maintenance = -0.02
		#men_at_arms_recruitment_cost = -0.02
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		house_head_can_ask_for_maa = yes
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
east_asian_estate_barracks_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_barracks_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_barracks }
				multiply = 0.75
				desc = raid_insight_barracks
			}
		}
	}

	character_modifier = {
		skirmishers_damage_mult = 0.03
		skirmishers_toughness_mult = 0.01
		heavy_infantry_damage_mult = 0.02
		heavy_infantry_toughness_mult = 0.01
		pikemen_damage_mult = 0.02
		pikemen_toughness_mult = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
		monthly_war_merit_income_mult = 0.05
		#men_at_arms_maintenance = -0.02
		#men_at_arms_recruitment_cost = -0.02
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		house_head_can_ask_for_maa = yes
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
east_asian_estate_barracks_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_barracks_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_barracks }
				multiply = 0.75
				desc = raid_insight_barracks
			}
		}
	}

	character_modifier = {
		skirmishers_damage_mult = 0.04
		skirmishers_toughness_mult = 0.03
		heavy_infantry_damage_mult = 0.02
		heavy_infantry_toughness_mult = 0.01
		pikemen_damage_mult = 0.02
		pikemen_toughness_mult = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
		monthly_war_merit_income_mult = 0.05
		#men_at_arms_maintenance = -0.02
		#men_at_arms_recruitment_cost = -0.02
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		house_head_can_ask_for_maa = yes
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
east_asian_estate_barracks_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_barracks_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_barracks }
				multiply = 0.75
				desc = raid_insight_barracks
			}
		}
	}

	character_modifier = {
		skirmishers_damage_mult = 0.04
		skirmishers_toughness_mult = 0.03
		heavy_infantry_damage_mult = 0.02
		heavy_infantry_toughness_mult = 0.01
		pikemen_damage_mult = 0.02
		pikemen_toughness_mult = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
		monthly_war_merit_income_mult = 0.05
		#men_at_arms_maintenance = -0.02
		#men_at_arms_recruitment_cost = -0.02
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		house_head_can_ask_for_maa = yes
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_barracks_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}

### Watchtower
east_asian_estate_watchtower_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_watchtower }
				multiply = 0.75
				desc = raid_insight_watchtower
			}
		}
	}

	character_modifier = {
		monthly_county_control_growth_factor = 0.03
		defender_holding_advantage = 2
		hostile_raid_time = 0.1
		enemy_hostile_scheme_success_chance_add = -2
		character_travel_safety = 2
	}

	parameters = {
		estate_increase_bodyguard_aptitude_1 = yes
		raids_less_likely_to_make_prisoners_1 = yes
		house_head_can_ask_for_knight = yes
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_watchtower"
	}
}
east_asian_estate_watchtower_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_watchtower_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_watchtower }
				multiply = 0.75
				desc = raid_insight_watchtower
			}
		}
	}

	character_modifier = {
		monthly_county_control_growth_factor = 0.03
		defender_holding_advantage = 2
		archers_damage_mult = 0.02
		archers_toughness_mult = 0.01
		hostile_raid_time = 0.1
		enemy_hostile_scheme_success_chance_add = -2
		character_travel_safety = 2
	}

	parameters = {
		raids_less_likely_to_make_prisoners_1 = yes
		estate_increase_bodyguard_aptitude_2 = yes
		house_head_can_ask_for_knight = yes
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_watchtower"
	}
}
east_asian_estate_watchtower_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_watchtower_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_watchtower }
				multiply = 0.75
				desc = raid_insight_watchtower
			}
		}
	}
	
	parameters = {
		raids_less_likely_to_make_prisoners_2 = yes
		estate_unlock_bolster_security_decision = yes
		estate_increase_bodyguard_aptitude_3 = yes
		house_head_can_ask_for_knight = yes
		house_head_can_ask_for_maa = yes
	}

	character_modifier = {
		monthly_county_control_growth_factor = 0.03
		defender_holding_advantage = 2
		archers_damage_mult = 0.02
		archers_toughness_mult = 0.01
		hostile_raid_time = 0.1
		enemy_hostile_scheme_success_chance_add = -2
		character_travel_safety = 2
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_watchtower"
	}
}
east_asian_estate_watchtower_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_watchtower_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_watchtower }
				multiply = 0.75
				desc = raid_insight_watchtower
			}
		}
	}
	
	parameters = {
		raids_less_likely_to_make_prisoners_2 = yes
		house_head_can_ask_for_maa = yes
		estate_unlock_bolster_security_decision = yes
		estate_increase_bodyguard_aptitude_4 = yes
		house_head_can_ask_for_knight = yes
	}

	character_modifier = {
		monthly_county_control_growth_factor = 0.03
		defender_holding_advantage = 2
		archers_damage_mult = 0.02
		archers_toughness_mult = 0.01
		hostile_raid_time = 0.2
		enemy_hostile_scheme_success_chance_add = -4
		character_travel_safety = 2
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_watchtower"
	}
}
east_asian_estate_watchtower_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_watchtower_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_watchtower }
				multiply = 0.75
				desc = raid_insight_watchtower
			}
		}
	}
	
	parameters = {
		raids_less_likely_to_make_prisoners_3 = yes
		house_head_can_ask_for_maa = yes
		estate_unlock_bolster_security_decision = yes
		estate_increase_bodyguard_aptitude_5 = yes
		house_head_can_ask_for_knight = yes
	}

	character_modifier = {
		monthly_county_control_growth_factor = 0.03
		defender_holding_advantage = 2
		archers_damage_mult = 0.02
		archers_toughness_mult = 0.01
		hostile_raid_time = 0.2
		enemy_hostile_scheme_success_chance_add = -4
		character_travel_safety = 2
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_watchtower"
	}
}
east_asian_estate_watchtower_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_watchtower_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_watchtower }
				multiply = 0.75
				desc = raid_insight_watchtower
			}
		}
	}
	
	parameters = {
		raids_less_likely_to_make_prisoners_3 = yes
		estate_unlock_patrol_decision = yes
		house_head_can_ask_for_maa = yes
		estate_unlock_bolster_security_decision = yes
		estate_increase_bodyguard_aptitude_6 = yes
		house_head_can_ask_for_knight = yes
	}

	character_modifier = {
		monthly_county_control_growth_factor = 0.03
		defender_holding_advantage = 2
		archers_damage_mult = 0.02
		archers_toughness_mult = 0.01
		hostile_raid_time = 0.3
		enemy_hostile_scheme_success_chance_add = -4
		character_travel_safety = 2
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_watchtower_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_watchtower"
	}
}

### Garden
east_asian_estate_garden_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = 0.1
		stress_loss_mult = 0.05
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_1 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 9
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_parameter = can_recruit_gardeners
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}
east_asian_estate_garden_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = 0.1
		stress_loss_mult = 0.05
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_2 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 8
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}
east_asian_estate_garden_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = 0.1
		stress_loss_mult = 0.05
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_3 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 7
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}

# Leisure Garden sub-branch
east_asian_estate_garden_leisure_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = 0.1
		courtier_opinion = 5
		stress_loss_mult = 0.05
		fertility = 0.05
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_4 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden_leisure
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 6
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_leisure_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}
east_asian_estate_garden_leisure_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_leisure_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = 0.1
		courtier_opinion = 5
		stress_loss_mult = 0.1
		fertility = 0.05
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_5 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
		scope:owner = {
			random = {
				chance = 75
				add_character_flag = {
					flag = domicile_new_built_garden_leisure
					months = 1
				}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 5
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_leisure_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}
east_asian_estate_garden_leisure_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_leisure_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = 0.1
		courtier_opinion = 5
		stress_loss_mult = 0.1
		fertility = 0.05
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_6 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden_leisure
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 4
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_leisure_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}

# Fruit Garden sub-branch
east_asian_estate_garden_fruit_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		development_growth = 0.1
		negate_health_penalty_add = 0.05
	}
	
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_2
	}

	parameters = {
		increased_gardener_aptitude_4 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden_fruit
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 6
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}
east_asian_estate_garden_fruit_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_fruit_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		development_growth = 0.1
		negate_health_penalty_add = 0.1
	}
	
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_2
	}

	parameters = {
		increased_gardener_aptitude_5 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden_fruit
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 5
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}
east_asian_estate_garden_fruit_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_garden_fruit_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_garden }
				multiply = 0.75
				desc = raid_insight_garden
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		development_growth = 0.1
		negate_health_penalty_add = 0.15
	}
	
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_2
	}

	parameters = {
		increased_gardener_aptitude_6 = yes
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_garden_fruit
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 4
		if = {
			limit = {
				scope:owner = {
					OR = {
						culture ?= {
							OR = {
								has_cultural_tradition = tradition_gardening
								has_cultural_tradition = tradition_fp3_irrigation_experts
								has_cultural_tradition = tradition_sacred_groves
							}
						}
						faith ?= { has_doctrine = tenet_sanctity_of_nature }
					}
				}
			}
			add = 10
		}
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_garden_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_chinese"
	}
}

### Stable
east_asian_estate_stable_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
	}

	character_modifier = {
		movement_speed = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 9
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_hunters
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
east_asian_estate_stable_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
	}

	character_modifier = {
		movement_speed = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 8
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_hunters
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
east_asian_estate_stable_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_02
	internal_slots = 2
	
	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
	}

	character_modifier = {
		movement_speed = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 7
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_hunters
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}

# Grand Stable sub-branch
east_asian_estate_stable_grand_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
	}

	character_modifier = {
		character_travel_speed_mult = 0.05
		domicile_monthly_prestige_add = 0.2
		movement_speed = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grand_stable.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable_grand"
	}
}
east_asian_estate_stable_grand_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_grand_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
		estate_increase_master_of_horse_aptitude = yes
	}

	character_modifier = {
		character_travel_speed_mult = 0.1
		domicile_monthly_prestige_add = 0.2
		movement_speed = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grand_stable.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable_grand"
	}
}
east_asian_estate_stable_grand_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_grand_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
		estate_increase_master_of_horse_aptitude = yes
	}

	character_modifier = {
		character_travel_speed_mult = 0.15
		domicile_monthly_prestige_add = 0.3
		movement_speed = 0.01
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grand_stable.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable_grand"
	}
}

# Kennel sub-branch
east_asian_estate_stable_kennel_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
		estate_unlock_adopt_puppy_decision = yes
		kennels_more_successful_hunts_1 = yes
	}

	character_modifier = {
		stress_gain_mult = -0.1
		prowess = 1
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 6
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_hunters
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_kennel.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable_kennel"
	}
}
east_asian_estate_stable_kennel_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_kennel_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
		estate_unlock_adopt_puppy_decision = yes
		estate_cheaper_hunt_cost = yes
		kennels_more_successful_hunts_1 = yes
	}

	character_modifier = {
		stress_gain_mult = -0.1
		diplomacy = 1
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 5
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_hunters
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_kennel.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable_kennel"
	}
}
east_asian_estate_stable_kennel_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_stable_kennel_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
		}
	}
	
	parameters = {
		estate_unlock_mount_travel_option = yes
		estate_unlock_adopt_puppy_decision = yes
		estate_cheaper_hunt_cost = yes
		estate_increase_master_of_hunt_aptitude = yes
		kennels_more_successful_hunts_2 = yes
	}

	character_modifier = {
		stress_gain_mult = -0.2
		prowess = 1
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
	}
	
	ai_value = {
		value = 4
		if = {
			limit = {
				scope:owner.culture ?= {
					has_cultural_tradition = tradition_hunters
				}
			}
			add = 2
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_kennel.dds"
		texture = "gfx/interface/window_domiciles/estate_building_stable_china.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_china_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable_kennel"
	}
}

### Workshop
east_asian_estate_workshop_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		domicile_build_speed = -0.05
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
east_asian_estate_workshop_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		domicile_build_speed = -0.05
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}

# Carpenter sub-branch
east_asian_estate_workshop_carpenter_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		domicile_build_speed = -0.05
	}
	
	parameters = {
		estate_improved_inspirations_1 = yes
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_carpenter"
	}
}
east_asian_estate_workshop_carpenter_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_carpenter_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}
	
	parameters = {
		estate_improved_inspirations_1 = yes
		estate_reduce_commission_artifact_cost = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_carpenter"
	}
}
east_asian_estate_workshop_carpenter_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_carpenter_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}
	
	parameters = {
		estate_improved_inspirations_2 = yes
		estate_reduce_commission_artifact_cost = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		domicile_build_speed = -0.05
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_carpenter"
	}
}
east_asian_estate_workshop_carpenter_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_carpenter_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}
	
	parameters = {
		estate_improved_inspirations_2 = yes
		estate_reduce_commission_artifact_cost = yes
		estate_increase_antiquarian_aptitude = yes
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_carpenter"
	}
}

# Mason sub-branch
east_asian_estate_workshop_mason_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_speed = -0.05
		build_gold_cost = -0.05
		domicile_build_speed = -0.05
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_mason.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_mason"
	}
}
east_asian_estate_workshop_mason_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_mason_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_speed = -0.05
		build_gold_cost = -0.05
		domicile_build_speed = -0.05
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_mason.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_mason"
	}
}
east_asian_estate_workshop_mason_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_mason_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_speed = -0.05
		build_gold_cost = -0.05
		holding_build_gold_cost = -0.05
		holding_build_speed = -0.05
		domicile_build_speed = -0.05
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_mason.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_mason"
	}
}
east_asian_estate_workshop_mason_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_mason_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_speed = -0.05
		build_gold_cost = -0.05
		holding_build_gold_cost = -0.05
		holding_build_speed = -0.05
		domicile_build_speed = -0.05
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_mason.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_mason"
	}
}

# Textile sub-branch
east_asian_estate_workshop_textile_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		domicile_monthly_prestige_mult = 0.05
	}

	parameters = {
		estate_improved_inspirations_1 = yes
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_textile"
	}
}
east_asian_estate_workshop_textile_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_textile_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		domicile_monthly_prestige_mult = 0.05
	}

	parameters = {
		estate_improved_inspirations_1 = yes
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_textile"
	}
}
east_asian_estate_workshop_textile_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_textile_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		domicile_monthly_prestige_mult = 0.05
	}

	parameters = {
		estate_improved_inspirations_2 = yes
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_textile"
	}
}
east_asian_estate_workshop_textile_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_workshop_textile_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_workshop }
				multiply = 0.75
				desc = raid_insight_workshop
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.2
		domicile_monthly_prestige_mult = 0.05
	}

	parameters = {
		estate_improved_inspirations_2 = yes
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop_textile"
	}
}

### Storage
east_asian_estate_storage_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = 0.1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	
	province_modifier = {
		supply_limit_mult = 0.05
		development_growth = @east_asian_manor_development_growth_1
	}

	parameters = {
		house_head_can_ask_building_support = yes
	}
	
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage"
	}
}
east_asian_estate_storage_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = 0.1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	
	province_modifier = {
		supply_limit_mult = 0.05
		development_growth = @east_asian_manor_development_growth_1
	}

	parameters = {
		house_head_can_ask_building_support = yes
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage"
	}
}

# Warehouse sub-branch
east_asian_estate_storage_warehouse_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_gold_cost = -0.05
	}

	parameters = {
		house_head_can_ask_building_support = yes
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_warehouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_warehouse"
	}
}
east_asian_estate_storage_warehouse_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_warehouse_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_gold_cost = -0.1
	}

	parameters = {
		house_head_can_ask_building_support = yes
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_warehouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_warehouse"
	}
}
east_asian_estate_storage_warehouse_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_warehouse_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_gold_cost = -0.05
	}

	parameters = {
		house_head_can_ask_building_support = yes
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_warehouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_warehouse"
	}
}
east_asian_estate_storage_warehouse_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_warehouse_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = 0.1
		build_gold_cost = -0.05
	}

	parameters = {
		house_head_can_ask_building_support = yes
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_warehouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_warehouse"
	}
}

# Granary sub-branch
east_asian_estate_storage_granary_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_02
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}

	character_modifier = {
		development_growth_factor = 0.05
		epidemic_resistance = 2
		county_opinion_add = 10
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	
	province_modifier = {
		supply_limit_mult = 0.05
		development_growth = @east_asian_manor_development_growth_1
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_granary"
	}
}
east_asian_estate_storage_granary_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_granary_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}
	
	parameters = {
		estate_unlock_granary_decision = yes
	}

	character_modifier = {
		development_growth_factor = 0.1
		epidemic_resistance = 5
		county_opinion_add = 10
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	
	province_modifier = {
		supply_limit_mult = 0.05
		development_growth = @east_asian_manor_development_growth_1
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_granary"
	}
}
east_asian_estate_storage_granary_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_granary_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}
	
	parameters = {
		estate_unlock_granary_decision = yes
	}

	character_modifier = {
		development_growth_factor = 0.1
		epidemic_resistance = 5
		county_opinion_add = 10
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	
	province_modifier = {
		supply_limit_mult = 0.05
		development_growth = @east_asian_manor_development_growth_1
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_granary"
	}
}
east_asian_estate_storage_granary_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_storage_granary_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_storage }
				multiply = 0.75
				desc = raid_insight_storage
			}
		}
	}
	
	parameters = {
		estate_unlock_granary_decision = yes
	}

	character_modifier = {
		development_growth_factor = 0.1
		epidemic_resistance = 5
		county_opinion_add = 10
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	
	province_modifier = {
		supply_limit_mult = 0.05
		development_growth = @east_asian_manor_development_growth_1
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture = "gfx/interface/window_domiciles/estate_building_storage_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_storage_chinese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_storage_granary"
	}
}

### Grazing Lands
east_asian_estate_grazing_land_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		light_cavalry_damage_mult = 0.02
		light_cavalry_toughness_mult = 0.01
		light_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}

	parameters = {
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_grazing_land
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 9
		if = {
			limit = {
				scope:owner = {
					OR = {
						can_recruit_archer_cavalry_trigger = yes
						culture ?= {
							OR = {
								has_innovation = innovation_elephantry
								has_innovation = innovation_war_camels
							}
						}
					}
				}
			}
			add = 4
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_finest_horse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
	}
}
east_asian_estate_grazing_land_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_01
	internal_slots = 2

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		light_cavalry_damage_mult = 0.02
		light_cavalry_toughness_mult = 0.01
		light_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}

	parameters = {
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_grazing_land
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 8
		if = {
			limit = {
				scope:owner = {
					OR = {
						can_recruit_archer_cavalry_trigger = yes
						culture ?= {
							OR = {
								has_innovation = innovation_elephantry
								has_innovation = innovation_war_camels
							}
						}
					}
				}
			}
			add = 4
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_finest_horse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
	}
}
east_asian_estate_grazing_land_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_02
	internal_slots = 2
	
	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		light_cavalry_damage_mult = 0.02
		light_cavalry_toughness_mult = 0.01
		light_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}

	parameters = {
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_grazing_land
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 7
		if = {
			limit = {
				scope:owner = {
					OR = {
						can_recruit_archer_cavalry_trigger = yes
						culture ?= {
							OR = {
								has_innovation = innovation_elephantry
								has_innovation = innovation_war_camels
							}
						}
					}
				}
			}
			add = 4
		}
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_finest_horse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
	}
}
east_asian_estate_grazing_land_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_03
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		light_cavalry_damage_mult = 0.02
		light_cavalry_toughness_mult = 0.01
		light_cavalry_maintenance_mult = -0.05
		heavy_cavalry_damage_mult = 0.04
		heavy_cavalry_toughness_mult = 0.02
		heavy_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	parameters = {
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_grazing_land
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_horse_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
	}
}
east_asian_estate_grazing_land_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_04
	internal_slots = 3

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		light_cavalry_damage_mult = 0.02
		light_cavalry_toughness_mult = 0.01
		light_cavalry_maintenance_mult = -0.05
		heavy_cavalry_damage_mult = 0.04
		heavy_cavalry_toughness_mult = 0.02
		heavy_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	parameters = {
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_grazing_land
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_horse_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
	}
}
east_asian_estate_grazing_land_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_05
	internal_slots = 4

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		light_cavalry_damage_mult = 0.02
		light_cavalry_toughness_mult = 0.01
		light_cavalry_maintenance_mult = -0.05
		heavy_cavalry_damage_mult = 0.04
		heavy_cavalry_toughness_mult = 0.02
		heavy_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	parameters = {
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_grazing_land
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_horse_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands"
	}
}

# Horse Archer sub-branch
east_asian_estate_horse_pasture_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_03
	internal_slots = 3

	can_construct = {
		can_recruit_archer_cavalry_trigger = yes
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		archer_cavalry_damage_mult = 0.04
		archer_cavalry_toughness_mult = 0.02
		archer_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_horse_pasture
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_life_in_the_saddle.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_horse"
	}
}
east_asian_estate_horse_pasture_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_horse_pasture_04
	internal_slots = 3

	can_construct = {
		can_recruit_archer_cavalry_trigger = yes
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		archer_cavalry_damage_mult = 0.04
		archer_cavalry_toughness_mult = 0.02
		archer_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_horse_pasture
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_life_in_the_saddle.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_horse"
	}
}
east_asian_estate_horse_pasture_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_horse_pasture_05
	internal_slots = 4

	can_construct = {
		can_recruit_archer_cavalry_trigger = yes
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		archer_cavalry_damage_mult = 0.04
		archer_cavalry_toughness_mult = 0.02
		archer_cavalry_maintenance_mult = -0.1
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_horse_pasture
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_life_in_the_saddle.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_horse"
	}
}

# Camel sub-branch
east_asian_estate_camel_pasture_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_03
	internal_slots = 3
	
	can_construct = {
		culture ?= { has_innovation = innovation_war_camels }
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		camel_cavalry_damage_mult = 0.04
		camel_cavalry_toughness_mult = 0.02
		camel_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_camel_pasture
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camel_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_camel"
	}
}
east_asian_estate_camel_pasture_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_camel_pasture_04
	internal_slots = 3
	
	can_construct = {
		culture ?= { has_innovation = innovation_war_camels }
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		camel_cavalry_damage_mult = 0.04
		camel_cavalry_toughness_mult = 0.02
		camel_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_camel_pasture
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camel_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_camel"
	}
}
east_asian_estate_camel_pasture_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_camel_pasture_05
	internal_slots = 4
	
	can_construct = {
		culture ?= { has_innovation = innovation_war_camels }
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		camel_cavalry_damage_mult = 0.04
		camel_cavalry_toughness_mult = 0.02
		camel_cavalry_maintenance_mult = -0.1
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}

	on_complete = {
		if = {
			limit = {
				scope:owner = {
					is_alive = yes
				}
				years_from_game_start >= 1
			}
			scope:owner = {
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_camel_pasture
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camel_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_camel"
	}
}

# Elephant sub-branch
east_asian_estate_elephant_pasture_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_grazing_land_03
	internal_slots = 3
	
	can_construct = {
		culture ?= { has_innovation = innovation_elephantry }
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		elephant_cavalry_damage_mult = 0.06
		elephant_cavalry_toughness_mult = 0.03
		elephant_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	
	ai_value = {
		value = 12
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_elephantry_reserves.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_elephant"
	}
}
east_asian_estate_elephant_pasture_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_elephant_pasture_04
	internal_slots = 3
	
	can_construct = {
		culture ?= { has_innovation = innovation_elephantry }
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_04 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		elephant_cavalry_damage_mult = 0.06
		elephant_cavalry_toughness_mult = 0.03
		elephant_cavalry_maintenance_mult = -0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_elephantry_reserves.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_elephant"
	}
}
east_asian_estate_elephant_pasture_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_elephant_pasture_05
	internal_slots = 4
	
	can_construct = {
		culture ?= { has_innovation = innovation_elephantry }
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_05 }
	}

	cost = {
		gold = {
			value = estate_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_grazing_land }
				multiply = 0.75
				desc = raid_insight_grazing_land
			}
		}
	}

	character_modifier = {
		elephant_cavalry_damage_mult = 0.06
		elephant_cavalry_toughness_mult = 0.03
		elephant_cavalry_maintenance_mult = -0.1
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_elephantry_reserves.dds"
		texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_horse_pastures_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_grazing_lands_elephant"
	}
}

### Gate
east_asian_estate_gate_01 = {
	construction_time = @east_asian_estate_building_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	internal_slots = 1
	
	can_construct = {
		dynasty ?= { has_dynasty_perk = tgp_chinese_legacy_5 }
	}
	
	on_complete = {
		if = {
			limit = {
				scope:owner = { has_title = title:h_china }
			}
			set_family_accomplishment_effect = { ACCOMPLISHMENT = family_accomplishment_dynasty }
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_1_value
		}
	}
	
	parameters = {
		estate_merit_rank_increase_bonus_1 = yes
		estate_movement_power_per_dynasty_prestige_level_bonus_1 = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_gold_mult = 0.1
	}
	
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_gate_02 = {
	construction_time = @east_asian_estate_building_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_gate_01
	internal_slots = 2
	
	can_construct = {
		trigger_if = {
			limit = {
				domicile ?= { has_variable = family_accomplishments }
			}
			domicile = {
				custom_tooltip = {
					text = east_asian_estate_family_accomplishments_main_desc
					var:family_accomplishments >= 1
				}
				trigger_if = {
					limit = {
						var:family_accomplishments < 1
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_dynasty }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_dynasty_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_minister }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_minister_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_grand_marshal }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_grand_marshal_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_expansion }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_expansion_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_advancement }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_advancement_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_disciples }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_disciples_desc
							always = no
						}
					}
				}
			}
		}
		trigger_else = {
			custom_tooltip = {
				text = east_asian_estate_family_accomplishments_main_desc
				always = no
			}
			custom_tooltip = {
				text = east_asian_estate_family_accomplishments_dynasty_desc
				always = no
			}
			custom_tooltip = {
				text = east_asian_estate_family_accomplishments_minister_desc
				always = no
			}
			custom_tooltip = {
				text = east_asian_estate_family_accomplishments_grand_marshal_desc
				always = no
			}
			custom_tooltip = {
				text = east_asian_estate_family_accomplishments_expansion_desc
				always = no
			}
			custom_tooltip = {
				text = east_asian_estate_family_accomplishments_advancement_desc
				always = no
			}
			custom_tooltip = {
				text = east_asian_estate_family_accomplishments_disciples_desc
				always = no
			}
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_2_value
		}
	}
	
	parameters = {
		estate_merit_rank_increase_bonus_2 = yes
		estate_movement_power_per_dynasty_prestige_level_bonus_1 = yes
		estate_gate_increase_disciple_limit_1 = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_gold_mult = 0.02
	}
	
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_gate_03 = {
	construction_time = @east_asian_estate_building_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_gate_02
	internal_slots = 2
	
	can_construct = {
		trigger_if = {
			limit = {
				domicile ?= { has_variable = family_accomplishments }
			}
			domicile = {
				custom_tooltip = {
					text = east_asian_estate_family_accomplishments_main_desc
					var:family_accomplishments >= 2
				}
				trigger_if = {
					limit = {
						var:family_accomplishments < 2
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_dynasty }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_dynasty_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_minister }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_minister_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_grand_marshal }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_grand_marshal_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_expansion }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_expansion_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_advancement }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_advancement_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_disciples }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_disciples_desc
							always = no
						}
					}
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_3_value
		}
	}
	
	parameters = {
		estate_merit_rank_increase_bonus_3 = yes
		estate_movement_power_per_dynasty_prestige_level_bonus_2 = yes
		estate_gate_increase_disciple_limit_1 = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_gold_mult = 0.02
	}
	
	ai_value = {
		value = 6
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_gate_04 = {
	construction_time = @east_asian_estate_building_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_gate_03
	internal_slots = 3
	
	can_construct = {
		trigger_if = {
			limit = {
				domicile ?= { has_variable = family_accomplishments }
			}
			domicile = {
				custom_tooltip = {
					text = east_asian_estate_family_accomplishments_main_desc
					var:family_accomplishments >= 3
				}
				trigger_if = {
					limit = {
						var:family_accomplishments < 3
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_dynasty }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_dynasty_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_minister }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_minister_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_grand_marshal }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_grand_marshal_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_expansion }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_expansion_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_advancement }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_advancement_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_disciples }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_disciples_desc
							always = no
						}
					}
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_4_value
		}
	}
	
	parameters = {
		estate_merit_rank_increase_bonus_4 = yes
		estate_movement_power_per_dynasty_prestige_level_bonus_2 = yes
		estate_gate_increase_disciple_limit_2 = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_gold_mult = 0.02
		monthly_piety_gain_per_court_position_mult = 0.01
	}
	
	ai_value = {
		value = 5
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_gate_05 = {
	construction_time = @east_asian_estate_building_construction_time_5
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_gate_04
	internal_slots = 3
	
	can_construct = {
		trigger_if = {
			limit = {
				domicile ?= { has_variable = family_accomplishments }
			}
			domicile = {
				custom_tooltip = {
					text = east_asian_estate_family_accomplishments_main_desc
					var:family_accomplishments >= 4
				}
				trigger_if = {
					limit = {
						var:family_accomplishments < 4
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_dynasty }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_dynasty_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_minister }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_minister_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_grand_marshal }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_grand_marshal_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_expansion }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_expansion_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_advancement }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_advancement_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_disciples }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_disciples_desc
							always = no
						}
					}
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_5_value
		}
	}
	
	parameters = {
		estate_merit_rank_increase_bonus_5 = yes
		estate_movement_power_per_dynasty_prestige_level_bonus_3 = yes
		estate_gate_increase_disciple_limit_2 = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_gold_mult = 0.02
		monthly_piety_gain_per_court_position_mult = 0.01
	}
	
	ai_value = {
		value = 4
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}
east_asian_estate_gate_06 = {
	construction_time = @east_asian_estate_building_construction_time_6
	allowed_domicile_types = { east_asian_estate }
	previous_building = east_asian_estate_gate_05
	internal_slots = 4
	
	can_construct = {
		trigger_if = {
			limit = {
				domicile ?= { has_variable = family_accomplishments }
			}
			domicile = {
				custom_tooltip = {
					text = east_asian_estate_family_accomplishments_main_desc
					var:family_accomplishments >= 5
				}
				trigger_if = {
					limit = {
						var:family_accomplishments < 5
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_dynasty }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_dynasty_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_minister }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_minister_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_grand_marshal }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_grand_marshal_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_expansion }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_expansion_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							exists = situation:dynastic_cycle
							NOT = { has_variable = family_accomplishment_advancement }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_advancement_desc
							always = no
						}
					}
					trigger_if = {
						limit = {
							NOT = { has_variable = family_accomplishment_disciples }
						}
						custom_tooltip = {
							text = east_asian_estate_family_accomplishments_disciples_desc
							always = no
						}
					}
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_external_building_normal_cost_tier_6_value
		}
	}
	
	parameters = {
		estate_merit_rank_increase_bonus_6 = yes
		estate_movement_power_per_dynasty_prestige_level_bonus_3 = yes
		estate_gate_increase_disciple_limit_3 = yes
	}

	character_modifier = {
		monthly_dynasty_prestige_mult = 0.02
		domicile_monthly_gold_mult = 0.02
		monthly_piety_gain_per_court_position_mult = 0.01
	}
	
	ai_value = {
		value = 3
		add = estate_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_chinese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_market_asian"
	}
}

# Internal Buildings

east_asian_estate_waterways_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_field_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		farmlands_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		terraced_hills_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		terraced_hills_development_growth_factor = @east_asian_manor_development_growth_factor_1
		terraced_hills_tax_mult = 0.02
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_assembly.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_waterways_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_waterways_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		farmlands_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		terraced_hills_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		terraced_hills_development_growth_factor = @east_asian_manor_development_growth_factor_1
		terraced_hills_tax_mult = 0.02
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_assembly.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_waterways_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_waterways_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		farmlands_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		terraced_hills_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		terraced_hills_development_growth_factor = @east_asian_manor_development_growth_factor_1
		terraced_hills_tax_mult = 0.02
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_assembly.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_waterways_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_waterways_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		farmlands_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		terraced_hills_construction_gold_cost = @east_asian_manor_build_gold_cost_2
		terraced_hills_development_growth_factor = @east_asian_manor_development_growth_factor_1
		terraced_hills_tax_mult = 0.02
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_assembly.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surveyors_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_field_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		monthly_county_control_growth_factor = 0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surveyors_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_field_surveyors_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		monthly_county_control_growth_factor = 0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surveyors_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_field_surveyors_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		monthly_county_control_growth_factor = 0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surveyors_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_field_surveyors_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		monthly_county_control_growth_factor = 0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_buffer_stock_granary_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_field_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 3
		supply_limit = 500
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_buffer_stock_granary_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_buffer_stock_granary_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 3
		supply_limit = 500
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_buffer_stock_granary_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_buffer_stock_granary_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 3
		supply_limit = 500
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_buffer_stock_granary_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_buffer_stock_granary_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 3
		supply_limit = 500
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rice_fish_duck_ponds_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_field_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_2
		county_opinion_add = 2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_rice_fish_duck_ponds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rice_fish_duck_ponds_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_fish_duck_ponds_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_2
		county_opinion_add = 2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_rice_fish_duck_ponds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rice_fish_duck_ponds_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_fish_duck_ponds_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_2
		county_opinion_add = 2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_rice_fish_duck_ponds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rice_fish_duck_ponds_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_fish_duck_ponds_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_2
		county_opinion_add = 2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_rice_fish_duck_ponds.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_militia_muster_green_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_field_01

	can_construct = {
		custom_tooltip = {
			text = celestial_military_appointment_allowed_desc
			OR = {
				vassal_contract_has_flag = celestial_military_appointment
				vassal_contract_has_flag = meritocratic_military_appointment
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		pikemen_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_pikemen_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_pikemen_toughness_mult = 0.05
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_militia_muster_green_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_militia_muster_green_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		pikemen_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_pikemen_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_pikemen_toughness_mult = 0.05
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_militia_muster_green_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_militia_muster_green_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		pikemen_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_pikemen_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_pikemen_toughness_mult = 0.05
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_militia_muster_green_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_militia_muster_green_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		pikemen_maintenance_mult = -0.025
		men_at_arms_cap = 1
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_pikemen_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_pikemen_toughness_mult = 0.05
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ration_wine_stores_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_barracks_01

	can_construct = {
		custom_tooltip = {
			text = celestial_military_appointment_allowed_desc
			OR = {
				vassal_contract_has_flag = celestial_military_appointment
				vassal_contract_has_flag = meritocratic_military_appointment
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		hostile_county_attrition = -0.05
		supply_capacity_mult = 0.05
	}
	province_modifier = {
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ration_wine_stores_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ration_wine_stores_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		hostile_county_attrition = -0.05
		supply_capacity_mult = 0.05
	}
	province_modifier = {
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ration_wine_stores_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ration_wine_stores_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		hostile_county_attrition = -0.05
		supply_capacity_mult = 0.05
	}
	province_modifier = {
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ration_wine_stores_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ration_wine_stores_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		hostile_county_attrition = -0.05
		supply_capacity_mult = 0.05
	}
	province_modifier = {
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_vintner_halls_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_market_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_vintner_halls_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_vintner_halls_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_vintner_halls_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_vintner_halls_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_vintner_halls_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_vintner_halls_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_wine_press_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rice_field_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_wine_press_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_wine_press_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_wine_press_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_wine_press_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_wine_press_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_wine_press_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cellar_cave_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_garden_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cellar_cave_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cellar_cave_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cellar_cave_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cellar_cave_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_cellar_cave_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_cellar_cave_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_cellar_cave.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_jar_kiln_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_storage_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		hills_development_growth_factor = 0.025
		hills_tax_mult = 0.03
		plains_development_growth_factor = 0.015
		plains_tax_mult = 0.03
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_jar_kiln_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_jar_kiln_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		hills_development_growth_factor = 0.025
		hills_tax_mult = 0.03
		plains_development_growth_factor = 0.015
		plains_tax_mult = 0.03
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_jar_kiln_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_jar_kiln_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		hills_development_growth_factor = 0.025
		hills_tax_mult = 0.03
		plains_development_growth_factor = 0.015
		plains_tax_mult = 0.03
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_jar_kiln_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_jar_kiln_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		hills_development_growth_factor = 0.025
		hills_tax_mult = 0.03
		plains_development_growth_factor = 0.015
		plains_tax_mult = 0.03
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weighing_house_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_market_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = 0.25
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weighing_house_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_weighing_house_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = 0.25
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weighing_house_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_weighing_house_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = 0.25
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weighing_house_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_weighing_house_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = 0.25
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/debate_phase_debate.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_meeting_houses_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_market_01

	can_construct_potential = {
		any_character_situation = { situation_type = dynastic_cycle }
	}
	
	can_construct = {
		is_any_movement_leader = yes
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_1 = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		celestial_movement_power_promote_scheme_phase_duration_add = -2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_meeting_houses_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_meeting_houses_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_2 = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		celestial_movement_power_promote_scheme_phase_duration_add = -2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_meeting_houses_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_meeting_houses_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_3 = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		celestial_movement_power_promote_scheme_phase_duration_add = -2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_meeting_houses_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_meeting_houses_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_4 = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		celestial_movement_power_promote_scheme_phase_duration_add = -2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_night_watch_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_market_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -2
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guardhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_night_watch_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_night_watch_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -2
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guardhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_night_watch_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_night_watch_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -2
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guardhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_night_watch_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_night_watch_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -2
		domicile_monthly_gold_mult = 0.02
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guardhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fire_brigade_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_market_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		county_opinion_add = 2
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/coronation_type_anointment_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fire_brigade_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fire_brigade_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		county_opinion_add = 2
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/coronation_type_anointment_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fire_brigade_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fire_brigade_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		county_opinion_add = 2
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/coronation_type_anointment_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fire_brigade_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fire_brigade_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		county_opinion_add = 2
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/coronation_type_anointment_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_courier_posthouse_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_market_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_horse_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_courier_posthouse_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_courier_posthouse_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_horse_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_courier_posthouse_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_courier_posthouse_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_horse_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_courier_posthouse_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_courier_posthouse_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_horse_run.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_dye_works_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_dye_works_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_dye_works_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_dye_works_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_dye_works_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_dye_works_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_dye_works_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_gold_add = 0.15
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_fermentation_room.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sericulture_school_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sericulture_school_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_sericulture_school_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sericulture_school_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_sericulture_school_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sericulture_school_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_sericulture_school_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_inspection_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_inspection_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_inspection_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_inspection_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_inspection_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_inspection_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_inspection_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_mulberry_nursery_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.02
		domicile_monthly_influence_mult = 0.02
	}
	province_modifier = {
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_morus.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_mulberry_nursery_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_mulberry_nursery_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.02
		domicile_monthly_influence_mult = 0.02
	}
	province_modifier = {
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_morus.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_mulberry_nursery_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_mulberry_nursery_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.02
		domicile_monthly_influence_mult = 0.02
	}
	province_modifier = {
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_morus.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_mulberry_nursery_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_mulberry_nursery_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.02
		domicile_monthly_influence_mult = 0.02
	}
	province_modifier = {
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_morus.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_silk_storage_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_silk_storage_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_storage_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_silk_storage_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_storage_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_silk_storage_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_silk_storage_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_roasting_house_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_roasting_house_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_roasting_house_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_roasting_house_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_roasting_house_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_roasting_house_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_roasting_house_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_grading_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_grading_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grading_hall_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_grading_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grading_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_grading_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grading_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		governor_xp_gain_mult = @east_asian_manor_governor_xp_gain_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_horse_road_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_maintenance_mult = -0.025
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
	}
	province_modifier = {
		stationed_light_cavalry_damage_mult = 0.05
		stationed_light_cavalry_toughness_mult = 0.05
		tax_mult = 0.02
		levy_size = 0.02
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_horse_road_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_horse_road_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_maintenance_mult = -0.025
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
	}
	province_modifier = {
		stationed_light_cavalry_damage_mult = 0.05
		stationed_light_cavalry_toughness_mult = 0.05
		tax_mult = 0.02
		levy_size = 0.02
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_horse_road_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_horse_road_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_maintenance_mult = -0.025
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
	}
	province_modifier = {
		stationed_light_cavalry_damage_mult = 0.05
		stationed_light_cavalry_toughness_mult = 0.05
		tax_mult = 0.02
		levy_size = 0.02
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_horse_road_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_horse_road_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_maintenance_mult = -0.025
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
		men_at_arms_cap = 1
	}
	province_modifier = {
		stationed_light_cavalry_damage_mult = 0.05
		stationed_light_cavalry_toughness_mult = 0.05
		tax_mult = 0.02
		levy_size = 0.02
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_tax_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_01

	can_construct = {
		has_trait_xp = {
			trait = governor
			value >= 50
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_tax_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_tax_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_tax_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_tax_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_tea_tax_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_tax_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_market.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_teahouse_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_tea_01

	can_construct_potential = {
		any_character_situation = { situation_type = dynastic_cycle }
	}
	
	can_construct = {
		is_any_movement_leader = yes
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_1 = yes
	}
	character_modifier = {
		elderly_health = 0.1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_teahouse_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_teahouse_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_2 = yes
	}
	character_modifier = {
		elderly_health = 0.1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_teahouse_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_teahouse_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_3 = yes
	}
	character_modifier = {
		elderly_health = 0.1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_teahouse_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_teahouse_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_4 = yes
	}
	character_modifier = {
		elderly_health = 0.1
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pharmacy_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_health_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		life_expectancy = 0.5
	}
	province_modifier = {
		epidemic_resistance = 3
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pharmacy_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pharmacy_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		life_expectancy = 0.5
	}
	province_modifier = {
		epidemic_resistance = 3
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pharmacy_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pharmacy_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		life_expectancy = 0.5
	}
	province_modifier = {
		epidemic_resistance = 3
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pharmacy_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pharmacy_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		life_expectancy = 0.5
	}
	province_modifier = {
		epidemic_resistance = 3
		development_decline_factor = -0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_hot_baths_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_health_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		stress_loss_mult = 0.02
		owned_personal_scheme_success_chance_max_add = 2
		owned_personal_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_hot_baths.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_hot_baths_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_hot_baths_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		stress_loss_mult = 0.02
		owned_personal_scheme_success_chance_max_add = 2
		owned_personal_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_hot_baths.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_hot_baths_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_hot_baths_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		stress_loss_mult = 0.02
		owned_personal_scheme_success_chance_max_add = 2
		owned_personal_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_hot_baths.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_hot_baths_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_hot_baths_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		stress_loss_mult = 0.02
		owned_personal_scheme_success_chance_max_add = 2
		owned_personal_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_hot_baths.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_medical_library_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_health_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		negate_health_penalty_add = 0.05
		mentoring_scheme_phase_duration_add = -10
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_medical_library_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_medical_library_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		negate_health_penalty_add = 0.05
		mentoring_scheme_phase_duration_add = -10
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_medical_library_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_medical_library_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		negate_health_penalty_add = 0.05
		mentoring_scheme_phase_duration_add = -10
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_medical_library_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_medical_library_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		negate_health_penalty_add = 0.05
		mentoring_scheme_phase_duration_add = -10
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_wintner_halls.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surgeon_cart_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_health_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		hard_casualty_modifier = -0.05
		maa_screen_mult = 0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	province_modifier = {
		stationed_maa_screen_mult = 0.1
		stationed_maa_toughness_mult = 0.02
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bagage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surgeon_cart_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_field_surgeon_cart_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		hard_casualty_modifier = -0.05
		maa_screen_mult = 0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	province_modifier = {
		stationed_maa_screen_mult = 0.1
		stationed_maa_toughness_mult = 0.02
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bagage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surgeon_cart_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_field_surgeon_cart_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		hard_casualty_modifier = -0.05
		maa_screen_mult = 0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	province_modifier = {
		stationed_maa_screen_mult = 0.1
		stationed_maa_toughness_mult = 0.02
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bagage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_field_surgeon_cart_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_field_surgeon_cart_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		hard_casualty_modifier = -0.05
		maa_screen_mult = 0.05
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_1
	}
	province_modifier = {
		stationed_maa_screen_mult = 0.1
		stationed_maa_toughness_mult = 0.02
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bagage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_herb_drying_terrace_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_health_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit = @east_asian_manor_monthly_merit_1
		owned_hostile_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_herb_drying_terrace_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_herb_drying_terrace_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit = @east_asian_manor_monthly_merit_1
		owned_hostile_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_herb_drying_terrace_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_herb_drying_terrace_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit = @east_asian_manor_monthly_merit_1
		owned_hostile_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_herb_drying_terrace_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_herb_drying_terrace_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit = @east_asian_manor_monthly_merit_1
		owned_hostile_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bell_drum_tower_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.03
		domicile_monthly_piety_add = 0.15
	}
	province_modifier = {
		tax_mult = 0.03
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bell_drum_tower_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bell_drum_tower_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.03
		domicile_monthly_piety_add = 0.15
	}
	province_modifier = {
		tax_mult = 0.03
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bell_drum_tower_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bell_drum_tower_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.03
		domicile_monthly_piety_add = 0.15
	}
	province_modifier = {
		tax_mult = 0.03
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bell_drum_tower_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bell_drum_tower_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_mult = 0.03
		domicile_monthly_piety_add = 0.15
	}
	province_modifier = {
		tax_mult = 0.03
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_temple_land_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_01

	can_construct = {
		has_trait_xp = {
			trait = confucian_education
			value >= 50
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		church_holding_build_gold_cost = -0.05
		church_holding_holding_build_gold_cost = -0.05
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_liuhe_pagoda.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_temple_land_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_land_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		church_holding_build_gold_cost = -0.05
		church_holding_holding_build_gold_cost = -0.05
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_liuhe_pagoda.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_temple_land_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_land_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		church_holding_build_gold_cost = -0.05
		church_holding_holding_build_gold_cost = -0.05
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_liuhe_pagoda.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_temple_land_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_land_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		church_holding_build_gold_cost = -0.05
		church_holding_holding_build_gold_cost = -0.05
	}
	province_modifier = {
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_liuhe_pagoda.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lecture_pavilion_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		mentoring_scheme_phase_duration_add = -10
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lecture_pavilion_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lecture_pavilion_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		mentoring_scheme_phase_duration_add = -10
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lecture_pavilion_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lecture_pavilion_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		mentoring_scheme_phase_duration_add = -10
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lecture_pavilion_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lecture_pavilion_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_3
		mentoring_scheme_phase_duration_add = -10
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_guesthouse_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_01

	can_construct_potential = {
		any_character_situation = { situation_type = dynastic_cycle }
	}
	
	can_construct = {
		is_any_movement_leader = yes
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_1 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_guesthouse_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_guesthouse_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_2 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_guesthouse_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_guesthouse_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_3 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_guesthouse_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_guesthouse_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		celestial_bonus_movement_power_4 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_intents/scout_talent_intent.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_chanting_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_temple_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
		tax_per_piety_level = 0.05
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_chanting_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_chanting_hall_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
		tax_per_piety_level = 0.05
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_chanting_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_chanting_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
		tax_per_piety_level = 0.05
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_chanting_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_chanting_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
		tax_per_piety_level = 0.05
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_living_quarters.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_genealogy_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_shrine_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige = 0.05
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_genealogy_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_genealogy_hall_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige = 0.02
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_influence_mult = 0.02
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_genealogy_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_genealogy_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige = 0.02
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_influence_mult = 0.02
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_genealogy_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_genealogy_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige = 0.02
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_influence_mult = 0.02
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_history_school_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_shrine_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		estate_increased_tutor_aptitude_1 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_history_school_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_history_school_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		estate_increased_tutor_aptitude_2 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_history_school_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_history_school_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		estate_increased_tutor_aptitude_3 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_history_school_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_history_school_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		estate_increased_tutor_aptitude_4 = yes
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ancestral_orchard_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_shrine_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ancestral_orchard_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_orchard_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ancestral_orchard_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_orchard_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ancestral_orchard_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_orchard_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rites_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_shrine_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_mult = 0.02
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rites_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rites_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_mult = 0.02
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rites_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rites_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_mult = 0.02
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rites_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rites_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_mult = 0.02
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_memorial_archway_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ancestral_shrine_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.1
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_dynasty_prestige_mult = 0.01
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_memorial_archway_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_memorial_archway_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.1
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_dynasty_prestige_mult = 0.01
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_memorial_archway_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_memorial_archway_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.1
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_dynasty_prestige_mult = 0.01
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_memorial_archway_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_memorial_archway_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_piety_add = 0.1
		monthly_merit = @east_asian_manor_monthly_merit_1
		monthly_dynasty_prestige_mult = 0.01
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_gongsanseong_fortress.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_armorer_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_barracks_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_2
		men_at_arms_maintenance = -0.01
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_armorer_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_armorer_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_2
		men_at_arms_maintenance = -0.01
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_armorer_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_armorer_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_2
		men_at_arms_maintenance = -0.01
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_armorer_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_armorer_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_2
		men_at_arms_maintenance = -0.01
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterans_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_barracks_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
		mercenary_hire_time_mult = 0.1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterans_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_veterans_hall_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
		mercenary_hire_time_mult = 0.1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterans_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_veterans_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
		mercenary_hire_time_mult = 0.1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterans_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_veterans_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		mercenary_hire_cost_mult = @east_asian_manor_mercenary_hire_cost_mult_1
		mercenary_hire_time_mult = 0.1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_quartermaster_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_barracks_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_recruitment_cost = @east_asian_manor_maa_recruitment_cost_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
		levy_size = 0.1
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_arsenal.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_quartermaster_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_quartermaster_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_recruitment_cost = @east_asian_manor_maa_recruitment_cost_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
		levy_size = 0.1
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_arsenal.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_quartermaster_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_quartermaster_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_recruitment_cost = @east_asian_manor_maa_recruitment_cost_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
		levy_size = 0.1
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_arsenal.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_quartermaster_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_quartermaster_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_recruitment_cost = @east_asian_manor_maa_recruitment_cost_mult_1
		monthly_merit = @east_asian_manor_monthly_merit_1
	}
	province_modifier = {
		levy_size = 0.1
		levy_reinforcement_rate = 0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_arsenal.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sergeants_school_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_barracks_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sergeants_school_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_sergeants_school_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sergeants_school_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_sergeants_school_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_sergeants_school_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_sergeants_school_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_treasury_from_military_budget_mult = @east_asian_manor_monthly_treasury_from_military_budget_mult_2
		celestial_movement_power_promote_scheme_phase_duration_add = -5
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drill_yard_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_barracks_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_cap = 1
		maa_damage_mult = 0.03
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drill_yard_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drill_yard_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		maa_damage_mult = 0.03
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drill_yard_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drill_yard_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		maa_damage_mult = 0.03
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drill_yard_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drill_yard_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_cap = 1
		maa_damage_mult = 0.03
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_commander_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pass_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watchtower_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_county_control_growth_factor = 0.05
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pass_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pass_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_county_control_growth_factor = 0.05
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pass_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pass_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_county_control_growth_factor = 0.05
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pass_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pass_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_county_control_growth_factor = 0.05
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		character_travel_safety = 2
	}
	province_modifier = {
		travel_danger = @east_asian_manor_travel_danger_2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_minister_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gunpowder_storage_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watchtower_01

	can_construct = {
		culture = {
			has_innovation = innovation_fire_medicine 
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		gunpowder_limit_1
	}
	character_modifier = {
		gunpowder_damage_mult = 0.04
		gunpowder_toughness_mult = 0.04
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_powder_magazine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gunpowder_storage_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gunpowder_storage_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		gunpowder_limit_1
	}
	character_modifier = {
		gunpowder_damage_mult = 0.04
		gunpowder_toughness_mult = 0.04
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_powder_magazine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gunpowder_storage_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gunpowder_storage_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		gunpowder_limit_2
	}
	character_modifier = {
		gunpowder_damage_mult = 0.04
		gunpowder_toughness_mult = 0.04
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_powder_magazine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gunpowder_storage_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gunpowder_storage_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		gunpowder_limit_2
	}
	character_modifier = {
		gunpowder_damage_mult = 0.04
		gunpowder_toughness_mult = 0.04
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_siege_weapon_siege_value_mult = normal_maa_siege_value_tier_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_building_powder_magazine.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_signal_fires_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watchtower_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		movement_speed = 0.03
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		county_opinion_add = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_campfire.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_signal_fires_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_signal_fires_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		movement_speed = 0.03
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		county_opinion_add = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_campfire.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_signal_fires_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_signal_fires_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		movement_speed = 0.03
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		county_opinion_add = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_campfire.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_signal_fires_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_signal_fires_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		movement_speed = 0.03
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		county_opinion_add = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_campfire.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_regular_patrols_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watchtower_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		character_travel_safety = 2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_regular_patrols_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_regular_patrols_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		character_travel_safety = 2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_regular_patrols_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_regular_patrols_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		character_travel_safety = 2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_regular_patrols_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_regular_patrols_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		character_travel_safety = 2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.02
		monthly_county_control_growth_add = 0.2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_crossbow_storage_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watchtower_01

	can_construct = {
		custom_tooltip = {
			text = celestial_military_appointment_allowed_desc
			OR = {
				vassal_contract_has_flag = celestial_military_appointment
				vassal_contract_has_flag = meritocratic_military_appointment
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		archers_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_archers_damage_mult = 0.05
		stationed_archers_toughness_mult = 0.05
		defender_holding_advantage = 2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_crossbow_storage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_crossbow_storage_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_crossbow_storage_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		archers_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_archers_damage_mult = 0.05
		stationed_archers_toughness_mult = 0.05
		defender_holding_advantage = 2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_crossbow_storage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_crossbow_storage_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_crossbow_storage_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		archers_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_archers_damage_mult = 0.05
		stationed_archers_toughness_mult = 0.05
		defender_holding_advantage = 2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_crossbow_storage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_crossbow_storage_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_crossbow_storage_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		archers_maintenance_mult = -0.025
		men_at_arms_cap = 1
	}
	province_modifier = {
		stationed_archers_damage_mult = 0.05
		stationed_archers_toughness_mult = 0.05
		defender_holding_advantage = 2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_crossbow_storage.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_aviary_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_garden_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		owned_political_scheme_success_chance_add = 3
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_falcon_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_aviary_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_aviary_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		owned_political_scheme_success_chance_add = 3
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_falcon_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_aviary_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_aviary_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		owned_political_scheme_success_chance_add = 3
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_falcon_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_aviary_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_aviary_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		owned_political_scheme_success_chance_add = 3
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_falcon_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_four_gentlemen_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_garden_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		domicile_monthly_piety_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_four_gentlemen.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_four_gentlemen_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_four_gentlemen_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		domicile_monthly_piety_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_four_gentlemen.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_four_gentlemen_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_four_gentlemen_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		domicile_monthly_piety_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_four_gentlemen.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_four_gentlemen_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_four_gentlemen_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		domicile_monthly_piety_add = 0.2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_four_gentlemen.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_scholars_rocks_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_garden_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
		monthly_lifestyle_xp_gain_mult = 0.01
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_scholars_rocks_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_scholars_rocks_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
		monthly_lifestyle_xp_gain_mult = 0.01
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_scholars_rocks_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_scholars_rocks_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
		monthly_lifestyle_xp_gain_mult = 0.01
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_scholars_rocks_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_scholars_rocks_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
		monthly_lifestyle_xp_gain_mult = 0.01
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lotus_pond_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_garden_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		mentoring_scheme_phase_duration_add = -10
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_cathedral_buddhist.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lotus_pond_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lotus_pond_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		mentoring_scheme_phase_duration_add = -10
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_cathedral_buddhist.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lotus_pond_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lotus_pond_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		mentoring_scheme_phase_duration_add = -10
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_cathedral_buddhist.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lotus_pond_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lotus_pond_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		mentoring_scheme_phase_duration_add = -10
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_cathedral_buddhist.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fruit_trees_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_garden_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_provisions.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fruit_trees_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fruit_trees_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_provisions.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fruit_trees_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fruit_trees_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_provisions.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fruit_trees_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fruit_trees_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_provisions.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_foaling_pens_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_stable_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_cap = 1
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_foaling_pens_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_foaling_pens_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_foaling_pens_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_foaling_pens_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_foaling_pens_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_foaling_pens_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		men_at_arms_cap = 1
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_riding_arena_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_stable_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.04
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_mass_warfare_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_riding_arena_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_riding_arena_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.04
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_mass_warfare_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_riding_arena_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_riding_arena_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.04
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_mass_warfare_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_riding_arena_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_riding_arena_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_3
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
	}
	province_modifier = {
		stationed_maa_damage_mult = 0.04
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_mass_warfare_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_farriers_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_stable_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		maa_pursuit_mult = 0.05
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_farriers_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_farriers_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		maa_pursuit_mult = 0.05
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_farriers_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_farriers_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		maa_pursuit_mult = 0.05
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_farriers_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_farriers_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
		maa_pursuit_mult = 0.05
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bloodline_records_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_stable_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		domicile_monthly_prestige_mult = 0.05
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_heavy_cavalry_damage_mult = 0.04
		stationed_heavy_cavalry_toughness_mult = 0.04
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lifestyle_xp_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bloodline_records_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bloodline_records_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		domicile_monthly_prestige_mult = 0.05
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_heavy_cavalry_damage_mult = 0.04
		stationed_heavy_cavalry_toughness_mult = 0.04
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lifestyle_xp_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bloodline_records_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bloodline_records_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		domicile_monthly_prestige_mult = 0.05
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_heavy_cavalry_damage_mult = 0.04
		stationed_heavy_cavalry_toughness_mult = 0.04
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lifestyle_xp_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_bloodline_records_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_bloodline_records_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		domicile_monthly_prestige_mult = 0.05
		domicile_monthly_influence_mult = 0.05
	}
	province_modifier = {
		stationed_heavy_cavalry_damage_mult = 0.04
		stationed_heavy_cavalry_toughness_mult = 0.04
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lifestyle_xp_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fodder_reserves_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_stable_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		heavy_cavalry_maintenance_mult = -0.025
		heavy_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		supply_limit = 500
		levy_size = 0.1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_fertility.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fodder_reserves_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fodder_reserves_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		heavy_cavalry_maintenance_mult = -0.025
		heavy_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		supply_limit = 500
		levy_size = 0.1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_fertility.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fodder_reserves_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fodder_reserves_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		heavy_cavalry_maintenance_mult = -0.025
		heavy_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		supply_limit = 500
		levy_size = 0.1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_fertility.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_fodder_reserves_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_fodder_reserves_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		heavy_cavalry_maintenance_mult = -0.025
		heavy_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		supply_limit = 500
		levy_size = 0.1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_fertility.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_paper_mill_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_workshop_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_3
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_paper_mill_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_paper_mill_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_3
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_paper_mill_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_paper_mill_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_3
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_paper_mill_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_paper_mill_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_3
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_paper_shelf.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ink_brush_makers_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_workshop_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ink_brush_makers_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ink_brush_makers_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ink_brush_makers_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ink_brush_makers_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ink_brush_makers_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ink_brush_makers_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_1
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_1
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_1
		study_confucian_classics_scheme_phase_duration_add = @east_asian_manor_study_confucian_classics_scheme_phase_duration_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ceramics_kiln_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_workshop_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ceramics_kiln_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ceramics_kiln_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ceramics_kiln_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ceramics_kiln_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ceramics_kiln_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ceramics_kiln_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		tax_mult = 0.02
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/building_types/icon_structure_plain_of_jars.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lacquer_studio_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_workshop_01

	can_construct = {
		culture ?= { has_innovation = innovation_lacquered_armor }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lacquer_studio_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lacquer_studio_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lacquer_studio_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lacquer_studio_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_lacquer_studio_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_lacquer_studio_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.05
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_leatherworks_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_workshop_01

	can_construct = {
		custom_tooltip = {
			text = celestial_military_appointment_allowed_desc
			OR = {
				vassal_contract_has_flag = celestial_military_appointment
				vassal_contract_has_flag = meritocratic_military_appointment
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		heavy_infantry_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_heavy_infantry_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_heavy_infantry_toughness_mult = 0.05
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_leatherworks_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_leatherworks_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		heavy_infantry_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_heavy_infantry_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_heavy_infantry_toughness_mult = 0.05
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_leatherworks_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_leatherworks_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		heavy_infantry_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_heavy_infantry_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_heavy_infantry_toughness_mult = 0.05
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_leatherworks_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_leatherworks_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		skirmishers_maintenance_mult = -0.025
		heavy_infantry_maintenance_mult = -0.025
	}
	province_modifier = {
		stationed_skirmishers_damage_mult = 0.05
		stationed_heavy_infantry_damage_mult = 0.05
		stationed_skirmishers_toughness_mult = 0.05
		stationed_heavy_infantry_toughness_mult = 0.05
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_textile.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ever_normal_granaries_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_storage_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 2
		supply_limit = 750
		county_opinion_add = 2
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ever_normal_granaries_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ever_normal_granaries_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 2
		supply_limit = 750
		county_opinion_add = 2
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ever_normal_granaries_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ever_normal_granaries_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 2
		supply_limit = 750
		county_opinion_add = 2
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ever_normal_granaries_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ever_normal_granaries_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_2
	}
	province_modifier = {
		epidemic_resistance = 2
		supply_limit = 750
		county_opinion_add = 2
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_rice.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_millhouse_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_storage_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		plains_development_growth_factor = @east_asian_manor_development_growth_factor_1
		plains_tax_mult = 0.02
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_millhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_millhouse_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_millhouse_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		plains_development_growth_factor = @east_asian_manor_development_growth_factor_1
		plains_tax_mult = 0.02
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_millhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_millhouse_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_millhouse_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		plains_development_growth_factor = @east_asian_manor_development_growth_factor_1
		plains_tax_mult = 0.02
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_millhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_millhouse_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_millhouse_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		farmlands_development_growth_factor = @east_asian_manor_development_growth_factor_1
		farmlands_tax_mult = 0.02
		plains_development_growth_factor = @east_asian_manor_development_growth_factor_1
		plains_tax_mult = 0.02
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_millhouse.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ledger_office_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_storage_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ledger_office_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ledger_office_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ledger_office_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ledger_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_ledger_office_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_ledger_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_2
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_2
	}
	province_modifier = {
		build_gold_cost = @east_asian_manor_domicile_build_gold_cost_minor
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_preparation.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drying_loft_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_storage_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drying_loft_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drying_loft_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drying_loft_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drying_loft_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_drying_loft_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_drying_loft_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_1
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_drying_lofts.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weights_measures_bench_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_storage_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_2
		tax_mult = 0.01
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weights_measures_bench_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_weights_measures_bench_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_2
		tax_mult = 0.01
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weights_measures_bench_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_weights_measures_bench_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_2
		tax_mult = 0.01
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_weights_measures_bench_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_weights_measures_bench_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		development_growth = @east_asian_manor_development_growth_2
		tax_mult = 0.01
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_phases/imperial_examination_phase_examination.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_seasonal_shelters_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grazing_land_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lcav_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_seasonal_shelters_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_seasonal_shelters_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lcav_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_seasonal_shelters_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_seasonal_shelters_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lcav_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_seasonal_shelters_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_seasonal_shelters_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit_per_liege_tax = @east_asian_manor_monthly_merit_per_liege_tax_1
	}
	province_modifier = {
		development_growth_factor = @east_asian_manor_development_growth_factor_1
		build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lcav_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterinary_shed_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grazing_land_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		estate_unlock_adopt_puppy_decision = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		epidemic_resistance = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterinary_shed_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_veterinary_shed_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		estate_unlock_adopt_puppy_decision = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		epidemic_resistance = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterinary_shed_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_veterinary_shed_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		estate_unlock_adopt_puppy_decision = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		epidemic_resistance = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_veterinary_shed_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_veterinary_shed_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		estate_unlock_adopt_puppy_decision = yes
	}
	character_modifier = {
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
		epidemic_resistance = 3
		travel_danger = @east_asian_manor_travel_danger_1
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_physician_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_watering_ditches_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grazing_land_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.03
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_water.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_watering_ditches_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watering_ditches_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.03
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_water.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_watering_ditches_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watering_ditches_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.03
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_water.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_watering_ditches_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_watering_ditches_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_1
		domicile_monthly_gold_mult = @east_asian_manor_monthly_gold_mult_3
	}
	province_modifier = {
		tax_mult = 0.03
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reserve_water.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_salt_lick_terraces_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grazing_land_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			custom_tooltip = {
				text = is_a_military_governor_county_or_above_desc
				highest_held_title_tier >= tier_county
				OR = {
					vassal_contract_has_flag = celestial_military_appointment
					vassal_contract_has_flag = meritocratic_military_appointment
				}
			}
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.03
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_salt_lick_terraces.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_salt_lick_terraces_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_salt_lick_terraces_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.03
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_salt_lick_terraces.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_salt_lick_terraces_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_salt_lick_terraces_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.03
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_salt_lick_terraces.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_salt_lick_terraces_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_salt_lick_terraces_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		monthly_merit_per_title_maa_value = @east_asian_manor_monthly_merit_per_title_maa_value_1
		light_cavalry_recruitment_cost_mult = @east_asian_manor_maa_recruitment_cost_mult_1
	}
	province_modifier = {
		stationed_maa_toughness_mult = 0.03
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_salt_lick_terraces.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rotation_paddocks_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_grazing_land_01

	can_construct = {
		trigger_if = {
			limit = {
				this != top_liege
			}
			is_governor = yes
		}
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
		hills_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		hills_development_growth_factor = @east_asian_manor_development_growth_factor_3
		hills_tax_mult = 0.04
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_herd_capacity_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rotation_paddocks_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rotation_paddocks_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
		hills_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		hills_development_growth_factor = @east_asian_manor_development_growth_factor_3
		hills_tax_mult = 0.04
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_herd_capacity_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rotation_paddocks_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rotation_paddocks_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
		hills_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		hills_development_growth_factor = @east_asian_manor_development_growth_factor_3
		hills_tax_mult = 0.04
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_herd_capacity_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_rotation_paddocks_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_rotation_paddocks_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		trait_track_travel_xp_gain_mult = @east_asian_manor_trait_track_travel_xp_gain_mult_2
		character_travel_speed_mult = @east_asian_manor_character_travel_speed_mult
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_1
	}
	province_modifier = {
		wetlands_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		wetlands_development_growth_factor = @east_asian_manor_development_growth_factor_3
		wetlands_tax_mult = 0.04
		hills_construction_gold_cost = @east_asian_manor_build_gold_cost_3
		hills_development_growth_factor = @east_asian_manor_development_growth_factor_3
		hills_tax_mult = 0.04
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_herd_capacity_yurt.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_disciples_hall_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
		estate_hall_increase_disciple_limit_1 = yes
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_disciples_hall_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_disciples_hall_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
		estate_hall_increase_disciple_limit_1 = yes
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_disciples_hall_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_disciples_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
		estate_hall_increase_disciple_limit_2 = yes
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_disciples_hall_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_disciples_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
		estate_hall_increase_disciple_limit_2 = yes
	}
	character_modifier = {
		monthly_merit_mult = @east_asian_manor_monthly_merit_mult_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_movement_study.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_donation_box_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/imperial_examination_focus_stewardship_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_donation_box_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_donation_box_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/imperial_examination_focus_stewardship_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_donation_box_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_donation_box_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/imperial_examination_focus_stewardship_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_donation_box_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_donation_box_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_gold_add = @east_asian_manor_monthly_gold_add_2
		domicile_monthly_influence_add = @east_asian_manor_monthly_influence_add_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/imperial_examination_focus_stewardship_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gate_plaques_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.01
		domicile_build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gate_plaques_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_plaques_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.01
		domicile_build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gate_plaques_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_plaques_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.01
		domicile_build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_gate_plaques_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_plaques_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_dynasty_prestige_mult = 0.01
		domicile_build_gold_cost = @east_asian_manor_build_gold_cost_3
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_bell_drum_tower.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pavilion_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
		owned_political_scheme_success_chance_add = 3
		owned_political_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pavilion_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pavilion_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
		owned_political_scheme_success_chance_add = 3
		owned_political_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pavilion_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pavilion_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
		owned_political_scheme_success_chance_add = 3
		owned_political_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_pavilion_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_pavilion_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		domicile_monthly_prestige_add = @east_asian_manor_monthly_prestige_add_2
		monthly_treasury_from_salary_budget_mult = @east_asian_manor_monthly_treasury_from_salary_budget_mult_2
		owned_political_scheme_success_chance_add = 3
		owned_political_scheme_success_chance_growth_add = 0.5
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/domicile_building/east_asian_estate_courtyard.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_performance_stage_01 = {
	construction_time = @east_asian_estate_upgrade_construction_time_1
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_gate_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_1_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 10
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/festival_type_religious_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_performance_stage_02 = {
	construction_time = @east_asian_estate_upgrade_construction_time_2
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_performance_stage_01

	can_construct = {
		
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_2_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 9
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/festival_type_religious_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_performance_stage_03 = {
	construction_time = @east_asian_estate_upgrade_construction_time_3
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_performance_stage_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_02 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_3_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 8
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/festival_type_religious_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
east_asian_estate_performance_stage_04 = {
	construction_time = @east_asian_estate_upgrade_construction_time_4
	allowed_domicile_types = { east_asian_estate }
	slot_type = internal
	previous_building = east_asian_estate_performance_stage_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = east_asian_estate_main_03 }
	}

	cost = {
		gold = {
			value = estate_internal_building_normal_cost_tier_4_value
		}
	}
	parameters = {
	}
	character_modifier = {
		monthly_merit = @east_asian_manor_monthly_merit_3
		trait_track_lifestyle_poet_xp_gain_mult = @east_asian_manor_trait_track_lifestyle_poet_xp_gain_mult_3
		confucian_education_xp_gain_mult = @east_asian_manor_confucian_education_xp_gain_mult_2
	}
	province_modifier = {
	}
	ai_value = {
		value = 7
		add = estate_building_ai_modifier_value
	}
	asset = {
		icon = "gfx/interface/icons/activity_types/festival_type_religious_icon.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_chinese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_chinese_mask.png"
	}
}
