
palace = {

	rename_window = house

	illustration = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
	icon = "gfx/interface/icons/flat_icons/urbaner.dds"
	map_pin_texture = "gfx/interface/icons/map_icons/map_icon_urban.dds"
	map_pin_anchor = up
	map_pin_lobby = yes

	move_with_realm_capital = yes
	can_move_manually = no
	move_cost = {
		gold = {
			value = {
				value = 20
				format = "BASE_VALUE_FORMAT"
				desc = "BASE_VALUE"
			}
			if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = estate_main_05 }
				}
				add = 80
			}
			else_if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = estate_main_04 }
				}
				add = 60
			}
			else_if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = estate_main_03 }
				}
				add = 40
			}
			else_if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = estate_main_02 }
				}
				add = 20
			}
		}
	}

	base_external_slots = 2

	domicile_building_slots = {
		external_slot_1 = {
			position = { 19.7% 5.5% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_01.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_01_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_02_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_05_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_4 = {
			position = { 49.0% 2.5% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_04_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_05_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_03_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_03_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_03_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		main_slot = {
			slot_type = main
			position = { 28.2% 13.2% }
			size = { 28% 34.5% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_01.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_01_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = hills
							terrain = mountains
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_byzantine_mask.png"
			}
		}

		external_slot_2 = {
			position = { 4% 20% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_02_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_06_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_06_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_3 = {
			position = { 14% 46% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_03_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_04_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_04_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_04_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_04_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_5 = {
			position = { 64% 29% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_05_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_03_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_05_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_02_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_02_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_6 = {
			position = { 43% 52% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_02_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_05_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}
	}

	# Backgrounds
	domicile_asset = {
		trigger = {
			domicile_location.culture = {
				has_graphical_east_asia_culture_group_trigger = yes
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_steppe_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_steppe_terrain_foreground.dds"
		ambience = "event:/DLC/CE2/Ambience/2D/Domicile/ce2_amb_2d_domicile_yurt"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				this = root.owner.top_liege.capital_province
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_urban_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_urban_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_byzantine_urban"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = jungle
					terrain = wetlands
					terrain = floodplains
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_jungle_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_jungle_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_wetlands"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = drylands
					terrain = desert
					terrain = desert_mountains
					terrain = oasis
					terrain = steppe
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_dry_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_dry_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_dry_lands"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = tells
					terrain = hills
					terrain = mountains
					terrain = terraced_hills
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_rough_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_rough_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_rough_lands"
	}

	domicile_asset = {
		background = "gfx/interface/window_domiciles/estate_background_green_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_green_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_green_lands"
	}
}
minority_community = {

	rename_window = primary_title

	illustration = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
	icon = "gfx/interface/icons/flat_icons/minority.dds"
	map_pin_texture = "gfx/interface/icons/map_icons/map_icon_minority.dds"
	map_pin_anchor = up
	map_pin_lobby = yes

	travel = yes
	provisions = yes

	can_move_manually = yes
	culture_and_faith = yes
	move_cooldown = { days = 9125 }
	move_cost = {
		gold = {
			value = {
				value = 300
				format = "BASE_VALUE_FORMAT"
				desc = "BASE_VALUE"
			}
			if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = minority_community_main_05 }
				}
				add = 800
			}
			else_if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = minority_community_main_04 }
				}
				add = 600
			}
			else_if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = minority_community_main_03 }
				}
				add = 400
			}
			else_if = {
				limit = {
					domicile ?= { has_domicile_building_or_higher = minority_community_main_02 }
				}
				add = 200
			}
		}
	}

	base_external_slots = 2

	map_entity = {
		trigger = {
			owner ?= { is_alive = yes }
			owner.culture = {
				OR = {
					has_graphical_iranian_culture_group_trigger = yes
					has_graphical_mena_culture_group_trigger = yes
					has_graphical_steppe_culture_group_trigger = yes
					has_graphical_african_culture_group_trigger = yes
				}
			}
		}
		reference = "building_mena_city_01_entity"
	}
	map_entity = {
		trigger = {
			owner ?= { is_alive = yes }
			owner.culture = {
				has_graphical_india_culture_group_trigger = yes
			}
		}
		reference = "building_india_city_01_entity"
	}
	map_entity = {
		trigger = {
			owner ?= { is_alive = yes }
		}
		reference = "western_city_01_a_entity"
	}
	
	domicile_temperament_low_modifier = {
		name = domicile_temperament_low
		army_damage_mult = -0.2
#		contract_scheme_phase_duration_add = 10
#		domicile_monthly_gold_mult = -0.25
#		domicile_monthly_piety_gain_mult = -0.25
#		domicile_monthly_prestige_gain_mult = -0.25
#		monthly_piety_gain = -0.3
#		monthly_prestige_gain = -0.3
		army_maintenance_mult = 0.2
		scale = {
			add = default_temperament_low_value_scale
			min = 1
		}
	}
	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
#		domicile_monthly_gold_mult = 0.25
#		domicile_monthly_piety_gain_mult = 0.25
#		domicile_monthly_prestige_gain_mult = 0.25
#		monthly_piety_gain = 0.3
#		monthly_prestige_gain = 0.3
		army_maintenance_mult = 0.2
		scale = {
			add = default_temperament_high_value_scale
			min = 1
		}
	}
	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		army_toughness_mult = 0.05
		owned_contract_scheme_success_chance_growth_add = 0.4
		scale = {
			add = default_temperament_high_value_scale
			min = 1
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		tolerance_advantage_mod = 1
		scale = {
			add = default_temperament_high_value_scale
			min = 1
			max = 10
			if = {
				limit = {
					NOT = { has_perk = faithful_perk }
				}
				multiply = 0
			}
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		knight_effectiveness_mult = 0.1
		scale = {
			add = default_temperament_high_value_scale
			min = 1
			if = {
				limit = {
					NOT = { has_perk = absolute_control_perk }
				}
				multiply = 0
			}
		}
	}


	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		personal_scheme_phase_duration_add = -25
		scale = {
			add = default_temperament_high_value_scale
			min = 1
			if = {
				limit = {
					NOT = { has_perk = writing_history_perk }
				}
				multiply = 0
			}
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		monthly_piety = 0.4
		scale = {
			add = {
				every_courtier = {
					limit = {
						faith = root.faith
					}
					add = 1
				}
			}
			if = {
				limit = {
					NOT = { has_perk = religious_icon_perk }
				}
				multiply = 0
			}
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		diplomacy = 0.34
		intrigue = 0.34
		martial = 0.34
		stewardship = 0.34
		learning = 0.34
		scale = {
			add = {
				every_courtier = {
					limit = {
						is_imprisoned = no
					}
					faith = {
						if = {
							limit = {
								NOT = { is_in_list = unique_faiths }
								add_to_temporary_list = unique_faiths
							}
						}
					}
				}
				every_in_list = {
					list = unique_faiths
					add = 1
				}
				max = 15
			}
			if = {
				limit = {
					NOT = { has_perk = apostate_perk }
				}
				multiply = 0
			}
		}
	}
	domicile_building_slots = {
		external_slot_1 = {
			position = { 19.7% 5.5% }
			size = { 15% 30% }

			### EMPTY SLOT GREEN TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = tells
							terrain = hills
							terrain = plains
							terrain = forest
							terrain = farmlands
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_mask.png"
			}

			### EMPTY SLOT ROUGH TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = taiga
							terrain = steppe
							terrain = drylands
							terrain = mountains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough_mask.png"
			}

			### EMPTY SLOT WETLANDS TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_mask.png"
			}

			### EMPTY SLOT JUNGLE TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						terrain = jungle
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands_mask.png"
			}

			### EMPTY SLOT SNOW TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							has_province_modifier = winter_normal_modifier
							has_province_modifier = winter_harsh_modifier
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands_mask.png"
			}

			### EMPTY SLOT DESERT TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_4 = {
			position = { 49.0% 2.5% }
			size = { 15% 30% }

			### EMPTY SLOT ASIAN
			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/asian_empty_slot_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_04_mask.png"
			}

			### EMPTY SLOT SNOW MOUNTAIN TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						terrain = mountains

						OR = {
							has_province_modifier = winter_normal_modifier
							has_province_modifier = winter_harsh_modifier
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02_mask.png"
			}

			### EMPTY SLOT SNOW TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							has_province_modifier = winter_normal_modifier
							has_province_modifier = winter_harsh_modifier

						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02_mask.png"
			}

			### EMPTY SLOT GREEN TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = tells
							terrain = hills
							terrain = plains
							terrain = forest
							terrain = farmlands
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02_mask.png"
			}

			### EMPTY SLOT ROUGH TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = taiga
							terrain = steppe
							terrain = drylands
							terrain = mountains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough_02_mask.png"
			}

			### EMPTY SLOT WETLANDS TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02_mask.png"
			}

			### EMPTY SLOT JUNGLE TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						terrain = jungle
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_jungle_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_jungle_03_mask.png"
			}

			### EMPTY SLOT DESERT TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands_03_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		main_slot = {
			slot_type = main
			position = { 28.2% 13.2% }
			size = { 28% 34.5% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_01.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_01_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = hills
							terrain = mountains
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_byzantine_mask.png"
			}
		}

		external_slot_2 = {
			position = { 4% 20% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_02_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_06_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_06_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_3 = {
			position = { 14% 46% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_03_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_04_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_04_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_04_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_04_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_5 = {
			position = { 64% 29% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_05_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_03_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_05_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_02_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_02_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_6 = {
			position = { 43% 52% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_02_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_05_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}
	}

	domicile_asset = {
		trigger = {
			domicile_location.culture = {
				has_graphical_east_asia_culture_group_trigger = yes
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_steppe_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_steppe_terrain_foreground.dds"
		ambience = "event:/DLC/CE2/Ambience/2D/Domicile/ce2_amb_2d_domicile_yurt"
	}


	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = jungle
					terrain = wetlands
					terrain = floodplains
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_jungle_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_jungle_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_wetlands"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = drylands
					terrain = desert
					terrain = desert_mountains
					terrain = oasis
					terrain = steppe
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_dry_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_dry_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_dry_lands"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = tells
					terrain = hills
					terrain = mountains
					terrain = terraced_hills
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_rough_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_rough_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_rough_lands"
	}

	domicile_asset = {
		background = "gfx/interface/window_domiciles/estate_background_green_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_green_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_green_lands"
	}
}

farmstead = {
	rename_window = house

	illustration = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
	icon = "gfx/interface/icons/flat_icons/farmer.dds"
	map_pin_texture = "gfx/interface/icons/map_icons/map_icon_farmer.dds"
	map_pin_anchor = up
	map_pin_lobby = yes

	herd = yes
	travel = yes
	culture_and_faith = yes

	move_with_realm_capital = yes
	can_move_manually = no

	base_external_slots = 2

	map_entity = {
		trigger = {
			owner ?= { is_alive = yes }
			owner.culture = {
				OR = {
					has_graphical_iranian_culture_group_trigger = yes
					has_graphical_mena_culture_group_trigger = yes
					has_graphical_steppe_culture_group_trigger = yes
					has_graphical_african_culture_group_trigger = yes
				}
			}
		}
		reference = "building_mena_city_01_entity"
	}
	map_entity = {
		trigger = {
			owner ?= { is_alive = yes }
			owner.culture = {
				has_graphical_india_culture_group_trigger = yes
			}
		}
		reference = "building_india_city_01_entity"
	}
	map_entity = {
		trigger = {
			owner ?= { is_alive = yes }
		}
		reference = "western_city_01_a_entity"
	}
	
	domicile_temperament_low_modifier = {
		name = domicile_temperament_low
		army_damage_mult = -0.2
		contract_scheme_phase_duration_add = 10
#		domicile_monthly_gold_mult = -0.25
#		domicile_monthly_piety_gain_mult = -0.25
#		domicile_monthly_prestige_gain_mult = -0.25
#		monthly_piety_gain = -0.3
#		monthly_prestige_gain = -0.3
		army_maintenance_mult = 0.2
		scale = {
			add = default_temperament_low_value_scale
			min = 1
		}
	}
	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
#		domicile_monthly_gold_mult = 0.25
#		domicile_monthly_piety_gain_mult = 0.25
#		domicile_monthly_prestige_gain_mult = 0.25
#		monthly_piety_gain = 0.3
#		monthly_prestige_gain = 0.3
		army_maintenance_mult = 0.2
		scale = {
			add = default_temperament_high_value_scale
			min = 1
		}
	}
	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		army_toughness_mult = 0.05
		owned_contract_scheme_success_chance_growth_add = 0.4
		scale = {
			add = default_temperament_high_value_scale
			min = 1
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		tolerance_advantage_mod = 1
		scale = {
			add = default_temperament_high_value_scale
			min = 1
			max = 10
			if = {
				limit = {
					NOT = { has_perk = faithful_perk }
				}
				multiply = 0
			}
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		knight_effectiveness_mult = 0.1
		scale = {
			add = default_temperament_high_value_scale
			min = 1
			if = {
				limit = {
					NOT = { has_perk = absolute_control_perk }
				}
				multiply = 0
			}
		}
	}


	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		personal_scheme_phase_duration_add = -25
		scale = {
			add = default_temperament_high_value_scale
			min = 1
			if = {
				limit = {
					NOT = { has_perk = writing_history_perk }
				}
				multiply = 0
			}
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		monthly_piety = 0.4
		scale = {
			add = {
				every_courtier = {
					limit = {
						faith = root.faith
					}
					add = 1
				}
			}
			if = {
				limit = {
					NOT = { has_perk = religious_icon_perk }
				}
				multiply = 0
			}
		}
	}

	domicile_temperament_high_modifier = {
		name = domicile_temperament_high
		diplomacy = 0.34
		intrigue = 0.34
		martial = 0.34
		stewardship = 0.34
		learning = 0.34
		scale = {
			add = {
				every_courtier = {
					limit = {
						is_imprisoned = no
					}
					faith = {
						if = {
							limit = {
								NOT = { is_in_list = unique_faiths }
								add_to_temporary_list = unique_faiths
							}
						}
					}
				}
				every_in_list = {
					list = unique_faiths
					add = 1
				}
				max = 15
			}
			if = {
				limit = {
					NOT = { has_perk = apostate_perk }
				}
				multiply = 0
			}
		}
	}
	domicile_building_slots = {
		external_slot_1 = {
			position = { 19.7% 5.5% }
			size = { 15% 30% }

			### EMPTY SLOT GREEN TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = tells
							terrain = hills
							terrain = plains
							terrain = forest
							terrain = farmlands
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_mask.png"
			}

			### EMPTY SLOT ROUGH TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = taiga
							terrain = steppe
							terrain = drylands
							terrain = mountains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough_mask.png"
			}

			### EMPTY SLOT WETLANDS TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_mask.png"
			}

			### EMPTY SLOT JUNGLE TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						terrain = jungle
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands_mask.png"
			}

			### EMPTY SLOT SNOW TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							has_province_modifier = winter_normal_modifier
							has_province_modifier = winter_harsh_modifier
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_wetlands_mask.png"
			}

			### EMPTY SLOT DESERT TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_4 = {
			position = { 49.0% 2.5% }
			size = { 15% 30% }

			### EMPTY SLOT ASIAN
			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/asian_empty_slot_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_04_mask.png"
			}

			### EMPTY SLOT SNOW MOUNTAIN TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						terrain = mountains

						OR = {
							has_province_modifier = winter_normal_modifier
							has_province_modifier = winter_harsh_modifier
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02_mask.png"
			}

			### EMPTY SLOT SNOW TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							has_province_modifier = winter_normal_modifier
							has_province_modifier = winter_harsh_modifier

						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_snow_02_mask.png"
			}

			### EMPTY SLOT GREEN TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = tells
							terrain = hills
							terrain = plains
							terrain = forest
							terrain = farmlands
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02_mask.png"
			}

			### EMPTY SLOT ROUGH TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = taiga
							terrain = steppe
							terrain = drylands
							terrain = mountains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_rough_02_mask.png"
			}

			### EMPTY SLOT WETLANDS TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_green_02_mask.png"
			}

			### EMPTY SLOT JUNGLE TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						terrain = jungle
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_jungle_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_jungle_03_mask.png"
			}

			### EMPTY SLOT DESERT TERRAIN
			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/laamp_building_empty_slot_drylands_03_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		main_slot = {
			slot_type = main
			position = { 28.2% 13.2% }
			size = { 28% 34.5% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_01.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_01_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = hills
							terrain = mountains
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_grain_fields_byzantine_mask.png"
			}

			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_manor_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_manor_construction_byzantine_mask.png"
			}
		}

		external_slot_2 = {
			position = { 4% 20% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_02_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_06_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_06_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_3 = {
			position = { 14% 46% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_03_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_04_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_04_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_04_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_04.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_04_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_5 = {
			position = { 64% 29% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_05_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty_03.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_03_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_05_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_02_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_02_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}

		external_slot_6 = {
			position = { 43% 52% }
			size = { 15% 30% }

			empty_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/yurt_empty_slot_06.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/yurt_empty_slot_06_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = jungle
							terrain = wetlands
							terrain = floodplains
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_jungle_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_jungle_empty_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = drylands
							terrain = desert
							terrain = desert_mountains
							terrain = oasis
							terrain = steppe
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_drylands_empty_02.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_drylands_empty_02_mask.png"
			}

			empty_slot_asset = {
				trigger = {
					domicile_location = {
						OR = {
							terrain = mountains
							terrain = hills
							terrain = terraced_hills
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_rough_empty_05.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_rough_empty_05_mask.png"
			}

			empty_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_grassland_empty.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_grassland_empty_mask.png"
			}


			# Under Construction
			construction_slot_asset = {
				trigger = {
					owner.culture = {
						OR = {
							has_graphical_chinese_culture_group_trigger = yes
							has_graphical_japanese_culture_group_trigger = yes
						}
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_chinese.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_chinese_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_mena_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_mena.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_mena_mask.png"
			}
			construction_slot_asset = {
				trigger = {
					domicile_location.culture = {
						has_graphical_western_culture_group_trigger = yes
					}
				}
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_western.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_western_mask.png"
			}
			construction_slot_asset = {
				icon = "gfx/interface/icons/flat_icons/plus.dds"
				texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine.dds"
				intersectionmask_texture = "gfx/interface/window_domiciles/estate_building_construction_byzantine_mask.png"
			}
		}
	}

	domicile_asset = {
		trigger = {
			domicile_location.culture = {
				has_graphical_east_asia_culture_group_trigger = yes
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_steppe_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_steppe_terrain_foreground.dds"
		ambience = "event:/DLC/CE2/Ambience/2D/Domicile/ce2_amb_2d_domicile_yurt"
	}


	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = jungle
					terrain = wetlands
					terrain = floodplains
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_jungle_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_jungle_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_wetlands"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = drylands
					terrain = desert
					terrain = desert_mountains
					terrain = oasis
					terrain = steppe
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_dry_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_dry_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_dry_lands"
	}

	domicile_asset = {
		trigger = {
			domicile_location = {
				OR = {
					terrain = tells
					terrain = hills
					terrain = mountains
					terrain = terraced_hills
				}
			}
		}
		background = "gfx/interface/window_domiciles/estate_background_rough_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_rough_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_rough_lands"
	}

	domicile_asset = {
		background = "gfx/interface/window_domiciles/estate_background_green_terrain.dds"
		foreground = "gfx/interface/window_domiciles/estate_background_green_terrain_foreground.dds"
		ambience = "event:/DLC/EP3/SFX/Ambience/2D/Domicile/ep3_amb_2d_domicile_green_lands"
	}
}