﻿# Regular Districts

### Economy ###
guild_district = {
	primary_building = pb_guild_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= {
				has_graphical_east_asia_culture_group_trigger = yes
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/gdp_artisans_street_asia_crowd.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_building_gfx = iranian_building_gfx }
				culture ?= { has_building_gfx = mena_building_gfx }
				culture ?= { has_building_gfx = african_building_gfx }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/gdp_artisans_street_mena_crowd.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/gdp_artisans_street_india_crowd.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/gdp_artisans_street_western_crowd.dds"
	}


	can_be_replaced = yes
	
	unlocked_by = urban_housing_district

	buildings = {
		leclerc_dyeworks_01
		soapmaking_guilds_01
		brewers_guild_1
		weavers_guild_1
		guild_carpenters_1
		guild_butchery_1
		guild_builders_1
		guild_tannery_1
		guild_parchment_workshop_1
		blacksmiths_guild_1
		bladesmiths_of_toledo_1
		guild_textiles_silk_1
		guild_glassmakers_1
		guild_goldsmiths_1
		guild_hall_1
		luxury_carpet_workshop_1
		guild_notary_1
		guild_court_of_law_1
		scribe_shop_1
		scholarly_guilds_1
		guild_charities_1
		guild_hospitals_1
	}
}

market_district = {
	primary_building = pb_market_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_market_asia_crowd.dds"
	}
	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east_crowd.dds"
	}
	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_east_crowd.dds"
	}
	#Italy
	background = {
		trigger = {
			OR = {
				geographical_region = world_europe_south_italy
				culture ?= { has_cultural_pillar = heritage_latin }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/gdp_italian_market_crowd.dds"
	}
	#Mediterranean
	background = {
		trigger = {
			culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_market_crowd.dds"
	}
	#Steppe & Norse
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				culture ?= { has_graphical_norse_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/market_tribal_crowd.dds"
	}
	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/market_west_crowd.dds"
	}

	can_be_replaced = yes
	
	unlocked_by = urban_housing_district

	buildings = {
		day_market_1
		livestock_market_1
		fabric_market_1
		tailor_shops_1
		merchant_lodging_houses_1
		moneychangers_1
		market_court_1
		wholesale_market_1
		high_street_market_1
		caravanserai_1
	}
}

port_district = {
	primary_building = pb_port_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_docks_asia.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_docks.dds"
	}

	#Steppe & Norse
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_steppe_culture_group_trigger = yes }
				culture ?= { has_graphical_norse_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_docks_tribal.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/docks.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		port_district_trigger = yes
		trigger_if = {
			limit = { has_holding_type = tribal_holding }
			culture = { has_cultural_parameter = port_district_enabled_for_tribals }
		}
	}

	can_construct_potential = {
		port_district_trigger = yes
		trigger_if = {
			limit = { has_holding_type = tribal_holding }
			culture = { has_cultural_parameter = port_district_enabled_for_tribals }
		}
	}
	
	unlocked_by = urban_housing_district

	show_disabled = yes

	buildings = {
		shipyards_1
		wharf_1
		victualing_quarter_1
		customs_house_1
		sailors_taverns_1
		foreign_trade_quarter_1
		maritime_court_1
	}
}

