##################
# JAPANESE MANOR BUILDINGS
##################

@japanese_manor_main_construction_time_tier_2 = 180
@japanese_manor_main_construction_time_tier_3 = 360
@japanese_manor_main_construction_time_tier_4 = 520 
@japanese_manor_main_construction_time_tier_5 = 600
@japanese_manor_main_construction_time_tier_6 = 720

@japanese_manor_external_construction_time_tier_1 = 90 
@japanese_manor_external_construction_time_tier_2 = 180
@japanese_manor_external_construction_time_tier_3 = 270 
@japanese_manor_external_construction_time_tier_4 = 300 
@japanese_manor_external_construction_time_tier_5 = 360 
@japanese_manor_external_construction_time_tier_6 = 420

@japanese_manor_internal_construction_time_tier_1 = 30
@japanese_manor_internal_construction_time_tier_2 = 60
@japanese_manor_internal_construction_time_tier_3 = 90
@japanese_manor_internal_construction_time_tier_4 = 120
@japanese_manor_internal_construction_time_tier_5 = 200
@japanese_manor_internal_construction_time_tier_6 = 320

@japanese_manor_monthly_prestige_add_1 = 0.1
@japanese_manor_monthly_prestige_add_2 = 0.25
@japanese_manor_monthly_prestige_add_3 = 0.5
@japanese_manor_monthly_prestige_mult_1 = 0.025
@japanese_manor_monthly_dynasty_prestige_add_1 = 0.05
@japanese_manor_monthly_dynasty_prestige_add_2 = 0.1
@japanese_manor_monthly_influence_add_1 = 0.15
@japanese_manor_monthly_influence_add_2 = 0.25
@japanese_manor_monthly_influence_add_3 = 0.5
@japanese_manor_monthly_influence_mult_1 = 0.025
@japanese_manor_monthly_gold_add_0 = 0.1
@japanese_manor_monthly_gold_add_1 = 0.2
@japanese_manor_monthly_gold_add_2 = 0.35
@japanese_manor_monthly_gold_add_3 = 0.5
@japanese_manor_monthly_gold_mult_domain_1 = 0.01
@japanese_manor_monthly_gold_mult_1 = 0.04
@japanese_manor_monthly_piety_add_1 = 0.1
@japanese_manor_monthly_piety_add_2 = 0.25
@japanese_manor_monthly_piety_add_3 = 0.5
@japanese_manor_monthly_piety_mult_1 = 0.025
@japanese_manor_stress_loss_mult_1 = 0.025
@japanese_manor_stress_gain_mult_1 = -0.025
@japanese_manor_opinion_add_1 = 2
@japanese_manor_maa_recruitment_cost_mult_1 = -0.04
@japanese_manor_maa_maintenance_mult_1 = -0.025
@japanese_manor_maa_effectiveness_mult_1 = 0.025
@japanese_manor_control_growth_factor_1 = 0.05
@japanese_manor_advantage_add_1 = 1
@japanese_manor_mercenary_hire_cost_mult_1 = -0.025
@japanese_manor_supply_capacity_mult_1 = 0.025
@japanese_manor_knight_effectiveness_mult_1 = 0.01
@japanese_manor_lifestyle_xp_gain_mult = 0.05
@japanese_manor_owned_scheme_potential_add = 2
@japanese_manor_owned_scheme_success_chance_add = 2
@japanese_manor_owned_scheme_success_chance_max_add = 2
@japanese_manor_owned_scheme_success_growth_add = 2
@japanese_manor_owned_scheme_phase_duration_add = -5
@japanese_manor_enemy_scheme_success_chance_add = -2
@japanese_manor_enemy_scheme_success_chance_max_add = -2
@japanese_manor_enemy_scheme_success_growth_add = -2
@japanese_manor_enemy_scheme_phase_duration_add = -5
@japanese_manor_pursue_efficiency_1 = 0.025
@japanese_manor_movement_speed_1 = 0.025
@japanese_manor_influence_level_impact_mult_1 = 0.025
@japanese_manor_character_travel_speed_mult = 0.025
@japanese_manor_hostile_raid_time_1 = 0.1
@japanese_manor_development_growth_factor_1 = 0.025
@japanese_manor_development_growth_1 = 0.05
@japanese_manor_county_control_growth_add_1 = 0.1
@japanese_manor_prestige_gain_per_dread_mult_1 = 0.05
@japanese_manor_dread_decay_mult_1 = -0.025
@japanese_manor_dread_baseline_add_1 = 2
@japanese_manor_health_add_1 = 0.05
@japanese_manor_epidemic_resistance_1 = 2
@japanese_manor_dread_gain_mult_1 = 0.025
@japanese_manor_domicile_build_speed = -0.05
@japanese_manor_domicile_build_speed_minor = -0.03
@japanese_manor_domicile_build_gold_cost_minor = -0.03
@japanese_manor_domicile_build_gold_cost = -0.05
@japanese_manor_holding_build_gold_cost_minor = -0.03
@japanese_manor_holding_build_gold_cost = -0.05
@japanese_manor_faith_creation_piety_cost_mult = -0.05
@japanese_manor_character_travel_safety = 2

### NOTE: If updating, adding, or changing buildings, ensure the following effects are updated too:
### destroy_random_japanese_manor_building_variable_effect
### destroy_random_japanese_manor_building_effect

### Japanese Manor Main Building - The Mansion - Yashiki - 屋敷
japanese_manor_main_01 = {
	slot_type = main
	internal_slots = 1
	construction_time = 730
	allowed_domicile_types = { japanese_manor }

	cost = {
		gold = japanese_manor_external_building_high_cost_tier_2_value
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_prestige_add_3
		domicile_monthly_prestige_add = @japanese_manor_monthly_influence_add_3
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_2
		domicile_external_slots_capacity_add = 2
	}
	
	province_modifier = {
		levy_size = 0.15
		levy_reinforcement_rate = 0.1
	}

	ai_value = {
		value = 100
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_01.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_japanese_main_building"
	}
}
japanese_manor_main_02 = {
	slot_type = main
	internal_slots = 1
	construction_time = @japanese_manor_main_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_manor_main_01
	
	can_construct = {
		culture ?= { has_innovation = innovation_city_planning }
	}

	cost = {
		gold = japanese_manor_external_building_high_cost_tier_3_value
	}
	
	parameters = {
		reduce_success_of_raid_estate = yes
		unlocks_establish_fief_decision = yes
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		domicile_external_slots_capacity_add = 2
		domain_limit_max = 1
	}
	
	province_modifier = {
		levy_size = 0.15
		levy_reinforcement_rate = 0.1
	}

	ai_value = {
		value = 100
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_02.dds"
		texture = "gfx/interface/window_domiciles/estate_building_manor_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_japanese_main_building"
	}
}
japanese_manor_main_03 = {
	slot_type = main
	internal_slots = 2
	construction_time = @japanese_manor_main_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_manor_main_02
	
	can_construct = {
		culture ?= { has_innovation = innovation_manorialism }
	}

	cost = {
		gold = japanese_manor_external_building_high_cost_tier_4_value
	}
	
	parameters = {
		reduce_success_of_raid_estate = yes
		unlocks_establish_fief_decision = yes
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		domicile_external_slots_capacity_add = 2
	}
	
	province_modifier = {
		levy_size = 0.15
		levy_reinforcement_rate = 0.1
	}

	ai_value = {
		value = 100
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_03.dds"
		texture = "gfx/interface/window_domiciles/estate_building_mansion_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_mansion_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_japanese_main_building"
	}
}
japanese_manor_main_04 = {
	slot_type = main
	internal_slots = 3
	construction_time = @japanese_manor_main_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_manor_main_03
	
	can_construct = {
		culture ?= { has_innovation = innovation_development_03 }
	}

	cost = {
		gold = japanese_manor_external_building_high_cost_tier_5_value
	}
	
	parameters = {
		reduce_success_of_raid_estate = yes
		unlocks_establish_fief_decision = yes
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		domain_limit_max = 1
	}
	
	province_modifier = {
		levy_size = 0.15
		levy_reinforcement_rate = 0.1
	}

	ai_value = {
		value = 100
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_04.dds"
		texture = "gfx/interface/window_domiciles/estate_building_estate_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_estate_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_japanese_main_building"
	}
}
japanese_manor_main_05 = {
	slot_type = main
	internal_slots = 4
	construction_time = @japanese_manor_main_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_manor_main_04
	
	can_construct = {
		culture ?= { has_innovation = innovation_cranes }
	}

	cost = {
		gold = japanese_manor_external_building_high_cost_tier_6_value
	}
	
	parameters = {
		reduce_success_of_raid_estate = yes
		unlocks_establish_fief_decision = yes
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
	}
	
	province_modifier = {
		levy_size = 0.15
		levy_reinforcement_rate = 0.1
	}

	ai_value = {
		value = 100
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_05.dds"
		texture = "gfx/interface/window_domiciles/estate_building_grand_estate_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grand_estate_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_japanese_main_building"
	}
}
japanese_manor_main_06 = {
	slot_type = main
	internal_slots = 5
	construction_time = @japanese_manor_main_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_manor_main_05
	
	can_construct = {
		culture ?= { has_innovation = innovation_cranes }
	}

	cost = {
		gold = japanese_manor_external_building_high_cost_tier_7_value
	}
	
	parameters = {
		reduce_success_of_raid_estate = yes
		unlocks_establish_fief_decision = yes
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		domain_limit_max = 1
	}
	
	province_modifier = {
		levy_size = 0.25
		levy_reinforcement_rate = 0.1
	}

	ai_value = {
		value = 100
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_manor_05.dds"
		texture = "gfx/interface/window_domiciles/estate_building_grand_estate_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grand_estate_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_japanese_main_building"
	}
}