### Fortification/Control ###
border_forts_district = {
	primary_building = pb_border_forts_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/holding_types/tgp_castle_china.dds"
	}
	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/holding_types/castle_india.dds"
	}
	#Iranian
	background = {
		trigger = {
			culture ?= { has_graphical_iranian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/holding_types/fp3_castle_iranian.dds"
	}
	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/holding_types/castle_mena.dds"
	}
	#Iberian
	background = {
		trigger = {
			culture ?= { has_graphical_iberian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/holding_types/fp2_castle_iberian.dds"
	}
	#Mediterranean
	background = {
		trigger = {
			culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/holding_types/castle_mediterranean.dds"
	}
	#Norse
	background = {
		trigger = {
			culture ?= { has_graphical_norse_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/holding_types/fp1_castle_norse.dds"
	}
	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/holding_types/kcd_castle_trosky.dds"
	}

	can_be_replaced = yes

	can_construct_showing_failures_only = {
		building_fortification_tribal_trigger = yes
	}

	can_construct_potential = {
		county = {
			this != scope:holder.top_liege.capital_county
			any_neighboring_county = {
				exists = holder
				holder.top_liege != scope:holder.top_liege
			}
		}
	}

	buildings = {
		watchtowers_1
		scout_camps_1
		toll_gates_1
		militia_musterhouses_1
		victualing_depots_1
		palisaded_villages_1
		marcher_garrisons_1
		border_bulwarks_1
	}
}

walls_district = {
	primary_building = pb_walls_01
	
	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_indian.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_courtyard_mena.dds"
	}

	#Western
	background = {
		trigger = {
			culture ?= { has_graphical_western_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/courtyard.dds"
	}

	#Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep3_city_gate.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		is_county_capital = yes
	}

	can_construct_showing_failures_only = {
		building_requirement_tribal = no
		building_fortification_tribal_trigger = yes
		is_county_capital = yes
	}

	buildings = {
		gatehouses_1
		borghi_1
		moats_1
		ramparts_1
		city_watch_1
		outer_walls_1
		wall_wardens_offices_1
		ceremony_office_1
		bulwarks_and_gun_loops_1
	}
}

### Military ###
military_district = {
	primary_building = pb_military_01
	
	#Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/armory.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		is_county_capital = yes
	}

	can_construct_potential = {
		is_county_capital = yes
	}

	show_disabled = yes

	buildings = {
		mustering_grounds_1
		regimental_fort_1
		jungle_fort_1
		militia_camps_1
		archery_ranges_1
		cavalry_stables_1
		horse_archer_paddocks_1
		armorer_1
		heavy_cavalry_compound_1
		military_infirmaries_1
		gunsmiths_1
		elephantry_barracks_1
		camelry_compound_1
		workers_camps_1
		siegecraft_academies_1
		air_dock_01
		chemistry_workshop_01
		powder_mills_1
		surveyors_hall_1
	}
}

### Civic/Capital ###
bureaucratic_district = {
	primary_building = pb_bureaucratic_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_examination_room.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_study_indian.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_university_mena.dds"
	}

	#Mediterranean
	background = {
		trigger = {
			culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_study.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/study.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		bureaucratic_district_trigger = yes
		custom_tooltip = {
			text = bureaucratic_district_ledger_or_administrative_trigger
			trigger_if = {
				limit = {
					province_owner = { NOT = { government_has_flag = government_is_administrative } }
				}
				culture = { has_innovation = innovation_ledger }
			}
		}
		#Kingdom Capital - But can be Vassal Kingdom
	}

	can_construct_potential = {
		bureaucratic_district_trigger = yes
		custom_tooltip = {
			text = bureaucratic_district_ledger_or_administrative_trigger
			trigger_if = {
				limit = {
					province_owner = { NOT = { government_has_flag = government_is_administrative } }
				}
				culture = { has_innovation = innovation_ledger }
			}
		}
	}

	show_disabled = yes

	buildings = {
		city_archive_1
		bureaucratic_mint_1
		postmasters_office_1
		census_register_1
		printing_press_1
		court_of_law_1
		notary_1
		diwan_al_zimam_1
		administrative_palace_1
		capital_magistracy_1
		college_of_arms_1
		family_lineage_archive_1
	}
}

household_district = {
	primary_building = pb_royal_palace_01
	
	#Chinese
	background = {
		trigger = {
			culture ?= { has_graphical_chinese_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_throne_room.dds"
	}

	#Japanese
	background = {
		trigger = {
			culture ?= { has_graphical_japanese_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_japan_throne_room.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_india.dds"
	}

	#Iranian
	background = {
		trigger = {
			culture ?= { has_graphical_iranian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_throneroom.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_east.dds"
	}

	#Iberian
	background = {
		trigger = {
			culture ?= { has_graphical_iberian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_throneroom.dds"
	}

	#Byzantine
	background = {
		trigger = {
			culture ?= { has_building_gfx = byzantine_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_byzantine_throne_room.dds"
	}

	#Mediterranean
	background = {
		trigger = {
			culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_mediterranean.dds"
	}

	#Norse
	background = {
		trigger = {
			culture ?= { has_graphical_norse_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_throneroom_nontribal.dds"
	}

	#Steppe
	background = {
		trigger = {
			culture ?= { has_graphical_steppe_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/throneroom_tribal.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/throneroom_west.dds"
	}

	triggered_name = {
		trigger = {
			county.holder ?= { highest_held_title_tier >= tier_empire }
		}
		reference = "imperial_household_district"
	}

	can_be_replaced = yes

	is_enabled = {
		household_district_trigger = yes
	}

	show_disabled = yes

	can_construct_potential = {
		household_district_trigger = yes
	}

	buildings = {
		royal_great_hall_1
		royal_chapel_1
		knights_stables_1
		royal_knights_hall_1
		royal_court_workshops_1
		royal_wardrobe_1
		royal_mausoleum_1
		royal_palace_library_1
		ambassadorial_residences_1
		royal_inner_court_1
		banner_halls_1
	}
}

#Religious
temple_district = {
	primary_building = pb_temple_01
	
	#Islamic
	background = {
		trigger = {
			faith ?= { religion = religion:islam_religion }
		}
		reference = "gfx/interface/illustrations/event_scenes/mosque.dds"
	}

	#East Asian Eastern/Sinitic
	background = {
		trigger = {
			faith ?= {
				religion = {
					OR = {
						is_in_family = rf_eastern
						is_in_family = rf_sinitic
					}
				}
			}
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_holysite_asia.dds"
	}

	#Eastern/Sinitic
	background = {
		trigger = {
			faith ?= {
				religion = {
					OR = {
						is_in_family = rf_eastern
						is_in_family = rf_sinitic
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_indian.dds"
	}

	#Steppe Pagan
	background = {
		trigger = {
			faith ?= {
				religion = {
					is_in_family = rf_pagan
				}
			}
			culture ?= { has_graphical_steppe_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_temple_steppe.dds"
	}

	#Norse Pagan
	background = {
		trigger = {
			faith ?= {
				religion = {
					is_in_family = rf_pagan
				}
			}
			culture ?= { has_graphical_norse_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_temple.dds"
	}

	#Pagan
	background = {
		trigger = {
			faith ?= {
				religion = {
					is_in_family = rf_pagan
				}
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_holysite_tribal.dds"
	}

	#Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/pam_gothic_cathedral_interior.dds"
	}

	triggered_name = {
		trigger = {
			faith ?= { religion = religion:christianity_religion }
		}
		reference = "temple_district_christian"
	}

	triggered_name = {
		trigger = {
			faith ?= { religion = religion:islam_religion }
		}
		reference = "temple_district_islamic"
	}

	can_be_replaced = yes

	unlocked_by = urban_housing_district

	can_construct_showing_failures_only = {
		trigger_if = {
			limit = {
				culture = { has_cultural_parameter = civic_religion_temple_district_restriction }
			}
			OR = {
				has_holding_type = church_holding
				has_holding_type = temple_citadel_holding
				scope:holder = {
					government_has_flag = government_is_theocracy
				}
			}
		}
	}

	show_disabled = yes

	buildings = {
		sacristy_1
		church_treasury_1
		scriptorium_1
		clerical_housing_1
		sacred_grove_1
		sacred_pool_1
		sacred_forge_1
		hospitals_1
		processions_1
		belltower_1
		minaret_1
		temple_school_1
		charities_1
		ecclesiastical_courts_1
	}
}

religious_community_district = {
	primary_building = pb_religious_community_01
	
	#Eastern Christian
	background = {
		trigger = {
			county ?= { pam_is_eastern_christian_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_holysite_orthodox.dds"
	}

	#Islamic
	background = {
		trigger = {
			faith ?= { religion = religion:islam_religion }
		}
		reference = "gfx/interface/illustrations/holding_types/temple_generic_arid.dds"
	}

	#Zoroastrian
	background = {
		trigger = {
			faith ?= { religion = religion:zoroastrianism_religion }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_temple.dds"
	}

	#East Asian Eastern/Sinitic
	background = {
		trigger = {
			faith ?= {
				religion = {
					OR = {
						is_in_family = rf_eastern
						is_in_family = rf_sinitic
					}
				}
			}
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/holding_types/tgp_chinese_pagoda.dds"
	}

	#Eastern/Sinitic
	background = {
		trigger = {
			faith ?= {
				religion = {
					OR = {
						is_in_family = rf_eastern
						is_in_family = rf_sinitic
					}
				}
			}
		}
		reference = "gfx/interface/illustrations/holding_types/temple_india.dds"
	}

	#Pagan
	background = {
		trigger = {
			faith ?= { religion = { is_in_family = rf_pagan } }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_runestone_circle.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/pam_pre-romanesque_church_exterior.dds"
	}

	can_be_replaced = yes
	
	unlocked_by = villages_district

	buildings = {
		hostelry_1
		herbal_gardens_1
		scriptorium_1
		monastic_grange_1
		religious_school_1
		cemeteries_1
		water_management_1
		forges_and_bloomeries_1
		church_treasury_1
		spiritual_endowment_1
		temple_archives_1
		sacred_grove_1
		infirmary_1
		walled_compound_1
		ribat_1
	}
}

# Mandala Specific #
mandala_district = {
	primary_building = pb_mandala_01
	
	#Fallback
	background = {
		reference = "gfx/interface/illustrations/decisions/tgp_projects_mandala_capital.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		has_holding_type = temple_citadel_holding
		scope:holder = {
			government_has_flag = government_is_mandala
		}
		is_county_capital = yes
	}

	can_construct_potential = {
		has_holding_type = temple_citadel_holding
		scope:holder = {
			government_has_flag = government_is_mandala
		}
		is_county_capital = yes
	}

	show_disabled = yes

	buildings = {
		temple_viharas_1
		audience_pavilions_1
		sacred_pool_1
		donation_store_1
		martial_cloisters_1
		sacred_steles_1
		temple_treasuries_1
		dharma_halls_1
		devaraja_image_1
	}
}

### Urban ###
patrician_district = {
	primary_building = pb_patrician_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/decisions/tgp_house_fief.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_ceremony_indian.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/gdp_mena_merchant_domicile.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/gdp_merchant_domicile.dds"
	}
	can_be_replaced = yes

	is_enabled = {
		metropolitan_type_district_trigger = yes
	}
	
	unlocked_by = urban_housing_district

	show_disabled = yes

	buildings = {
		reception_suites_1
		confectionaries_1
		wine_cellars_1
		fine_tailors_1
		confraternity_hall_1
		family_chapels_1
		patrician_audience_halls_1
		funerary_complexes_1
		garden_calligraphy_houses_1
		garden_complex_1
		writing_offices_1
		menageries_1
		perfume_street_1
		fortified_compounds_1
	}
}

entertainment_district = {
	primary_building = pb_entertainment_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_tavern_asia.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_tavern_mena.dds"
	}

	#African
	background = {
		trigger = {
			culture ?= { has_graphical_african_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
	}

	#Steppe
	background = {
		trigger = {
			culture ?= { has_graphical_steppe_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
	}

	#Byzantine
	background = {
		trigger = {
			culture ?= { has_building_gfx = byzantine_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_feast_byzantine.dds"
	}

	#Mediterranean
	background = {
		trigger = {
			culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/gdp_carnival_background.dds"
	}

	#Frankish & Germanic
	background = {
		trigger = {
			OR = {
				culture ?= { has_cultural_pillar = heritage_frankish }
				culture ?= { has_cultural_pillar = heritage_central_germanic }
				culture ?= { has_cultural_pillar = heritage_west_germanic }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_village_festival_western.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tavern.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		metropolitan_type_district_trigger = yes
	}
	
	unlocked_by = urban_housing_district

	show_disabled = yes

	buildings = {
		tavern_street_1
		cookshops_1
		public_execution_site_1
		performance_stage_1
		bathhouses_1
		brothels_1
		guild_feast_hall_1
		enclosed_lists_1
		banquet_hall_1
		tea_house_1
	}
}

urban_housing_district = {
	primary_building = pb_urban_housing_01
	
	#Chinese
	background = {
		trigger = {
			culture ?= { has_graphical_chinese_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_chinese_city.dds"
	}

	#Japanese
	background = {
		trigger = {
			culture ?= { has_graphical_japanese_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_japanese_city.dds"
	}

	#Steppe
	background = {
		trigger = {
			culture ?= { has_graphical_steppe_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_city_steppe.dds"
	}

	#Southeast Asian
	background = {
		trigger = {
			culture ?= { has_building_gfx = southeast_asian_building_gfx }
		}
		reference = "gfx/interface/illustrations/holding_types/tgp_tgp_city_se_asia.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_bedroom_indian.dds"
	}

	#Iranian
	background = {
		trigger = {
			culture ?= { has_graphical_iranian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp3_courtyard_night.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_wedding_bedroom_mena.dds"
	}

	#Greek
	background = {
		trigger = {
			culture ?= { has_cultural_pillar = heritage_byzantine }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_constantinople.dds"
	}

	#Mediterranean
	background = {
		trigger = {
			culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/alley.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		metropolitan_type_district_trigger = yes
	}

	show_disabled = yes

	buildings = {
		burgage_plots_1
		noble_townhouses_1
		civic_projects_1
		foreigners_quarter_1
		cereal_stockpile_1
		communal_wells_1
		suburb_1
		travellers_inns_1
	}
}

### Rural ###
manor_houses_district = {
	primary_building = pb_manor_houses_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_asia_estate.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/bp2_indian_garden.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
				culture ?= { has_graphical_african_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/bp1_garden_mena_day.dds"
	}

	#Mediterranean
	background = {
		trigger = {
			culture ?= { has_graphical_mediterranean_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep3_medi_estate.dds"
	}

	#Iberian
	background = {
		trigger = {
			culture ?= { has_graphical_iberian_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp2_garden.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/bp2_courtyard.dds"
	}
	can_be_replaced = yes

	can_construct_showing_failures_only = {
		building_rural_early_medieval_trigger = yes
	}
	
	unlocked_by = villages_district

	buildings = {
		manor_tower_1
		manor_hunting_grounds_1
		manor_kitchens_1
		manor_chamber_blocks_1
		manor_study_1
		manor_buying_agent_1
		manor_reeves_office_1
		manor_parlor_1
	}
}

villages_district = {
	primary_building = pb_villages_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_rural_village_asian.dds"
	}

	#Desert - Nomadic
	background = {
		trigger = {
			graphical_wilderness_desert_trigger = yes
			culture ?= { has_building_gfx = steppe_building_gfx }
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_nomad.dds"
	}

	#Desert
	background = {
		trigger = {
			graphical_wilderness_desert_trigger = yes
		}
		reference = "gfx/interface/illustrations/event_scenes/desert_settlement.dds"
	}

	#Steppe
	background = {
		trigger = {
			graphical_wilderness_steppe_trigger = yes
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_steppe.dds"
	}

	#Mountains
	background = {
		trigger = {
			graphical_wilderness_mountains_trigger = yes
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_mountains.dds"
	}

	#Hills
	background = {
		trigger = {
			graphical_hills_trigger = yes
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_hills.dds"
	}

	#Farmland Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/ep2_travel_farm.dds"
	}

	can_be_replaced = yes

	can_construct_showing_failures_only = {
	}

	buildings = {
		tell_mines_01
		vineyards_01
		potato_fields_01
		doggerland_ivory_deposits_01
		greenhouses_01
		meadowlands_pastures_1
		farming_fields_1
		communal_plantations_1
		communal_woodland_1
		pit_mining_1
		market_fairs_1
		village_butcher_1
		blacksmiths_forge_1
		communal_mill_1
		roadside_inns_1
		local_bailiffs_1
		village_granaries_1
		village_hunter_1
		turbary_common_1
		caravanserai_1
		castello_1
		village_council_1
		terrace_gardens_1
		village_weaver_1
	}
}

### Tribal ###

#Economy
tribal_economy_prestige_district = {
	primary_building = pb_tribal_economy_prestige_01
	
	#East Asia
	background = {
		trigger = {
			culture ?= { has_graphical_east_asia_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/tgp_feast_asia.dds"
	}

	#India
	background = {
		trigger = {
			culture ?= { has_graphical_india_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_indian.dds"
	}

	#MENA
	background = {
		trigger = {
			OR = {
				culture ?= { has_graphical_mena_culture_group_trigger = yes }
				culture ?= { has_graphical_iranian_culture_group_trigger = yes }
			}
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_mena.dds"
	}

	#African
	background = {
		trigger = {
			culture ?= { has_graphical_african_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_sub_saharan.dds"
	}

	#Steppe
	background = {
		trigger = {
			culture ?= { has_graphical_steppe_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/ep2_feast_steppe.dds"
	}

	#Norse
	background = {
		trigger = {
			culture ?= { has_graphical_norse_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/fp1_viking_feast.dds"
	}

	#Western Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/feast.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		scope:holder = {
			government_has_flag = government_is_tribal
		}
	}

	can_construct_potential = {
		scope:holder = {
			government_has_flag = government_is_tribal
		}
	}

	buildings = {
		chiefs_hall_1
		hunters_lodges_1
		foraging_storage_1
		communal_farming_1
		pastures_1
		traders_meet_1
		tinkerers_shops_1
		village_hunter_1
		trophy_hall_1
		temple_sanctuary_1
	}
}

#Military
tribal_military_district = {
	primary_building = pb_tribal_military_01
	
	#Steppe
	background = {
		trigger = {
			culture ?= { has_graphical_steppe_culture_group_trigger = yes }
		}
		reference = "gfx/interface/illustrations/event_scenes/mpo_tent_interior_mongol.dds"
	}

	#Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/fp1_tribal_corridor.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		scope:holder = {
			government_has_flag = government_is_tribal
		}
	}

	can_construct_potential = {
		scope:holder = {
			government_has_flag = government_is_tribal_excluding_wanua
		}
	}

	buildings = {
		warrior_households_1
		armed_clans_1
		hunter_lodgings_1
		war_storage_1
		martial_festivals_1
		fortified_holds_1
		keen_weapons_1
		chiefly_armsmen_1
		horse_archer_paddocks_1
	}
}

# Wanua Specific #
tribal_wanua_district = {
	primary_building = pb_tribal_wanua_01
	
	#Fallback
	background = {
		reference = "gfx/interface/illustrations/event_scenes/tgp_village_sea.dds"
	}

	can_be_replaced = yes

	is_enabled = {
		scope:holder = {
			government_has_flag = government_is_wanua
		}
	}

	can_construct_potential = {
		scope:holder = {
			government_has_flag = government_is_wanua
		}
	}

	buildings = {
		storehouses_1
		bartering_markets_1
		sagely_elders_1
		harvest_festivals_1
		chiefly_longhouse_1
		idjang_forts_1
		water_temples_1
		kora_kora_yards_1
		wantilan_compound_1
	}
}