#############################
#### INTERNAL BUILDINGS #####
#############################

japanese_main_tax_collectors_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domain_tax_mult = @japanese_manor_monthly_gold_mult_domain_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_tax_collectors_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_tax_collectors_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domain_tax_mult = @japanese_manor_monthly_gold_mult_domain_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_tax_collectors_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_tax_collectors_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domain_tax_mult = @japanese_manor_monthly_gold_mult_domain_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_tax_collectors_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_tax_collectors_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domain_tax_mult = @japanese_manor_monthly_gold_mult_domain_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_tax_collectors_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_tax_collectors_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domain_tax_mult = @japanese_manor_monthly_gold_mult_domain_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_tax_collectors_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_tax_collectors_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domain_tax_mult = @japanese_manor_monthly_gold_mult_domain_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}

japanese_main_carpenter_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_smithy.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_carpenter_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_carpenter_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost_minor
		domicile_build_speed = @japanese_manor_domicile_build_speed_minor
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_smithy.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_carpenter_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_carpenter_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_smithy.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_carpenter_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_carpenter_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost_minor
		domicile_build_speed = @japanese_manor_domicile_build_speed_minor
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_smithy.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_carpenter_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_carpenter_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_smithy.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_main_carpenter_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_main_carpenter_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost_minor
		domicile_build_speed = @japanese_manor_domicile_build_speed_minor
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_smithy.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}

### Diplomacy - Poetry library
japanese_manor_poetry_library_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	can_construct = {
		dynasty ?= { has_dynasty_perk = tgp_japan_legacy_2 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		diplomacy_per_influence_level = 1
		monthly_diplomacy_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		courtly_opinion = @japanese_manor_opinion_add_1
		trait_track_lifestyle_poet_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
	}

	parameters = {
		increased_poet_aptitude_1 = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_library.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_poetry_library_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_poetry_library_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		trait_track_lifestyle_poet_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		courtly_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_poet_aptitude_2 = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_library.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_poetry_library_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_poetry_library_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		trait_track_lifestyle_poet_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		courtly_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_poet_aptitude_3 = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_library.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_poetry_library_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_poetry_library_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		diplomacy_per_influence_level = 1
		monthly_diplomacy_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		trait_track_lifestyle_poet_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		courtly_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_poet_aptitude_4 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_library.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_poetry_library_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_poetry_library_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		trait_track_lifestyle_poet_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		courtly_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_poet_aptitude_5 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_library.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_poetry_library_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_poetry_library_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		monthly_diplomacy_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		courtly_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_poet_aptitude_6 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_library.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}

### Influence Upgrade - Sarugaku Stage
sarugaku_stage_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	cost = {
		gold = japanese_manor_internal_building_normal_cost_tier_1_value
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		courtier_and_guest_opinion = 2
	}
	
	parameters = {
		japanese_manor_recruit_guest_discount = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_japanese_mask.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/tgp_ui_domicile_building_japanese_main_building.dds"
	}
}
sarugaku_stage_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = sarugaku_stage_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = japanese_manor_internal_building_normal_cost_tier_2_value
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		courtier_and_guest_opinion = 2
	}
	
	parameters = {
		japanese_manor_recruit_guest_discount = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_japanese_mask.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/tgp_ui_domicile_building_japanese_main_building.dds"
	}
}
sarugaku_stage_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = sarugaku_stage_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = japanese_manor_internal_building_normal_cost_tier_3_value
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		courtier_and_guest_opinion = 2
	}
	
	parameters = {
		japanese_manor_recruit_guest_discount = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_japanese_mask.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/tgp_ui_domicile_building_japanese_main_building.dds"
	}
}
sarugaku_stage_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = sarugaku_stage_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = japanese_manor_internal_building_normal_cost_tier_4_value
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		courtier_and_guest_opinion = 2
	}
	
	parameters = {
		japanese_manor_recruit_guest_discount = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_japanese_mask.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/tgp_ui_domicile_building_japanese_main_building.dds"
	}
}
sarugaku_stage_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = sarugaku_stage_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = japanese_manor_internal_building_normal_cost_tier_5_value
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		courtier_and_guest_opinion = 2
	}
	
	parameters = {
		japanese_manor_recruit_guest_discount = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_japanese_mask.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/tgp_ui_domicile_building_japanese_main_building.dds"
	}
}
sarugaku_stage_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = sarugaku_stage_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = japanese_manor_internal_building_normal_cost_tier_6_value
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2 # As a treat
		courtier_and_guest_opinion = 2
	}
	
	parameters = {
		japanese_manor_recruit_guest_discount = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_japanese_mask.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/tgp_ui_domicile_building_japanese_main_building.dds"
	}
}

### Martial Upgrade
japanese_manor_trophy_room_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	can_construct = {
		NOT = { government_has_flag = government_is_administrative }
	}

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

	character_modifier = {
		martial_per_influence_level = 1
		monthly_martial_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		knight_effectiveness_per_prowess = 0.001
		led_by_owner_extra_advantage_add = 1
		glory_hound_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_trophy.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_trophy_room_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_trophy_room_01

	can_construct = {
		NOT = { government_has_flag = government_is_administrative }
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

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

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		knight_effectiveness_per_prowess = 0.001
		glory_hound_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_trophy.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_trophy_room_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_trophy_room_02

	can_construct = {
		NOT = { government_has_flag = government_is_administrative }
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

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

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		knight_effectiveness_per_prowess = 0.001
		led_by_owner_extra_advantage_add = 1
		glory_hound_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		trophy_room_victory_influence = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_trophy.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_trophy_room_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_trophy_room_03

	can_construct = {
		NOT = { government_has_flag = government_is_administrative }
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

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

	character_modifier = {
		martial_per_influence_level = 1
		monthly_martial_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		knight_effectiveness_per_prowess = 0.001
		glory_hound_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		trophy_room_victory_influence = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_trophy.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_trophy_room_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_trophy_room_04

	can_construct = {
		NOT = { government_has_flag = government_is_administrative }
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

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

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		knight_effectiveness_per_prowess = 0.001
		led_by_owner_extra_advantage_add = 1
		glory_hound_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		trophy_room_victory_influence = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_trophy.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_trophy_room_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_trophy_room_05

	can_construct = {
		NOT = { government_has_flag = government_is_administrative }
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

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

	character_modifier = {
		monthly_martial_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		knight_effectiveness_per_prowess = 0.001
		glory_hound_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		trophy_room_victory_influence = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_trophy.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}

### Stewardship Upgrade
japanese_manor_office_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		japanese_manor_increase_house_member_investment_cap_1 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_office_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_office_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		japanese_manor_increase_house_member_investment_cap_2 = yes
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_office_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_office_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}

	character_modifier = {
		stewardship_per_influence_level = 1
		monthly_stewardship_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		japanese_manor_increase_house_member_investment_cap_3 = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_office_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_office_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		japanese_manor_increase_house_member_investment_cap_4 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_office_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_office_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}

	character_modifier = {
		monthly_stewardship_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		japanese_manor_increase_house_member_investment_cap_5 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_office_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_office_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_office }
				multiply = 0.75
				desc = raid_insight_office
			}
		}
	}

	character_modifier = {
		stewardship_per_influence_level = 1
		monthly_stewardship_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		japanese_manor_increase_house_member_investment_cap_6 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_office.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}

### Intrigue Upgrade
japanese_manor_servants_quarters_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_lifestyle_xp_gain_mult
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		intrigue_per_prestige_level = 1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_servant.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_servants_quarters_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_servants_quarters_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_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 = @japanese_manor_lifestyle_xp_gain_mult
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_servant.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_servants_quarters_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_servants_quarters_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_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 = @japanese_manor_lifestyle_xp_gain_mult
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		intrigue_per_prestige_level = 1
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_servant.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_servants_quarters_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_servants_quarters_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_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 = @japanese_manor_lifestyle_xp_gain_mult
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		intrigue_per_prestige_level = 1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_servant.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_servants_quarters_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_servants_quarters_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_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 = @japanese_manor_lifestyle_xp_gain_mult
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_servant.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_servants_quarters_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_servants_quarters_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_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 = @japanese_manor_lifestyle_xp_gain_mult
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_servant.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}

# Learning - Confucian library
japanese_manor_library_confucian_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		confucian_education_xp_gain_mult = 0.01
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tutor.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_library_confucian_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_library_confucian_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		confucian_education_xp_gain_mult = 0.01
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tutor.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_library_confucian_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_library_confucian_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}

	character_modifier = {
		learning_per_influence_level = 1
		monthly_learning_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		confucian_education_xp_gain_mult = 0.01
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tutor.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_library_confucian_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_library_confucian_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}
	
	parameters = {
		japanese_manor_unlock_tier_5_education = yes
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		confucian_education_xp_gain_mult = 0.01
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tutor.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_library_confucian_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_library_confucian_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}
	
	parameters = {
		japanese_manor_unlock_tier_5_education = yes
	}

	character_modifier = {
		monthly_learning_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
		confucian_education_xp_gain_mult = 0.01
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tutor.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_library_confucian_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_library_confucian_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_library }
				multiply = 0.75
				desc = raid_insight_library
			}
		}
	}
	
	parameters = {
		japanese_manor_unlock_tier_5_education = yes
	}

	character_modifier = {
		learning_per_influence_level = 1
		monthly_learning_lifestyle_xp_gain_mult = @japanese_manor_lifestyle_xp_gain_mult
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tutor.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_japanese_main_building"
	}
}

# 
japanese_manor_retainer_accomodations_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_main_01

	can_construct = {
		dynasty ?= { has_dynasty_perk = tgp_japan_legacy_3 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_1_value
		}
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -2
		knight_effectiveness_per_martial = 0.001
		monthly_prestige_gain_per_knight_add = 0.01
	}

	province_modifier = {
		stationed_maa_toughness_mult = 0.02
		stationed_maa_damage_mult = 0.02
	}

	parameters = {
		estate_increase_bodyguard_aptitude_1 = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_barracks.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_retainer_accomodations_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_retainer_accomodations_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_2_value
		}
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -1
	}

	province_modifier = {
		stationed_maa_toughness_mult = 0.03
		stationed_maa_damage_mult = 0.03
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		estate_increase_bodyguard_aptitude_1 = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_barracks.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_retainer_accomodations_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_retainer_accomodations_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_3_value
		}
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -1
		knight_effectiveness_per_martial = 0.001
		monthly_prestige_gain_per_knight_add = 0.01
	}

	province_modifier = {
		stationed_maa_toughness_mult = 0.03
		stationed_maa_damage_mult = 0.03
	}

	parameters = {
		house_head_can_ask_for_knight = yes
		estate_increase_bodyguard_aptitude_1 = yes
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_barracks.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_retainer_accomodations_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_retainer_accomodations_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_4_value
		}
	}
	
	parameters = {
		house_head_can_ask_for_knight = yes
		estate_increase_bodyguard_aptitude_2 = yes
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -2
	}

	province_modifier = {
		stationed_maa_toughness_mult = 0.03
		stationed_maa_damage_mult = 0.03
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_barracks.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_manor_retainer_accomodations_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_manor_retainer_accomodations_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_high_cost_tier_5_value
		}
	}
	
	parameters = {
		house_head_can_ask_for_knight = yes
		estate_increase_bodyguard_aptitude_2 = yes
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_add = -4
		knight_effectiveness_per_martial = 0.002
		monthly_prestige_gain_per_knight_add = 0.02
	}

	province_modifier = {
		stationed_maa_toughness_mult = 0.04
		stationed_maa_damage_mult = 0.04
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_barracks.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}

#############################
#### EXTERNAL BUILDINGS #####
#############################

### Rice Fields
japanese_fields_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	cost = {
		gold = {
			add = {
				value = japanese_manor_external_building_normal_cost_tier_1_value
				if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					}
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					}
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					}
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
				if = {
					limit = { has_character_modifier = raid_insight_grain_field }
					multiply = 0.75
					desc = raid_insight_grain_field
				}
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_2
		development_growth_factor = @japanese_manor_control_growth_factor_1
	}

	on_complete = {
		estate_newly_built_grain_field_effect = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_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"
	}
}
japanese_fields_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_fields_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			add = {
				value = japanese_manor_external_building_normal_cost_tier_2_value
				if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					}
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					}
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					}
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
				if = {
					limit = { has_character_modifier = raid_insight_grain_field }
					multiply = 0.75
					desc = raid_insight_grain_field
				}
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		development_growth_factor = @japanese_manor_control_growth_factor_1
	}

	on_complete = {
		estate_newly_built_grain_field_effect = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_fields_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_fields_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			add = {
				value = japanese_manor_external_building_normal_cost_tier_3_value
				if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					}
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					}
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					}
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
				if = {
					limit = { has_character_modifier = raid_insight_grain_field }
					multiply = 0.75
					desc = raid_insight_grain_field
				}
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		development_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	on_complete = {
		estate_newly_built_grain_field_effect = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_fields_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_fields_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			add = {
				value = japanese_manor_external_building_normal_cost_tier_4_value
				if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					}
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					}
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					}
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
				if = {
					limit = { has_character_modifier = raid_insight_grain_field }
					multiply = 0.75
					desc = raid_insight_grain_field
				}
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		development_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	on_complete = {
		estate_newly_built_grain_field_effect = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_fields_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 3
	previous_building = japanese_fields_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			add = {
				value = japanese_manor_external_building_normal_cost_tier_5_value
				if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					}
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					}
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					}
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
				if = {
					limit = { has_character_modifier = raid_insight_grain_field }
					multiply = 0.75
					desc = raid_insight_grain_field
				}
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		development_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	on_complete = {
		estate_newly_built_grain_field_effect = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_fields_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 3
	previous_building = japanese_fields_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			add = {
				value = japanese_manor_external_building_normal_cost_tier_6_value
				if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					}
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					}
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = {
						domicile ?= { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					}
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
				if = {
					limit = { has_character_modifier = raid_insight_grain_field }
					multiply = 0.75
					desc = raid_insight_grain_field
				}
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		development_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	on_complete = {
		estate_newly_built_grain_field_effect = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
# Internal
japanese_granary_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_fields_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = @japanese_manor_supply_capacity_mult_1
		men_at_arms_maintenance = @japanese_manor_maa_maintenance_mult_1
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_granary_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_granary_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = @japanese_manor_supply_capacity_mult_1
		men_at_arms_maintenance = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_granary_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_granary_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = @japanese_manor_supply_capacity_mult_1
		men_at_arms_maintenance = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_granary_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_granary_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = @japanese_manor_supply_capacity_mult_1
		men_at_arms_maintenance = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_granary_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_granary_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = @japanese_manor_supply_capacity_mult_1
		men_at_arms_maintenance = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_granary_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_granary_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		supply_capacity_mult = @japanese_manor_supply_capacity_mult_1
		men_at_arms_maintenance = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_granary.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_rice_broker_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_fields_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_rice_broker_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rice_broker_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_rice_broker_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rice_broker_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_rice_broker_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rice_broker_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_rice_broker_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rice_broker_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_rice_broker_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rice_broker_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_bartering_grounds.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_tenant_farmers_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_fields_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_1
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tenant_farmer.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_tenant_farmers_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tenant_farmers_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tenant_farmer.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_tenant_farmers_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tenant_farmers_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tenant_farmer.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_tenant_farmers_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tenant_farmers_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tenant_farmer.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_tenant_farmers_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tenant_farmers_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tenant_farmer.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_tenant_farmers_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tenant_farmers_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			domicile ?= {
				if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_1 }
					multiply = 0.85
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_2 }
					multiply = 0.75
					desc = grazing_land_in_domicile
				}
				else_if = {
					limit = { has_domicile_parameter = cheaper_grain_fields_buildings_3 }
					multiply = 0.65
					desc = grazing_land_in_domicile
				}
			}
			if = {
				limit = { has_character_modifier = raid_insight_grain_field }
				multiply = 0.75
				desc = raid_insight_grain_field
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tenant_farmer.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}

### Shrine
japanese_shrine_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	can_construct = {
		custom_tooltip = {
			text = humility_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_shrine }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_piety_add_3
		clergy_opinion = @japanese_manor_opinion_add_1
		learning_per_prestige_level = 1
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = { 
		icon = "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_temple_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_temple_shinto"
	}
}
japanese_shrine_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_shrine_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
		custom_tooltip = {
			text = humility_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_shrine }
		}
	}

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

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_2
		clergy_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = { 
		icon = "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_temple_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_temple_shinto"
	}
}
japanese_shrine_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_shrine_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
		custom_tooltip = {
			text = humility_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_shrine }
		}
	}

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

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_2
		clergy_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = { 
		icon = "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_temple_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_temple_shinto"
	}
}
japanese_shrine_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_shrine_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
		custom_tooltip = {
			text = humility_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_shrine }
		}
	}

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

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_2
		clergy_opinion = @japanese_manor_opinion_add_1
		learning_per_prestige_level = 1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = { 
		icon = "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_temple_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_temple_shinto"
	}
}
japanese_shrine_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_shrine_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
		custom_tooltip = {
			text = humility_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_shrine }
		}
	}

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

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_2
		clergy_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = { 
		icon = "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_temple_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_temple_shinto"
	}
}
japanese_shrine_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_shrine_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
		custom_tooltip = {
			text = humility_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_shrine }
		}
	}

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

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_2
		clergy_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = { 
		icon = "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_temple_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_temple_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_temple_shinto"
	}
}
# Internal
japanese_cemetery_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shrine_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		monthly_dynasty_prestige = @japanese_manor_monthly_dynasty_prestige_add_2
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		estate_cheaper_funeral_cost = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_crypt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_cemetery_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_cemetery_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		monthly_dynasty_prestige = @japanese_manor_monthly_dynasty_prestige_add_1
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_crypt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_cemetery_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_cemetery_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		monthly_dynasty_prestige = @japanese_manor_monthly_dynasty_prestige_add_1
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_crypt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_cemetery_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_cemetery_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		monthly_dynasty_prestige = @japanese_manor_monthly_dynasty_prestige_add_1
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_crypt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_cemetery_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_cemetery_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		monthly_dynasty_prestige = @japanese_manor_monthly_dynasty_prestige_add_1
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_crypt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_cemetery_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_cemetery_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		monthly_dynasty_prestige = @japanese_manor_monthly_dynasty_prestige_add_1
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_crypt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_shokubo_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shrine_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		learning_per_piety_level = 1
		domicile_monthly_piety_mult = @japanese_manor_monthly_piety_mult_1
		different_faith_opinion = @japanese_manor_opinion_add_1
		character_travel_safety = @japanese_manor_character_travel_safety
	}

	parameters = {
		estate_cheaper_pilgrimage_cost = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_shokubo_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shokubo_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_piety_mult = @japanese_manor_monthly_piety_mult_1
		different_faith_opinion = @japanese_manor_opinion_add_1
		character_travel_safety = @japanese_manor_character_travel_safety
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_shokubo_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shokubo_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_piety_mult = @japanese_manor_monthly_piety_mult_1
		different_faith_opinion = @japanese_manor_opinion_add_1
		character_travel_safety = @japanese_manor_character_travel_safety
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_shokubo_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shokubo_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		learning_per_piety_level = 1
		domicile_monthly_piety_mult = @japanese_manor_monthly_piety_mult_1
		different_faith_opinion = @japanese_manor_opinion_add_1
		character_travel_safety = @japanese_manor_character_travel_safety
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_shokubo_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shokubo_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_piety_mult = @japanese_manor_monthly_piety_mult_1
		different_faith_opinion = @japanese_manor_opinion_add_1
		character_travel_safety = @japanese_manor_character_travel_safety
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_shokubo_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shokubo_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_piety_mult = @japanese_manor_monthly_piety_mult_1
		different_faith_opinion = @japanese_manor_opinion_add_1
		character_travel_safety = @japanese_manor_character_travel_safety
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_ascetics.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_monastery_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_shrine_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		learning_per_influence_level = 1
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_2
		zealot_opinion = @japanese_manor_opinion_add_1
		realm_priest_opinion = @japanese_manor_opinion_add_1
		church_holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
		faith_creation_piety_cost_mult = @japanese_manor_faith_creation_piety_cost_mult
	}

	parameters = {
		influence_gain_from_hof_support_1 = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_shrine.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_monastery_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_monastery_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		zealot_opinion = @japanese_manor_opinion_add_1
		realm_priest_opinion = @japanese_manor_opinion_add_1
		church_holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
		faith_creation_piety_cost_mult = @japanese_manor_faith_creation_piety_cost_mult
	}

	parameters = {
		influence_gain_from_hof_support_2 = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_shrine.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_monastery_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_monastery_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		zealot_opinion = @japanese_manor_opinion_add_1
		realm_priest_opinion = @japanese_manor_opinion_add_1
		church_holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
		faith_creation_piety_cost_mult = @japanese_manor_faith_creation_piety_cost_mult
	}

	parameters = {
		influence_gain_from_hof_support_3 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_shrine.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_monastery_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_monastery_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		learning_per_influence_level = 1
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		zealot_opinion = @japanese_manor_opinion_add_1
		realm_priest_opinion = @japanese_manor_opinion_add_1
		church_holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
		faith_creation_piety_cost_mult = @japanese_manor_faith_creation_piety_cost_mult
	}

	parameters = {
		influence_gain_from_hof_support_4 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_shrine.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_monastery_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_monastery_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		zealot_opinion = @japanese_manor_opinion_add_1
		realm_priest_opinion = @japanese_manor_opinion_add_1
		church_holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
		faith_creation_piety_cost_mult = @japanese_manor_faith_creation_piety_cost_mult
	}

	parameters = {
		influence_gain_from_hof_support_5 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_shrine.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_monastery_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_monastery_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		zealot_opinion = @japanese_manor_opinion_add_1
		realm_priest_opinion = @japanese_manor_opinion_add_1
		church_holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
		faith_creation_piety_cost_mult = @japanese_manor_faith_creation_piety_cost_mult
	}

	parameters = {
		influence_gain_from_hof_support_6 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_shrine.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}

### Brewery
japanese_brewery_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	can_construct = {
		custom_tooltip = {
			text = prosperity_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_brewery }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_2
		development_growth_factor = @japanese_manor_development_growth_factor_1
		county_opinion_add = @japanese_manor_opinion_add_1
		stewardship_per_prestige_level = 1
	}

	parameters = {
		estate_cheaper_feast_cost = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_brewers.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_brewery_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_brewery_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_brewery_japanese"
	}
}
japanese_brewery_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_brewery_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
		custom_tooltip = {
			text = prosperity_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_brewery }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		development_growth_factor = @japanese_manor_development_growth_factor_1
		county_opinion_add = @japanese_manor_opinion_add_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_brewers.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_brewery_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_brewery_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_brewery_japanese"
	}
}
japanese_brewery_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_brewery_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
		custom_tooltip = {
			text = prosperity_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_brewery }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		development_growth_factor = @japanese_manor_development_growth_factor_1
		county_opinion_add = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_brewers.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_brewery_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_brewery_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_brewery_japanese"
	}
}
japanese_brewery_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_brewery_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
		custom_tooltip = {
			text = prosperity_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_brewery }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		development_growth_factor = @japanese_manor_development_growth_factor_1
		county_opinion_add = @japanese_manor_opinion_add_1
		stewardship_per_prestige_level = 1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_brewers.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_brewery_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_brewery_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_brewery_japanese"
	}
}
japanese_brewery_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_brewery_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
		custom_tooltip = {
			text = prosperity_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_brewery }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		development_growth_factor = @japanese_manor_development_growth_factor_1
		county_opinion_add = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_brewers.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_brewery_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_brewery_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_brewery_japanese"
	}
}
japanese_brewery_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_brewery_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
		custom_tooltip = {
			text = prosperity_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_brewery }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		development_growth_factor = @japanese_manor_development_growth_factor_1
		county_opinion_add = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_brewers.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_brewery_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_brewery_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_brewery_japanese"
	}
}
# Internal
japanese_koshu_cellars_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_brewery_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_vineyard.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_koshu_cellars_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_koshu_cellars_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_vineyard.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_koshu_cellars_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_koshu_cellars_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_vineyard.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_koshu_cellars_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_koshu_cellars_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_vineyard.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_koshu_cellars_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_koshu_cellars_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_vineyard.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_koshu_cellars_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_koshu_cellars_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_vineyard.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_gambling_den_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_brewery_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1

		dread_decay_mult = -0.025
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_gambling_den.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_gambling_den_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_gambling_den_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_gambling_den.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_gambling_den_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_gambling_den_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_gambling_den.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_gambling_den_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_gambling_den_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_gambling_den.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_gambling_den_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_gambling_den_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_gambling_den.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_gambling_den_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_gambling_den_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_gambling_den.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_sumo_hall_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_brewery_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		trait_track_foot_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_sumo_hall.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_sumo_hall_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_sumo_hall_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		trait_track_foot_xp_gain_mult = 0.05
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_sumo_hall.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_sumo_hall_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_sumo_hall_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		trait_track_foot_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_sumo_hall.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_sumo_hall_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_sumo_hall_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		trait_track_foot_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_sumo_hall.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_sumo_hall_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_sumo_hall_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		trait_track_foot_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_sumo_hall.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_sumo_hall_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_sumo_hall_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		trait_track_foot_xp_gain_mult = 0.05
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_sumo_hall.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}

### Archive
japanese_archive_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	can_construct = {
		trigger_if = {
			limit = { is_ai = yes }
			government_has_flag = government_is_administrative
		}
		custom_tooltip = {
			text = service_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_archive }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		stewardship_per_influence_level = 1
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
	}

	parameters = {
		japanese_archives_governor_efficiency_boost = yes
		japanese_manor_local_theme_cost_reduction = yes
		japanese_manor_governor_efficiency_bonus = yes
		japanese_manor_governor_trait_xp_bonus_for_contracts = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_scribes.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_archives_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_archives_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_archives_japanese"
	}
}
japanese_archive_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_archive_01

	can_construct = {
		trigger_if = {
			limit = { is_ai = yes }
			government_has_flag = government_is_administrative
		}
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
		custom_tooltip = {
			text = service_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_archive }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_scribes.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_archives_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_archives_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_archives_japanese"
	}
}
japanese_archive_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_archive_02

	can_construct = {
		trigger_if = {
			limit = { is_ai = yes }
			government_has_flag = government_is_administrative
		}
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
		custom_tooltip = {
			text = service_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_archive }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_scribes.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_archives_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_archives_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_archives_japanese"
	}
}
japanese_archive_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_archive_03

	can_construct = {
		trigger_if = {
			limit = { is_ai = yes }
			government_has_flag = government_is_administrative
		}
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
		custom_tooltip = {
			text = service_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_archive }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		stewardship_per_influence_level = 1
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_scribes.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_archives_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_archives_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_archives_japanese"
	}
}
japanese_archive_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_archive_04

	can_construct = {
		trigger_if = {
			limit = { is_ai = yes }
			government_has_flag = government_is_administrative
		}
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
		custom_tooltip = {
			text = service_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_archive }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_scribes.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_archives_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_archives_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_archives_japanese"
	}
}
japanese_archive_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_archive_05

	can_construct = {
		trigger_if = {
			limit = { is_ai = yes }
			government_has_flag = government_is_administrative
		}
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
		custom_tooltip = {
			text = service_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_archive }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_scribes.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_archives_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_archives_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_archives_japanese"
	}
}
# Internal
japanese_schoolhouse_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_archive_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_tutor_aptitude_1 = yes
		estate_reduced_tutor_cost = yes
		japanese_schoolhouse_education_boost_1 = yes
		estate_governor_efficiency_bonus_for_house_members = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_schoolhouse_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_schoolhouse_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_tutor_aptitude_2 = yes
		estate_reduced_tutor_cost = yes
		japanese_schoolhouse_education_boost_1 = yes
		estate_governor_efficiency_bonus_for_house_members = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_schoolhouse_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_schoolhouse_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_tutor_aptitude_3 = yes
		estate_reduced_tutor_cost = yes
		japanese_schoolhouse_education_boost_1 = yes
		estate_governor_efficiency_bonus_for_house_members = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_schoolhouse_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_schoolhouse_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_tutor_aptitude_4 = yes
		estate_reduced_tutor_cost = yes
		japanese_schoolhouse_education_boost_1 = yes
		estate_governor_efficiency_bonus_for_house_members = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_schoolhouse_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_schoolhouse_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		increased_tutor_aptitude_5 = yes
		estate_reduced_tutor_cost = yes
		japanese_schoolhouse_education_boost_1 = yes
		estate_governor_efficiency_bonus_for_house_members = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_schoolhouse_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_schoolhouse_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}

	parameters = {
		japanese_schoolhouse_education_boost_1 = yes
		increased_tutor_aptitude_6 = yes
		estate_reduced_tutor_cost = yes
		estate_governor_efficiency_bonus_for_house_members = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_schoolhouse.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_law_library_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_archive_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		owned_political_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		enemy_political_scheme_success_chance_growth_add = @japanese_manor_enemy_scheme_success_growth_add
	}

	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reference_corpus.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_law_library_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_law_library_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		owned_political_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}

	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reference_corpus.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_law_library_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_law_library_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		owned_political_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reference_corpus.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_law_library_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_law_library_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		owned_political_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reference_corpus.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_law_library_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_law_library_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		owned_political_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reference_corpus.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_law_library_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_law_library_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		owned_political_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_teach_governor_interaction = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_reference_corpus.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_messenger_service_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_archive_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		influence_level_impact_mult = @japanese_manor_influence_level_impact_mult_1
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_diplomacy_yurt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_messenger_service_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_messenger_service_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		influence_level_impact_mult = @japanese_manor_influence_level_impact_mult_1
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_diplomacy_yurt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_messenger_service_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_messenger_service_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		influence_level_impact_mult = @japanese_manor_influence_level_impact_mult_1
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_diplomacy_yurt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_messenger_service_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_messenger_service_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		influence_level_impact_mult = @japanese_manor_influence_level_impact_mult_1
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_diplomacy_yurt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_messenger_service_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_messenger_service_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		influence_level_impact_mult = @japanese_manor_influence_level_impact_mult_1
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_diplomacy_yurt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_messenger_service_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_messenger_service_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		influence_level_impact_mult = @japanese_manor_influence_level_impact_mult_1
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_diplomacy_yurt.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}

### Armory
japanese_armory_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	can_construct = {
		custom_tooltip = {
			text = strength_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_armory }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}	
	}

	character_modifier = {
		men_at_arms_recruitment_cost = @japanese_manor_maa_recruitment_cost_mult_1
		mercenary_hire_cost_mult = @japanese_manor_mercenary_hire_cost_mult_1
		martial_per_prestige_level = 1
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_armory_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_armory_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
japanese_armory_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_armory_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
		custom_tooltip = {
			text = strength_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_armory }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_recruitment_cost = @japanese_manor_maa_recruitment_cost_mult_1
		mercenary_hire_cost_mult = @japanese_manor_mercenary_hire_cost_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_armory_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_armory_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
japanese_armory_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_armory_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
		custom_tooltip = {
			text = strength_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_armory }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_recruitment_cost = @japanese_manor_maa_recruitment_cost_mult_1
		mercenary_hire_cost_mult = @japanese_manor_mercenary_hire_cost_mult_1
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_armory_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_armory_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
japanese_armory_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_armory_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
		custom_tooltip = {
			text = strength_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_armory }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_recruitment_cost = @japanese_manor_maa_recruitment_cost_mult_1
		mercenary_hire_cost_mult = @japanese_manor_mercenary_hire_cost_mult_1
		martial_per_prestige_level = 1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_armory_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_armory_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
japanese_armory_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_armory_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
		custom_tooltip = {
			text = strength_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_armory }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_recruitment_cost = @japanese_manor_maa_recruitment_cost_mult_1
		mercenary_hire_cost_mult = @japanese_manor_mercenary_hire_cost_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_armory_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_armory_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
japanese_armory_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_armory_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
		custom_tooltip = {
			text = strength_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_armory }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_recruitment_cost = @japanese_manor_maa_recruitment_cost_mult_1
		mercenary_hire_cost_mult = @japanese_manor_mercenary_hire_cost_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_knight_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_armory_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_armory_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_barracks"
	}
}
japanese_bladesmith_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armory_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		pikemen_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		heavy_infantry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
		pikemen_damage_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_weapon_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_bladesmith.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bladesmith_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bladesmith_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		pikemen_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		heavy_infantry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
		prowess_no_portrait = 1
	}

	parameters = {
		cheaper_commission_weapon_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_bladesmith.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bladesmith_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bladesmith_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		pikemen_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		heavy_infantry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_weapon_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_bladesmith.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bladesmith_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bladesmith_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		pikemen_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		heavy_infantry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
		prowess_no_portrait = 1
	}

	parameters = {
		cheaper_commission_weapon_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_bladesmith.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bladesmith_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bladesmith_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		pikemen_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		heavy_infantry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_weapon_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_bladesmith.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bladesmith_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bladesmith_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		pikemen_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		heavy_infantry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
		prowess_no_portrait = 1
	}

	parameters = {
		cheaper_commission_weapon_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_bladesmith.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_armorer_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armory_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_armor_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_armorer_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armorer_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_armor_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_armorer_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armorer_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_armor_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_armorer_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armorer_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_armor_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_armorer_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armorer_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_armor_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_armorer_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armorer_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		heavy_infantry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		pikemen_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_toughness_mult = @japanese_manor_maa_effectiveness_mult_1
		knight_effectiveness_mult = @japanese_manor_knight_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_armor_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_forge_yurt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_barracks_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_armory_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_cap = 1
	}

	parameters = {
		house_head_can_ask_for_maa = yes
		reduce_success_of_raid_estate = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_barracks_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_barracks_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		knight_limit = 1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_barracks_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_barracks_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_limit = 1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_barracks_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_barracks_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_barracks_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_barracks_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		knight_limit = 1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_barracks_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_barracks_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		men_at_arms_cap = 1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_barrack.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}

### Watch-house
japanese_watch_house_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	can_construct = {
		custom_tooltip = {
			text = determination_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_watch_house }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_control_growth_factor_1
		defender_holding_advantage = @japanese_manor_advantage_add_1
		hostile_raid_time = @japanese_manor_hostile_raid_time_1
		intrigue_per_prestige_level = 1
	}

	parameters = {
		reduce_success_of_raid_estate = yes
		raids_less_likely_to_make_prisoners_1_japanese = yes
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_guard_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_guardhouse"
	}
}
japanese_watch_house_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_watch_house_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
		custom_tooltip = {
			text = determination_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_watch_house }
		}
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_control_growth_factor_1
		defender_holding_advantage = @japanese_manor_advantage_add_1
		hostile_raid_time = @japanese_manor_hostile_raid_time_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_guard_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_guardhouse"
	}
}
japanese_watch_house_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_watch_house_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
		custom_tooltip = {
			text = determination_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_watch_house }
		}
	}

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

	character_modifier = {
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
		defender_holding_advantage = @japanese_manor_advantage_add_1
		hostile_raid_time = @japanese_manor_hostile_raid_time_1
	}
	
	parameters = {
		raids_less_likely_to_make_prisoners_2_japanese = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_guard_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_guardhouse"
	}
}
japanese_watch_house_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_watch_house_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
		custom_tooltip = {
			text = determination_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_watch_house }
		}
	}

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

	character_modifier = {
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
		defender_holding_advantage = @japanese_manor_advantage_add_1
		hostile_raid_time = @japanese_manor_hostile_raid_time_1
		intrigue_per_prestige_level = 1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_guard_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_guardhouse"
	}
}
japanese_watch_house_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_watch_house_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
		custom_tooltip = {
			text = determination_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_watch_house }
		}
	}

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

	character_modifier = {
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
		defender_holding_advantage = @japanese_manor_advantage_add_1
		hostile_raid_time = @japanese_manor_hostile_raid_time_1
	}
	
	parameters = {
		raids_less_likely_to_make_prisoners_3_japanese = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_guard_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_guardhouse"
	}
}
japanese_watch_house_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_watch_house_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
		custom_tooltip = {
			text = determination_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_watch_house }
		}
	}

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

	character_modifier = {
		monthly_county_control_growth_factor = @japanese_manor_control_growth_factor_1
		defender_holding_advantage = @japanese_manor_advantage_add_1
		hostile_raid_time = @japanese_manor_hostile_raid_time_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_camp_perimiter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_guard_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_guard_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_guardhouse"
	}
}
# Internal
japanese_spy_network_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_watch_house_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_max_add = @japanese_manor_enemy_scheme_success_chance_max_add
		owned_hostile_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		monthly_county_control_growth_add = @japanese_manor_county_control_growth_add_1
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_juicy_rumors.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_spy_network_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_spy_network_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_max_add = @japanese_manor_enemy_scheme_success_chance_max_add
		owned_hostile_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		monthly_county_control_growth_add = @japanese_manor_county_control_growth_add_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_juicy_rumors.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_spy_network_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_spy_network_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_max_add = @japanese_manor_enemy_scheme_success_chance_max_add
		owned_hostile_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		monthly_county_control_growth_add = @japanese_manor_county_control_growth_add_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_juicy_rumors.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_spy_network_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_spy_network_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_max_add = @japanese_manor_enemy_scheme_success_chance_max_add
		owned_hostile_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		monthly_county_control_growth_add = @japanese_manor_county_control_growth_add_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_juicy_rumors.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_spy_network_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_spy_network_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_max_add = @japanese_manor_enemy_scheme_success_chance_max_add
		owned_hostile_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		monthly_county_control_growth_add = @japanese_manor_county_control_growth_add_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_juicy_rumors.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_spy_network_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_spy_network_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		enemy_hostile_scheme_success_chance_max_add = @japanese_manor_enemy_scheme_success_chance_max_add
		owned_hostile_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		monthly_county_control_growth_add = @japanese_manor_county_control_growth_add_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_juicy_rumors.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_infiltrators_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_watch_house_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		intrigue_per_influence_level = 1
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_subdued_gear.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_infiltrators_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_infiltrators_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		estate_unlock_hire_agents_decision = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_subdued_gear.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_infiltrators_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_infiltrators_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		estate_unlock_hire_agents_decision = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_subdued_gear.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_infiltrators_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_infiltrators_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		intrigue_per_influence_level = 1
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		estate_unlock_hire_agents_decision = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_subdued_gear.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_infiltrators_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_infiltrators_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
	}

	parameters = {
		estate_unlock_hire_agents_decision = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_subdued_gear.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_infiltrators_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_infiltrators_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		hostile_scheme_phase_duration_add = @japanese_manor_enemy_scheme_phase_duration_add
		political_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		estate_unlock_hire_agents_decision = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_subdued_gear.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_prison_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_watch_house_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		monthly_prestige_gain_per_dread_mult = @japanese_manor_prestige_gain_per_dread_mult_1
		dread_decay_mult = @japanese_manor_dread_decay_mult_1
		dread_gain_mult = @japanese_manor_dread_gain_mult_1
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_prison_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_prison_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		monthly_prestige_gain_per_dread_mult = @japanese_manor_prestige_gain_per_dread_mult_1
		dread_decay_mult = @japanese_manor_dread_decay_mult_1
		dread_gain_mult = @japanese_manor_dread_gain_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_prison_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_prison_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		monthly_prestige_gain_per_dread_mult = @japanese_manor_prestige_gain_per_dread_mult_1
		dread_decay_mult = @japanese_manor_dread_decay_mult_1
		dread_gain_mult = @japanese_manor_dread_gain_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_prison_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_prison_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		monthly_prestige_gain_per_dread_mult = @japanese_manor_prestige_gain_per_dread_mult_1
		dread_decay_mult = @japanese_manor_dread_decay_mult_1
		dread_gain_mult = @japanese_manor_dread_gain_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_prison_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_prison_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		monthly_prestige_gain_per_dread_mult = @japanese_manor_prestige_gain_per_dread_mult_1
		dread_decay_mult = @japanese_manor_dread_decay_mult_1
		dread_gain_mult = @japanese_manor_dread_gain_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}
japanese_prison_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_prison_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		monthly_prestige_gain_per_dread_mult = @japanese_manor_prestige_gain_per_dread_mult_1
		dread_decay_mult = @japanese_manor_dread_decay_mult_1
		dread_gain_mult = @japanese_manor_dread_gain_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_prison.dds"
		texture =  "gfx/interface/icons/domicile_building/domicile_japan_family_shrine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_japanese_mask.png"
	}
}

### Horse Pastures
japanese_horse_pastures_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	internal_slots = 1
	allowed_domicile_types = { japanese_manor }

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

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		archer_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		light_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_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"
	}
}
japanese_horse_pastures_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	internal_slots = 1
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_horse_pastures_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

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

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		archer_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		light_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_horse_pastures_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	internal_slots = 1
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_horse_pastures_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

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

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		archer_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		light_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_horse_pastures_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	internal_slots = 2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_horse_pastures_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

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

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		archer_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		light_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_horse_pastures_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	internal_slots = 2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_horse_pastures_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

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

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		archer_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		light_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_horse_pastures_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	internal_slots = 2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_horse_pastures_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

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

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		archer_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		light_cavalry_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
# Internal
japanese_stud_farm_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_horse_pastures_01

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		light_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
		archer_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.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"
	}
}
japanese_stud_farm_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stud_farm_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		light_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
		archer_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.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"
	}
}
japanese_stud_farm_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stud_farm_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		light_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
		archer_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.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"
	}
}
japanese_stud_farm_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stud_farm_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		light_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
		archer_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.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"
	}
}
japanese_stud_farm_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stud_farm_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		light_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
		archer_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.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"
	}
}
japanese_stud_farm_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stud_farm_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		light_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
		archer_cavalry_recruitment_cost_mult = @japanese_manor_maa_recruitment_cost_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_stud_farm.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"
	}
}
japanese_ox_breeder_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_horse_pastures_01

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		character_travel_speed = 2
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grazing.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"
	}
}
japanese_ox_breeder_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_ox_breeder_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_travel_speed = 2
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grazing.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"
	}
}
japanese_ox_breeder_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_ox_breeder_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_travel_speed = 2
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grazing.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"
	}
}
japanese_ox_breeder_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_ox_breeder_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_travel_speed = 2
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grazing.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"
	}
}
japanese_ox_breeder_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_ox_breeder_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_travel_speed = 2
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grazing.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"
	}
}
japanese_ox_breeder_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_ox_breeder_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_travel_speed = 2
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_grazing.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"
	}
}
japanese_riding_school_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_horse_pastures_01

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		prowess_no_portrait = 1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_riding_school_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_riding_school_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_riding_school_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_riding_school_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_riding_school_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_riding_school_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		prowess_no_portrait = 1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_riding_school_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_riding_school_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_riding_school_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_riding_school_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
		light_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}

### Tea Plantation
japanese_tea_plantation_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	internal_slots = 1
	allowed_domicile_types = { japanese_manor }

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		elderly_health = @japanese_manor_health_add_1
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	on_complete = {
		scope:owner ?= {
			if = {
				limit = {
					is_alive = yes
					years_from_game_start >= 1
				}
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_tea
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}

	ai_value = {
		value = 9
		if = { # Let's make sure the AI builds at least one good income building
			limit = {
				NOR = {
					has_domicile_building_or_higher = japanese_fields_01
					has_domicile_building_or_higher = japanese_tea_plantation_01
				}
			}
			add = 20
		}
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_tea_plantation_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	internal_slots = 1
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_tea_plantation_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		elderly_health = @japanese_manor_health_add_1
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	on_complete = {
		scope:owner ?= {
			if = {
				limit = {
					is_alive = yes
					years_from_game_start >= 1
				}
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_tea
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_tea_plantation_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	internal_slots = 1
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_tea_plantation_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		elderly_health = @japanese_manor_health_add_1
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	on_complete = {
		scope:owner ?= {
			if = {
				limit = {
					is_alive = yes
					years_from_game_start >= 1
				}
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_tea
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_tea_plantation_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	internal_slots = 2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_tea_plantation_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		elderly_health = @japanese_manor_health_add_1
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	on_complete = {
		scope:owner ?= {
			if = {
				limit = {
					is_alive = yes
					years_from_game_start >= 1
				}
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_tea
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_tea_plantation_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	internal_slots = 2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_tea_plantation_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		elderly_health = @japanese_manor_health_add_1
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	on_complete = {
		scope:owner ?= {
			if = {
				limit = {
					is_alive = yes
					years_from_game_start >= 1
				}
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_tea
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_tea_plantation_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	internal_slots = 2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_tea_plantation_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		elderly_health = @japanese_manor_health_add_1
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	on_complete = {
		scope:owner ?= {
			if = {
				limit = {
					is_alive = yes
					years_from_game_start >= 1
				}
				random = {
					chance = 75
					add_character_flag = {
						flag = domicile_new_built_tea
						months = 1
					}
					trigger_event = {
						id = ep3_governor_yearly.3001
						days = 5
					}
				}
			}
		}
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_tea_plantation.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
# Internal
japanese_matcha_factory_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tea_plantation_01

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_matcha_factory_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_matcha_factory_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_matcha_factory_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_matcha_factory_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_matcha_factory_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_matcha_factory_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_matcha_factory_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_matcha_factory_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_matcha_factory_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_matcha_factory_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		domicile_monthly_gold_mult = @japanese_manor_monthly_gold_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_matcha_factory.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_medicine_house_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tea_plantation_01

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		learning = 1
		negate_health_penalty_add = @japanese_manor_health_add_1
		epidemic_resistance = @japanese_manor_epidemic_resistance_1
	}
	
	parameters = {
		estate_increase_physician_aptitude_1 = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_medicine_house_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_medicine_house_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = @japanese_manor_health_add_1
		epidemic_resistance = @japanese_manor_epidemic_resistance_1
	}

	parameters = {
		estate_increase_physician_aptitude_2 = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_medicine_house_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_medicine_house_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = @japanese_manor_health_add_1
		epidemic_resistance = @japanese_manor_epidemic_resistance_1
		negate_prowess_penalty_add = 1
	}

	parameters = {
		estate_increase_physician_aptitude_3 = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_medicine_house_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_medicine_house_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		learning = 1
		negate_health_penalty_add = @japanese_manor_health_add_1
		epidemic_resistance = @japanese_manor_epidemic_resistance_1
	}

	parameters = {
		estate_increase_physician_aptitude_4 = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_medicine_house_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_medicine_house_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = @japanese_manor_health_add_1
		epidemic_resistance = @japanese_manor_epidemic_resistance_1
	}

	parameters = {
		estate_increase_physician_aptitude_5 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_medicine_house_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_medicine_house_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		negate_health_penalty_add = @japanese_manor_health_add_1
		epidemic_resistance = @japanese_manor_epidemic_resistance_1
		negate_prowess_penalty_add = 1
	}

	parameters = {
		estate_increase_physician_aptitude_6 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_health.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_roastery_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tea_plantation_01

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_2
		character_capital_county_monthly_control_add = @japanese_manor_control_growth_factor_1

	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_roastery_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_roastery_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		character_capital_county_monthly_control_add = @japanese_manor_control_growth_factor_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_roastery_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_roastery_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		character_capital_county_monthly_control_add = @japanese_manor_control_growth_factor_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_roastery_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_roastery_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		character_capital_county_monthly_control_add = @japanese_manor_control_growth_factor_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_roastery_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_roastery_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		character_capital_county_monthly_control_add = @japanese_manor_control_growth_factor_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}
japanese_roastery_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_roastery_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_normal_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_tea }
				multiply = 0.75
				desc = raid_insight_tea
			}
		}
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		character_capital_county_monthly_control_add = @japanese_manor_control_growth_factor_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_roastery.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/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_rice_paddies"
	}
}

### Stables
japanese_stables_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	cost = {
		gold = {
			value = japanese_manor_external_building_high_cost_tier_1_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		character_travel_speed_mult = @japanese_manor_character_travel_speed_mult
		courtier_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_stable_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
japanese_stables_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_stables_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_high_cost_tier_2_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		character_travel_speed_mult = @japanese_manor_character_travel_speed_mult
		courtier_opinion = @japanese_manor_opinion_add_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_stable_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
japanese_stables_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_stables_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_high_cost_tier_3_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		character_travel_speed_mult = @japanese_manor_character_travel_speed_mult
		courtier_opinion = @japanese_manor_opinion_add_1
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_stable_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
japanese_stables_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_stables_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_high_cost_tier_4_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		character_travel_speed_mult = @japanese_manor_character_travel_speed_mult
		courtier_opinion = @japanese_manor_opinion_add_1
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_stable_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
japanese_stables_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_stables_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_high_cost_tier_5_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		character_travel_speed_mult = @japanese_manor_character_travel_speed_mult
		courtier_opinion = @japanese_manor_opinion_add_1
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_stable_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
japanese_stables_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_stables_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_external_building_high_cost_tier_6_value
			if = {
				limit = { has_character_modifier = raid_insight_stable }
				multiply = 0.75
				desc = raid_insight_stable
			}
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		character_travel_speed_mult = @japanese_manor_character_travel_speed_mult
		courtier_opinion = @japanese_manor_opinion_add_1
	}

	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}

	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_stable.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_stable_japanese.dds" 
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_stable_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_stable"
	}
}
# Internal
japanese_yabusame_ground_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stables_01

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archer_cavalry_screen_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_yabusame_ground_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_yabusame_ground_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archer_cavalry_screen_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_yabusame_ground_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_yabusame_ground_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archer_cavalry_screen_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_yabusame_ground_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_yabusame_ground_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archer_cavalry_screen_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	ai_value = {
		value = 8
		add = japanese_manor_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"
	}
}
japanese_yabusame_ground_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_yabusame_ground_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archer_cavalry_screen_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_yabusame_ground_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_yabusame_ground_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archer_cavalry_screen_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_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"
	}
}
japanese_farrier_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stables_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_farrier_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_farrier_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_farrier_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_farrier_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_farrier_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_farrier_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_farrier_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_farrier_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_farrier_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_farrier_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
		archer_cavalry_pursuit_mult = @japanese_manor_maa_effectiveness_mult_1
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_farrier.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_hunting_lodge_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_stables_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
	}

	parameters = {
		estate_cheaper_hunt_cost = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_hunt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_hunting_lodge_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_hunting_lodge_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
	}

	parameters = {
		estate_cheaper_hunt_cost = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_hunt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_hunting_lodge_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_hunting_lodge_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
	}

	parameters = {
		estate_cheaper_hunt_cost = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_hunt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_hunting_lodge_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_hunting_lodge_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
	}

	parameters = {
		estate_cheaper_hunt_cost = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_hunt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_hunting_lodge_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_hunting_lodge_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
	}

	parameters = {
		estate_cheaper_hunt_cost = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_hunt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_hunting_lodge_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_hunting_lodge_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		pursue_efficiency = @japanese_manor_pursue_efficiency_1
		movement_speed = @japanese_manor_movement_speed_1
	}

	parameters = {
		estate_cheaper_hunt_cost = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_hunt.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}

### Workshop
japanese_workshop_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_2
		domicile_build_speed = @japanese_manor_domicile_build_speed
		build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_workshop_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_workshop_01
	internal_slots = 1

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_build_speed = @japanese_manor_domicile_build_speed
		build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_workshop_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_workshop_02
	internal_slots = 1

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_build_speed = @japanese_manor_domicile_build_speed
		build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_workshop_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_workshop_03
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_build_speed = @japanese_manor_domicile_build_speed
		build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_workshop_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_workshop_04
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_build_speed = @japanese_manor_domicile_build_speed
		build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_workshop_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	previous_building = japanese_workshop_05
	internal_slots = 2

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_build_speed = @japanese_manor_domicile_build_speed
		build_speed = @japanese_manor_domicile_build_speed
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_workshop.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
# Internal
japanese_bowyer_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_workshop_01

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_1_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		archers_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archers_damage_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_bow_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_the_stump.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bowyer_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bowyer_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_2_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		archers_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archers_damage_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_bow_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_the_stump.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bowyer_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bowyer_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_3_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		archers_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archers_damage_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_bow_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_the_stump.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bowyer_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bowyer_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_4_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		archers_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archers_damage_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_bow_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_the_stump.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bowyer_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bowyer_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_5_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		archers_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archers_damage_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_bow_artifact_parameter_1 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_the_stump.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_bowyer_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_bowyer_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_internal_building_normal_cost_tier_6_value
			if = {
				limit = { has_realm_law_flag = cheaper_japanese_domicile_military_buildings }
				multiply = 0.75
			}
		}
	}

	character_modifier = {
		archers_maintenance_mult = @japanese_manor_maa_maintenance_mult_1
		archer_cavalry_damage_mult = @japanese_manor_maa_effectiveness_mult_1
		archers_damage_mult = @japanese_manor_maa_effectiveness_mult_1
	}

	parameters = {
		cheaper_commission_bow_artifact_parameter_1 = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_the_stump.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_lacquerer_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_workshop_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	parameters = {
		cheaper_commission_furniture_artifact_parameter_1 = yes
		increased_gift_opinion = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_lacquerer_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_lacquerer_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	parameters = {
		cheaper_commission_furniture_artifact_parameter_1 = yes
		increased_gift_opinion = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_lacquerer_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_lacquerer_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	parameters = {
		cheaper_commission_furniture_artifact_parameter_1 = yes
		increased_gift_opinion = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_lacquerer_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_lacquerer_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	parameters = {
		cheaper_commission_furniture_artifact_parameter_1 = yes
		increased_gift_opinion = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_lacquerer_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_lacquerer_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	parameters = {
		cheaper_commission_furniture_artifact_parameter_1 = yes
		increased_gift_opinion = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_lacquerer_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_lacquerer_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	parameters = {
		cheaper_commission_furniture_artifact_parameter_1 = yes
		increased_gift_opinion = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_lacquerer.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_carpenter_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_workshop_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_carpenter_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_carpenter_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_carpenter_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_carpenter_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_carpenter_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_carpenter_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_carpenter_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_carpenter_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}
japanese_carpenter_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_carpenter_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		build_gold_cost = @japanese_manor_domicile_build_gold_cost
		domicile_build_gold_cost = @japanese_manor_domicile_build_gold_cost
		holding_build_gold_cost = @japanese_manor_holding_build_gold_cost
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_carpenter.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_workshop_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_workshop_japanese_mask.png"
		soundeffect = "event:/DLC/EP3/SFX/UI/domicile_buildings/ep3_ui_domicile_buildings_workshop"
	}
}

### Tea House
japanese_tea_house_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	can_construct = {
		custom_tooltip = {
			text = ceremony_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_tea_house }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_2
		owned_personal_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		diplomacy_per_prestige_level = 1
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_tea_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_tea_house"
	}
}
japanese_tea_house_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_tea_house_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
		custom_tooltip = {
			text = ceremony_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_tea_house }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		owned_personal_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_tea_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_tea_house"
	}
}
japanese_tea_house_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_tea_house_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
		custom_tooltip = {
			text = ceremony_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_tea_house }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		owned_personal_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_tea_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_tea_house"
	}
}
japanese_tea_house_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_tea_house_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
		custom_tooltip = {
			text = ceremony_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_tea_house }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		owned_personal_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
		diplomacy_per_prestige_level = 1
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_tea_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_tea_house"
	}
}
japanese_tea_house_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_tea_house_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
		custom_tooltip = {
			text = ceremony_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_tea_house }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		owned_personal_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_tea_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_tea_house"
	}
}
japanese_tea_house_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_tea_house_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
		custom_tooltip = {
			text = ceremony_house_power_tt
			house = { has_house_power_parameter = unlocks_japanese_manor_tea_house }
		}
	}

	cost = {
		gold = { value = japanese_manor_external_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		owned_personal_scheme_success_chance_growth_add = @japanese_manor_owned_scheme_success_growth_add
	}
	
	parameters = {
		estate_unlock_tea_ceremony = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_tea.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_tea_house_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_tea_house_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_tea_house"
	}
}
# Internal
japanese_guest_house_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tea_house_01

	cost = {
		gold = {
			value = japanese_manor_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 = {
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		estate_unlock_ingratiate_family_interaction = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guest.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_guest_house_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_guest_house_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guest.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_guest_house_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_guest_house_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
		max_personal_schemes_add = 1
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guest.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_guest_house_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_guest_house_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guest.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_guest_house_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_guest_house_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guest.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_guest_house_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_guest_house_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

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

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_guest.dds"
		texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_villa_byzantine_mask.dds"
	}
}
japanese_performance_stage_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tea_house_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}

	parameters = {
		estate_improved_feast_opinion = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_performance_stage_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_performance_stage_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_performance_stage_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_performance_stage_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_performance_stage_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_performance_stage_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_performance_stage_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_performance_stage_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_performance_stage_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_performance_stage_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		dynasty_house_opinion = @japanese_manor_opinion_add_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_performance.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_asobi_colony_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_tea_house_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
	}

	parameters = {
		increased_musician_aptitude_1 = yes
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_asobi.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_asobi_colony_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_asobi_colony_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}

	parameters = {
		increased_musician_aptitude_2 = yes
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_asobi.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_asobi_colony_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_asobi_colony_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}

	parameters = {
		increased_musician_aptitude_3 = yes
	}

	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_asobi.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_asobi_colony_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_asobi_colony_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}

	parameters = {
		increased_musician_aptitude_4 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_asobi.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_asobi_colony_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_asobi_colony_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		personal_scheme_phase_duration_add = @japanese_manor_owned_scheme_phase_duration_add
		owned_personal_scheme_success_chance_add = @japanese_manor_owned_scheme_success_chance_add
	}

	parameters = {
		increased_musician_aptitude_5 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_asobi.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_asobi_colony_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_asobi_colony_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {

	}

	parameters = {
		increased_musician_aptitude_6 = yes
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_asobi.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}

### Garden
japanese_garden_01 = {
	construction_time = @japanese_manor_external_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1

	cost = {
		gold = {
			value = japanese_manor_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_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		stress_gain_mult = @japanese_manor_stress_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_1 = yes
	}

	ai_value = {
		value = 9
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_japanese"
	}
}
japanese_garden_02 = {
	construction_time = @japanese_manor_external_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_garden_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_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_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		stress_gain_mult = @japanese_manor_stress_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_2 = yes
	}

	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_japanese"
	}
}
japanese_garden_03 = {
	construction_time = @japanese_manor_external_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	internal_slots = 1
	previous_building = japanese_garden_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_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_gold_add = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		stress_gain_mult = @japanese_manor_stress_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_3 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_japanese"
	}
}
japanese_garden_04 = {
	construction_time = @japanese_manor_external_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_garden_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		stress_gain_mult = @japanese_manor_stress_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_4 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_japanese"
	}
}
japanese_garden_05 = {
	construction_time = @japanese_manor_external_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_garden_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		stress_gain_mult = @japanese_manor_stress_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_5 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_japanese"
	}
}
japanese_garden_06 = {
	construction_time = @japanese_manor_external_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	internal_slots = 2
	previous_building = japanese_garden_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = @japanese_manor_monthly_gold_add_0
		domicile_monthly_prestige_add = @japanese_manor_monthly_prestige_add_1
		stress_gain_mult = @japanese_manor_stress_gain_mult_1
	}

	parameters = {
		increased_gardener_aptitude_6 = yes
	}
	
	ai_value = {
		value = 8
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
		soundeffect = "event:/DLC/EP4/SFX/UI/domicile_buildings/tgp_ui_domicile_building_garden_japanese"
	}
}
# Internal
japanese_rock_garden_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_garden_01

	cost = {
		gold = {
			value = japanese_manor_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 = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_2
		stress_loss_mult = @japanese_manor_stress_loss_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_rock_garden_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rock_garden_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		stress_loss_mult = @japanese_manor_stress_loss_mult_1
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_rock_garden_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rock_garden_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		stress_loss_mult = @japanese_manor_stress_loss_mult_1
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_rock_garden_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rock_garden_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		stress_loss_mult = @japanese_manor_stress_loss_mult_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_rock_garden_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rock_garden_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = {
			value = japanese_manor_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 = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		stress_loss_mult = @japanese_manor_stress_loss_mult_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_rock_garden_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_rock_garden_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

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

	character_modifier = {
		domicile_monthly_piety_add = @japanese_manor_monthly_piety_add_1
		stress_loss_mult = @japanese_manor_stress_loss_mult_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_rock_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_kazan_display_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_garden_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_2
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_kazan_display.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_kazan_display_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_kazan_display_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_kazan_display.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_kazan_display_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_kazan_display_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_kazan_display.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_kazan_display_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_kazan_display_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_kazan_display.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_kazan_display_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_kazan_display_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_kazan_display.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_kazan_display_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_kazan_display_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_influence_add = @japanese_manor_monthly_influence_add_1
		domicile_monthly_prestige_mult = @japanese_manor_monthly_prestige_mult_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_kazan_display.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_orchard_01 = {
	construction_time = @japanese_manor_internal_construction_time_tier_1
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_garden_01

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_1_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_factor_1
	}
	
	ai_value = {
		value = 7
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_orchard_02 = {
	construction_time = @japanese_manor_internal_construction_time_tier_2
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_orchard_01

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_02 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_2_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_factor_1
	}
	
	ai_value = {
		value = 6
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_orchard_03 = {
	construction_time = @japanese_manor_internal_construction_time_tier_3
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_orchard_02

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_03 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_3_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_factor_1
	}
	
	ai_value = {
		value = 5
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_orchard_04 = {
	construction_time = @japanese_manor_internal_construction_time_tier_4
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_orchard_03

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_04 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_4_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_factor_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_orchard_05 = {
	construction_time = @japanese_manor_internal_construction_time_tier_5
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_orchard_04

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_05 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_5_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_factor_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
japanese_orchard_06 = {
	construction_time = @japanese_manor_internal_construction_time_tier_6
	allowed_domicile_types = { japanese_manor }
	slot_type = internal
	previous_building = japanese_orchard_05

	can_construct = {
		domicile ?= { has_domicile_building_or_higher = japanese_manor_main_06 }
	}

	cost = {
		gold = { value = japanese_manor_internal_building_normal_cost_tier_6_value }
	}

	character_modifier = {
		domicile_monthly_gold_add = @japanese_manor_monthly_gold_add_0
		character_capital_county_monthly_development_growth_add = @japanese_manor_development_growth_factor_1
	}
	
	ai_value = {
		value = 4
		add = japanese_manor_building_ai_modifier_value
	}
	
	asset = {
		icon = "gfx/interface/icons/domicile_building/domicile_building_fruit_garden.dds"
		texture =  "gfx/interface/window_domiciles/estate_building_garden_japanese.dds"
		intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_garden_japanese_mask.png"
	}
}
